]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
determine the slider event type more precisely (i.e. generate LINE/PAGE UP/DOWN and...
[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_wxCheckBox swig_types[1]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[2]
1345 #define SWIGTYPE_p_wxEvent swig_types[3]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[4]
1347 #define SWIGTYPE_p_bool swig_types[5]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[6]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[7]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[9]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[10]
1353 #define SWIGTYPE_p_wxControl swig_types[11]
1354 #define SWIGTYPE_p_wxPyControl swig_types[12]
1355 #define SWIGTYPE_p_wxGauge swig_types[13]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[16]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[17]
1360 #define SWIGTYPE_p_wxChoice swig_types[18]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[19]
1362 #define SWIGTYPE_ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
1365 #define SWIGTYPE_p_void swig_types[23]
1366 #define SWIGTYPE_p_int swig_types[24]
1367 #define SWIGTYPE_p_wxSize swig_types[25]
1368 #define SWIGTYPE_p_wxDC swig_types[26]
1369 #define SWIGTYPE_p_wxListView swig_types[27]
1370 #define SWIGTYPE_p_wxIcon swig_types[28]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
1373 #define SWIGTYPE_p_wxNotebook swig_types[31]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[32]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
1376 #define SWIGTYPE_p_wxArrayString swig_types[34]
1377 #define SWIGTYPE_p_form_ops_t swig_types[35]
1378 #define SWIGTYPE_p_wxListbook swig_types[36]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[37]
1380 #define SWIGTYPE_p_wxSlider swig_types[38]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[41]
1384 #define SWIGTYPE_p_long swig_types[42]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[43]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[44]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
1388 #define SWIGTYPE_p_wxListEvent swig_types[46]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[47]
1390 #define SWIGTYPE_p_wxListBox swig_types[48]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[49]
1392 #define SWIGTYPE_p_wxButton swig_types[50]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[51]
1394 #define SWIGTYPE_p_wxRect swig_types[52]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[53]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[54]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxComboBox swig_types[57]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[58]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[59]
1402 #define SWIGTYPE_p_wxListItem swig_types[60]
1403 #define SWIGTYPE_p_wxSpinEvent swig_types[61]
1404 #define SWIGTYPE_p_wxGenericDragImage swig_types[62]
1405 #define SWIGTYPE_p_wxSpinCtrl swig_types[63]
1406 #define SWIGTYPE_p_wxPaperSize swig_types[64]
1407 #define SWIGTYPE_p_wxImageList swig_types[65]
1408 #define SWIGTYPE_p_wxHelpProvider swig_types[66]
1409 #define SWIGTYPE_p_wxTextAttr swig_types[67]
1410 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxChoicebookEvent swig_types[69]
1412 #define SWIGTYPE_p_wxListbookEvent swig_types[70]
1413 #define SWIGTYPE_p_wxNotebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxPoint swig_types[72]
1415 #define SWIGTYPE_p_wxObject swig_types[73]
1416 #define SWIGTYPE_p_wxCursor swig_types[74]
1417 #define SWIGTYPE_p_wxDateTime swig_types[75]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1419 #define SWIGTYPE_p_unsigned_long swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxBitmap swig_types[80]
1423 #define SWIGTYPE_unsigned_int swig_types[81]
1424 #define SWIGTYPE_p_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_char swig_types[83]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[84]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[85]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[86]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[87]
1430 #define SWIGTYPE_p_wxStaticText swig_types[88]
1431 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[89]
1432 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1433 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1434 #define SWIGTYPE_p_wxColour swig_types[92]
1435 #define SWIGTYPE_p_wxToolBar swig_types[93]
1436 #define SWIGTYPE_p_wxValidator swig_types[94]
1437 static swig_type_info *swig_types[96];
1438
1439 /* -------- TYPES TABLE (END) -------- */
1440
1441
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1446
1447 #define SWIG_name "_controls_"
1448
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451
1452 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1453 static const wxString wxPyEmptyString(wxEmptyString);
1454 static const wxString wxPyControlNameStr(wxControlNameStr);
1455
1456 const wxArrayString wxPyEmptyStringArray;
1457
1458 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1459
1460 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1462 /*@@*/
1463
1464
1465 #include <limits.h>
1466
1467
1468 SWIGINTERN int
1469 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1470 const char *errmsg)
1471 {
1472 if (value < min_value) {
1473 if (errmsg) {
1474 PyErr_Format(PyExc_OverflowError,
1475 "value %ld is less than '%s' minimum %ld",
1476 value, errmsg, min_value);
1477 }
1478 return 0;
1479 } else if (value > max_value) {
1480 if (errmsg) {
1481 PyErr_Format(PyExc_OverflowError,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value, errmsg, max_value);
1484 }
1485 return 0;
1486 }
1487 return 1;
1488 }
1489
1490
1491 SWIGINTERN int
1492 SWIG_AsVal_long(PyObject* obj, long* val)
1493 {
1494 if (PyNumber_Check(obj)) {
1495 if (val) *val = PyInt_AsLong(obj);
1496 return 1;
1497 }
1498 else {
1499 SWIG_type_error("number", obj);
1500 }
1501 return 0;
1502 }
1503
1504
1505 #if INT_MAX != LONG_MAX
1506 SWIGINTERN int
1507 SWIG_AsVal_int(PyObject *obj, int *val)
1508 {
1509 const char* errmsg = val ? "int" : (char*)0;
1510 long v;
1511 if (SWIG_AsVal_long(obj, &v)) {
1512 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1513 if (val) *val = (int)(v);
1514 return 1;
1515 } else {
1516 return 0;
1517 }
1518 } else {
1519 PyErr_Clear();
1520 }
1521 if (val) {
1522 SWIG_type_error(errmsg, obj);
1523 }
1524 return 0;
1525 }
1526 #else
1527 SWIGINTERNSHORT int
1528 SWIG_AsVal_int(PyObject *obj, int *val)
1529 {
1530 return SWIG_AsVal_long(obj,(long*)val);
1531 }
1532 #endif
1533
1534
1535 SWIGINTERNSHORT int
1536 SWIG_As_int(PyObject* obj)
1537 {
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
1540 /*
1541 this is needed to make valgrind/purify happier.
1542 */
1543 memset((void*)&v, 0, sizeof(int));
1544 }
1545 return v;
1546 }
1547
1548
1549 SWIGINTERNSHORT long
1550 SWIG_As_long(PyObject* obj)
1551 {
1552 long v;
1553 if (!SWIG_AsVal_long(obj, &v)) {
1554 /*
1555 this is needed to make valgrind/purify happier.
1556 */
1557 memset((void*)&v, 0, sizeof(long));
1558 }
1559 return v;
1560 }
1561
1562
1563 SWIGINTERNSHORT int
1564 SWIG_Check_int(PyObject* obj)
1565 {
1566 return SWIG_AsVal_int(obj, (int*)0);
1567 }
1568
1569
1570 SWIGINTERNSHORT int
1571 SWIG_Check_long(PyObject* obj)
1572 {
1573 return SWIG_AsVal_long(obj, (long*)0);
1574 }
1575
1576 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1577
1578 SWIGINTERN int
1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
1580 {
1581 if (obj == Py_True) {
1582 if (val) *val = true;
1583 return 1;
1584 }
1585 if (obj == Py_False) {
1586 if (val) *val = false;
1587 return 1;
1588 }
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
1591 if (val) *val = res ? true : false;
1592 return 1;
1593 } else {
1594 PyErr_Clear();
1595 }
1596 if (val) {
1597 SWIG_type_error("bool", obj);
1598 }
1599 return 0;
1600 }
1601
1602
1603 SWIGINTERNSHORT bool
1604 SWIG_As_bool(PyObject* obj)
1605 {
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
1609 this is needed to make valgrind/purify happier.
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614 }
1615
1616
1617 SWIGINTERNSHORT int
1618 SWIG_Check_bool(PyObject* obj)
1619 {
1620 return SWIG_AsVal_bool(obj, (bool*)0);
1621 }
1622
1623 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1624 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1625
1626 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1628 /*@@*/
1629
1630
1631 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1632 PyObject* o2;
1633 PyObject* o3;
1634
1635 if (!target) {
1636 target = o;
1637 } else if (target == Py_None) {
1638 Py_DECREF(Py_None);
1639 target = o;
1640 } else {
1641 if (!PyTuple_Check(target)) {
1642 o2 = target;
1643 target = PyTuple_New(1);
1644 PyTuple_SetItem(target, 0, o2);
1645 }
1646 o3 = PyTuple_New(1);
1647 PyTuple_SetItem(o3, 0, o);
1648
1649 o2 = target;
1650 target = PySequence_Concat(o2, o3);
1651 Py_DECREF(o2);
1652 Py_DECREF(o3);
1653 }
1654 return target;
1655 }
1656
1657
1658 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1659 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1660 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1661 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1662
1663 #include <wx/checklst.h>
1664
1665
1666 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1667 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1668 if (clientData) {
1669 wxPyClientData* data = new wxPyClientData(clientData);
1670 self->Insert(item, pos, data);
1671 } else
1672 self->Insert(item, pos);
1673 }
1674 static PyObject *wxListBox_GetSelections(wxListBox *self){
1675 wxArrayInt lst;
1676 self->GetSelections(lst);
1677 PyObject *tup = PyTuple_New(lst.GetCount());
1678 for(size_t i=0; i<lst.GetCount(); i++) {
1679 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1680 }
1681 return tup;
1682 }
1683 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1684 #ifdef __WXMSW__
1685 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1686 self->GetItem(item)->SetTextColour(c);
1687 #endif
1688 }
1689 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1690 #ifdef __WXMSW__
1691 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1692 self->GetItem(item)->SetBackgroundColour(c);
1693 #endif
1694 }
1695 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1696 #ifdef __WXMSW__
1697 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1698 self->GetItem(item)->SetFont(f);
1699 #endif
1700 }
1701 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1702
1703 SWIGINTERN int
1704 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1705 {
1706 long v = 0;
1707 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1708 SWIG_type_error("unsigned number", obj);
1709 }
1710 else if (val)
1711 *val = (unsigned long)v;
1712 return 1;
1713 }
1714
1715
1716 SWIGINTERNSHORT unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject* obj)
1718 {
1719 unsigned long v;
1720 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1721 /*
1722 this is needed to make valgrind/purify happier.
1723 */
1724 memset((void*)&v, 0, sizeof(unsigned long));
1725 }
1726 return v;
1727 }
1728
1729
1730 SWIGINTERNSHORT int
1731 SWIG_Check_unsigned_SS_long(PyObject* obj)
1732 {
1733 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1734 }
1735
1736 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1737 self->AppendText(text);
1738 }
1739 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1740 return self->GetValue().Mid(from, to - from);
1741 }
1742 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1743 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1744 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1746 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1747
1748 #include <wx/slider.h>
1749
1750
1751 static const wxString wxPySliderNameStr(wxSliderNameStr);
1752 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1753
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1756
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1758
1759 class wxToggleButton : public wxControl
1760 {
1761 public:
1762 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1763 const wxPoint&, const wxSize&, long,
1764 const wxValidator&, const wxString&)
1765 { wxPyRaiseNotImplemented(); }
1766
1767 wxToggleButton()
1768 { wxPyRaiseNotImplemented(); }
1769 };
1770 #endif
1771
1772 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1773
1774 SWIGINTERNSHORT PyObject*
1775 SWIG_From_unsigned_SS_long(unsigned long value)
1776 {
1777 return (value > LONG_MAX) ?
1778 PyLong_FromUnsignedLong(value)
1779 : PyInt_FromLong((long)(value));
1780 }
1781
1782 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1783 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1784 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1785 if (udata) {
1786 Py_INCREF(udata->m_obj);
1787 return udata->m_obj;
1788 } else {
1789 Py_INCREF(Py_None);
1790 return Py_None;
1791 }
1792 }
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1794 self->SetClientData(new wxPyUserData(clientData));
1795 }
1796 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1797 wxPyUserData* udata = NULL;
1798 if (clientData && clientData != Py_None)
1799 udata = new wxPyUserData(clientData);
1800 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1801 shortHelp, longHelp, udata);
1802 }
1803 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1804 wxPyUserData* udata = NULL;
1805 if (clientData && clientData != Py_None)
1806 udata = new wxPyUserData(clientData);
1807 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1808 shortHelp, longHelp, udata);
1809 }
1810 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1811 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1812 if (udata) {
1813 Py_INCREF(udata->m_obj);
1814 return udata->m_obj;
1815 } else {
1816 Py_INCREF(Py_None);
1817 return Py_None;
1818 }
1819 }
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1821 self->SetToolClientData(id, new wxPyUserData(clientData));
1822 }
1823
1824 #include <wx/listctrl.h>
1825
1826 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1827 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1830 int retval = 0;
1831 PyObject* func = (PyObject*)funcPtr;
1832 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1833
1834 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1835 PyObject* result = PyEval_CallObject(func, args);
1836 Py_DECREF(args);
1837 if (result) {
1838 retval = PyInt_AsLong(result);
1839 Py_DECREF(result);
1840 }
1841
1842 wxPyEndBlockThreads(blocked);
1843 return retval;
1844 }
1845
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl : public wxListCtrl {
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1849 public:
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1852 const wxPoint& pos,
1853 const wxSize& size,
1854 long style,
1855 const wxValidator& validator,
1856 const wxString& name) :
1857 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1858
1859 bool Create(wxWindow* parent, wxWindowID id,
1860 const wxPoint& pos,
1861 const wxSize& size,
1862 long style,
1863 const wxValidator& validator,
1864 const wxString& name) {
1865 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1866 }
1867
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1870
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1873
1874 PYPRIVATE;
1875 };
1876
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1878
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1882
1883
1884 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1885 wxListItem item;
1886 item.SetMask( wxLIST_MASK_STATE |
1887 wxLIST_MASK_TEXT |
1888 wxLIST_MASK_IMAGE |
1889 wxLIST_MASK_DATA |
1890 wxLIST_SET_ITEM |
1891 wxLIST_MASK_WIDTH |
1892 wxLIST_MASK_FORMAT
1893 );
1894 if (self->GetColumn(col, item))
1895 return new wxListItem(item);
1896 else
1897 return NULL;
1898 }
1899 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1900 wxListItem* info = new wxListItem;
1901 info->m_itemId = itemId;
1902 info->m_col = col;
1903 info->m_mask = 0xFFFF;
1904 self->GetItem(*info);
1905 return info;
1906 }
1907 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1908 wxPoint pos;
1909 self->GetItemPosition(item, pos);
1910 return pos;
1911 }
1912 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1913 wxRect rect;
1914 self->GetItemRect(item, rect, code);
1915 return rect;
1916 }
1917
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1919 if (!PyCallable_Check(func))
1920 return false;
1921 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1922 }
1923 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1924
1925 return self;
1926
1927
1928
1929 }
1930
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1933
1934 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl : public wxTreeCtrl {
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1941 public:
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1944 const wxPoint& pos,
1945 const wxSize& size,
1946 long style,
1947 const wxValidator& validator,
1948 const wxString& name) :
1949 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1950
1951 bool Create(wxWindow *parent, wxWindowID id,
1952 const wxPoint& pos,
1953 const wxSize& size,
1954 long style,
1955 const wxValidator& validator,
1956 const wxString& name) {
1957 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1958 }
1959
1960
1961 int OnCompareItems(const wxTreeItemId& item1,
1962 const wxTreeItemId& item2) {
1963 int rval = 0;
1964 bool found;
1965 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1966 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1967 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1968 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1969 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1970 Py_DECREF(o1);
1971 Py_DECREF(o2);
1972 }
1973 wxPyEndBlockThreads(blocked);
1974 if (! found)
1975 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1976 return rval;
1977 }
1978 PYPRIVATE;
1979 };
1980
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1982
1983
1984
1985 #if UINT_MAX < LONG_MAX
1986 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1988 /*@@*/
1989 #else
1990 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1992 /*@@*/
1993 #endif
1994
1995
1996 SWIGINTERNSHORT int
1997 SWIG_CheckUnsignedLongInRange(unsigned long value,
1998 unsigned long max_value,
1999 const char *errmsg)
2000 {
2001 if (value > max_value) {
2002 if (errmsg) {
2003 PyErr_Format(PyExc_OverflowError,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value, errmsg, max_value);
2006 }
2007 return 0;
2008 }
2009 return 1;
2010 }
2011
2012
2013 #if UINT_MAX != ULONG_MAX
2014 SWIGINTERN int
2015 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2016 {
2017 const char* errmsg = val ? "unsigned int" : (char*)0;
2018 unsigned long v;
2019 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2020 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2021 if (val) *val = (unsigned int)(v);
2022 return 1;
2023 }
2024 } else {
2025 PyErr_Clear();
2026 }
2027 if (val) {
2028 SWIG_type_error(errmsg, obj);
2029 }
2030 return 0;
2031 }
2032 #else
2033 SWIGINTERNSHORT unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2035 {
2036 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2037 }
2038 #endif
2039
2040
2041 SWIGINTERNSHORT unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject* obj)
2043 {
2044 unsigned int v;
2045 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2046 /*
2047 this is needed to make valgrind/purify happier.
2048 */
2049 memset((void*)&v, 0, sizeof(unsigned int));
2050 }
2051 return v;
2052 }
2053
2054
2055 SWIGINTERNSHORT int
2056 SWIG_Check_unsigned_SS_int(PyObject* obj)
2057 {
2058 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2059 }
2060
2061 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2062 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2063 if (data == NULL) {
2064 data = new wxPyTreeItemData();
2065 data->SetId(item); // set the id
2066 self->SetItemData(item, data);
2067 }
2068 return data;
2069 }
2070 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2071 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2072 if (data == NULL) {
2073 data = new wxPyTreeItemData();
2074 data->SetId(item); // set the id
2075 self->SetItemData(item, data);
2076 }
2077 return data->GetData();
2078 }
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2080 data->SetId(item); // set the id
2081 self->SetItemData(item, data);
2082 }
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2084 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2085 if (data == NULL) {
2086 data = new wxPyTreeItemData(obj);
2087 data->SetId(item); // set the id
2088 self->SetItemData(item, data);
2089 } else
2090 data->SetData(obj);
2091 }
2092 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2093 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2094 PyObject* rval = PyList_New(0);
2095 wxArrayTreeItemIds array;
2096 size_t num, x;
2097 num = self->GetSelections(array);
2098 for (x=0; x < num; x++) {
2099 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2100 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2101 PyList_Append(rval, item);
2102 Py_DECREF(item);
2103 }
2104 wxPyEndBlockThreads(blocked);
2105 return rval;
2106 }
2107 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2108 void* cookie = 0;
2109 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2110 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2111 PyObject* tup = PyTuple_New(2);
2112 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2113 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2114 wxPyEndBlockThreads(blocked);
2115 return tup;
2116 }
2117 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2118 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2119 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2120 PyObject* tup = PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2123 wxPyEndBlockThreads(blocked);
2124 return tup;
2125 }
2126 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2127 wxRect rect;
2128 if (self->GetBoundingRect(item, rect, textOnly)) {
2129 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2130 wxRect* r = new wxRect(rect);
2131 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2132 wxPyEndBlockThreads(blocked);
2133 return val;
2134 }
2135 else
2136 RETURN_NONE();
2137 }
2138 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2139
2140 SWIGINTERNSHORT PyObject*
2141 SWIG_From_bool(bool value)
2142 {
2143 PyObject *obj = value ? Py_True : Py_False;
2144 Py_INCREF(obj);
2145 return obj;
2146 }
2147
2148
2149 // C++ version of Python aware wxControl
2150 class wxPyControl : public wxControl
2151 {
2152 DECLARE_DYNAMIC_CLASS(wxPyControl)
2153 public:
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow* parent, const wxWindowID id,
2156 const wxPoint& pos = wxDefaultPosition,
2157 const wxSize& size = wxDefaultSize,
2158 long style = 0,
2159 const wxValidator& validator=wxDefaultValidator,
2160 const wxString& name = wxPyControlNameStr)
2161 : wxControl(parent, id, pos, size, style, validator, name) {}
2162
2163 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2164
2165 bool DoEraseBackground(wxDC* dc) {
2166 #ifdef __WXMSW__
2167 return wxWindow::DoEraseBackground(dc->GetHDC());
2168 #else
2169 dc->SetBackground(wxBrush(GetBackgroundColour()));
2170 dc->Clear();
2171 return true;
2172 #endif
2173 }
2174
2175 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2176 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2177 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2178 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2179
2180 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2181 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2182 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2183
2184 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2185 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2186
2187 DEC_PYCALLBACK__(InitDialog);
2188 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2189 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2190 DEC_PYCALLBACK_BOOL_(Validate);
2191
2192 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2193 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2194 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2195
2196 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2197 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2198
2199 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2200 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2201
2202 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2203
2204 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2205
2206 PYPRIVATE;
2207 };
2208
2209 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2210
2211 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2212 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2213 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2215
2216 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2219
2220 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2222
2223 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2224 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2225 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2226 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2227
2228 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2230 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2231
2232 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2234
2235 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2236 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2237
2238 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2239
2240 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2241
2242
2243
2244 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2245
2246 #include <wx/generic/dragimgg.h>
2247
2248 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2249 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2250 wxDateTime rv;
2251 self->GetRange(&rv, NULL);
2252 return rv;
2253 }
2254 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2255 wxDateTime rv;
2256 self->GetRange(NULL, &rv);
2257 return rv;
2258 }
2259 #ifdef __cplusplus
2260 extern "C" {
2261 #endif
2262 static int _wrap_ButtonNameStr_set(PyObject *) {
2263 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2264 return 1;
2265 }
2266
2267
2268 static PyObject *_wrap_ButtonNameStr_get(void) {
2269 PyObject *pyobj;
2270
2271 {
2272 #if wxUSE_UNICODE
2273 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2274 #else
2275 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2276 #endif
2277 }
2278 return pyobj;
2279 }
2280
2281
2282 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 wxWindow *arg1 = (wxWindow *) 0 ;
2285 int arg2 = (int) -1 ;
2286 wxString const &arg3_defvalue = wxPyEmptyString ;
2287 wxString *arg3 = (wxString *) &arg3_defvalue ;
2288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2290 wxSize const &arg5_defvalue = wxDefaultSize ;
2291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2292 long arg6 = (long) 0 ;
2293 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2294 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2295 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2296 wxString *arg8 = (wxString *) &arg8_defvalue ;
2297 wxButton *result;
2298 bool temp3 = false ;
2299 wxPoint temp4 ;
2300 wxSize temp5 ;
2301 bool temp8 = false ;
2302 PyObject * obj0 = 0 ;
2303 PyObject * obj1 = 0 ;
2304 PyObject * obj2 = 0 ;
2305 PyObject * obj3 = 0 ;
2306 PyObject * obj4 = 0 ;
2307 PyObject * obj5 = 0 ;
2308 PyObject * obj6 = 0 ;
2309 PyObject * obj7 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2316 if (SWIG_arg_fail(1)) SWIG_fail;
2317 if (obj1) {
2318 {
2319 arg2 = (int)(SWIG_As_int(obj1));
2320 if (SWIG_arg_fail(2)) SWIG_fail;
2321 }
2322 }
2323 if (obj2) {
2324 {
2325 arg3 = wxString_in_helper(obj2);
2326 if (arg3 == NULL) SWIG_fail;
2327 temp3 = true;
2328 }
2329 }
2330 if (obj3) {
2331 {
2332 arg4 = &temp4;
2333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2334 }
2335 }
2336 if (obj4) {
2337 {
2338 arg5 = &temp5;
2339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2340 }
2341 }
2342 if (obj5) {
2343 {
2344 arg6 = (long)(SWIG_As_long(obj5));
2345 if (SWIG_arg_fail(6)) SWIG_fail;
2346 }
2347 }
2348 if (obj6) {
2349 {
2350 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2351 if (SWIG_arg_fail(7)) SWIG_fail;
2352 if (arg7 == NULL) {
2353 SWIG_null_ref("wxValidator");
2354 }
2355 if (SWIG_arg_fail(7)) SWIG_fail;
2356 }
2357 }
2358 if (obj7) {
2359 {
2360 arg8 = wxString_in_helper(obj7);
2361 if (arg8 == NULL) SWIG_fail;
2362 temp8 = true;
2363 }
2364 }
2365 {
2366 if (!wxPyCheckForApp()) SWIG_fail;
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2374 {
2375 if (temp3)
2376 delete arg3;
2377 }
2378 {
2379 if (temp8)
2380 delete arg8;
2381 }
2382 return resultobj;
2383 fail:
2384 {
2385 if (temp3)
2386 delete arg3;
2387 }
2388 {
2389 if (temp8)
2390 delete arg8;
2391 }
2392 return NULL;
2393 }
2394
2395
2396 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2397 PyObject *resultobj;
2398 wxButton *result;
2399 char *kwnames[] = {
2400 NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2404 {
2405 if (!wxPyCheckForApp()) SWIG_fail;
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 result = (wxButton *)new wxButton();
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 }
2412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2413 return resultobj;
2414 fail:
2415 return NULL;
2416 }
2417
2418
2419 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2420 PyObject *resultobj;
2421 wxButton *arg1 = (wxButton *) 0 ;
2422 wxWindow *arg2 = (wxWindow *) 0 ;
2423 int arg3 = (int) -1 ;
2424 wxString const &arg4_defvalue = wxPyEmptyString ;
2425 wxString *arg4 = (wxString *) &arg4_defvalue ;
2426 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2427 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2428 wxSize const &arg6_defvalue = wxDefaultSize ;
2429 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2430 long arg7 = (long) 0 ;
2431 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2432 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2433 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2434 wxString *arg9 = (wxString *) &arg9_defvalue ;
2435 bool result;
2436 bool temp4 = false ;
2437 wxPoint temp5 ;
2438 wxSize temp6 ;
2439 bool temp9 = false ;
2440 PyObject * obj0 = 0 ;
2441 PyObject * obj1 = 0 ;
2442 PyObject * obj2 = 0 ;
2443 PyObject * obj3 = 0 ;
2444 PyObject * obj4 = 0 ;
2445 PyObject * obj5 = 0 ;
2446 PyObject * obj6 = 0 ;
2447 PyObject * obj7 = 0 ;
2448 PyObject * obj8 = 0 ;
2449 char *kwnames[] = {
2450 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2451 };
2452
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2455 if (SWIG_arg_fail(1)) SWIG_fail;
2456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2457 if (SWIG_arg_fail(2)) SWIG_fail;
2458 if (obj2) {
2459 {
2460 arg3 = (int)(SWIG_As_int(obj2));
2461 if (SWIG_arg_fail(3)) SWIG_fail;
2462 }
2463 }
2464 if (obj3) {
2465 {
2466 arg4 = wxString_in_helper(obj3);
2467 if (arg4 == NULL) SWIG_fail;
2468 temp4 = true;
2469 }
2470 }
2471 if (obj4) {
2472 {
2473 arg5 = &temp5;
2474 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2475 }
2476 }
2477 if (obj5) {
2478 {
2479 arg6 = &temp6;
2480 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2481 }
2482 }
2483 if (obj6) {
2484 {
2485 arg7 = (long)(SWIG_As_long(obj6));
2486 if (SWIG_arg_fail(7)) SWIG_fail;
2487 }
2488 }
2489 if (obj7) {
2490 {
2491 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2492 if (SWIG_arg_fail(8)) SWIG_fail;
2493 if (arg8 == NULL) {
2494 SWIG_null_ref("wxValidator");
2495 }
2496 if (SWIG_arg_fail(8)) SWIG_fail;
2497 }
2498 }
2499 if (obj8) {
2500 {
2501 arg9 = wxString_in_helper(obj8);
2502 if (arg9 == NULL) SWIG_fail;
2503 temp9 = true;
2504 }
2505 }
2506 {
2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
2508 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2509
2510 wxPyEndAllowThreads(__tstate);
2511 if (PyErr_Occurred()) SWIG_fail;
2512 }
2513 {
2514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2515 }
2516 {
2517 if (temp4)
2518 delete arg4;
2519 }
2520 {
2521 if (temp9)
2522 delete arg9;
2523 }
2524 return resultobj;
2525 fail:
2526 {
2527 if (temp4)
2528 delete arg4;
2529 }
2530 {
2531 if (temp9)
2532 delete arg9;
2533 }
2534 return NULL;
2535 }
2536
2537
2538 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxButton *arg1 = (wxButton *) 0 ;
2541 PyObject * obj0 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail;
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 (arg1)->SetDefault();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
2556 Py_INCREF(Py_None); resultobj = Py_None;
2557 return resultobj;
2558 fail:
2559 return NULL;
2560 }
2561
2562
2563 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj;
2565 wxSize result;
2566 char *kwnames[] = {
2567 NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = wxButton::GetDefaultSize();
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 {
2579 wxSize * resultptr;
2580 resultptr = new wxSize((wxSize &)(result));
2581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2582 }
2583 return resultobj;
2584 fail:
2585 return NULL;
2586 }
2587
2588
2589 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2590 PyObject *resultobj;
2591 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2592 wxVisualAttributes result;
2593 PyObject * obj0 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "variant", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2599 if (obj0) {
2600 {
2601 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2602 if (SWIG_arg_fail(1)) SWIG_fail;
2603 }
2604 }
2605 {
2606 if (!wxPyCheckForApp()) SWIG_fail;
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2613 {
2614 wxVisualAttributes * resultptr;
2615 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2617 }
2618 return resultobj;
2619 fail:
2620 return NULL;
2621 }
2622
2623
2624 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2625 PyObject *obj;
2626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2627 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2628 Py_INCREF(obj);
2629 return Py_BuildValue((char *)"");
2630 }
2631 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxWindow *arg1 = (wxWindow *) 0 ;
2634 int arg2 = (int) -1 ;
2635 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2636 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2639 wxSize const &arg5_defvalue = wxDefaultSize ;
2640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2641 long arg6 = (long) wxBU_AUTODRAW ;
2642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2644 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2645 wxString *arg8 = (wxString *) &arg8_defvalue ;
2646 wxBitmapButton *result;
2647 wxPoint temp4 ;
2648 wxSize temp5 ;
2649 bool temp8 = false ;
2650 PyObject * obj0 = 0 ;
2651 PyObject * obj1 = 0 ;
2652 PyObject * obj2 = 0 ;
2653 PyObject * obj3 = 0 ;
2654 PyObject * obj4 = 0 ;
2655 PyObject * obj5 = 0 ;
2656 PyObject * obj6 = 0 ;
2657 PyObject * obj7 = 0 ;
2658 char *kwnames[] = {
2659 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2660 };
2661
2662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail;
2665 if (obj1) {
2666 {
2667 arg2 = (int)(SWIG_As_int(obj1));
2668 if (SWIG_arg_fail(2)) SWIG_fail;
2669 }
2670 }
2671 if (obj2) {
2672 {
2673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2674 if (SWIG_arg_fail(3)) SWIG_fail;
2675 if (arg3 == NULL) {
2676 SWIG_null_ref("wxBitmap");
2677 }
2678 if (SWIG_arg_fail(3)) SWIG_fail;
2679 }
2680 }
2681 if (obj3) {
2682 {
2683 arg4 = &temp4;
2684 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2685 }
2686 }
2687 if (obj4) {
2688 {
2689 arg5 = &temp5;
2690 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2691 }
2692 }
2693 if (obj5) {
2694 {
2695 arg6 = (long)(SWIG_As_long(obj5));
2696 if (SWIG_arg_fail(6)) SWIG_fail;
2697 }
2698 }
2699 if (obj6) {
2700 {
2701 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2702 if (SWIG_arg_fail(7)) SWIG_fail;
2703 if (arg7 == NULL) {
2704 SWIG_null_ref("wxValidator");
2705 }
2706 if (SWIG_arg_fail(7)) SWIG_fail;
2707 }
2708 }
2709 if (obj7) {
2710 {
2711 arg8 = wxString_in_helper(obj7);
2712 if (arg8 == NULL) SWIG_fail;
2713 temp8 = true;
2714 }
2715 }
2716 {
2717 if (!wxPyCheckForApp()) SWIG_fail;
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2725 {
2726 if (temp8)
2727 delete arg8;
2728 }
2729 return resultobj;
2730 fail:
2731 {
2732 if (temp8)
2733 delete arg8;
2734 }
2735 return NULL;
2736 }
2737
2738
2739 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2740 PyObject *resultobj;
2741 wxBitmapButton *result;
2742 char *kwnames[] = {
2743 NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2747 {
2748 if (!wxPyCheckForApp()) SWIG_fail;
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 result = (wxBitmapButton *)new wxBitmapButton();
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2756 return resultobj;
2757 fail:
2758 return NULL;
2759 }
2760
2761
2762 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2765 wxWindow *arg2 = (wxWindow *) 0 ;
2766 int arg3 = (int) -1 ;
2767 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2768 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2769 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2770 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2771 wxSize const &arg6_defvalue = wxDefaultSize ;
2772 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2773 long arg7 = (long) wxBU_AUTODRAW ;
2774 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2775 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2776 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2777 wxString *arg9 = (wxString *) &arg9_defvalue ;
2778 bool result;
2779 wxPoint temp5 ;
2780 wxSize temp6 ;
2781 bool temp9 = false ;
2782 PyObject * obj0 = 0 ;
2783 PyObject * obj1 = 0 ;
2784 PyObject * obj2 = 0 ;
2785 PyObject * obj3 = 0 ;
2786 PyObject * obj4 = 0 ;
2787 PyObject * obj5 = 0 ;
2788 PyObject * obj6 = 0 ;
2789 PyObject * obj7 = 0 ;
2790 PyObject * obj8 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2797 if (SWIG_arg_fail(1)) SWIG_fail;
2798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2799 if (SWIG_arg_fail(2)) SWIG_fail;
2800 if (obj2) {
2801 {
2802 arg3 = (int)(SWIG_As_int(obj2));
2803 if (SWIG_arg_fail(3)) SWIG_fail;
2804 }
2805 }
2806 if (obj3) {
2807 {
2808 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2809 if (SWIG_arg_fail(4)) SWIG_fail;
2810 if (arg4 == NULL) {
2811 SWIG_null_ref("wxBitmap");
2812 }
2813 if (SWIG_arg_fail(4)) SWIG_fail;
2814 }
2815 }
2816 if (obj4) {
2817 {
2818 arg5 = &temp5;
2819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2820 }
2821 }
2822 if (obj5) {
2823 {
2824 arg6 = &temp6;
2825 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2826 }
2827 }
2828 if (obj6) {
2829 {
2830 arg7 = (long)(SWIG_As_long(obj6));
2831 if (SWIG_arg_fail(7)) SWIG_fail;
2832 }
2833 }
2834 if (obj7) {
2835 {
2836 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2837 if (SWIG_arg_fail(8)) SWIG_fail;
2838 if (arg8 == NULL) {
2839 SWIG_null_ref("wxValidator");
2840 }
2841 if (SWIG_arg_fail(8)) SWIG_fail;
2842 }
2843 }
2844 if (obj8) {
2845 {
2846 arg9 = wxString_in_helper(obj8);
2847 if (arg9 == NULL) SWIG_fail;
2848 temp9 = true;
2849 }
2850 }
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 {
2859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2860 }
2861 {
2862 if (temp9)
2863 delete arg9;
2864 }
2865 return resultobj;
2866 fail:
2867 {
2868 if (temp9)
2869 delete arg9;
2870 }
2871 return NULL;
2872 }
2873
2874
2875 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2878 wxBitmap result;
2879 PyObject * obj0 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2886 if (SWIG_arg_fail(1)) SWIG_fail;
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 result = (arg1)->GetBitmapLabel();
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 {
2895 wxBitmap * resultptr;
2896 resultptr = new wxBitmap((wxBitmap &)(result));
2897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2898 }
2899 return resultobj;
2900 fail:
2901 return NULL;
2902 }
2903
2904
2905 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2906 PyObject *resultobj;
2907 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2908 wxBitmap result;
2909 PyObject * obj0 = 0 ;
2910 char *kwnames[] = {
2911 (char *) "self", NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2916 if (SWIG_arg_fail(1)) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 result = (arg1)->GetBitmapDisabled();
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 {
2925 wxBitmap * resultptr;
2926 resultptr = new wxBitmap((wxBitmap &)(result));
2927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2928 }
2929 return resultobj;
2930 fail:
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2938 wxBitmap result;
2939 PyObject * obj0 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2946 if (SWIG_arg_fail(1)) SWIG_fail;
2947 {
2948 PyThreadState* __tstate = wxPyBeginAllowThreads();
2949 result = (arg1)->GetBitmapFocus();
2950
2951 wxPyEndAllowThreads(__tstate);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 {
2955 wxBitmap * resultptr;
2956 resultptr = new wxBitmap((wxBitmap &)(result));
2957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2968 wxBitmap result;
2969 PyObject * obj0 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "self", NULL
2972 };
2973
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail;
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 result = (arg1)->GetBitmapSelected();
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 {
2985 wxBitmap * resultptr;
2986 resultptr = new wxBitmap((wxBitmap &)(result));
2987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2988 }
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2998 wxBitmap *arg2 = 0 ;
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "bitmap", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3007 if (SWIG_arg_fail(1)) SWIG_fail;
3008 {
3009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3010 if (SWIG_arg_fail(2)) SWIG_fail;
3011 if (arg2 == NULL) {
3012 SWIG_null_ref("wxBitmap");
3013 }
3014 if (SWIG_arg_fail(2)) SWIG_fail;
3015 }
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 Py_INCREF(Py_None); resultobj = Py_None;
3024 return resultobj;
3025 fail:
3026 return NULL;
3027 }
3028
3029
3030 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3031 PyObject *resultobj;
3032 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3033 wxBitmap *arg2 = 0 ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self",(char *) "bitmap", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3042 if (SWIG_arg_fail(1)) SWIG_fail;
3043 {
3044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3045 if (SWIG_arg_fail(2)) SWIG_fail;
3046 if (arg2 == NULL) {
3047 SWIG_null_ref("wxBitmap");
3048 }
3049 if (SWIG_arg_fail(2)) SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 Py_INCREF(Py_None); resultobj = Py_None;
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3068 wxBitmap *arg2 = 0 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "bitmap", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail;
3078 {
3079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3080 if (SWIG_arg_fail(2)) SWIG_fail;
3081 if (arg2 == NULL) {
3082 SWIG_null_ref("wxBitmap");
3083 }
3084 if (SWIG_arg_fail(2)) SWIG_fail;
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3103 wxBitmap *arg2 = 0 ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "bitmap", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3112 if (SWIG_arg_fail(1)) SWIG_fail;
3113 {
3114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3115 if (SWIG_arg_fail(2)) SWIG_fail;
3116 if (arg2 == NULL) {
3117 SWIG_null_ref("wxBitmap");
3118 }
3119 if (SWIG_arg_fail(2)) SWIG_fail;
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 Py_INCREF(Py_None); resultobj = Py_None;
3129 return resultobj;
3130 fail:
3131 return NULL;
3132 }
3133
3134
3135 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj;
3137 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3138 int arg2 ;
3139 int arg3 ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 PyObject * obj2 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "x",(char *) "y", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3149 if (SWIG_arg_fail(1)) SWIG_fail;
3150 {
3151 arg2 = (int)(SWIG_As_int(obj1));
3152 if (SWIG_arg_fail(2)) SWIG_fail;
3153 }
3154 {
3155 arg3 = (int)(SWIG_As_int(obj2));
3156 if (SWIG_arg_fail(3)) SWIG_fail;
3157 }
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 (arg1)->SetMargins(arg2,arg3);
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3173 PyObject *resultobj;
3174 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3175 int result;
3176 PyObject * obj0 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3183 if (SWIG_arg_fail(1)) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 {
3192 resultobj = SWIG_From_int((int)(result));
3193 }
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3203 int result;
3204 PyObject * obj0 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail;
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 {
3220 resultobj = SWIG_From_int((int)(result));
3221 }
3222 return resultobj;
3223 fail:
3224 return NULL;
3225 }
3226
3227
3228 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3229 PyObject *obj;
3230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3231 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3232 Py_INCREF(obj);
3233 return Py_BuildValue((char *)"");
3234 }
3235 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3236 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3237 return 1;
3238 }
3239
3240
3241 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3242 PyObject *pyobj;
3243
3244 {
3245 #if wxUSE_UNICODE
3246 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3247 #else
3248 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3249 #endif
3250 }
3251 return pyobj;
3252 }
3253
3254
3255 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxWindow *arg1 = (wxWindow *) 0 ;
3258 int arg2 = (int) -1 ;
3259 wxString const &arg3_defvalue = wxPyEmptyString ;
3260 wxString *arg3 = (wxString *) &arg3_defvalue ;
3261 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3262 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3263 wxSize const &arg5_defvalue = wxDefaultSize ;
3264 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3265 long arg6 = (long) 0 ;
3266 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3267 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3268 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3269 wxString *arg8 = (wxString *) &arg8_defvalue ;
3270 wxCheckBox *result;
3271 bool temp3 = false ;
3272 wxPoint temp4 ;
3273 wxSize temp5 ;
3274 bool temp8 = false ;
3275 PyObject * obj0 = 0 ;
3276 PyObject * obj1 = 0 ;
3277 PyObject * obj2 = 0 ;
3278 PyObject * obj3 = 0 ;
3279 PyObject * obj4 = 0 ;
3280 PyObject * obj5 = 0 ;
3281 PyObject * obj6 = 0 ;
3282 PyObject * obj7 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3289 if (SWIG_arg_fail(1)) SWIG_fail;
3290 if (obj1) {
3291 {
3292 arg2 = (int)(SWIG_As_int(obj1));
3293 if (SWIG_arg_fail(2)) SWIG_fail;
3294 }
3295 }
3296 if (obj2) {
3297 {
3298 arg3 = wxString_in_helper(obj2);
3299 if (arg3 == NULL) SWIG_fail;
3300 temp3 = true;
3301 }
3302 }
3303 if (obj3) {
3304 {
3305 arg4 = &temp4;
3306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3307 }
3308 }
3309 if (obj4) {
3310 {
3311 arg5 = &temp5;
3312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3313 }
3314 }
3315 if (obj5) {
3316 {
3317 arg6 = (long)(SWIG_As_long(obj5));
3318 if (SWIG_arg_fail(6)) SWIG_fail;
3319 }
3320 }
3321 if (obj6) {
3322 {
3323 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3324 if (SWIG_arg_fail(7)) SWIG_fail;
3325 if (arg7 == NULL) {
3326 SWIG_null_ref("wxValidator");
3327 }
3328 if (SWIG_arg_fail(7)) SWIG_fail;
3329 }
3330 }
3331 if (obj7) {
3332 {
3333 arg8 = wxString_in_helper(obj7);
3334 if (arg8 == NULL) SWIG_fail;
3335 temp8 = true;
3336 }
3337 }
3338 {
3339 if (!wxPyCheckForApp()) SWIG_fail;
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3347 {
3348 if (temp3)
3349 delete arg3;
3350 }
3351 {
3352 if (temp8)
3353 delete arg8;
3354 }
3355 return resultobj;
3356 fail:
3357 {
3358 if (temp3)
3359 delete arg3;
3360 }
3361 {
3362 if (temp8)
3363 delete arg8;
3364 }
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxCheckBox *result;
3372 char *kwnames[] = {
3373 NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3377 {
3378 if (!wxPyCheckForApp()) SWIG_fail;
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 result = (wxCheckBox *)new wxCheckBox();
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3395 wxWindow *arg2 = (wxWindow *) 0 ;
3396 int arg3 = (int) -1 ;
3397 wxString const &arg4_defvalue = wxPyEmptyString ;
3398 wxString *arg4 = (wxString *) &arg4_defvalue ;
3399 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3400 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3401 wxSize const &arg6_defvalue = wxDefaultSize ;
3402 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3403 long arg7 = (long) 0 ;
3404 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3405 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3406 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3407 wxString *arg9 = (wxString *) &arg9_defvalue ;
3408 bool result;
3409 bool temp4 = false ;
3410 wxPoint temp5 ;
3411 wxSize temp6 ;
3412 bool temp9 = false ;
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj1 = 0 ;
3415 PyObject * obj2 = 0 ;
3416 PyObject * obj3 = 0 ;
3417 PyObject * obj4 = 0 ;
3418 PyObject * obj5 = 0 ;
3419 PyObject * obj6 = 0 ;
3420 PyObject * obj7 = 0 ;
3421 PyObject * obj8 = 0 ;
3422 char *kwnames[] = {
3423 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3424 };
3425
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail;
3429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3430 if (SWIG_arg_fail(2)) SWIG_fail;
3431 if (obj2) {
3432 {
3433 arg3 = (int)(SWIG_As_int(obj2));
3434 if (SWIG_arg_fail(3)) SWIG_fail;
3435 }
3436 }
3437 if (obj3) {
3438 {
3439 arg4 = wxString_in_helper(obj3);
3440 if (arg4 == NULL) SWIG_fail;
3441 temp4 = true;
3442 }
3443 }
3444 if (obj4) {
3445 {
3446 arg5 = &temp5;
3447 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3448 }
3449 }
3450 if (obj5) {
3451 {
3452 arg6 = &temp6;
3453 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3454 }
3455 }
3456 if (obj6) {
3457 {
3458 arg7 = (long)(SWIG_As_long(obj6));
3459 if (SWIG_arg_fail(7)) SWIG_fail;
3460 }
3461 }
3462 if (obj7) {
3463 {
3464 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3465 if (SWIG_arg_fail(8)) SWIG_fail;
3466 if (arg8 == NULL) {
3467 SWIG_null_ref("wxValidator");
3468 }
3469 if (SWIG_arg_fail(8)) SWIG_fail;
3470 }
3471 }
3472 if (obj8) {
3473 {
3474 arg9 = wxString_in_helper(obj8);
3475 if (arg9 == NULL) SWIG_fail;
3476 temp9 = true;
3477 }
3478 }
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 {
3487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3488 }
3489 {
3490 if (temp4)
3491 delete arg4;
3492 }
3493 {
3494 if (temp9)
3495 delete arg9;
3496 }
3497 return resultobj;
3498 fail:
3499 {
3500 if (temp4)
3501 delete arg4;
3502 }
3503 {
3504 if (temp9)
3505 delete arg9;
3506 }
3507 return NULL;
3508 }
3509
3510
3511 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3512 PyObject *resultobj;
3513 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3514 bool result;
3515 PyObject * obj0 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3522 if (SWIG_arg_fail(1)) SWIG_fail;
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 result = (bool)(arg1)->GetValue();
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 {
3531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3532 }
3533 return resultobj;
3534 fail:
3535 return NULL;
3536 }
3537
3538
3539 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3542 bool result;
3543 PyObject * obj0 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail;
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (bool)(arg1)->IsChecked();
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3560 }
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3570 bool arg2 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "state", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3579 if (SWIG_arg_fail(1)) SWIG_fail;
3580 {
3581 arg2 = (bool const)(SWIG_As_bool(obj1));
3582 if (SWIG_arg_fail(2)) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->SetValue(arg2);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3601 wxCheckBoxState result;
3602 PyObject * obj0 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail;
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 resultobj = SWIG_From_int((result));
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3627 wxCheckBoxState arg2 ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3630 char *kwnames[] = {
3631 (char *) "self",(char *) "state", NULL
3632 };
3633
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3636 if (SWIG_arg_fail(1)) SWIG_fail;
3637 {
3638 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3639 if (SWIG_arg_fail(2)) SWIG_fail;
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 Py_INCREF(Py_None); resultobj = Py_None;
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3658 bool result;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 {
3675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3676 }
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3686 bool result;
3687 PyObject * obj0 = 0 ;
3688 char *kwnames[] = {
3689 (char *) "self", NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3694 if (SWIG_arg_fail(1)) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 {
3703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3704 }
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3714 wxVisualAttributes result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "variant", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3721 if (obj0) {
3722 {
3723 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3724 if (SWIG_arg_fail(1)) SWIG_fail;
3725 }
3726 }
3727 {
3728 if (!wxPyCheckForApp()) SWIG_fail;
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 {
3736 wxVisualAttributes * resultptr;
3737 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3739 }
3740 return resultobj;
3741 fail:
3742 return NULL;
3743 }
3744
3745
3746 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3747 PyObject *obj;
3748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3749 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3750 Py_INCREF(obj);
3751 return Py_BuildValue((char *)"");
3752 }
3753 static int _wrap_ChoiceNameStr_set(PyObject *) {
3754 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3755 return 1;
3756 }
3757
3758
3759 static PyObject *_wrap_ChoiceNameStr_get(void) {
3760 PyObject *pyobj;
3761
3762 {
3763 #if wxUSE_UNICODE
3764 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3765 #else
3766 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3767 #endif
3768 }
3769 return pyobj;
3770 }
3771
3772
3773 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxWindow *arg1 = (wxWindow *) 0 ;
3776 int arg2 = (int) -1 ;
3777 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3778 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3779 wxSize const &arg4_defvalue = wxDefaultSize ;
3780 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3781 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3782 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3783 long arg6 = (long) 0 ;
3784 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3785 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3786 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3787 wxString *arg8 = (wxString *) &arg8_defvalue ;
3788 wxChoice *result;
3789 wxPoint temp3 ;
3790 wxSize temp4 ;
3791 bool temp5 = false ;
3792 bool temp8 = false ;
3793 PyObject * obj0 = 0 ;
3794 PyObject * obj1 = 0 ;
3795 PyObject * obj2 = 0 ;
3796 PyObject * obj3 = 0 ;
3797 PyObject * obj4 = 0 ;
3798 PyObject * obj5 = 0 ;
3799 PyObject * obj6 = 0 ;
3800 PyObject * obj7 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail;
3808 if (obj1) {
3809 {
3810 arg2 = (int)(SWIG_As_int(obj1));
3811 if (SWIG_arg_fail(2)) SWIG_fail;
3812 }
3813 }
3814 if (obj2) {
3815 {
3816 arg3 = &temp3;
3817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3818 }
3819 }
3820 if (obj3) {
3821 {
3822 arg4 = &temp4;
3823 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3824 }
3825 }
3826 if (obj4) {
3827 {
3828 if (! PySequence_Check(obj4)) {
3829 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3830 SWIG_fail;
3831 }
3832 arg5 = new wxArrayString;
3833 temp5 = true;
3834 int i, len=PySequence_Length(obj4);
3835 for (i=0; i<len; i++) {
3836 PyObject* item = PySequence_GetItem(obj4, i);
3837 wxString* s = wxString_in_helper(item);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 arg5->Add(*s);
3840 delete s;
3841 Py_DECREF(item);
3842 }
3843 }
3844 }
3845 if (obj5) {
3846 {
3847 arg6 = (long)(SWIG_As_long(obj5));
3848 if (SWIG_arg_fail(6)) SWIG_fail;
3849 }
3850 }
3851 if (obj6) {
3852 {
3853 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(7)) SWIG_fail;
3855 if (arg7 == NULL) {
3856 SWIG_null_ref("wxValidator");
3857 }
3858 if (SWIG_arg_fail(7)) SWIG_fail;
3859 }
3860 }
3861 if (obj7) {
3862 {
3863 arg8 = wxString_in_helper(obj7);
3864 if (arg8 == NULL) SWIG_fail;
3865 temp8 = true;
3866 }
3867 }
3868 {
3869 if (!wxPyCheckForApp()) SWIG_fail;
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3877 {
3878 if (temp5) delete arg5;
3879 }
3880 {
3881 if (temp8)
3882 delete arg8;
3883 }
3884 return resultobj;
3885 fail:
3886 {
3887 if (temp5) delete arg5;
3888 }
3889 {
3890 if (temp8)
3891 delete arg8;
3892 }
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxChoice *result;
3900 char *kwnames[] = {
3901 NULL
3902 };
3903
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3905 {
3906 if (!wxPyCheckForApp()) SWIG_fail;
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (wxChoice *)new wxChoice();
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxChoice *arg1 = (wxChoice *) 0 ;
3923 wxWindow *arg2 = (wxWindow *) 0 ;
3924 int arg3 = (int) -1 ;
3925 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3926 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3927 wxSize const &arg5_defvalue = wxDefaultSize ;
3928 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3929 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3930 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3931 long arg7 = (long) 0 ;
3932 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3933 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3934 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3935 wxString *arg9 = (wxString *) &arg9_defvalue ;
3936 bool result;
3937 wxPoint temp4 ;
3938 wxSize temp5 ;
3939 bool temp6 = false ;
3940 bool temp9 = false ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj2 = 0 ;
3944 PyObject * obj3 = 0 ;
3945 PyObject * obj4 = 0 ;
3946 PyObject * obj5 = 0 ;
3947 PyObject * obj6 = 0 ;
3948 PyObject * obj7 = 0 ;
3949 PyObject * obj8 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3956 if (SWIG_arg_fail(1)) SWIG_fail;
3957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3958 if (SWIG_arg_fail(2)) SWIG_fail;
3959 if (obj2) {
3960 {
3961 arg3 = (int)(SWIG_As_int(obj2));
3962 if (SWIG_arg_fail(3)) SWIG_fail;
3963 }
3964 }
3965 if (obj3) {
3966 {
3967 arg4 = &temp4;
3968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3969 }
3970 }
3971 if (obj4) {
3972 {
3973 arg5 = &temp5;
3974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3975 }
3976 }
3977 if (obj5) {
3978 {
3979 if (! PySequence_Check(obj5)) {
3980 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3981 SWIG_fail;
3982 }
3983 arg6 = new wxArrayString;
3984 temp6 = true;
3985 int i, len=PySequence_Length(obj5);
3986 for (i=0; i<len; i++) {
3987 PyObject* item = PySequence_GetItem(obj5, i);
3988 wxString* s = wxString_in_helper(item);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 arg6->Add(*s);
3991 delete s;
3992 Py_DECREF(item);
3993 }
3994 }
3995 }
3996 if (obj6) {
3997 {
3998 arg7 = (long)(SWIG_As_long(obj6));
3999 if (SWIG_arg_fail(7)) SWIG_fail;
4000 }
4001 }
4002 if (obj7) {
4003 {
4004 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4005 if (SWIG_arg_fail(8)) SWIG_fail;
4006 if (arg8 == NULL) {
4007 SWIG_null_ref("wxValidator");
4008 }
4009 if (SWIG_arg_fail(8)) SWIG_fail;
4010 }
4011 }
4012 if (obj8) {
4013 {
4014 arg9 = wxString_in_helper(obj8);
4015 if (arg9 == NULL) SWIG_fail;
4016 temp9 = true;
4017 }
4018 }
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 {
4027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4028 }
4029 {
4030 if (temp6) delete arg6;
4031 }
4032 {
4033 if (temp9)
4034 delete arg9;
4035 }
4036 return resultobj;
4037 fail:
4038 {
4039 if (temp6) delete arg6;
4040 }
4041 {
4042 if (temp9)
4043 delete arg9;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4052 wxVisualAttributes result;
4053 PyObject * obj0 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "variant", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4059 if (obj0) {
4060 {
4061 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4062 if (SWIG_arg_fail(1)) SWIG_fail;
4063 }
4064 }
4065 {
4066 if (!wxPyCheckForApp()) SWIG_fail;
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4069
4070 wxPyEndAllowThreads(__tstate);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 }
4073 {
4074 wxVisualAttributes * resultptr;
4075 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4077 }
4078 return resultobj;
4079 fail:
4080 return NULL;
4081 }
4082
4083
4084 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4085 PyObject *obj;
4086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4087 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4088 Py_INCREF(obj);
4089 return Py_BuildValue((char *)"");
4090 }
4091 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4092 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4093 return 1;
4094 }
4095
4096
4097 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4098 PyObject *pyobj;
4099
4100 {
4101 #if wxUSE_UNICODE
4102 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4103 #else
4104 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4105 #endif
4106 }
4107 return pyobj;
4108 }
4109
4110
4111 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxWindow *arg1 = (wxWindow *) 0 ;
4114 int arg2 = (int) -1 ;
4115 wxString const &arg3_defvalue = wxPyEmptyString ;
4116 wxString *arg3 = (wxString *) &arg3_defvalue ;
4117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4119 wxSize const &arg5_defvalue = wxDefaultSize ;
4120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4121 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4122 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4123 long arg7 = (long) 0 ;
4124 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4125 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4126 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4127 wxString *arg9 = (wxString *) &arg9_defvalue ;
4128 wxComboBox *result;
4129 bool temp3 = false ;
4130 wxPoint temp4 ;
4131 wxSize temp5 ;
4132 bool temp6 = false ;
4133 bool temp9 = false ;
4134 PyObject * obj0 = 0 ;
4135 PyObject * obj1 = 0 ;
4136 PyObject * obj2 = 0 ;
4137 PyObject * obj3 = 0 ;
4138 PyObject * obj4 = 0 ;
4139 PyObject * obj5 = 0 ;
4140 PyObject * obj6 = 0 ;
4141 PyObject * obj7 = 0 ;
4142 PyObject * obj8 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4149 if (SWIG_arg_fail(1)) SWIG_fail;
4150 if (obj1) {
4151 {
4152 arg2 = (int)(SWIG_As_int(obj1));
4153 if (SWIG_arg_fail(2)) SWIG_fail;
4154 }
4155 }
4156 if (obj2) {
4157 {
4158 arg3 = wxString_in_helper(obj2);
4159 if (arg3 == NULL) SWIG_fail;
4160 temp3 = true;
4161 }
4162 }
4163 if (obj3) {
4164 {
4165 arg4 = &temp4;
4166 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4167 }
4168 }
4169 if (obj4) {
4170 {
4171 arg5 = &temp5;
4172 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4173 }
4174 }
4175 if (obj5) {
4176 {
4177 if (! PySequence_Check(obj5)) {
4178 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4179 SWIG_fail;
4180 }
4181 arg6 = new wxArrayString;
4182 temp6 = true;
4183 int i, len=PySequence_Length(obj5);
4184 for (i=0; i<len; i++) {
4185 PyObject* item = PySequence_GetItem(obj5, i);
4186 wxString* s = wxString_in_helper(item);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 arg6->Add(*s);
4189 delete s;
4190 Py_DECREF(item);
4191 }
4192 }
4193 }
4194 if (obj6) {
4195 {
4196 arg7 = (long)(SWIG_As_long(obj6));
4197 if (SWIG_arg_fail(7)) SWIG_fail;
4198 }
4199 }
4200 if (obj7) {
4201 {
4202 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4203 if (SWIG_arg_fail(8)) SWIG_fail;
4204 if (arg8 == NULL) {
4205 SWIG_null_ref("wxValidator");
4206 }
4207 if (SWIG_arg_fail(8)) SWIG_fail;
4208 }
4209 }
4210 if (obj8) {
4211 {
4212 arg9 = wxString_in_helper(obj8);
4213 if (arg9 == NULL) SWIG_fail;
4214 temp9 = true;
4215 }
4216 }
4217 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 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);
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4226 {
4227 if (temp3)
4228 delete arg3;
4229 }
4230 {
4231 if (temp6) delete arg6;
4232 }
4233 {
4234 if (temp9)
4235 delete arg9;
4236 }
4237 return resultobj;
4238 fail:
4239 {
4240 if (temp3)
4241 delete arg3;
4242 }
4243 {
4244 if (temp6) delete arg6;
4245 }
4246 {
4247 if (temp9)
4248 delete arg9;
4249 }
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxComboBox *result;
4257 char *kwnames[] = {
4258 NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4262 {
4263 if (!wxPyCheckForApp()) SWIG_fail;
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (wxComboBox *)new wxComboBox();
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxComboBox *arg1 = (wxComboBox *) 0 ;
4280 wxWindow *arg2 = (wxWindow *) 0 ;
4281 int arg3 = (int) -1 ;
4282 wxString const &arg4_defvalue = wxPyEmptyString ;
4283 wxString *arg4 = (wxString *) &arg4_defvalue ;
4284 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4285 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4286 wxSize const &arg6_defvalue = wxDefaultSize ;
4287 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4288 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4289 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4290 long arg8 = (long) 0 ;
4291 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4292 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4293 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4294 wxString *arg10 = (wxString *) &arg10_defvalue ;
4295 bool result;
4296 bool temp4 = false ;
4297 wxPoint temp5 ;
4298 wxSize temp6 ;
4299 bool temp7 = false ;
4300 bool temp10 = false ;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4303 PyObject * obj2 = 0 ;
4304 PyObject * obj3 = 0 ;
4305 PyObject * obj4 = 0 ;
4306 PyObject * obj5 = 0 ;
4307 PyObject * obj6 = 0 ;
4308 PyObject * obj7 = 0 ;
4309 PyObject * obj8 = 0 ;
4310 PyObject * obj9 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail;
4318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(2)) SWIG_fail;
4320 if (obj2) {
4321 {
4322 arg3 = (int)(SWIG_As_int(obj2));
4323 if (SWIG_arg_fail(3)) SWIG_fail;
4324 }
4325 }
4326 if (obj3) {
4327 {
4328 arg4 = wxString_in_helper(obj3);
4329 if (arg4 == NULL) SWIG_fail;
4330 temp4 = true;
4331 }
4332 }
4333 if (obj4) {
4334 {
4335 arg5 = &temp5;
4336 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4337 }
4338 }
4339 if (obj5) {
4340 {
4341 arg6 = &temp6;
4342 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4343 }
4344 }
4345 if (obj6) {
4346 {
4347 if (! PySequence_Check(obj6)) {
4348 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4349 SWIG_fail;
4350 }
4351 arg7 = new wxArrayString;
4352 temp7 = true;
4353 int i, len=PySequence_Length(obj6);
4354 for (i=0; i<len; i++) {
4355 PyObject* item = PySequence_GetItem(obj6, i);
4356 wxString* s = wxString_in_helper(item);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 arg7->Add(*s);
4359 delete s;
4360 Py_DECREF(item);
4361 }
4362 }
4363 }
4364 if (obj7) {
4365 {
4366 arg8 = (long)(SWIG_As_long(obj7));
4367 if (SWIG_arg_fail(8)) SWIG_fail;
4368 }
4369 }
4370 if (obj8) {
4371 {
4372 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4373 if (SWIG_arg_fail(9)) SWIG_fail;
4374 if (arg9 == NULL) {
4375 SWIG_null_ref("wxValidator");
4376 }
4377 if (SWIG_arg_fail(9)) SWIG_fail;
4378 }
4379 }
4380 if (obj9) {
4381 {
4382 arg10 = wxString_in_helper(obj9);
4383 if (arg10 == NULL) SWIG_fail;
4384 temp10 = true;
4385 }
4386 }
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 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);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4396 }
4397 {
4398 if (temp4)
4399 delete arg4;
4400 }
4401 {
4402 if (temp7) delete arg7;
4403 }
4404 {
4405 if (temp10)
4406 delete arg10;
4407 }
4408 return resultobj;
4409 fail:
4410 {
4411 if (temp4)
4412 delete arg4;
4413 }
4414 {
4415 if (temp7) delete arg7;
4416 }
4417 {
4418 if (temp10)
4419 delete arg10;
4420 }
4421 return NULL;
4422 }
4423
4424
4425 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj;
4427 wxComboBox *arg1 = (wxComboBox *) 0 ;
4428 wxString result;
4429 PyObject * obj0 = 0 ;
4430 char *kwnames[] = {
4431 (char *) "self", NULL
4432 };
4433
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4436 if (SWIG_arg_fail(1)) SWIG_fail;
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = ((wxComboBox const *)arg1)->GetValue();
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 {
4445 #if wxUSE_UNICODE
4446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4447 #else
4448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4449 #endif
4450 }
4451 return resultobj;
4452 fail:
4453 return NULL;
4454 }
4455
4456
4457 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxComboBox *arg1 = (wxComboBox *) 0 ;
4460 wxString *arg2 = 0 ;
4461 bool temp2 = false ;
4462 PyObject * obj0 = 0 ;
4463 PyObject * obj1 = 0 ;
4464 char *kwnames[] = {
4465 (char *) "self",(char *) "value", NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4470 if (SWIG_arg_fail(1)) SWIG_fail;
4471 {
4472 arg2 = wxString_in_helper(obj1);
4473 if (arg2 == NULL) SWIG_fail;
4474 temp2 = true;
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 (arg1)->SetValue((wxString const &)*arg2);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 {
4485 if (temp2)
4486 delete arg2;
4487 }
4488 return resultobj;
4489 fail:
4490 {
4491 if (temp2)
4492 delete arg2;
4493 }
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxComboBox *arg1 = (wxComboBox *) 0 ;
4501 PyObject * obj0 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 (arg1)->Copy();
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 Py_INCREF(Py_None); resultobj = Py_None;
4517 return resultobj;
4518 fail:
4519 return NULL;
4520 }
4521
4522
4523 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4524 PyObject *resultobj;
4525 wxComboBox *arg1 = (wxComboBox *) 0 ;
4526 PyObject * obj0 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail;
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 (arg1)->Cut();
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxComboBox *arg1 = (wxComboBox *) 0 ;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->Paste();
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxComboBox *arg1 = (wxComboBox *) 0 ;
4576 long arg2 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "pos", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail;
4586 {
4587 arg2 = (long)(SWIG_As_long(obj1));
4588 if (SWIG_arg_fail(2)) SWIG_fail;
4589 }
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 (arg1)->SetInsertionPoint(arg2);
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 Py_INCREF(Py_None); resultobj = Py_None;
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxComboBox *arg1 = (wxComboBox *) 0 ;
4607 long result;
4608 PyObject * obj0 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4615 if (SWIG_arg_fail(1)) SWIG_fail;
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 resultobj = SWIG_From_long((long)(result));
4625 }
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxComboBox *arg1 = (wxComboBox *) 0 ;
4635 long result;
4636 PyObject * obj0 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4643 if (SWIG_arg_fail(1)) SWIG_fail;
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 {
4652 resultobj = SWIG_From_long((long)(result));
4653 }
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj;
4662 wxComboBox *arg1 = (wxComboBox *) 0 ;
4663 long arg2 ;
4664 long arg3 ;
4665 wxString *arg4 = 0 ;
4666 bool temp4 = false ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 PyObject * obj3 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4677 if (SWIG_arg_fail(1)) SWIG_fail;
4678 {
4679 arg2 = (long)(SWIG_As_long(obj1));
4680 if (SWIG_arg_fail(2)) SWIG_fail;
4681 }
4682 {
4683 arg3 = (long)(SWIG_As_long(obj2));
4684 if (SWIG_arg_fail(3)) SWIG_fail;
4685 }
4686 {
4687 arg4 = wxString_in_helper(obj3);
4688 if (arg4 == NULL) SWIG_fail;
4689 temp4 = true;
4690 }
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 {
4700 if (temp4)
4701 delete arg4;
4702 }
4703 return resultobj;
4704 fail:
4705 {
4706 if (temp4)
4707 delete arg4;
4708 }
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxComboBox *arg1 = (wxComboBox *) 0 ;
4716 int arg2 ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self",(char *) "n", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4725 if (SWIG_arg_fail(1)) SWIG_fail;
4726 {
4727 arg2 = (int)(SWIG_As_int(obj1));
4728 if (SWIG_arg_fail(2)) SWIG_fail;
4729 }
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 (arg1)->SetSelection(arg2);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxComboBox *arg1 = (wxComboBox *) 0 ;
4747 long arg2 ;
4748 long arg3 ;
4749 PyObject * obj0 = 0 ;
4750 PyObject * obj1 = 0 ;
4751 PyObject * obj2 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self",(char *) "from",(char *) "to", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail;
4759 {
4760 arg2 = (long)(SWIG_As_long(obj1));
4761 if (SWIG_arg_fail(2)) SWIG_fail;
4762 }
4763 {
4764 arg3 = (long)(SWIG_As_long(obj2));
4765 if (SWIG_arg_fail(3)) SWIG_fail;
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 (arg1)->SetSelection(arg2,arg3);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 Py_INCREF(Py_None); resultobj = Py_None;
4775 return resultobj;
4776 fail:
4777 return NULL;
4778 }
4779
4780
4781 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxComboBox *arg1 = (wxComboBox *) 0 ;
4784 long *arg2 = (long *) 0 ;
4785 long *arg3 = (long *) 0 ;
4786 long temp2 ;
4787 int res2 = 0 ;
4788 long temp3 ;
4789 int res3 = 0 ;
4790 PyObject * obj0 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self", NULL
4793 };
4794
4795 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4796 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4799 if (SWIG_arg_fail(1)) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 (arg1)->GetSelection(arg2,arg3);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 Py_INCREF(Py_None); resultobj = Py_None;
4808 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4809 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4810 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4811 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 wxComboBox *arg1 = (wxComboBox *) 0 ;
4821 wxString *arg2 = 0 ;
4822 bool result;
4823 bool temp2 = false ;
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self",(char *) "string", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4832 if (SWIG_arg_fail(1)) SWIG_fail;
4833 {
4834 arg2 = wxString_in_helper(obj1);
4835 if (arg2 == NULL) SWIG_fail;
4836 temp2 = true;
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4847 }
4848 {
4849 if (temp2)
4850 delete arg2;
4851 }
4852 return resultobj;
4853 fail:
4854 {
4855 if (temp2)
4856 delete arg2;
4857 }
4858 return NULL;
4859 }
4860
4861
4862 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4863 PyObject *resultobj;
4864 wxComboBox *arg1 = (wxComboBox *) 0 ;
4865 int arg2 ;
4866 wxString *arg3 = 0 ;
4867 bool temp3 = false ;
4868 PyObject * obj0 = 0 ;
4869 PyObject * obj1 = 0 ;
4870 PyObject * obj2 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "self",(char *) "n",(char *) "string", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4877 if (SWIG_arg_fail(1)) SWIG_fail;
4878 {
4879 arg2 = (int)(SWIG_As_int(obj1));
4880 if (SWIG_arg_fail(2)) SWIG_fail;
4881 }
4882 {
4883 arg3 = wxString_in_helper(obj2);
4884 if (arg3 == NULL) SWIG_fail;
4885 temp3 = true;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetString(arg2,(wxString const &)*arg3);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 if (temp3)
4897 delete arg3;
4898 }
4899 return resultobj;
4900 fail:
4901 {
4902 if (temp3)
4903 delete arg3;
4904 }
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxComboBox *arg1 = (wxComboBox *) 0 ;
4912 bool arg2 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self",(char *) "editable", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail;
4922 {
4923 arg2 = (bool)(SWIG_As_bool(obj1));
4924 if (SWIG_arg_fail(2)) SWIG_fail;
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 (arg1)->SetEditable(arg2);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 Py_INCREF(Py_None); resultobj = Py_None;
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxComboBox *arg1 = (wxComboBox *) 0 ;
4943 PyObject * obj0 = 0 ;
4944 char *kwnames[] = {
4945 (char *) "self", NULL
4946 };
4947
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4950 if (SWIG_arg_fail(1)) SWIG_fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetInsertionPointEnd();
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxComboBox *arg1 = (wxComboBox *) 0 ;
4968 long arg2 ;
4969 long arg3 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 PyObject * obj2 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self",(char *) "from",(char *) "to", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail;
4980 {
4981 arg2 = (long)(SWIG_As_long(obj1));
4982 if (SWIG_arg_fail(2)) SWIG_fail;
4983 }
4984 {
4985 arg3 = (long)(SWIG_As_long(obj2));
4986 if (SWIG_arg_fail(3)) SWIG_fail;
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 (arg1)->Remove(arg2,arg3);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 Py_INCREF(Py_None); resultobj = Py_None;
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj;
5004 wxComboBox *arg1 = (wxComboBox *) 0 ;
5005 bool result;
5006 PyObject * obj0 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5013 if (SWIG_arg_fail(1)) SWIG_fail;
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 {
5022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5023 }
5024 return resultobj;
5025 fail:
5026 return NULL;
5027 }
5028
5029
5030 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxComboBox *arg1 = (wxComboBox *) 0 ;
5033 PyObject * obj0 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->Undo();
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxComboBox *arg1 = (wxComboBox *) 0 ;
5058 PyObject * obj0 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail;
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->Redo();
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 Py_INCREF(Py_None); resultobj = Py_None;
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxComboBox *arg1 = (wxComboBox *) 0 ;
5083 PyObject * obj0 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5090 if (SWIG_arg_fail(1)) SWIG_fail;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->SelectAll();
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxComboBox *arg1 = (wxComboBox *) 0 ;
5108 bool result;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5116 if (SWIG_arg_fail(1)) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 {
5125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5126 }
5127 return resultobj;
5128 fail:
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 bool result;
5137 PyObject * obj0 = 0 ;
5138 char *kwnames[] = {
5139 (char *) "self", NULL
5140 };
5141
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5144 if (SWIG_arg_fail(1)) SWIG_fail;
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = (bool)((wxComboBox const *)arg1)->CanCut();
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5154 }
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxComboBox *arg1 = (wxComboBox *) 0 ;
5164 bool result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 {
5181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5182 }
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxComboBox *arg1 = (wxComboBox *) 0 ;
5192 bool result;
5193 PyObject * obj0 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5210 }
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxComboBox *arg1 = (wxComboBox *) 0 ;
5220 bool result;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail;
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 {
5237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5238 }
5239 return resultobj;
5240 fail:
5241 return NULL;
5242 }
5243
5244
5245 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj;
5247 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5248 wxVisualAttributes result;
5249 PyObject * obj0 = 0 ;
5250 char *kwnames[] = {
5251 (char *) "variant", NULL
5252 };
5253
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5255 if (obj0) {
5256 {
5257 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5258 if (SWIG_arg_fail(1)) SWIG_fail;
5259 }
5260 }
5261 {
5262 if (!wxPyCheckForApp()) SWIG_fail;
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 {
5270 wxVisualAttributes * resultptr;
5271 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5273 }
5274 return resultobj;
5275 fail:
5276 return NULL;
5277 }
5278
5279
5280 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5281 PyObject *obj;
5282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5283 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5284 Py_INCREF(obj);
5285 return Py_BuildValue((char *)"");
5286 }
5287 static int _wrap_GaugeNameStr_set(PyObject *) {
5288 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5289 return 1;
5290 }
5291
5292
5293 static PyObject *_wrap_GaugeNameStr_get(void) {
5294 PyObject *pyobj;
5295
5296 {
5297 #if wxUSE_UNICODE
5298 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5299 #else
5300 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5301 #endif
5302 }
5303 return pyobj;
5304 }
5305
5306
5307 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxWindow *arg1 = (wxWindow *) 0 ;
5310 int arg2 = (int) -1 ;
5311 int arg3 = (int) 100 ;
5312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5314 wxSize const &arg5_defvalue = wxDefaultSize ;
5315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5316 long arg6 = (long) wxGA_HORIZONTAL ;
5317 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5318 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5319 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5320 wxString *arg8 = (wxString *) &arg8_defvalue ;
5321 wxGauge *result;
5322 wxPoint temp4 ;
5323 wxSize temp5 ;
5324 bool temp8 = false ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 PyObject * obj2 = 0 ;
5328 PyObject * obj3 = 0 ;
5329 PyObject * obj4 = 0 ;
5330 PyObject * obj5 = 0 ;
5331 PyObject * obj6 = 0 ;
5332 PyObject * obj7 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5339 if (SWIG_arg_fail(1)) SWIG_fail;
5340 if (obj1) {
5341 {
5342 arg2 = (int)(SWIG_As_int(obj1));
5343 if (SWIG_arg_fail(2)) SWIG_fail;
5344 }
5345 }
5346 if (obj2) {
5347 {
5348 arg3 = (int)(SWIG_As_int(obj2));
5349 if (SWIG_arg_fail(3)) SWIG_fail;
5350 }
5351 }
5352 if (obj3) {
5353 {
5354 arg4 = &temp4;
5355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5356 }
5357 }
5358 if (obj4) {
5359 {
5360 arg5 = &temp5;
5361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5362 }
5363 }
5364 if (obj5) {
5365 {
5366 arg6 = (long)(SWIG_As_long(obj5));
5367 if (SWIG_arg_fail(6)) SWIG_fail;
5368 }
5369 }
5370 if (obj6) {
5371 {
5372 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5373 if (SWIG_arg_fail(7)) SWIG_fail;
5374 if (arg7 == NULL) {
5375 SWIG_null_ref("wxValidator");
5376 }
5377 if (SWIG_arg_fail(7)) SWIG_fail;
5378 }
5379 }
5380 if (obj7) {
5381 {
5382 arg8 = wxString_in_helper(obj7);
5383 if (arg8 == NULL) SWIG_fail;
5384 temp8 = true;
5385 }
5386 }
5387 {
5388 if (!wxPyCheckForApp()) SWIG_fail;
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5396 {
5397 if (temp8)
5398 delete arg8;
5399 }
5400 return resultobj;
5401 fail:
5402 {
5403 if (temp8)
5404 delete arg8;
5405 }
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxGauge *result;
5413 char *kwnames[] = {
5414 NULL
5415 };
5416
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5418 {
5419 if (!wxPyCheckForApp()) SWIG_fail;
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (wxGauge *)new wxGauge();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxGauge *arg1 = (wxGauge *) 0 ;
5436 wxWindow *arg2 = (wxWindow *) 0 ;
5437 int arg3 = (int) -1 ;
5438 int arg4 = (int) 100 ;
5439 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5440 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5441 wxSize const &arg6_defvalue = wxDefaultSize ;
5442 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5443 long arg7 = (long) wxGA_HORIZONTAL ;
5444 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5445 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5446 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5447 wxString *arg9 = (wxString *) &arg9_defvalue ;
5448 bool result;
5449 wxPoint temp5 ;
5450 wxSize temp6 ;
5451 bool temp9 = false ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 PyObject * obj2 = 0 ;
5455 PyObject * obj3 = 0 ;
5456 PyObject * obj4 = 0 ;
5457 PyObject * obj5 = 0 ;
5458 PyObject * obj6 = 0 ;
5459 PyObject * obj7 = 0 ;
5460 PyObject * obj8 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail;
5468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5469 if (SWIG_arg_fail(2)) SWIG_fail;
5470 if (obj2) {
5471 {
5472 arg3 = (int)(SWIG_As_int(obj2));
5473 if (SWIG_arg_fail(3)) SWIG_fail;
5474 }
5475 }
5476 if (obj3) {
5477 {
5478 arg4 = (int)(SWIG_As_int(obj3));
5479 if (SWIG_arg_fail(4)) SWIG_fail;
5480 }
5481 }
5482 if (obj4) {
5483 {
5484 arg5 = &temp5;
5485 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5486 }
5487 }
5488 if (obj5) {
5489 {
5490 arg6 = &temp6;
5491 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5492 }
5493 }
5494 if (obj6) {
5495 {
5496 arg7 = (long)(SWIG_As_long(obj6));
5497 if (SWIG_arg_fail(7)) SWIG_fail;
5498 }
5499 }
5500 if (obj7) {
5501 {
5502 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5503 if (SWIG_arg_fail(8)) SWIG_fail;
5504 if (arg8 == NULL) {
5505 SWIG_null_ref("wxValidator");
5506 }
5507 if (SWIG_arg_fail(8)) SWIG_fail;
5508 }
5509 }
5510 if (obj8) {
5511 {
5512 arg9 = wxString_in_helper(obj8);
5513 if (arg9 == NULL) SWIG_fail;
5514 temp9 = true;
5515 }
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 {
5525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5526 }
5527 {
5528 if (temp9)
5529 delete arg9;
5530 }
5531 return resultobj;
5532 fail:
5533 {
5534 if (temp9)
5535 delete arg9;
5536 }
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxGauge *arg1 = (wxGauge *) 0 ;
5544 int arg2 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "range", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5553 if (SWIG_arg_fail(1)) SWIG_fail;
5554 {
5555 arg2 = (int)(SWIG_As_int(obj1));
5556 if (SWIG_arg_fail(2)) SWIG_fail;
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 (arg1)->SetRange(arg2);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 Py_INCREF(Py_None); resultobj = Py_None;
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxGauge *arg1 = (wxGauge *) 0 ;
5575 int result;
5576 PyObject * obj0 = 0 ;
5577 char *kwnames[] = {
5578 (char *) "self", NULL
5579 };
5580
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (int)((wxGauge const *)arg1)->GetRange();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 {
5592 resultobj = SWIG_From_int((int)(result));
5593 }
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxGauge *arg1 = (wxGauge *) 0 ;
5603 int arg2 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "pos", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5612 if (SWIG_arg_fail(1)) SWIG_fail;
5613 {
5614 arg2 = (int)(SWIG_As_int(obj1));
5615 if (SWIG_arg_fail(2)) SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->SetValue(arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxGauge *arg1 = (wxGauge *) 0 ;
5634 int result;
5635 PyObject * obj0 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (int)((wxGauge const *)arg1)->GetValue();
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 resultobj = SWIG_From_int((int)(result));
5652 }
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxGauge *arg1 = (wxGauge *) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (bool)((wxGauge const *)arg1)->IsVertical();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxGauge *arg1 = (wxGauge *) 0 ;
5690 int arg2 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "w", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5699 if (SWIG_arg_fail(1)) SWIG_fail;
5700 {
5701 arg2 = (int)(SWIG_As_int(obj1));
5702 if (SWIG_arg_fail(2)) SWIG_fail;
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 (arg1)->SetShadowWidth(arg2);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 Py_INCREF(Py_None); resultobj = Py_None;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxGauge *arg1 = (wxGauge *) 0 ;
5721 int result;
5722 PyObject * obj0 = 0 ;
5723 char *kwnames[] = {
5724 (char *) "self", NULL
5725 };
5726
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5729 if (SWIG_arg_fail(1)) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 resultobj = SWIG_From_int((int)(result));
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxGauge *arg1 = (wxGauge *) 0 ;
5749 int arg2 ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "w", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail;
5759 {
5760 arg2 = (int)(SWIG_As_int(obj1));
5761 if (SWIG_arg_fail(2)) SWIG_fail;
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->SetBezelFace(arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxGauge *arg1 = (wxGauge *) 0 ;
5780 int result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = SWIG_From_int((int)(result));
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5808 wxVisualAttributes result;
5809 PyObject * obj0 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "variant", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5815 if (obj0) {
5816 {
5817 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5818 if (SWIG_arg_fail(1)) SWIG_fail;
5819 }
5820 }
5821 {
5822 if (!wxPyCheckForApp()) SWIG_fail;
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 wxVisualAttributes * resultptr;
5831 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5833 }
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5841 PyObject *obj;
5842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5843 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5844 Py_INCREF(obj);
5845 return Py_BuildValue((char *)"");
5846 }
5847 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5848 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5849 return 1;
5850 }
5851
5852
5853 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5854 PyObject *pyobj;
5855
5856 {
5857 #if wxUSE_UNICODE
5858 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5859 #else
5860 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5861 #endif
5862 }
5863 return pyobj;
5864 }
5865
5866
5867 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5868 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5869 return 1;
5870 }
5871
5872
5873 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5874 PyObject *pyobj;
5875
5876 {
5877 #if wxUSE_UNICODE
5878 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5879 #else
5880 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5881 #endif
5882 }
5883 return pyobj;
5884 }
5885
5886
5887 static int _wrap_StaticTextNameStr_set(PyObject *) {
5888 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5889 return 1;
5890 }
5891
5892
5893 static PyObject *_wrap_StaticTextNameStr_get(void) {
5894 PyObject *pyobj;
5895
5896 {
5897 #if wxUSE_UNICODE
5898 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5899 #else
5900 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5901 #endif
5902 }
5903 return pyobj;
5904 }
5905
5906
5907 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxWindow *arg1 = (wxWindow *) 0 ;
5910 int arg2 = (int) -1 ;
5911 wxString const &arg3_defvalue = wxPyEmptyString ;
5912 wxString *arg3 = (wxString *) &arg3_defvalue ;
5913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5915 wxSize const &arg5_defvalue = wxDefaultSize ;
5916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5917 long arg6 = (long) 0 ;
5918 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5919 wxString *arg7 = (wxString *) &arg7_defvalue ;
5920 wxStaticBox *result;
5921 bool temp3 = false ;
5922 wxPoint temp4 ;
5923 wxSize temp5 ;
5924 bool temp7 = false ;
5925 PyObject * obj0 = 0 ;
5926 PyObject * obj1 = 0 ;
5927 PyObject * obj2 = 0 ;
5928 PyObject * obj3 = 0 ;
5929 PyObject * obj4 = 0 ;
5930 PyObject * obj5 = 0 ;
5931 PyObject * obj6 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail;
5939 if (obj1) {
5940 {
5941 arg2 = (int)(SWIG_As_int(obj1));
5942 if (SWIG_arg_fail(2)) SWIG_fail;
5943 }
5944 }
5945 if (obj2) {
5946 {
5947 arg3 = wxString_in_helper(obj2);
5948 if (arg3 == NULL) SWIG_fail;
5949 temp3 = true;
5950 }
5951 }
5952 if (obj3) {
5953 {
5954 arg4 = &temp4;
5955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5956 }
5957 }
5958 if (obj4) {
5959 {
5960 arg5 = &temp5;
5961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5962 }
5963 }
5964 if (obj5) {
5965 {
5966 arg6 = (long)(SWIG_As_long(obj5));
5967 if (SWIG_arg_fail(6)) SWIG_fail;
5968 }
5969 }
5970 if (obj6) {
5971 {
5972 arg7 = wxString_in_helper(obj6);
5973 if (arg7 == NULL) SWIG_fail;
5974 temp7 = true;
5975 }
5976 }
5977 {
5978 if (!wxPyCheckForApp()) SWIG_fail;
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5986 {
5987 if (temp3)
5988 delete arg3;
5989 }
5990 {
5991 if (temp7)
5992 delete arg7;
5993 }
5994 return resultobj;
5995 fail:
5996 {
5997 if (temp3)
5998 delete arg3;
5999 }
6000 {
6001 if (temp7)
6002 delete arg7;
6003 }
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxStaticBox *result;
6011 char *kwnames[] = {
6012 NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6016 {
6017 if (!wxPyCheckForApp()) SWIG_fail;
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (wxStaticBox *)new wxStaticBox();
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6025 return resultobj;
6026 fail:
6027 return NULL;
6028 }
6029
6030
6031 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6032 PyObject *resultobj;
6033 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6034 wxWindow *arg2 = (wxWindow *) 0 ;
6035 int arg3 = (int) -1 ;
6036 wxString const &arg4_defvalue = wxPyEmptyString ;
6037 wxString *arg4 = (wxString *) &arg4_defvalue ;
6038 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6039 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6040 wxSize const &arg6_defvalue = wxDefaultSize ;
6041 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6042 long arg7 = (long) 0 ;
6043 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6044 wxString *arg8 = (wxString *) &arg8_defvalue ;
6045 bool result;
6046 bool temp4 = false ;
6047 wxPoint temp5 ;
6048 wxSize temp6 ;
6049 bool temp8 = false ;
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj1 = 0 ;
6052 PyObject * obj2 = 0 ;
6053 PyObject * obj3 = 0 ;
6054 PyObject * obj4 = 0 ;
6055 PyObject * obj5 = 0 ;
6056 PyObject * obj6 = 0 ;
6057 PyObject * obj7 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6064 if (SWIG_arg_fail(1)) SWIG_fail;
6065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6066 if (SWIG_arg_fail(2)) SWIG_fail;
6067 if (obj2) {
6068 {
6069 arg3 = (int)(SWIG_As_int(obj2));
6070 if (SWIG_arg_fail(3)) SWIG_fail;
6071 }
6072 }
6073 if (obj3) {
6074 {
6075 arg4 = wxString_in_helper(obj3);
6076 if (arg4 == NULL) SWIG_fail;
6077 temp4 = true;
6078 }
6079 }
6080 if (obj4) {
6081 {
6082 arg5 = &temp5;
6083 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6084 }
6085 }
6086 if (obj5) {
6087 {
6088 arg6 = &temp6;
6089 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6090 }
6091 }
6092 if (obj6) {
6093 {
6094 arg7 = (long)(SWIG_As_long(obj6));
6095 if (SWIG_arg_fail(7)) SWIG_fail;
6096 }
6097 }
6098 if (obj7) {
6099 {
6100 arg8 = wxString_in_helper(obj7);
6101 if (arg8 == NULL) SWIG_fail;
6102 temp8 = true;
6103 }
6104 }
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6114 }
6115 {
6116 if (temp4)
6117 delete arg4;
6118 }
6119 {
6120 if (temp8)
6121 delete arg8;
6122 }
6123 return resultobj;
6124 fail:
6125 {
6126 if (temp4)
6127 delete arg4;
6128 }
6129 {
6130 if (temp8)
6131 delete arg8;
6132 }
6133 return NULL;
6134 }
6135
6136
6137 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6140 wxVisualAttributes result;
6141 PyObject * obj0 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "variant", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6147 if (obj0) {
6148 {
6149 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6150 if (SWIG_arg_fail(1)) SWIG_fail;
6151 }
6152 }
6153 {
6154 if (!wxPyCheckForApp()) SWIG_fail;
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 {
6162 wxVisualAttributes * resultptr;
6163 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6165 }
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6173 PyObject *obj;
6174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6175 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6176 Py_INCREF(obj);
6177 return Py_BuildValue((char *)"");
6178 }
6179 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxWindow *arg1 = (wxWindow *) 0 ;
6182 int arg2 = (int) -1 ;
6183 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6184 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6185 wxSize const &arg4_defvalue = wxDefaultSize ;
6186 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6187 long arg5 = (long) wxLI_HORIZONTAL ;
6188 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6189 wxString *arg6 = (wxString *) &arg6_defvalue ;
6190 wxStaticLine *result;
6191 wxPoint temp3 ;
6192 wxSize temp4 ;
6193 bool temp6 = false ;
6194 PyObject * obj0 = 0 ;
6195 PyObject * obj1 = 0 ;
6196 PyObject * obj2 = 0 ;
6197 PyObject * obj3 = 0 ;
6198 PyObject * obj4 = 0 ;
6199 PyObject * obj5 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail;
6207 if (obj1) {
6208 {
6209 arg2 = (int)(SWIG_As_int(obj1));
6210 if (SWIG_arg_fail(2)) SWIG_fail;
6211 }
6212 }
6213 if (obj2) {
6214 {
6215 arg3 = &temp3;
6216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6217 }
6218 }
6219 if (obj3) {
6220 {
6221 arg4 = &temp4;
6222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6223 }
6224 }
6225 if (obj4) {
6226 {
6227 arg5 = (long)(SWIG_As_long(obj4));
6228 if (SWIG_arg_fail(5)) SWIG_fail;
6229 }
6230 }
6231 if (obj5) {
6232 {
6233 arg6 = wxString_in_helper(obj5);
6234 if (arg6 == NULL) SWIG_fail;
6235 temp6 = true;
6236 }
6237 }
6238 {
6239 if (!wxPyCheckForApp()) SWIG_fail;
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6247 {
6248 if (temp6)
6249 delete arg6;
6250 }
6251 return resultobj;
6252 fail:
6253 {
6254 if (temp6)
6255 delete arg6;
6256 }
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxStaticLine *result;
6264 char *kwnames[] = {
6265 NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6269 {
6270 if (!wxPyCheckForApp()) SWIG_fail;
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (wxStaticLine *)new wxStaticLine();
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6287 wxWindow *arg2 = (wxWindow *) 0 ;
6288 int arg3 = (int) -1 ;
6289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6291 wxSize const &arg5_defvalue = wxDefaultSize ;
6292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6293 long arg6 = (long) wxLI_HORIZONTAL ;
6294 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6295 wxString *arg7 = (wxString *) &arg7_defvalue ;
6296 bool result;
6297 wxPoint temp4 ;
6298 wxSize temp5 ;
6299 bool temp7 = false ;
6300 PyObject * obj0 = 0 ;
6301 PyObject * obj1 = 0 ;
6302 PyObject * obj2 = 0 ;
6303 PyObject * obj3 = 0 ;
6304 PyObject * obj4 = 0 ;
6305 PyObject * obj5 = 0 ;
6306 PyObject * obj6 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6313 if (SWIG_arg_fail(1)) SWIG_fail;
6314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6315 if (SWIG_arg_fail(2)) SWIG_fail;
6316 if (obj2) {
6317 {
6318 arg3 = (int)(SWIG_As_int(obj2));
6319 if (SWIG_arg_fail(3)) SWIG_fail;
6320 }
6321 }
6322 if (obj3) {
6323 {
6324 arg4 = &temp4;
6325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6326 }
6327 }
6328 if (obj4) {
6329 {
6330 arg5 = &temp5;
6331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6332 }
6333 }
6334 if (obj5) {
6335 {
6336 arg6 = (long)(SWIG_As_long(obj5));
6337 if (SWIG_arg_fail(6)) SWIG_fail;
6338 }
6339 }
6340 if (obj6) {
6341 {
6342 arg7 = wxString_in_helper(obj6);
6343 if (arg7 == NULL) SWIG_fail;
6344 temp7 = true;
6345 }
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 {
6355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6356 }
6357 {
6358 if (temp7)
6359 delete arg7;
6360 }
6361 return resultobj;
6362 fail:
6363 {
6364 if (temp7)
6365 delete arg7;
6366 }
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6374 bool result;
6375 PyObject * obj0 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6382 if (SWIG_arg_fail(1)) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 {
6391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6392 }
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 int result;
6402 char *kwnames[] = {
6403 NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (int)wxStaticLine::GetDefaultSize();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 {
6415 resultobj = SWIG_From_int((int)(result));
6416 }
6417 return resultobj;
6418 fail:
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6426 wxVisualAttributes result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "variant", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6433 if (obj0) {
6434 {
6435 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6436 if (SWIG_arg_fail(1)) SWIG_fail;
6437 }
6438 }
6439 {
6440 if (!wxPyCheckForApp()) SWIG_fail;
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 {
6448 wxVisualAttributes * resultptr;
6449 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6451 }
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6459 PyObject *obj;
6460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6462 Py_INCREF(obj);
6463 return Py_BuildValue((char *)"");
6464 }
6465 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxWindow *arg1 = (wxWindow *) 0 ;
6468 int arg2 = (int) -1 ;
6469 wxString const &arg3_defvalue = wxPyEmptyString ;
6470 wxString *arg3 = (wxString *) &arg3_defvalue ;
6471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6473 wxSize const &arg5_defvalue = wxDefaultSize ;
6474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6475 long arg6 = (long) 0 ;
6476 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6477 wxString *arg7 = (wxString *) &arg7_defvalue ;
6478 wxStaticText *result;
6479 bool temp3 = false ;
6480 wxPoint temp4 ;
6481 wxSize temp5 ;
6482 bool temp7 = false ;
6483 PyObject * obj0 = 0 ;
6484 PyObject * obj1 = 0 ;
6485 PyObject * obj2 = 0 ;
6486 PyObject * obj3 = 0 ;
6487 PyObject * obj4 = 0 ;
6488 PyObject * obj5 = 0 ;
6489 PyObject * obj6 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6496 if (SWIG_arg_fail(1)) SWIG_fail;
6497 if (obj1) {
6498 {
6499 arg2 = (int)(SWIG_As_int(obj1));
6500 if (SWIG_arg_fail(2)) SWIG_fail;
6501 }
6502 }
6503 if (obj2) {
6504 {
6505 arg3 = wxString_in_helper(obj2);
6506 if (arg3 == NULL) SWIG_fail;
6507 temp3 = true;
6508 }
6509 }
6510 if (obj3) {
6511 {
6512 arg4 = &temp4;
6513 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6514 }
6515 }
6516 if (obj4) {
6517 {
6518 arg5 = &temp5;
6519 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6520 }
6521 }
6522 if (obj5) {
6523 {
6524 arg6 = (long)(SWIG_As_long(obj5));
6525 if (SWIG_arg_fail(6)) SWIG_fail;
6526 }
6527 }
6528 if (obj6) {
6529 {
6530 arg7 = wxString_in_helper(obj6);
6531 if (arg7 == NULL) SWIG_fail;
6532 temp7 = true;
6533 }
6534 }
6535 {
6536 if (!wxPyCheckForApp()) SWIG_fail;
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6544 {
6545 if (temp3)
6546 delete arg3;
6547 }
6548 {
6549 if (temp7)
6550 delete arg7;
6551 }
6552 return resultobj;
6553 fail:
6554 {
6555 if (temp3)
6556 delete arg3;
6557 }
6558 {
6559 if (temp7)
6560 delete arg7;
6561 }
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxStaticText *result;
6569 char *kwnames[] = {
6570 NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6574 {
6575 if (!wxPyCheckForApp()) SWIG_fail;
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = (wxStaticText *)new wxStaticText();
6578
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6583 return resultobj;
6584 fail:
6585 return NULL;
6586 }
6587
6588
6589 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6590 PyObject *resultobj;
6591 wxStaticText *arg1 = (wxStaticText *) 0 ;
6592 wxWindow *arg2 = (wxWindow *) 0 ;
6593 int arg3 = (int) -1 ;
6594 wxString const &arg4_defvalue = wxPyEmptyString ;
6595 wxString *arg4 = (wxString *) &arg4_defvalue ;
6596 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6597 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6598 wxSize const &arg6_defvalue = wxDefaultSize ;
6599 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6600 long arg7 = (long) 0 ;
6601 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6602 wxString *arg8 = (wxString *) &arg8_defvalue ;
6603 bool result;
6604 bool temp4 = false ;
6605 wxPoint temp5 ;
6606 wxSize temp6 ;
6607 bool temp8 = false ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 PyObject * obj2 = 0 ;
6611 PyObject * obj3 = 0 ;
6612 PyObject * obj4 = 0 ;
6613 PyObject * obj5 = 0 ;
6614 PyObject * obj6 = 0 ;
6615 PyObject * obj7 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail;
6623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6624 if (SWIG_arg_fail(2)) SWIG_fail;
6625 if (obj2) {
6626 {
6627 arg3 = (int)(SWIG_As_int(obj2));
6628 if (SWIG_arg_fail(3)) SWIG_fail;
6629 }
6630 }
6631 if (obj3) {
6632 {
6633 arg4 = wxString_in_helper(obj3);
6634 if (arg4 == NULL) SWIG_fail;
6635 temp4 = true;
6636 }
6637 }
6638 if (obj4) {
6639 {
6640 arg5 = &temp5;
6641 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6642 }
6643 }
6644 if (obj5) {
6645 {
6646 arg6 = &temp6;
6647 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6648 }
6649 }
6650 if (obj6) {
6651 {
6652 arg7 = (long)(SWIG_As_long(obj6));
6653 if (SWIG_arg_fail(7)) SWIG_fail;
6654 }
6655 }
6656 if (obj7) {
6657 {
6658 arg8 = wxString_in_helper(obj7);
6659 if (arg8 == NULL) SWIG_fail;
6660 temp8 = true;
6661 }
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6672 }
6673 {
6674 if (temp4)
6675 delete arg4;
6676 }
6677 {
6678 if (temp8)
6679 delete arg8;
6680 }
6681 return resultobj;
6682 fail:
6683 {
6684 if (temp4)
6685 delete arg4;
6686 }
6687 {
6688 if (temp8)
6689 delete arg8;
6690 }
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6698 wxVisualAttributes result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "variant", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6705 if (obj0) {
6706 {
6707 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6708 if (SWIG_arg_fail(1)) SWIG_fail;
6709 }
6710 }
6711 {
6712 if (!wxPyCheckForApp()) SWIG_fail;
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 {
6720 wxVisualAttributes * resultptr;
6721 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6723 }
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6731 PyObject *obj;
6732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6734 Py_INCREF(obj);
6735 return Py_BuildValue((char *)"");
6736 }
6737 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj;
6739 wxWindow *arg1 = (wxWindow *) 0 ;
6740 int arg2 = (int) -1 ;
6741 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6742 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6743 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6744 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6745 wxSize const &arg5_defvalue = wxDefaultSize ;
6746 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6747 long arg6 = (long) 0 ;
6748 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6749 wxString *arg7 = (wxString *) &arg7_defvalue ;
6750 wxStaticBitmap *result;
6751 wxPoint temp4 ;
6752 wxSize temp5 ;
6753 bool temp7 = false ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 PyObject * obj2 = 0 ;
6757 PyObject * obj3 = 0 ;
6758 PyObject * obj4 = 0 ;
6759 PyObject * obj5 = 0 ;
6760 PyObject * obj6 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6767 if (SWIG_arg_fail(1)) SWIG_fail;
6768 if (obj1) {
6769 {
6770 arg2 = (int)(SWIG_As_int(obj1));
6771 if (SWIG_arg_fail(2)) SWIG_fail;
6772 }
6773 }
6774 if (obj2) {
6775 {
6776 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6777 if (SWIG_arg_fail(3)) SWIG_fail;
6778 if (arg3 == NULL) {
6779 SWIG_null_ref("wxBitmap");
6780 }
6781 if (SWIG_arg_fail(3)) SWIG_fail;
6782 }
6783 }
6784 if (obj3) {
6785 {
6786 arg4 = &temp4;
6787 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6788 }
6789 }
6790 if (obj4) {
6791 {
6792 arg5 = &temp5;
6793 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6794 }
6795 }
6796 if (obj5) {
6797 {
6798 arg6 = (long)(SWIG_As_long(obj5));
6799 if (SWIG_arg_fail(6)) SWIG_fail;
6800 }
6801 }
6802 if (obj6) {
6803 {
6804 arg7 = wxString_in_helper(obj6);
6805 if (arg7 == NULL) SWIG_fail;
6806 temp7 = true;
6807 }
6808 }
6809 {
6810 if (!wxPyCheckForApp()) SWIG_fail;
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6813
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6818 {
6819 if (temp7)
6820 delete arg7;
6821 }
6822 return resultobj;
6823 fail:
6824 {
6825 if (temp7)
6826 delete arg7;
6827 }
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxStaticBitmap *result;
6835 char *kwnames[] = {
6836 NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6840 {
6841 if (!wxPyCheckForApp()) SWIG_fail;
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (wxStaticBitmap *)new wxStaticBitmap();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6858 wxWindow *arg2 = (wxWindow *) 0 ;
6859 int arg3 = (int) -1 ;
6860 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6861 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6862 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6863 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6864 wxSize const &arg6_defvalue = wxDefaultSize ;
6865 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6866 long arg7 = (long) 0 ;
6867 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6868 wxString *arg8 = (wxString *) &arg8_defvalue ;
6869 bool result;
6870 wxPoint temp5 ;
6871 wxSize temp6 ;
6872 bool temp8 = false ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 PyObject * obj2 = 0 ;
6876 PyObject * obj3 = 0 ;
6877 PyObject * obj4 = 0 ;
6878 PyObject * obj5 = 0 ;
6879 PyObject * obj6 = 0 ;
6880 PyObject * obj7 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6889 if (SWIG_arg_fail(2)) SWIG_fail;
6890 if (obj2) {
6891 {
6892 arg3 = (int)(SWIG_As_int(obj2));
6893 if (SWIG_arg_fail(3)) SWIG_fail;
6894 }
6895 }
6896 if (obj3) {
6897 {
6898 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6899 if (SWIG_arg_fail(4)) SWIG_fail;
6900 if (arg4 == NULL) {
6901 SWIG_null_ref("wxBitmap");
6902 }
6903 if (SWIG_arg_fail(4)) SWIG_fail;
6904 }
6905 }
6906 if (obj4) {
6907 {
6908 arg5 = &temp5;
6909 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6910 }
6911 }
6912 if (obj5) {
6913 {
6914 arg6 = &temp6;
6915 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6916 }
6917 }
6918 if (obj6) {
6919 {
6920 arg7 = (long)(SWIG_As_long(obj6));
6921 if (SWIG_arg_fail(7)) SWIG_fail;
6922 }
6923 }
6924 if (obj7) {
6925 {
6926 arg8 = wxString_in_helper(obj7);
6927 if (arg8 == NULL) SWIG_fail;
6928 temp8 = true;
6929 }
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 {
6939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6940 }
6941 {
6942 if (temp8)
6943 delete arg8;
6944 }
6945 return resultobj;
6946 fail:
6947 {
6948 if (temp8)
6949 delete arg8;
6950 }
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6958 wxBitmap result;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6966 if (SWIG_arg_fail(1)) SWIG_fail;
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 result = (arg1)->GetBitmap();
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 {
6975 wxBitmap * resultptr;
6976 resultptr = new wxBitmap((wxBitmap &)(result));
6977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6978 }
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6988 wxBitmap *arg2 = 0 ;
6989 PyObject * obj0 = 0 ;
6990 PyObject * obj1 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self",(char *) "bitmap", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6997 if (SWIG_arg_fail(1)) SWIG_fail;
6998 {
6999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7000 if (SWIG_arg_fail(2)) SWIG_fail;
7001 if (arg2 == NULL) {
7002 SWIG_null_ref("wxBitmap");
7003 }
7004 if (SWIG_arg_fail(2)) SWIG_fail;
7005 }
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 Py_INCREF(Py_None); resultobj = Py_None;
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7023 wxIcon *arg2 = 0 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self",(char *) "icon", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7032 if (SWIG_arg_fail(1)) SWIG_fail;
7033 {
7034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7035 if (SWIG_arg_fail(2)) SWIG_fail;
7036 if (arg2 == NULL) {
7037 SWIG_null_ref("wxIcon");
7038 }
7039 if (SWIG_arg_fail(2)) SWIG_fail;
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->SetIcon((wxIcon const &)*arg2);
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 Py_INCREF(Py_None); resultobj = Py_None;
7049 return resultobj;
7050 fail:
7051 return NULL;
7052 }
7053
7054
7055 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj;
7057 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7058 wxVisualAttributes result;
7059 PyObject * obj0 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "variant", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7065 if (obj0) {
7066 {
7067 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7068 if (SWIG_arg_fail(1)) SWIG_fail;
7069 }
7070 }
7071 {
7072 if (!wxPyCheckForApp()) SWIG_fail;
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 {
7080 wxVisualAttributes * resultptr;
7081 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7091 PyObject *obj;
7092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7093 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7094 Py_INCREF(obj);
7095 return Py_BuildValue((char *)"");
7096 }
7097 static int _wrap_ListBoxNameStr_set(PyObject *) {
7098 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7099 return 1;
7100 }
7101
7102
7103 static PyObject *_wrap_ListBoxNameStr_get(void) {
7104 PyObject *pyobj;
7105
7106 {
7107 #if wxUSE_UNICODE
7108 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7109 #else
7110 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7111 #endif
7112 }
7113 return pyobj;
7114 }
7115
7116
7117 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxWindow *arg1 = (wxWindow *) 0 ;
7120 int arg2 = (int) -1 ;
7121 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7122 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7123 wxSize const &arg4_defvalue = wxDefaultSize ;
7124 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7125 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7126 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7127 long arg6 = (long) 0 ;
7128 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7129 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7130 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7131 wxString *arg8 = (wxString *) &arg8_defvalue ;
7132 wxListBox *result;
7133 wxPoint temp3 ;
7134 wxSize temp4 ;
7135 bool temp5 = false ;
7136 bool temp8 = false ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 PyObject * obj2 = 0 ;
7140 PyObject * obj3 = 0 ;
7141 PyObject * obj4 = 0 ;
7142 PyObject * obj5 = 0 ;
7143 PyObject * obj6 = 0 ;
7144 PyObject * obj7 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7151 if (SWIG_arg_fail(1)) SWIG_fail;
7152 if (obj1) {
7153 {
7154 arg2 = (int)(SWIG_As_int(obj1));
7155 if (SWIG_arg_fail(2)) SWIG_fail;
7156 }
7157 }
7158 if (obj2) {
7159 {
7160 arg3 = &temp3;
7161 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7162 }
7163 }
7164 if (obj3) {
7165 {
7166 arg4 = &temp4;
7167 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7168 }
7169 }
7170 if (obj4) {
7171 {
7172 if (! PySequence_Check(obj4)) {
7173 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7174 SWIG_fail;
7175 }
7176 arg5 = new wxArrayString;
7177 temp5 = true;
7178 int i, len=PySequence_Length(obj4);
7179 for (i=0; i<len; i++) {
7180 PyObject* item = PySequence_GetItem(obj4, i);
7181 wxString* s = wxString_in_helper(item);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 arg5->Add(*s);
7184 delete s;
7185 Py_DECREF(item);
7186 }
7187 }
7188 }
7189 if (obj5) {
7190 {
7191 arg6 = (long)(SWIG_As_long(obj5));
7192 if (SWIG_arg_fail(6)) SWIG_fail;
7193 }
7194 }
7195 if (obj6) {
7196 {
7197 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7198 if (SWIG_arg_fail(7)) SWIG_fail;
7199 if (arg7 == NULL) {
7200 SWIG_null_ref("wxValidator");
7201 }
7202 if (SWIG_arg_fail(7)) SWIG_fail;
7203 }
7204 }
7205 if (obj7) {
7206 {
7207 arg8 = wxString_in_helper(obj7);
7208 if (arg8 == NULL) SWIG_fail;
7209 temp8 = true;
7210 }
7211 }
7212 {
7213 if (!wxPyCheckForApp()) SWIG_fail;
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7221 {
7222 if (temp5) delete arg5;
7223 }
7224 {
7225 if (temp8)
7226 delete arg8;
7227 }
7228 return resultobj;
7229 fail:
7230 {
7231 if (temp5) delete arg5;
7232 }
7233 {
7234 if (temp8)
7235 delete arg8;
7236 }
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxListBox *result;
7244 char *kwnames[] = {
7245 NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7249 {
7250 if (!wxPyCheckForApp()) SWIG_fail;
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = (wxListBox *)new wxListBox();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxListBox *arg1 = (wxListBox *) 0 ;
7267 wxWindow *arg2 = (wxWindow *) 0 ;
7268 int arg3 = (int) -1 ;
7269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7271 wxSize const &arg5_defvalue = wxDefaultSize ;
7272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7273 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7274 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7275 long arg7 = (long) 0 ;
7276 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7277 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7278 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7279 wxString *arg9 = (wxString *) &arg9_defvalue ;
7280 bool result;
7281 wxPoint temp4 ;
7282 wxSize temp5 ;
7283 bool temp6 = false ;
7284 bool temp9 = false ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj2 = 0 ;
7288 PyObject * obj3 = 0 ;
7289 PyObject * obj4 = 0 ;
7290 PyObject * obj5 = 0 ;
7291 PyObject * obj6 = 0 ;
7292 PyObject * obj7 = 0 ;
7293 PyObject * obj8 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail;
7301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7302 if (SWIG_arg_fail(2)) SWIG_fail;
7303 if (obj2) {
7304 {
7305 arg3 = (int)(SWIG_As_int(obj2));
7306 if (SWIG_arg_fail(3)) SWIG_fail;
7307 }
7308 }
7309 if (obj3) {
7310 {
7311 arg4 = &temp4;
7312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7313 }
7314 }
7315 if (obj4) {
7316 {
7317 arg5 = &temp5;
7318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7319 }
7320 }
7321 if (obj5) {
7322 {
7323 if (! PySequence_Check(obj5)) {
7324 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7325 SWIG_fail;
7326 }
7327 arg6 = new wxArrayString;
7328 temp6 = true;
7329 int i, len=PySequence_Length(obj5);
7330 for (i=0; i<len; i++) {
7331 PyObject* item = PySequence_GetItem(obj5, i);
7332 wxString* s = wxString_in_helper(item);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 arg6->Add(*s);
7335 delete s;
7336 Py_DECREF(item);
7337 }
7338 }
7339 }
7340 if (obj6) {
7341 {
7342 arg7 = (long)(SWIG_As_long(obj6));
7343 if (SWIG_arg_fail(7)) SWIG_fail;
7344 }
7345 }
7346 if (obj7) {
7347 {
7348 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7349 if (SWIG_arg_fail(8)) SWIG_fail;
7350 if (arg8 == NULL) {
7351 SWIG_null_ref("wxValidator");
7352 }
7353 if (SWIG_arg_fail(8)) SWIG_fail;
7354 }
7355 }
7356 if (obj8) {
7357 {
7358 arg9 = wxString_in_helper(obj8);
7359 if (arg9 == NULL) SWIG_fail;
7360 temp9 = true;
7361 }
7362 }
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 {
7371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7372 }
7373 {
7374 if (temp6) delete arg6;
7375 }
7376 {
7377 if (temp9)
7378 delete arg9;
7379 }
7380 return resultobj;
7381 fail:
7382 {
7383 if (temp6) delete arg6;
7384 }
7385 {
7386 if (temp9)
7387 delete arg9;
7388 }
7389 return NULL;
7390 }
7391
7392
7393 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7394 PyObject *resultobj;
7395 wxListBox *arg1 = (wxListBox *) 0 ;
7396 wxString *arg2 = 0 ;
7397 int arg3 ;
7398 PyObject *arg4 = (PyObject *) NULL ;
7399 bool temp2 = false ;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 PyObject * obj2 = 0 ;
7403 PyObject * obj3 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail;
7411 {
7412 arg2 = wxString_in_helper(obj1);
7413 if (arg2 == NULL) SWIG_fail;
7414 temp2 = true;
7415 }
7416 {
7417 arg3 = (int)(SWIG_As_int(obj2));
7418 if (SWIG_arg_fail(3)) SWIG_fail;
7419 }
7420 if (obj3) {
7421 arg4 = obj3;
7422 }
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 {
7432 if (temp2)
7433 delete arg2;
7434 }
7435 return resultobj;
7436 fail:
7437 {
7438 if (temp2)
7439 delete arg2;
7440 }
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxListBox *arg1 = (wxListBox *) 0 ;
7448 wxArrayString *arg2 = 0 ;
7449 int arg3 ;
7450 bool temp2 = false ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "items",(char *) "pos", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7460 if (SWIG_arg_fail(1)) SWIG_fail;
7461 {
7462 if (! PySequence_Check(obj1)) {
7463 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7464 SWIG_fail;
7465 }
7466 arg2 = new wxArrayString;
7467 temp2 = true;
7468 int i, len=PySequence_Length(obj1);
7469 for (i=0; i<len; i++) {
7470 PyObject* item = PySequence_GetItem(obj1, i);
7471 wxString* s = wxString_in_helper(item);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 arg2->Add(*s);
7474 delete s;
7475 Py_DECREF(item);
7476 }
7477 }
7478 {
7479 arg3 = (int)(SWIG_As_int(obj2));
7480 if (SWIG_arg_fail(3)) SWIG_fail;
7481 }
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 {
7491 if (temp2) delete arg2;
7492 }
7493 return resultobj;
7494 fail:
7495 {
7496 if (temp2) delete arg2;
7497 }
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxListBox *arg1 = (wxListBox *) 0 ;
7505 wxArrayString *arg2 = 0 ;
7506 bool temp2 = false ;
7507 PyObject * obj0 = 0 ;
7508 PyObject * obj1 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self",(char *) "items", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail;
7516 {
7517 if (! PySequence_Check(obj1)) {
7518 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7519 SWIG_fail;
7520 }
7521 arg2 = new wxArrayString;
7522 temp2 = true;
7523 int i, len=PySequence_Length(obj1);
7524 for (i=0; i<len; i++) {
7525 PyObject* item = PySequence_GetItem(obj1, i);
7526 wxString* s = wxString_in_helper(item);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 arg2->Add(*s);
7529 delete s;
7530 Py_DECREF(item);
7531 }
7532 }
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 (arg1)->Set((wxArrayString const &)*arg2);
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 Py_INCREF(Py_None); resultobj = Py_None;
7541 {
7542 if (temp2) delete arg2;
7543 }
7544 return resultobj;
7545 fail:
7546 {
7547 if (temp2) delete arg2;
7548 }
7549 return NULL;
7550 }
7551
7552
7553 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxListBox *arg1 = (wxListBox *) 0 ;
7556 int arg2 ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self",(char *) "n", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail;
7567 {
7568 arg2 = (int)(SWIG_As_int(obj1));
7569 if (SWIG_arg_fail(2)) SWIG_fail;
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7580 }
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxListBox *arg1 = (wxListBox *) 0 ;
7590 int arg2 ;
7591 bool arg3 = (bool) true ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 PyObject * obj2 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "n",(char *) "select", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail;
7602 {
7603 arg2 = (int)(SWIG_As_int(obj1));
7604 if (SWIG_arg_fail(2)) SWIG_fail;
7605 }
7606 if (obj2) {
7607 {
7608 arg3 = (bool)(SWIG_As_bool(obj2));
7609 if (SWIG_arg_fail(3)) SWIG_fail;
7610 }
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetSelection(arg2,arg3);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxListBox *arg1 = (wxListBox *) 0 ;
7629 int arg2 ;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "n", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
7639 {
7640 arg2 = (int)(SWIG_As_int(obj1));
7641 if (SWIG_arg_fail(2)) SWIG_fail;
7642 }
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->Select(arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxListBox *arg1 = (wxListBox *) 0 ;
7660 int arg2 ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self",(char *) "n", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7669 if (SWIG_arg_fail(1)) SWIG_fail;
7670 {
7671 arg2 = (int)(SWIG_As_int(obj1));
7672 if (SWIG_arg_fail(2)) SWIG_fail;
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 (arg1)->Deselect(arg2);
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 Py_INCREF(Py_None); resultobj = Py_None;
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7689 PyObject *resultobj;
7690 wxListBox *arg1 = (wxListBox *) 0 ;
7691 int arg2 = (int) -1 ;
7692 PyObject * obj0 = 0 ;
7693 PyObject * obj1 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "itemToLeaveSelected", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail;
7701 if (obj1) {
7702 {
7703 arg2 = (int)(SWIG_As_int(obj1));
7704 if (SWIG_arg_fail(2)) SWIG_fail;
7705 }
7706 }
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 (arg1)->DeselectAll(arg2);
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 Py_INCREF(Py_None); resultobj = Py_None;
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxListBox *arg1 = (wxListBox *) 0 ;
7724 wxString *arg2 = 0 ;
7725 bool arg3 = (bool) true ;
7726 bool result;
7727 bool temp2 = false ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 PyObject * obj2 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "s",(char *) "select", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7737 if (SWIG_arg_fail(1)) SWIG_fail;
7738 {
7739 arg2 = wxString_in_helper(obj1);
7740 if (arg2 == NULL) SWIG_fail;
7741 temp2 = true;
7742 }
7743 if (obj2) {
7744 {
7745 arg3 = (bool)(SWIG_As_bool(obj2));
7746 if (SWIG_arg_fail(3)) SWIG_fail;
7747 }
7748 }
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 {
7757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7758 }
7759 {
7760 if (temp2)
7761 delete arg2;
7762 }
7763 return resultobj;
7764 fail:
7765 {
7766 if (temp2)
7767 delete arg2;
7768 }
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxListBox *arg1 = (wxListBox *) 0 ;
7776 PyObject *result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = (PyObject *)wxListBox_GetSelections(arg1);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 resultobj = result;
7793 return resultobj;
7794 fail:
7795 return NULL;
7796 }
7797
7798
7799 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7800 PyObject *resultobj;
7801 wxListBox *arg1 = (wxListBox *) 0 ;
7802 int arg2 ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "self",(char *) "n", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7811 if (SWIG_arg_fail(1)) SWIG_fail;
7812 {
7813 arg2 = (int)(SWIG_As_int(obj1));
7814 if (SWIG_arg_fail(2)) SWIG_fail;
7815 }
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->SetFirstItem(arg2);
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 Py_INCREF(Py_None); resultobj = Py_None;
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxListBox *arg1 = (wxListBox *) 0 ;
7833 wxString *arg2 = 0 ;
7834 bool temp2 = false ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "s", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail;
7844 {
7845 arg2 = wxString_in_helper(obj1);
7846 if (arg2 == NULL) SWIG_fail;
7847 temp2 = true;
7848 }
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 (arg1)->SetFirstItem((wxString const &)*arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 {
7858 if (temp2)
7859 delete arg2;
7860 }
7861 return resultobj;
7862 fail:
7863 {
7864 if (temp2)
7865 delete arg2;
7866 }
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxListBox *arg1 = (wxListBox *) 0 ;
7874 int arg2 ;
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "n", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail;
7884 {
7885 arg2 = (int)(SWIG_As_int(obj1));
7886 if (SWIG_arg_fail(2)) SWIG_fail;
7887 }
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 (arg1)->EnsureVisible(arg2);
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 Py_INCREF(Py_None); resultobj = Py_None;
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxListBox *arg1 = (wxListBox *) 0 ;
7905 wxString *arg2 = 0 ;
7906 bool temp2 = false ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self",(char *) "s", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
7916 {
7917 arg2 = wxString_in_helper(obj1);
7918 if (arg2 == NULL) SWIG_fail;
7919 temp2 = true;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 {
7930 if (temp2)
7931 delete arg2;
7932 }
7933 return resultobj;
7934 fail:
7935 {
7936 if (temp2)
7937 delete arg2;
7938 }
7939 return NULL;
7940 }
7941
7942
7943 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj;
7945 wxListBox *arg1 = (wxListBox *) 0 ;
7946 bool result;
7947 PyObject * obj0 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail;
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (bool)((wxListBox const *)arg1)->IsSorted();
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7964 }
7965 return resultobj;
7966 fail:
7967 return NULL;
7968 }
7969
7970
7971 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxListBox *arg1 = (wxListBox *) 0 ;
7974 int arg2 ;
7975 wxColour *arg3 = 0 ;
7976 wxColour temp3 ;
7977 PyObject * obj0 = 0 ;
7978 PyObject * obj1 = 0 ;
7979 PyObject * obj2 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self",(char *) "item",(char *) "c", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail;
7987 {
7988 arg2 = (int)(SWIG_As_int(obj1));
7989 if (SWIG_arg_fail(2)) SWIG_fail;
7990 }
7991 {
7992 arg3 = &temp3;
7993 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxListBox *arg1 = (wxListBox *) 0 ;
8012 int arg2 ;
8013 wxColour *arg3 = 0 ;
8014 wxColour temp3 ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 PyObject * obj2 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "item",(char *) "c", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail;
8025 {
8026 arg2 = (int)(SWIG_As_int(obj1));
8027 if (SWIG_arg_fail(2)) SWIG_fail;
8028 }
8029 {
8030 arg3 = &temp3;
8031 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8032 }
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 Py_INCREF(Py_None); resultobj = Py_None;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxListBox *arg1 = (wxListBox *) 0 ;
8050 int arg2 ;
8051 wxFont *arg3 = 0 ;
8052 PyObject * obj0 = 0 ;
8053 PyObject * obj1 = 0 ;
8054 PyObject * obj2 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "item",(char *) "f", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 {
8063 arg2 = (int)(SWIG_As_int(obj1));
8064 if (SWIG_arg_fail(2)) SWIG_fail;
8065 }
8066 {
8067 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8068 if (SWIG_arg_fail(3)) SWIG_fail;
8069 if (arg3 == NULL) {
8070 SWIG_null_ref("wxFont");
8071 }
8072 if (SWIG_arg_fail(3)) SWIG_fail;
8073 }
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8091 wxVisualAttributes result;
8092 PyObject * obj0 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "variant", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8098 if (obj0) {
8099 {
8100 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8101 if (SWIG_arg_fail(1)) SWIG_fail;
8102 }
8103 }
8104 {
8105 if (!wxPyCheckForApp()) SWIG_fail;
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 {
8113 wxVisualAttributes * resultptr;
8114 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8116 }
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8124 PyObject *obj;
8125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8126 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8127 Py_INCREF(obj);
8128 return Py_BuildValue((char *)"");
8129 }
8130 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxWindow *arg1 = (wxWindow *) 0 ;
8133 int arg2 = (int) -1 ;
8134 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8135 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8136 wxSize const &arg4_defvalue = wxDefaultSize ;
8137 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8138 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8139 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8140 long arg6 = (long) 0 ;
8141 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8142 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8143 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8144 wxString *arg8 = (wxString *) &arg8_defvalue ;
8145 wxCheckListBox *result;
8146 wxPoint temp3 ;
8147 wxSize temp4 ;
8148 bool temp5 = false ;
8149 bool temp8 = false ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 PyObject * obj2 = 0 ;
8153 PyObject * obj3 = 0 ;
8154 PyObject * obj4 = 0 ;
8155 PyObject * obj5 = 0 ;
8156 PyObject * obj6 = 0 ;
8157 PyObject * obj7 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8164 if (SWIG_arg_fail(1)) SWIG_fail;
8165 if (obj1) {
8166 {
8167 arg2 = (int)(SWIG_As_int(obj1));
8168 if (SWIG_arg_fail(2)) SWIG_fail;
8169 }
8170 }
8171 if (obj2) {
8172 {
8173 arg3 = &temp3;
8174 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8175 }
8176 }
8177 if (obj3) {
8178 {
8179 arg4 = &temp4;
8180 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8181 }
8182 }
8183 if (obj4) {
8184 {
8185 if (! PySequence_Check(obj4)) {
8186 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8187 SWIG_fail;
8188 }
8189 arg5 = new wxArrayString;
8190 temp5 = true;
8191 int i, len=PySequence_Length(obj4);
8192 for (i=0; i<len; i++) {
8193 PyObject* item = PySequence_GetItem(obj4, i);
8194 wxString* s = wxString_in_helper(item);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 arg5->Add(*s);
8197 delete s;
8198 Py_DECREF(item);
8199 }
8200 }
8201 }
8202 if (obj5) {
8203 {
8204 arg6 = (long)(SWIG_As_long(obj5));
8205 if (SWIG_arg_fail(6)) SWIG_fail;
8206 }
8207 }
8208 if (obj6) {
8209 {
8210 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8211 if (SWIG_arg_fail(7)) SWIG_fail;
8212 if (arg7 == NULL) {
8213 SWIG_null_ref("wxValidator");
8214 }
8215 if (SWIG_arg_fail(7)) SWIG_fail;
8216 }
8217 }
8218 if (obj7) {
8219 {
8220 arg8 = wxString_in_helper(obj7);
8221 if (arg8 == NULL) SWIG_fail;
8222 temp8 = true;
8223 }
8224 }
8225 {
8226 if (!wxPyCheckForApp()) SWIG_fail;
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8234 {
8235 if (temp5) delete arg5;
8236 }
8237 {
8238 if (temp8)
8239 delete arg8;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp5) delete arg5;
8245 }
8246 {
8247 if (temp8)
8248 delete arg8;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxCheckListBox *result;
8257 char *kwnames[] = {
8258 NULL
8259 };
8260
8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8262 {
8263 if (!wxPyCheckForApp()) SWIG_fail;
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (wxCheckListBox *)new wxCheckListBox();
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8280 wxWindow *arg2 = (wxWindow *) 0 ;
8281 int arg3 = (int) -1 ;
8282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8284 wxSize const &arg5_defvalue = wxDefaultSize ;
8285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8286 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8287 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8288 long arg7 = (long) 0 ;
8289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8291 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8292 wxString *arg9 = (wxString *) &arg9_defvalue ;
8293 bool result;
8294 wxPoint temp4 ;
8295 wxSize temp5 ;
8296 bool temp6 = false ;
8297 bool temp9 = false ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 PyObject * obj2 = 0 ;
8301 PyObject * obj3 = 0 ;
8302 PyObject * obj4 = 0 ;
8303 PyObject * obj5 = 0 ;
8304 PyObject * obj6 = 0 ;
8305 PyObject * obj7 = 0 ;
8306 PyObject * obj8 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8313 if (SWIG_arg_fail(1)) SWIG_fail;
8314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8315 if (SWIG_arg_fail(2)) SWIG_fail;
8316 if (obj2) {
8317 {
8318 arg3 = (int)(SWIG_As_int(obj2));
8319 if (SWIG_arg_fail(3)) SWIG_fail;
8320 }
8321 }
8322 if (obj3) {
8323 {
8324 arg4 = &temp4;
8325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8326 }
8327 }
8328 if (obj4) {
8329 {
8330 arg5 = &temp5;
8331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8332 }
8333 }
8334 if (obj5) {
8335 {
8336 if (! PySequence_Check(obj5)) {
8337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8338 SWIG_fail;
8339 }
8340 arg6 = new wxArrayString;
8341 temp6 = true;
8342 int i, len=PySequence_Length(obj5);
8343 for (i=0; i<len; i++) {
8344 PyObject* item = PySequence_GetItem(obj5, i);
8345 wxString* s = wxString_in_helper(item);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 arg6->Add(*s);
8348 delete s;
8349 Py_DECREF(item);
8350 }
8351 }
8352 }
8353 if (obj6) {
8354 {
8355 arg7 = (long)(SWIG_As_long(obj6));
8356 if (SWIG_arg_fail(7)) SWIG_fail;
8357 }
8358 }
8359 if (obj7) {
8360 {
8361 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8362 if (SWIG_arg_fail(8)) SWIG_fail;
8363 if (arg8 == NULL) {
8364 SWIG_null_ref("wxValidator");
8365 }
8366 if (SWIG_arg_fail(8)) SWIG_fail;
8367 }
8368 }
8369 if (obj8) {
8370 {
8371 arg9 = wxString_in_helper(obj8);
8372 if (arg9 == NULL) SWIG_fail;
8373 temp9 = true;
8374 }
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 {
8384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8385 }
8386 {
8387 if (temp6) delete arg6;
8388 }
8389 {
8390 if (temp9)
8391 delete arg9;
8392 }
8393 return resultobj;
8394 fail:
8395 {
8396 if (temp6) delete arg6;
8397 }
8398 {
8399 if (temp9)
8400 delete arg9;
8401 }
8402 return NULL;
8403 }
8404
8405
8406 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8409 int arg2 ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "index", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail;
8420 {
8421 arg2 = (int)(SWIG_As_int(obj1));
8422 if (SWIG_arg_fail(2)) SWIG_fail;
8423 }
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 result = (bool)(arg1)->IsChecked(arg2);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 {
8432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8433 }
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8443 int arg2 ;
8444 int arg3 = (int) true ;
8445 PyObject * obj0 = 0 ;
8446 PyObject * obj1 = 0 ;
8447 PyObject * obj2 = 0 ;
8448 char *kwnames[] = {
8449 (char *) "self",(char *) "index",(char *) "check", NULL
8450 };
8451
8452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8454 if (SWIG_arg_fail(1)) SWIG_fail;
8455 {
8456 arg2 = (int)(SWIG_As_int(obj1));
8457 if (SWIG_arg_fail(2)) SWIG_fail;
8458 }
8459 if (obj2) {
8460 {
8461 arg3 = (int)(SWIG_As_int(obj2));
8462 if (SWIG_arg_fail(3)) SWIG_fail;
8463 }
8464 }
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 (arg1)->Check(arg2,arg3);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 Py_INCREF(Py_None); resultobj = Py_None;
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8482 int result;
8483 PyObject * obj0 = 0 ;
8484 char *kwnames[] = {
8485 (char *) "self", NULL
8486 };
8487
8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8490 if (SWIG_arg_fail(1)) SWIG_fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (int)(arg1)->GetItemHeight();
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 {
8499 resultobj = SWIG_From_int((int)(result));
8500 }
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8510 wxPoint *arg2 = 0 ;
8511 int result;
8512 wxPoint temp2 ;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "pt", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail;
8522 {
8523 arg2 = &temp2;
8524 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 {
8534 resultobj = SWIG_From_int((int)(result));
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8545 int arg2 ;
8546 int arg3 ;
8547 int result;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 PyObject * obj2 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self",(char *) "x",(char *) "y", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8557 if (SWIG_arg_fail(1)) SWIG_fail;
8558 {
8559 arg2 = (int)(SWIG_As_int(obj1));
8560 if (SWIG_arg_fail(2)) SWIG_fail;
8561 }
8562 {
8563 arg3 = (int)(SWIG_As_int(obj2));
8564 if (SWIG_arg_fail(3)) SWIG_fail;
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 resultobj = SWIG_From_int((int)(result));
8575 }
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8583 PyObject *obj;
8584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8586 Py_INCREF(obj);
8587 return Py_BuildValue((char *)"");
8588 }
8589 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8590 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8591 return 1;
8592 }
8593
8594
8595 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8596 PyObject *pyobj;
8597
8598 {
8599 #if wxUSE_UNICODE
8600 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8601 #else
8602 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8603 #endif
8604 }
8605 return pyobj;
8606 }
8607
8608
8609 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxColour const &arg1_defvalue = wxNullColour ;
8612 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8613 wxColour const &arg2_defvalue = wxNullColour ;
8614 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8615 wxFont const &arg3_defvalue = wxNullFont ;
8616 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8617 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8618 wxTextAttr *result;
8619 wxColour temp1 ;
8620 wxColour temp2 ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 PyObject * obj2 = 0 ;
8624 PyObject * obj3 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8630 if (obj0) {
8631 {
8632 arg1 = &temp1;
8633 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8634 }
8635 }
8636 if (obj1) {
8637 {
8638 arg2 = &temp2;
8639 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8640 }
8641 }
8642 if (obj2) {
8643 {
8644 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8645 if (SWIG_arg_fail(3)) SWIG_fail;
8646 if (arg3 == NULL) {
8647 SWIG_null_ref("wxFont");
8648 }
8649 if (SWIG_arg_fail(3)) SWIG_fail;
8650 }
8651 }
8652 if (obj3) {
8653 {
8654 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8655 if (SWIG_arg_fail(4)) SWIG_fail;
8656 }
8657 }
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8666 return resultobj;
8667 fail:
8668 return NULL;
8669 }
8670
8671
8672 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8673 PyObject *resultobj;
8674 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 delete arg1;
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8707 if (SWIG_arg_fail(1)) SWIG_fail;
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 (arg1)->Init();
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8725 wxColour *arg2 = 0 ;
8726 wxColour temp2 ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "colText", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8735 if (SWIG_arg_fail(1)) SWIG_fail;
8736 {
8737 arg2 = &temp2;
8738 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8739 }
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 (arg1)->SetTextColour((wxColour const &)*arg2);
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 Py_INCREF(Py_None); resultobj = Py_None;
8748 return resultobj;
8749 fail:
8750 return NULL;
8751 }
8752
8753
8754 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8757 wxColour *arg2 = 0 ;
8758 wxColour temp2 ;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "self",(char *) "colBack", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8767 if (SWIG_arg_fail(1)) SWIG_fail;
8768 {
8769 arg2 = &temp2;
8770 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8771 }
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 Py_INCREF(Py_None); resultobj = Py_None;
8780 return resultobj;
8781 fail:
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8789 wxFont *arg2 = 0 ;
8790 long arg3 = (long) wxTEXT_ATTR_FONT ;
8791 PyObject * obj0 = 0 ;
8792 PyObject * obj1 = 0 ;
8793 PyObject * obj2 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "font",(char *) "flags", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8800 if (SWIG_arg_fail(1)) SWIG_fail;
8801 {
8802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8803 if (SWIG_arg_fail(2)) SWIG_fail;
8804 if (arg2 == NULL) {
8805 SWIG_null_ref("wxFont");
8806 }
8807 if (SWIG_arg_fail(2)) SWIG_fail;
8808 }
8809 if (obj2) {
8810 {
8811 arg3 = (long)(SWIG_As_long(obj2));
8812 if (SWIG_arg_fail(3)) SWIG_fail;
8813 }
8814 }
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8832 wxTextAttrAlignment arg2 ;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "alignment", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail;
8842 {
8843 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8844 if (SWIG_arg_fail(2)) SWIG_fail;
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8863 wxArrayInt *arg2 = 0 ;
8864 bool temp2 = false ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "tabs", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail;
8874 {
8875 if (! PySequence_Check(obj1)) {
8876 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8877 SWIG_fail;
8878 }
8879 arg2 = new wxArrayInt;
8880 temp2 = true;
8881 int i, len=PySequence_Length(obj1);
8882 for (i=0; i<len; i++) {
8883 PyObject* item = PySequence_GetItem(obj1, i);
8884 PyObject* number = PyNumber_Int(item);
8885 arg2->Add(PyInt_AS_LONG(number));
8886 Py_DECREF(item);
8887 Py_DECREF(number);
8888 }
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 Py_INCREF(Py_None); resultobj = Py_None;
8898 {
8899 if (temp2) delete arg2;
8900 }
8901 return resultobj;
8902 fail:
8903 {
8904 if (temp2) delete arg2;
8905 }
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8913 int arg2 ;
8914 int arg3 = (int) 0 ;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 PyObject * obj2 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail;
8925 {
8926 arg2 = (int)(SWIG_As_int(obj1));
8927 if (SWIG_arg_fail(2)) SWIG_fail;
8928 }
8929 if (obj2) {
8930 {
8931 arg3 = (int)(SWIG_As_int(obj2));
8932 if (SWIG_arg_fail(3)) SWIG_fail;
8933 }
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetLeftIndent(arg2,arg3);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8952 int arg2 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "indent", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8961 if (SWIG_arg_fail(1)) SWIG_fail;
8962 {
8963 arg2 = (int)(SWIG_As_int(obj1));
8964 if (SWIG_arg_fail(2)) SWIG_fail;
8965 }
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetRightIndent(arg2);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8983 long arg2 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "self",(char *) "flags", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8992 if (SWIG_arg_fail(1)) SWIG_fail;
8993 {
8994 arg2 = (long)(SWIG_As_long(obj1));
8995 if (SWIG_arg_fail(2)) SWIG_fail;
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->SetFlags(arg2);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9014 bool result;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 {
9031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9032 }
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9042 bool result;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 {
9059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9060 }
9061 return resultobj;
9062 fail:
9063 return NULL;
9064 }
9065
9066
9067 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj;
9069 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9070 bool result;
9071 PyObject * obj0 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "self", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9078 if (SWIG_arg_fail(1)) SWIG_fail;
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 {
9087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9088 }
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9098 bool result;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9106 if (SWIG_arg_fail(1)) SWIG_fail;
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9116 }
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9126 bool result;
9127 PyObject * obj0 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9134 if (SWIG_arg_fail(1)) SWIG_fail;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 {
9143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9144 }
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9154 bool result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9172 }
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9182 bool result;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9190 if (SWIG_arg_fail(1)) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 {
9199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9200 }
9201 return resultobj;
9202 fail:
9203 return NULL;
9204 }
9205
9206
9207 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9210 long arg2 ;
9211 bool result;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self",(char *) "flag", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9220 if (SWIG_arg_fail(1)) SWIG_fail;
9221 {
9222 arg2 = (long)(SWIG_As_long(obj1));
9223 if (SWIG_arg_fail(2)) SWIG_fail;
9224 }
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9234 }
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9244 wxColour *result;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail;
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 {
9256 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9257 result = (wxColour *) &_result_ref;
9258 }
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9273 wxColour *result;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 {
9285 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9286 result = (wxColour *) &_result_ref;
9287 }
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9293 return resultobj;
9294 fail:
9295 return NULL;
9296 }
9297
9298
9299 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9302 wxFont *result;
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 {
9314 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9315 result = (wxFont *) &_result_ref;
9316 }
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 wxFont* resultptr = new wxFont(*result);
9323 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9334 wxTextAttrAlignment result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 resultobj = SWIG_From_int((result));
9351 return resultobj;
9352 fail:
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9360 wxArrayInt *result;
9361 PyObject * obj0 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "self", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail;
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 {
9372 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9373 result = (wxArrayInt *) &_result_ref;
9374 }
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = PyList_New(0);
9381 size_t idx;
9382 for (idx = 0; idx < result->GetCount(); idx += 1) {
9383 PyObject* val = PyInt_FromLong( result->Item(idx) );
9384 PyList_Append(resultobj, val);
9385 Py_DECREF(val);
9386 }
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9397 long result;
9398 PyObject * obj0 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = SWIG_From_long((long)(result));
9415 }
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9425 long result;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9433 if (SWIG_arg_fail(1)) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 {
9442 resultobj = SWIG_From_long((long)(result));
9443 }
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9453 long result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 {
9470 resultobj = SWIG_From_long((long)(result));
9471 }
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9481 long result;
9482 PyObject * obj0 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9489 if (SWIG_arg_fail(1)) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 {
9498 resultobj = SWIG_From_long((long)(result));
9499 }
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9509 bool result;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9517 if (SWIG_arg_fail(1)) SWIG_fail;
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9521
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 {
9526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9527 }
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxTextAttr *arg1 = 0 ;
9537 wxTextAttr *arg2 = 0 ;
9538 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9539 wxTextAttr result;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj2 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9548 {
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
9551 if (arg1 == NULL) {
9552 SWIG_null_ref("wxTextAttr");
9553 }
9554 if (SWIG_arg_fail(1)) SWIG_fail;
9555 }
9556 {
9557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 if (arg2 == NULL) {
9560 SWIG_null_ref("wxTextAttr");
9561 }
9562 if (SWIG_arg_fail(2)) SWIG_fail;
9563 }
9564 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9565 if (SWIG_arg_fail(3)) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 {
9574 wxTextAttr * resultptr;
9575 resultptr = new wxTextAttr((wxTextAttr &)(result));
9576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9577 }
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9585 PyObject *obj;
9586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9587 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9588 Py_INCREF(obj);
9589 return Py_BuildValue((char *)"");
9590 }
9591 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxWindow *arg1 = (wxWindow *) 0 ;
9594 int arg2 = (int) -1 ;
9595 wxString const &arg3_defvalue = wxPyEmptyString ;
9596 wxString *arg3 = (wxString *) &arg3_defvalue ;
9597 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9598 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9599 wxSize const &arg5_defvalue = wxDefaultSize ;
9600 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9601 long arg6 = (long) 0 ;
9602 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9603 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9604 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9605 wxString *arg8 = (wxString *) &arg8_defvalue ;
9606 wxTextCtrl *result;
9607 bool temp3 = false ;
9608 wxPoint temp4 ;
9609 wxSize temp5 ;
9610 bool temp8 = false ;
9611 PyObject * obj0 = 0 ;
9612 PyObject * obj1 = 0 ;
9613 PyObject * obj2 = 0 ;
9614 PyObject * obj3 = 0 ;
9615 PyObject * obj4 = 0 ;
9616 PyObject * obj5 = 0 ;
9617 PyObject * obj6 = 0 ;
9618 PyObject * obj7 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail;
9626 if (obj1) {
9627 {
9628 arg2 = (int)(SWIG_As_int(obj1));
9629 if (SWIG_arg_fail(2)) SWIG_fail;
9630 }
9631 }
9632 if (obj2) {
9633 {
9634 arg3 = wxString_in_helper(obj2);
9635 if (arg3 == NULL) SWIG_fail;
9636 temp3 = true;
9637 }
9638 }
9639 if (obj3) {
9640 {
9641 arg4 = &temp4;
9642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9643 }
9644 }
9645 if (obj4) {
9646 {
9647 arg5 = &temp5;
9648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9649 }
9650 }
9651 if (obj5) {
9652 {
9653 arg6 = (long)(SWIG_As_long(obj5));
9654 if (SWIG_arg_fail(6)) SWIG_fail;
9655 }
9656 }
9657 if (obj6) {
9658 {
9659 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(7)) SWIG_fail;
9661 if (arg7 == NULL) {
9662 SWIG_null_ref("wxValidator");
9663 }
9664 if (SWIG_arg_fail(7)) SWIG_fail;
9665 }
9666 }
9667 if (obj7) {
9668 {
9669 arg8 = wxString_in_helper(obj7);
9670 if (arg8 == NULL) SWIG_fail;
9671 temp8 = true;
9672 }
9673 }
9674 {
9675 if (!wxPyCheckForApp()) SWIG_fail;
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9683 {
9684 if (temp3)
9685 delete arg3;
9686 }
9687 {
9688 if (temp8)
9689 delete arg8;
9690 }
9691 return resultobj;
9692 fail:
9693 {
9694 if (temp3)
9695 delete arg3;
9696 }
9697 {
9698 if (temp8)
9699 delete arg8;
9700 }
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxTextCtrl *result;
9708 char *kwnames[] = {
9709 NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9713 {
9714 if (!wxPyCheckForApp()) SWIG_fail;
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (wxTextCtrl *)new wxTextCtrl();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9731 wxWindow *arg2 = (wxWindow *) 0 ;
9732 int arg3 = (int) -1 ;
9733 wxString const &arg4_defvalue = wxPyEmptyString ;
9734 wxString *arg4 = (wxString *) &arg4_defvalue ;
9735 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9736 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9737 wxSize const &arg6_defvalue = wxDefaultSize ;
9738 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9739 long arg7 = (long) 0 ;
9740 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9741 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9742 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9743 wxString *arg9 = (wxString *) &arg9_defvalue ;
9744 bool result;
9745 bool temp4 = false ;
9746 wxPoint temp5 ;
9747 wxSize temp6 ;
9748 bool temp9 = false ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 PyObject * obj2 = 0 ;
9752 PyObject * obj3 = 0 ;
9753 PyObject * obj4 = 0 ;
9754 PyObject * obj5 = 0 ;
9755 PyObject * obj6 = 0 ;
9756 PyObject * obj7 = 0 ;
9757 PyObject * obj8 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail;
9765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9766 if (SWIG_arg_fail(2)) SWIG_fail;
9767 if (obj2) {
9768 {
9769 arg3 = (int)(SWIG_As_int(obj2));
9770 if (SWIG_arg_fail(3)) SWIG_fail;
9771 }
9772 }
9773 if (obj3) {
9774 {
9775 arg4 = wxString_in_helper(obj3);
9776 if (arg4 == NULL) SWIG_fail;
9777 temp4 = true;
9778 }
9779 }
9780 if (obj4) {
9781 {
9782 arg5 = &temp5;
9783 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9784 }
9785 }
9786 if (obj5) {
9787 {
9788 arg6 = &temp6;
9789 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9790 }
9791 }
9792 if (obj6) {
9793 {
9794 arg7 = (long)(SWIG_As_long(obj6));
9795 if (SWIG_arg_fail(7)) SWIG_fail;
9796 }
9797 }
9798 if (obj7) {
9799 {
9800 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9801 if (SWIG_arg_fail(8)) SWIG_fail;
9802 if (arg8 == NULL) {
9803 SWIG_null_ref("wxValidator");
9804 }
9805 if (SWIG_arg_fail(8)) SWIG_fail;
9806 }
9807 }
9808 if (obj8) {
9809 {
9810 arg9 = wxString_in_helper(obj8);
9811 if (arg9 == NULL) SWIG_fail;
9812 temp9 = true;
9813 }
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 {
9823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9824 }
9825 {
9826 if (temp4)
9827 delete arg4;
9828 }
9829 {
9830 if (temp9)
9831 delete arg9;
9832 }
9833 return resultobj;
9834 fail:
9835 {
9836 if (temp4)
9837 delete arg4;
9838 }
9839 {
9840 if (temp9)
9841 delete arg9;
9842 }
9843 return NULL;
9844 }
9845
9846
9847 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9848 PyObject *resultobj;
9849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9850 wxString result;
9851 PyObject * obj0 = 0 ;
9852 char *kwnames[] = {
9853 (char *) "self", NULL
9854 };
9855
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9858 if (SWIG_arg_fail(1)) SWIG_fail;
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = ((wxTextCtrl const *)arg1)->GetValue();
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 {
9867 #if wxUSE_UNICODE
9868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9869 #else
9870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9871 #endif
9872 }
9873 return resultobj;
9874 fail:
9875 return NULL;
9876 }
9877
9878
9879 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9882 wxString *arg2 = 0 ;
9883 bool temp2 = false ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "self",(char *) "value", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9892 if (SWIG_arg_fail(1)) SWIG_fail;
9893 {
9894 arg2 = wxString_in_helper(obj1);
9895 if (arg2 == NULL) SWIG_fail;
9896 temp2 = true;
9897 }
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 (arg1)->SetValue((wxString const &)*arg2);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 Py_INCREF(Py_None); resultobj = Py_None;
9906 {
9907 if (temp2)
9908 delete arg2;
9909 }
9910 return resultobj;
9911 fail:
9912 {
9913 if (temp2)
9914 delete arg2;
9915 }
9916 return NULL;
9917 }
9918
9919
9920 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9923 long arg2 ;
9924 long arg3 ;
9925 wxString result;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 PyObject * obj2 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self",(char *) "from",(char *) "to", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail;
9936 {
9937 arg2 = (long)(SWIG_As_long(obj1));
9938 if (SWIG_arg_fail(2)) SWIG_fail;
9939 }
9940 {
9941 arg3 = (long)(SWIG_As_long(obj2));
9942 if (SWIG_arg_fail(3)) SWIG_fail;
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 {
9952 #if wxUSE_UNICODE
9953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9954 #else
9955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9956 #endif
9957 }
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9967 long arg2 ;
9968 int result;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self",(char *) "lineNo", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9977 if (SWIG_arg_fail(1)) SWIG_fail;
9978 {
9979 arg2 = (long)(SWIG_As_long(obj1));
9980 if (SWIG_arg_fail(2)) SWIG_fail;
9981 }
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 {
9990 resultobj = SWIG_From_int((int)(result));
9991 }
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10001 long arg2 ;
10002 wxString result;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self",(char *) "lineNo", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail;
10012 {
10013 arg2 = (long)(SWIG_As_long(obj1));
10014 if (SWIG_arg_fail(2)) SWIG_fail;
10015 }
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10019
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 {
10024 #if wxUSE_UNICODE
10025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10026 #else
10027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10028 #endif
10029 }
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10039 int result;
10040 PyObject * obj0 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail;
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 {
10056 resultobj = SWIG_From_int((int)(result));
10057 }
10058 return resultobj;
10059 fail:
10060 return NULL;
10061 }
10062
10063
10064 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10067 bool result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 {
10084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10085 }
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10095 bool result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10103 if (SWIG_arg_fail(1)) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 {
10112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10113 }
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10123 bool result;
10124 PyObject * obj0 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "self", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10131 if (SWIG_arg_fail(1)) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 {
10140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10141 }
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10151 bool result;
10152 PyObject * obj0 = 0 ;
10153 char *kwnames[] = {
10154 (char *) "self", NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail;
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 {
10168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10169 }
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10179 long *arg2 = (long *) 0 ;
10180 long *arg3 = (long *) 0 ;
10181 long temp2 ;
10182 int res2 = 0 ;
10183 long temp3 ;
10184 int res3 = 0 ;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10194 if (SWIG_arg_fail(1)) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10204 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10206 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10216 wxString result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10224 if (SWIG_arg_fail(1)) SWIG_fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 {
10233 #if wxUSE_UNICODE
10234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10235 #else
10236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10237 #endif
10238 }
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10255 if (SWIG_arg_fail(1)) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->Clear();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 return resultobj;
10265 fail:
10266 return NULL;
10267 }
10268
10269
10270 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10273 long arg2 ;
10274 long arg3 ;
10275 wxString *arg4 = 0 ;
10276 bool temp4 = false ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 PyObject * obj2 = 0 ;
10280 PyObject * obj3 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail;
10288 {
10289 arg2 = (long)(SWIG_As_long(obj1));
10290 if (SWIG_arg_fail(2)) SWIG_fail;
10291 }
10292 {
10293 arg3 = (long)(SWIG_As_long(obj2));
10294 if (SWIG_arg_fail(3)) SWIG_fail;
10295 }
10296 {
10297 arg4 = wxString_in_helper(obj3);
10298 if (arg4 == NULL) SWIG_fail;
10299 temp4 = true;
10300 }
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 Py_INCREF(Py_None); resultobj = Py_None;
10309 {
10310 if (temp4)
10311 delete arg4;
10312 }
10313 return resultobj;
10314 fail:
10315 {
10316 if (temp4)
10317 delete arg4;
10318 }
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10326 long arg2 ;
10327 long arg3 ;
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
10330 PyObject * obj2 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "from",(char *) "to", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail;
10338 {
10339 arg2 = (long)(SWIG_As_long(obj1));
10340 if (SWIG_arg_fail(2)) SWIG_fail;
10341 }
10342 {
10343 arg3 = (long)(SWIG_As_long(obj2));
10344 if (SWIG_arg_fail(3)) SWIG_fail;
10345 }
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->Remove(arg2,arg3);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 Py_INCREF(Py_None); resultobj = Py_None;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10363 wxString *arg2 = 0 ;
10364 bool result;
10365 bool temp2 = false ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "file", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail;
10375 {
10376 arg2 = wxString_in_helper(obj1);
10377 if (arg2 == NULL) SWIG_fail;
10378 temp2 = true;
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 {
10388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10389 }
10390 {
10391 if (temp2)
10392 delete arg2;
10393 }
10394 return resultobj;
10395 fail:
10396 {
10397 if (temp2)
10398 delete arg2;
10399 }
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10407 wxString const &arg2_defvalue = wxPyEmptyString ;
10408 wxString *arg2 = (wxString *) &arg2_defvalue ;
10409 bool result;
10410 bool temp2 = false ;
10411 PyObject * obj0 = 0 ;
10412 PyObject * obj1 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self",(char *) "file", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10419 if (SWIG_arg_fail(1)) SWIG_fail;
10420 if (obj1) {
10421 {
10422 arg2 = wxString_in_helper(obj1);
10423 if (arg2 == NULL) SWIG_fail;
10424 temp2 = true;
10425 }
10426 }
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 {
10435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10436 }
10437 {
10438 if (temp2)
10439 delete arg2;
10440 }
10441 return resultobj;
10442 fail:
10443 {
10444 if (temp2)
10445 delete arg2;
10446 }
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10461 if (SWIG_arg_fail(1)) SWIG_fail;
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 (arg1)->MarkDirty();
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 Py_INCREF(Py_None); resultobj = Py_None;
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj;
10478 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10479 PyObject * obj0 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10486 if (SWIG_arg_fail(1)) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->DiscardEdits();
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10504 unsigned long arg2 ;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "len", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail;
10514 {
10515 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10516 if (SWIG_arg_fail(2)) SWIG_fail;
10517 }
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->SetMaxLength(arg2);
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 Py_INCREF(Py_None); resultobj = Py_None;
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10533 PyObject *resultobj;
10534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10535 wxString *arg2 = 0 ;
10536 bool temp2 = false ;
10537 PyObject * obj0 = 0 ;
10538 PyObject * obj1 = 0 ;
10539 char *kwnames[] = {
10540 (char *) "self",(char *) "text", NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10545 if (SWIG_arg_fail(1)) SWIG_fail;
10546 {
10547 arg2 = wxString_in_helper(obj1);
10548 if (arg2 == NULL) SWIG_fail;
10549 temp2 = true;
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->WriteText((wxString const &)*arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 {
10560 if (temp2)
10561 delete arg2;
10562 }
10563 return resultobj;
10564 fail:
10565 {
10566 if (temp2)
10567 delete arg2;
10568 }
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10576 wxString *arg2 = 0 ;
10577 bool temp2 = false ;
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "text", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10586 if (SWIG_arg_fail(1)) SWIG_fail;
10587 {
10588 arg2 = wxString_in_helper(obj1);
10589 if (arg2 == NULL) SWIG_fail;
10590 temp2 = true;
10591 }
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->AppendText((wxString const &)*arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 {
10601 if (temp2)
10602 delete arg2;
10603 }
10604 return resultobj;
10605 fail:
10606 {
10607 if (temp2)
10608 delete arg2;
10609 }
10610 return NULL;
10611 }
10612
10613
10614 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj;
10616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10617 wxKeyEvent *arg2 = 0 ;
10618 bool result;
10619 PyObject * obj0 = 0 ;
10620 PyObject * obj1 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self",(char *) "event", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10627 if (SWIG_arg_fail(1)) SWIG_fail;
10628 {
10629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10630 if (SWIG_arg_fail(2)) SWIG_fail;
10631 if (arg2 == NULL) {
10632 SWIG_null_ref("wxKeyEvent");
10633 }
10634 if (SWIG_arg_fail(2)) SWIG_fail;
10635 }
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 {
10644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10645 }
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10655 long arg2 ;
10656 long arg3 ;
10657 wxTextAttr *arg4 = 0 ;
10658 bool result;
10659 PyObject * obj0 = 0 ;
10660 PyObject * obj1 = 0 ;
10661 PyObject * obj2 = 0 ;
10662 PyObject * obj3 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail;
10670 {
10671 arg2 = (long)(SWIG_As_long(obj1));
10672 if (SWIG_arg_fail(2)) SWIG_fail;
10673 }
10674 {
10675 arg3 = (long)(SWIG_As_long(obj2));
10676 if (SWIG_arg_fail(3)) SWIG_fail;
10677 }
10678 {
10679 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10680 if (SWIG_arg_fail(4)) SWIG_fail;
10681 if (arg4 == NULL) {
10682 SWIG_null_ref("wxTextAttr");
10683 }
10684 if (SWIG_arg_fail(4)) SWIG_fail;
10685 }
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 {
10694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10695 }
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10705 long arg2 ;
10706 wxTextAttr *arg3 = 0 ;
10707 bool result;
10708 PyObject * obj0 = 0 ;
10709 PyObject * obj1 = 0 ;
10710 PyObject * obj2 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self",(char *) "position",(char *) "style", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail;
10718 {
10719 arg2 = (long)(SWIG_As_long(obj1));
10720 if (SWIG_arg_fail(2)) SWIG_fail;
10721 }
10722 {
10723 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10724 if (SWIG_arg_fail(3)) SWIG_fail;
10725 if (arg3 == NULL) {
10726 SWIG_null_ref("wxTextAttr");
10727 }
10728 if (SWIG_arg_fail(3)) SWIG_fail;
10729 }
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 {
10738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10739 }
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10749 wxTextAttr *arg2 = 0 ;
10750 bool result;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self",(char *) "style", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail;
10760 {
10761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(2)) SWIG_fail;
10763 if (arg2 == NULL) {
10764 SWIG_null_ref("wxTextAttr");
10765 }
10766 if (SWIG_arg_fail(2)) SWIG_fail;
10767 }
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10771
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 {
10776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10777 }
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10787 wxTextAttr *result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail;
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 {
10799 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10800 result = (wxTextAttr *) &_result_ref;
10801 }
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10816 long arg2 ;
10817 long arg3 ;
10818 long result;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 PyObject * obj2 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "x",(char *) "y", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail;
10829 {
10830 arg2 = (long)(SWIG_As_long(obj1));
10831 if (SWIG_arg_fail(2)) SWIG_fail;
10832 }
10833 {
10834 arg3 = (long)(SWIG_As_long(obj2));
10835 if (SWIG_arg_fail(3)) SWIG_fail;
10836 }
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 {
10845 resultobj = SWIG_From_long((long)(result));
10846 }
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10856 long arg2 ;
10857 long *arg3 = (long *) 0 ;
10858 long *arg4 = (long *) 0 ;
10859 long temp3 ;
10860 int res3 = 0 ;
10861 long temp4 ;
10862 int res4 = 0 ;
10863 PyObject * obj0 = 0 ;
10864 PyObject * obj1 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "self",(char *) "pos", NULL
10867 };
10868
10869 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10870 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail;
10874 {
10875 arg2 = (long)(SWIG_As_long(obj1));
10876 if (SWIG_arg_fail(2)) SWIG_fail;
10877 }
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 Py_INCREF(Py_None); resultobj = Py_None;
10886 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10887 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10888 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10889 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj;
10898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10899 long arg2 ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "pos", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail;
10909 {
10910 arg2 = (long)(SWIG_As_long(obj1));
10911 if (SWIG_arg_fail(2)) SWIG_fail;
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->ShowPosition(arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10930 wxPoint *arg2 = 0 ;
10931 long *arg3 = (long *) 0 ;
10932 long *arg4 = (long *) 0 ;
10933 wxTextCtrlHitTestResult result;
10934 wxPoint temp2 ;
10935 long temp3 ;
10936 int res3 = 0 ;
10937 long temp4 ;
10938 int res4 = 0 ;
10939 PyObject * obj0 = 0 ;
10940 PyObject * obj1 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "self",(char *) "pt", NULL
10943 };
10944
10945 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10946 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
10950 {
10951 arg2 = &temp2;
10952 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10953 }
10954 {
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10957
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 resultobj = SWIG_From_int((result));
10962 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10963 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10964 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10965 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10975 wxPoint *arg2 = 0 ;
10976 long *arg3 = (long *) 0 ;
10977 wxTextCtrlHitTestResult result;
10978 wxPoint temp2 ;
10979 long temp3 ;
10980 int res3 = 0 ;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 char *kwnames[] = {
10984 (char *) "self",(char *) "pt", NULL
10985 };
10986
10987 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail;
10991 {
10992 arg2 = &temp2;
10993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10994 }
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_From_int((result));
11003 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11004 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11005 return resultobj;
11006 fail:
11007 return NULL;
11008 }
11009
11010
11011 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj;
11013 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11021 if (SWIG_arg_fail(1)) SWIG_fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 (arg1)->Copy();
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 Py_INCREF(Py_None); resultobj = Py_None;
11030 return resultobj;
11031 fail:
11032 return NULL;
11033 }
11034
11035
11036 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11039 PyObject * obj0 = 0 ;
11040 char *kwnames[] = {
11041 (char *) "self", NULL
11042 };
11043
11044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11046 if (SWIG_arg_fail(1)) SWIG_fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 (arg1)->Cut();
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 Py_INCREF(Py_None); resultobj = Py_None;
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 (arg1)->Paste();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 Py_INCREF(Py_None); resultobj = Py_None;
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11089 bool result;
11090 PyObject * obj0 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 {
11106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11107 }
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11117 bool result;
11118 PyObject * obj0 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 {
11134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11135 }
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11145 bool result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11153 if (SWIG_arg_fail(1)) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11173 PyObject * obj0 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11180 if (SWIG_arg_fail(1)) SWIG_fail;
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->Undo();
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 return resultobj;
11190 fail:
11191 return NULL;
11192 }
11193
11194
11195 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11196 PyObject *resultobj;
11197 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->Redo();
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 Py_INCREF(Py_None); resultobj = Py_None;
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11223 bool result;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11231 if (SWIG_arg_fail(1)) SWIG_fail;
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 {
11240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11241 }
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11251 bool result;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11259 if (SWIG_arg_fail(1)) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 {
11268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11269 }
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj;
11278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11279 long arg2 ;
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "pos", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail;
11289 {
11290 arg2 = (long)(SWIG_As_long(obj1));
11291 if (SWIG_arg_fail(2)) SWIG_fail;
11292 }
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 (arg1)->SetInsertionPoint(arg2);
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 Py_INCREF(Py_None); resultobj = Py_None;
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11310 PyObject * obj0 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11317 if (SWIG_arg_fail(1)) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 (arg1)->SetInsertionPointEnd();
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 Py_INCREF(Py_None); resultobj = Py_None;
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11335 long result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 {
11352 resultobj = SWIG_From_long((long)(result));
11353 }
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11363 long result;
11364 PyObject * obj0 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail;
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 {
11380 resultobj = SWIG_From_long((long)(result));
11381 }
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11391 long arg2 ;
11392 long arg3 ;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395 PyObject * obj2 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self",(char *) "from",(char *) "to", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11402 if (SWIG_arg_fail(1)) SWIG_fail;
11403 {
11404 arg2 = (long)(SWIG_As_long(obj1));
11405 if (SWIG_arg_fail(2)) SWIG_fail;
11406 }
11407 {
11408 arg3 = (long)(SWIG_As_long(obj2));
11409 if (SWIG_arg_fail(3)) SWIG_fail;
11410 }
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->SetSelection(arg2,arg3);
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 Py_INCREF(Py_None); resultobj = Py_None;
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11428 PyObject * obj0 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 (arg1)->SelectAll();
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 Py_INCREF(Py_None); resultobj = Py_None;
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11453 bool arg2 ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj1 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "editable", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11462 if (SWIG_arg_fail(1)) SWIG_fail;
11463 {
11464 arg2 = (bool)(SWIG_As_bool(obj1));
11465 if (SWIG_arg_fail(2)) SWIG_fail;
11466 }
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->SetEditable(arg2);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11484 bool arg2 = (bool) true ;
11485 bool result;
11486 PyObject * obj0 = 0 ;
11487 PyObject * obj1 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self",(char *) "show", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11494 if (SWIG_arg_fail(1)) SWIG_fail;
11495 if (obj1) {
11496 {
11497 arg2 = (bool)(SWIG_As_bool(obj1));
11498 if (SWIG_arg_fail(2)) SWIG_fail;
11499 }
11500 }
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (bool)(arg1)->ShowNativeCaret(arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 {
11509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11510 }
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj;
11519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11520 bool result;
11521 PyObject * obj0 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
11527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11528 if (SWIG_arg_fail(1)) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (bool)(arg1)->HideNativeCaret();
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 {
11537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11538 }
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11548 wxString *arg2 = 0 ;
11549 bool temp2 = false ;
11550 PyObject * obj0 = 0 ;
11551 PyObject * obj1 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "text", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11558 if (SWIG_arg_fail(1)) SWIG_fail;
11559 {
11560 arg2 = wxString_in_helper(obj1);
11561 if (arg2 == NULL) SWIG_fail;
11562 temp2 = true;
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 Py_INCREF(Py_None); resultobj = Py_None;
11572 {
11573 if (temp2)
11574 delete arg2;
11575 }
11576 return resultobj;
11577 fail:
11578 {
11579 if (temp2)
11580 delete arg2;
11581 }
11582 return NULL;
11583 }
11584
11585
11586 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj;
11588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11589 long arg2 ;
11590 long arg3 ;
11591 wxString result;
11592 PyObject * obj0 = 0 ;
11593 PyObject * obj1 = 0 ;
11594 PyObject * obj2 = 0 ;
11595 char *kwnames[] = {
11596 (char *) "self",(char *) "from",(char *) "to", NULL
11597 };
11598
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail;
11602 {
11603 arg2 = (long)(SWIG_As_long(obj1));
11604 if (SWIG_arg_fail(2)) SWIG_fail;
11605 }
11606 {
11607 arg3 = (long)(SWIG_As_long(obj2));
11608 if (SWIG_arg_fail(3)) SWIG_fail;
11609 }
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 {
11618 #if wxUSE_UNICODE
11619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11620 #else
11621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11622 #endif
11623 }
11624 return resultobj;
11625 fail:
11626 return NULL;
11627 }
11628
11629
11630 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj;
11632 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11633 wxVisualAttributes result;
11634 PyObject * obj0 = 0 ;
11635 char *kwnames[] = {
11636 (char *) "variant", NULL
11637 };
11638
11639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11640 if (obj0) {
11641 {
11642 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11643 if (SWIG_arg_fail(1)) SWIG_fail;
11644 }
11645 }
11646 {
11647 if (!wxPyCheckForApp()) SWIG_fail;
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 {
11655 wxVisualAttributes * resultptr;
11656 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11658 }
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11666 PyObject *obj;
11667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11668 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11669 Py_INCREF(obj);
11670 return Py_BuildValue((char *)"");
11671 }
11672 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 int arg1 ;
11675 wxMouseEvent *arg2 = 0 ;
11676 long arg3 ;
11677 long arg4 ;
11678 wxTextUrlEvent *result;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 PyObject * obj2 = 0 ;
11682 PyObject * obj3 = 0 ;
11683 char *kwnames[] = {
11684 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11688 {
11689 arg1 = (int)(SWIG_As_int(obj0));
11690 if (SWIG_arg_fail(1)) SWIG_fail;
11691 }
11692 {
11693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11694 if (SWIG_arg_fail(2)) SWIG_fail;
11695 if (arg2 == NULL) {
11696 SWIG_null_ref("wxMouseEvent");
11697 }
11698 if (SWIG_arg_fail(2)) SWIG_fail;
11699 }
11700 {
11701 arg3 = (long)(SWIG_As_long(obj2));
11702 if (SWIG_arg_fail(3)) SWIG_fail;
11703 }
11704 {
11705 arg4 = (long)(SWIG_As_long(obj3));
11706 if (SWIG_arg_fail(4)) SWIG_fail;
11707 }
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11716 return resultobj;
11717 fail:
11718 return NULL;
11719 }
11720
11721
11722 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11725 wxMouseEvent *result;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11733 if (SWIG_arg_fail(1)) SWIG_fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 {
11737 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11738 result = (wxMouseEvent *) &_result_ref;
11739 }
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11754 long result;
11755 PyObject * obj0 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 {
11771 resultobj = SWIG_From_long((long)(result));
11772 }
11773 return resultobj;
11774 fail:
11775 return NULL;
11776 }
11777
11778
11779 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11782 long result;
11783 PyObject * obj0 = 0 ;
11784 char *kwnames[] = {
11785 (char *) "self", NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11790 if (SWIG_arg_fail(1)) SWIG_fail;
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 {
11799 resultobj = SWIG_From_long((long)(result));
11800 }
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11808 PyObject *obj;
11809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11810 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11811 Py_INCREF(obj);
11812 return Py_BuildValue((char *)"");
11813 }
11814 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11815 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11816 return 1;
11817 }
11818
11819
11820 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11821 PyObject *pyobj;
11822
11823 {
11824 #if wxUSE_UNICODE
11825 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11826 #else
11827 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11828 #endif
11829 }
11830 return pyobj;
11831 }
11832
11833
11834 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj;
11836 wxWindow *arg1 = (wxWindow *) 0 ;
11837 int arg2 = (int) -1 ;
11838 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11839 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11840 wxSize const &arg4_defvalue = wxDefaultSize ;
11841 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11842 long arg5 = (long) wxSB_HORIZONTAL ;
11843 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11844 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11845 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11846 wxString *arg7 = (wxString *) &arg7_defvalue ;
11847 wxScrollBar *result;
11848 wxPoint temp3 ;
11849 wxSize temp4 ;
11850 bool temp7 = false ;
11851 PyObject * obj0 = 0 ;
11852 PyObject * obj1 = 0 ;
11853 PyObject * obj2 = 0 ;
11854 PyObject * obj3 = 0 ;
11855 PyObject * obj4 = 0 ;
11856 PyObject * obj5 = 0 ;
11857 PyObject * obj6 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail;
11865 if (obj1) {
11866 {
11867 arg2 = (int)(SWIG_As_int(obj1));
11868 if (SWIG_arg_fail(2)) SWIG_fail;
11869 }
11870 }
11871 if (obj2) {
11872 {
11873 arg3 = &temp3;
11874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11875 }
11876 }
11877 if (obj3) {
11878 {
11879 arg4 = &temp4;
11880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11881 }
11882 }
11883 if (obj4) {
11884 {
11885 arg5 = (long)(SWIG_As_long(obj4));
11886 if (SWIG_arg_fail(5)) SWIG_fail;
11887 }
11888 }
11889 if (obj5) {
11890 {
11891 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11892 if (SWIG_arg_fail(6)) SWIG_fail;
11893 if (arg6 == NULL) {
11894 SWIG_null_ref("wxValidator");
11895 }
11896 if (SWIG_arg_fail(6)) SWIG_fail;
11897 }
11898 }
11899 if (obj6) {
11900 {
11901 arg7 = wxString_in_helper(obj6);
11902 if (arg7 == NULL) SWIG_fail;
11903 temp7 = true;
11904 }
11905 }
11906 {
11907 if (!wxPyCheckForApp()) SWIG_fail;
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11915 {
11916 if (temp7)
11917 delete arg7;
11918 }
11919 return resultobj;
11920 fail:
11921 {
11922 if (temp7)
11923 delete arg7;
11924 }
11925 return NULL;
11926 }
11927
11928
11929 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxScrollBar *result;
11932 char *kwnames[] = {
11933 NULL
11934 };
11935
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11937 {
11938 if (!wxPyCheckForApp()) SWIG_fail;
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = (wxScrollBar *)new wxScrollBar();
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11946 return resultobj;
11947 fail:
11948 return NULL;
11949 }
11950
11951
11952 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11955 wxWindow *arg2 = (wxWindow *) 0 ;
11956 int arg3 = (int) -1 ;
11957 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11958 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11959 wxSize const &arg5_defvalue = wxDefaultSize ;
11960 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11961 long arg6 = (long) wxSB_HORIZONTAL ;
11962 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11963 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11964 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11965 wxString *arg8 = (wxString *) &arg8_defvalue ;
11966 bool result;
11967 wxPoint temp4 ;
11968 wxSize temp5 ;
11969 bool temp8 = false ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 PyObject * obj2 = 0 ;
11973 PyObject * obj3 = 0 ;
11974 PyObject * obj4 = 0 ;
11975 PyObject * obj5 = 0 ;
11976 PyObject * obj6 = 0 ;
11977 PyObject * obj7 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail;
11985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11986 if (SWIG_arg_fail(2)) SWIG_fail;
11987 if (obj2) {
11988 {
11989 arg3 = (int)(SWIG_As_int(obj2));
11990 if (SWIG_arg_fail(3)) SWIG_fail;
11991 }
11992 }
11993 if (obj3) {
11994 {
11995 arg4 = &temp4;
11996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11997 }
11998 }
11999 if (obj4) {
12000 {
12001 arg5 = &temp5;
12002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12003 }
12004 }
12005 if (obj5) {
12006 {
12007 arg6 = (long)(SWIG_As_long(obj5));
12008 if (SWIG_arg_fail(6)) SWIG_fail;
12009 }
12010 }
12011 if (obj6) {
12012 {
12013 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12014 if (SWIG_arg_fail(7)) SWIG_fail;
12015 if (arg7 == NULL) {
12016 SWIG_null_ref("wxValidator");
12017 }
12018 if (SWIG_arg_fail(7)) SWIG_fail;
12019 }
12020 }
12021 if (obj7) {
12022 {
12023 arg8 = wxString_in_helper(obj7);
12024 if (arg8 == NULL) SWIG_fail;
12025 temp8 = true;
12026 }
12027 }
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 {
12036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12037 }
12038 {
12039 if (temp8)
12040 delete arg8;
12041 }
12042 return resultobj;
12043 fail:
12044 {
12045 if (temp8)
12046 delete arg8;
12047 }
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12055 int result;
12056 PyObject * obj0 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail;
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 {
12072 resultobj = SWIG_From_int((int)(result));
12073 }
12074 return resultobj;
12075 fail:
12076 return NULL;
12077 }
12078
12079
12080 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12083 int result;
12084 PyObject * obj0 = 0 ;
12085 char *kwnames[] = {
12086 (char *) "self", NULL
12087 };
12088
12089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12091 if (SWIG_arg_fail(1)) SWIG_fail;
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 {
12100 resultobj = SWIG_From_int((int)(result));
12101 }
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12111 int result;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail;
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 {
12128 resultobj = SWIG_From_int((int)(result));
12129 }
12130 return resultobj;
12131 fail:
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12139 int result;
12140 PyObject * obj0 = 0 ;
12141 char *kwnames[] = {
12142 (char *) "self", NULL
12143 };
12144
12145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12147 if (SWIG_arg_fail(1)) SWIG_fail;
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (int)((wxScrollBar const *)arg1)->GetRange();
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 {
12156 resultobj = SWIG_From_int((int)(result));
12157 }
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12167 bool result;
12168 PyObject * obj0 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 {
12184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12185 }
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12195 int arg2 ;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "viewStart", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
12205 {
12206 arg2 = (int)(SWIG_As_int(obj1));
12207 if (SWIG_arg_fail(2)) SWIG_fail;
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 (arg1)->SetThumbPosition(arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12226 int arg2 ;
12227 int arg3 ;
12228 int arg4 ;
12229 int arg5 ;
12230 bool arg6 = (bool) true ;
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj1 = 0 ;
12233 PyObject * obj2 = 0 ;
12234 PyObject * obj3 = 0 ;
12235 PyObject * obj4 = 0 ;
12236 PyObject * obj5 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12243 if (SWIG_arg_fail(1)) SWIG_fail;
12244 {
12245 arg2 = (int)(SWIG_As_int(obj1));
12246 if (SWIG_arg_fail(2)) SWIG_fail;
12247 }
12248 {
12249 arg3 = (int)(SWIG_As_int(obj2));
12250 if (SWIG_arg_fail(3)) SWIG_fail;
12251 }
12252 {
12253 arg4 = (int)(SWIG_As_int(obj3));
12254 if (SWIG_arg_fail(4)) SWIG_fail;
12255 }
12256 {
12257 arg5 = (int)(SWIG_As_int(obj4));
12258 if (SWIG_arg_fail(5)) SWIG_fail;
12259 }
12260 if (obj5) {
12261 {
12262 arg6 = (bool)(SWIG_As_bool(obj5));
12263 if (SWIG_arg_fail(6)) SWIG_fail;
12264 }
12265 }
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 Py_INCREF(Py_None); resultobj = Py_None;
12274 return resultobj;
12275 fail:
12276 return NULL;
12277 }
12278
12279
12280 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12281 PyObject *resultobj;
12282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12283 wxVisualAttributes result;
12284 PyObject * obj0 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "variant", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12290 if (obj0) {
12291 {
12292 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12293 if (SWIG_arg_fail(1)) SWIG_fail;
12294 }
12295 }
12296 {
12297 if (!wxPyCheckForApp()) SWIG_fail;
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 {
12305 wxVisualAttributes * resultptr;
12306 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12308 }
12309 return resultobj;
12310 fail:
12311 return NULL;
12312 }
12313
12314
12315 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12316 PyObject *obj;
12317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12318 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12319 Py_INCREF(obj);
12320 return Py_BuildValue((char *)"");
12321 }
12322 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12323 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12324 return 1;
12325 }
12326
12327
12328 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12329 PyObject *pyobj;
12330
12331 {
12332 #if wxUSE_UNICODE
12333 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12334 #else
12335 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12336 #endif
12337 }
12338 return pyobj;
12339 }
12340
12341
12342 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12343 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12344 return 1;
12345 }
12346
12347
12348 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12349 PyObject *pyobj;
12350
12351 {
12352 #if wxUSE_UNICODE
12353 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12354 #else
12355 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12356 #endif
12357 }
12358 return pyobj;
12359 }
12360
12361
12362 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxWindow *arg1 = (wxWindow *) 0 ;
12365 int arg2 = (int) -1 ;
12366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12368 wxSize const &arg4_defvalue = wxDefaultSize ;
12369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12370 long arg5 = (long) wxSP_HORIZONTAL ;
12371 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12372 wxString *arg6 = (wxString *) &arg6_defvalue ;
12373 wxSpinButton *result;
12374 wxPoint temp3 ;
12375 wxSize temp4 ;
12376 bool temp6 = false ;
12377 PyObject * obj0 = 0 ;
12378 PyObject * obj1 = 0 ;
12379 PyObject * obj2 = 0 ;
12380 PyObject * obj3 = 0 ;
12381 PyObject * obj4 = 0 ;
12382 PyObject * obj5 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
12390 if (obj1) {
12391 {
12392 arg2 = (int)(SWIG_As_int(obj1));
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
12395 }
12396 if (obj2) {
12397 {
12398 arg3 = &temp3;
12399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12400 }
12401 }
12402 if (obj3) {
12403 {
12404 arg4 = &temp4;
12405 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12406 }
12407 }
12408 if (obj4) {
12409 {
12410 arg5 = (long)(SWIG_As_long(obj4));
12411 if (SWIG_arg_fail(5)) SWIG_fail;
12412 }
12413 }
12414 if (obj5) {
12415 {
12416 arg6 = wxString_in_helper(obj5);
12417 if (arg6 == NULL) SWIG_fail;
12418 temp6 = true;
12419 }
12420 }
12421 {
12422 if (!wxPyCheckForApp()) SWIG_fail;
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12430 {
12431 if (temp6)
12432 delete arg6;
12433 }
12434 return resultobj;
12435 fail:
12436 {
12437 if (temp6)
12438 delete arg6;
12439 }
12440 return NULL;
12441 }
12442
12443
12444 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxSpinButton *result;
12447 char *kwnames[] = {
12448 NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12452 {
12453 if (!wxPyCheckForApp()) SWIG_fail;
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 result = (wxSpinButton *)new wxSpinButton();
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12470 wxWindow *arg2 = (wxWindow *) 0 ;
12471 int arg3 = (int) -1 ;
12472 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12473 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12474 wxSize const &arg5_defvalue = wxDefaultSize ;
12475 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12476 long arg6 = (long) wxSP_HORIZONTAL ;
12477 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12478 wxString *arg7 = (wxString *) &arg7_defvalue ;
12479 bool result;
12480 wxPoint temp4 ;
12481 wxSize temp5 ;
12482 bool temp7 = false ;
12483 PyObject * obj0 = 0 ;
12484 PyObject * obj1 = 0 ;
12485 PyObject * obj2 = 0 ;
12486 PyObject * obj3 = 0 ;
12487 PyObject * obj4 = 0 ;
12488 PyObject * obj5 = 0 ;
12489 PyObject * obj6 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail;
12497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12498 if (SWIG_arg_fail(2)) SWIG_fail;
12499 if (obj2) {
12500 {
12501 arg3 = (int)(SWIG_As_int(obj2));
12502 if (SWIG_arg_fail(3)) SWIG_fail;
12503 }
12504 }
12505 if (obj3) {
12506 {
12507 arg4 = &temp4;
12508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12509 }
12510 }
12511 if (obj4) {
12512 {
12513 arg5 = &temp5;
12514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12515 }
12516 }
12517 if (obj5) {
12518 {
12519 arg6 = (long)(SWIG_As_long(obj5));
12520 if (SWIG_arg_fail(6)) SWIG_fail;
12521 }
12522 }
12523 if (obj6) {
12524 {
12525 arg7 = wxString_in_helper(obj6);
12526 if (arg7 == NULL) SWIG_fail;
12527 temp7 = true;
12528 }
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 {
12538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12539 }
12540 {
12541 if (temp7)
12542 delete arg7;
12543 }
12544 return resultobj;
12545 fail:
12546 {
12547 if (temp7)
12548 delete arg7;
12549 }
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12557 int result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail;
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (int)((wxSpinButton const *)arg1)->GetValue();
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 {
12574 resultobj = SWIG_From_int((int)(result));
12575 }
12576 return resultobj;
12577 fail:
12578 return NULL;
12579 }
12580
12581
12582 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12585 int result;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail;
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (int)((wxSpinButton const *)arg1)->GetMin();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 {
12602 resultobj = SWIG_From_int((int)(result));
12603 }
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12613 int result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (int)((wxSpinButton const *)arg1)->GetMax();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 resultobj = SWIG_From_int((int)(result));
12631 }
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12641 int arg2 ;
12642 PyObject * obj0 = 0 ;
12643 PyObject * obj1 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "val", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail;
12651 {
12652 arg2 = (int)(SWIG_As_int(obj1));
12653 if (SWIG_arg_fail(2)) SWIG_fail;
12654 }
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetValue(arg2);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12672 int arg2 ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "self",(char *) "minVal", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail;
12682 {
12683 arg2 = (int)(SWIG_As_int(obj1));
12684 if (SWIG_arg_fail(2)) SWIG_fail;
12685 }
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->SetMin(arg2);
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12703 int arg2 ;
12704 PyObject * obj0 = 0 ;
12705 PyObject * obj1 = 0 ;
12706 char *kwnames[] = {
12707 (char *) "self",(char *) "maxVal", NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail;
12713 {
12714 arg2 = (int)(SWIG_As_int(obj1));
12715 if (SWIG_arg_fail(2)) SWIG_fail;
12716 }
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 (arg1)->SetMax(arg2);
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 Py_INCREF(Py_None); resultobj = Py_None;
12725 return resultobj;
12726 fail:
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12734 int arg2 ;
12735 int arg3 ;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 PyObject * obj2 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail;
12746 {
12747 arg2 = (int)(SWIG_As_int(obj1));
12748 if (SWIG_arg_fail(2)) SWIG_fail;
12749 }
12750 {
12751 arg3 = (int)(SWIG_As_int(obj2));
12752 if (SWIG_arg_fail(3)) SWIG_fail;
12753 }
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 (arg1)->SetRange(arg2,arg3);
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 Py_INCREF(Py_None); resultobj = Py_None;
12762 return resultobj;
12763 fail:
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12771 bool result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 {
12788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12789 }
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12799 wxVisualAttributes result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "variant", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12806 if (obj0) {
12807 {
12808 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12809 if (SWIG_arg_fail(1)) SWIG_fail;
12810 }
12811 }
12812 {
12813 if (!wxPyCheckForApp()) SWIG_fail;
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 {
12821 wxVisualAttributes * resultptr;
12822 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12824 }
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12832 PyObject *obj;
12833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12834 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12835 Py_INCREF(obj);
12836 return Py_BuildValue((char *)"");
12837 }
12838 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxWindow *arg1 = (wxWindow *) 0 ;
12841 int arg2 = (int) -1 ;
12842 wxString const &arg3_defvalue = wxPyEmptyString ;
12843 wxString *arg3 = (wxString *) &arg3_defvalue ;
12844 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12845 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12846 wxSize const &arg5_defvalue = wxDefaultSize ;
12847 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12848 long arg6 = (long) wxSP_ARROW_KEYS ;
12849 int arg7 = (int) 0 ;
12850 int arg8 = (int) 100 ;
12851 int arg9 = (int) 0 ;
12852 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12853 wxString *arg10 = (wxString *) &arg10_defvalue ;
12854 wxSpinCtrl *result;
12855 bool temp3 = false ;
12856 wxPoint temp4 ;
12857 wxSize temp5 ;
12858 bool temp10 = false ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 PyObject * obj2 = 0 ;
12862 PyObject * obj3 = 0 ;
12863 PyObject * obj4 = 0 ;
12864 PyObject * obj5 = 0 ;
12865 PyObject * obj6 = 0 ;
12866 PyObject * obj7 = 0 ;
12867 PyObject * obj8 = 0 ;
12868 PyObject * obj9 = 0 ;
12869 char *kwnames[] = {
12870 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12871 };
12872
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12875 if (SWIG_arg_fail(1)) SWIG_fail;
12876 if (obj1) {
12877 {
12878 arg2 = (int)(SWIG_As_int(obj1));
12879 if (SWIG_arg_fail(2)) SWIG_fail;
12880 }
12881 }
12882 if (obj2) {
12883 {
12884 arg3 = wxString_in_helper(obj2);
12885 if (arg3 == NULL) SWIG_fail;
12886 temp3 = true;
12887 }
12888 }
12889 if (obj3) {
12890 {
12891 arg4 = &temp4;
12892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12893 }
12894 }
12895 if (obj4) {
12896 {
12897 arg5 = &temp5;
12898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12899 }
12900 }
12901 if (obj5) {
12902 {
12903 arg6 = (long)(SWIG_As_long(obj5));
12904 if (SWIG_arg_fail(6)) SWIG_fail;
12905 }
12906 }
12907 if (obj6) {
12908 {
12909 arg7 = (int)(SWIG_As_int(obj6));
12910 if (SWIG_arg_fail(7)) SWIG_fail;
12911 }
12912 }
12913 if (obj7) {
12914 {
12915 arg8 = (int)(SWIG_As_int(obj7));
12916 if (SWIG_arg_fail(8)) SWIG_fail;
12917 }
12918 }
12919 if (obj8) {
12920 {
12921 arg9 = (int)(SWIG_As_int(obj8));
12922 if (SWIG_arg_fail(9)) SWIG_fail;
12923 }
12924 }
12925 if (obj9) {
12926 {
12927 arg10 = wxString_in_helper(obj9);
12928 if (arg10 == NULL) SWIG_fail;
12929 temp10 = true;
12930 }
12931 }
12932 {
12933 if (!wxPyCheckForApp()) SWIG_fail;
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12941 {
12942 if (temp3)
12943 delete arg3;
12944 }
12945 {
12946 if (temp10)
12947 delete arg10;
12948 }
12949 return resultobj;
12950 fail:
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 {
12956 if (temp10)
12957 delete arg10;
12958 }
12959 return NULL;
12960 }
12961
12962
12963 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxSpinCtrl *result;
12966 char *kwnames[] = {
12967 NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12971 {
12972 if (!wxPyCheckForApp()) SWIG_fail;
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (wxSpinCtrl *)new wxSpinCtrl();
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12989 wxWindow *arg2 = (wxWindow *) 0 ;
12990 int arg3 = (int) -1 ;
12991 wxString const &arg4_defvalue = wxPyEmptyString ;
12992 wxString *arg4 = (wxString *) &arg4_defvalue ;
12993 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12994 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12995 wxSize const &arg6_defvalue = wxDefaultSize ;
12996 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12997 long arg7 = (long) wxSP_ARROW_KEYS ;
12998 int arg8 = (int) 0 ;
12999 int arg9 = (int) 100 ;
13000 int arg10 = (int) 0 ;
13001 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13002 wxString *arg11 = (wxString *) &arg11_defvalue ;
13003 bool result;
13004 bool temp4 = false ;
13005 wxPoint temp5 ;
13006 wxSize temp6 ;
13007 bool temp11 = false ;
13008 PyObject * obj0 = 0 ;
13009 PyObject * obj1 = 0 ;
13010 PyObject * obj2 = 0 ;
13011 PyObject * obj3 = 0 ;
13012 PyObject * obj4 = 0 ;
13013 PyObject * obj5 = 0 ;
13014 PyObject * obj6 = 0 ;
13015 PyObject * obj7 = 0 ;
13016 PyObject * obj8 = 0 ;
13017 PyObject * obj9 = 0 ;
13018 PyObject * obj10 = 0 ;
13019 char *kwnames[] = {
13020 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13021 };
13022
13023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13025 if (SWIG_arg_fail(1)) SWIG_fail;
13026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13027 if (SWIG_arg_fail(2)) SWIG_fail;
13028 if (obj2) {
13029 {
13030 arg3 = (int)(SWIG_As_int(obj2));
13031 if (SWIG_arg_fail(3)) SWIG_fail;
13032 }
13033 }
13034 if (obj3) {
13035 {
13036 arg4 = wxString_in_helper(obj3);
13037 if (arg4 == NULL) SWIG_fail;
13038 temp4 = true;
13039 }
13040 }
13041 if (obj4) {
13042 {
13043 arg5 = &temp5;
13044 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13045 }
13046 }
13047 if (obj5) {
13048 {
13049 arg6 = &temp6;
13050 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13051 }
13052 }
13053 if (obj6) {
13054 {
13055 arg7 = (long)(SWIG_As_long(obj6));
13056 if (SWIG_arg_fail(7)) SWIG_fail;
13057 }
13058 }
13059 if (obj7) {
13060 {
13061 arg8 = (int)(SWIG_As_int(obj7));
13062 if (SWIG_arg_fail(8)) SWIG_fail;
13063 }
13064 }
13065 if (obj8) {
13066 {
13067 arg9 = (int)(SWIG_As_int(obj8));
13068 if (SWIG_arg_fail(9)) SWIG_fail;
13069 }
13070 }
13071 if (obj9) {
13072 {
13073 arg10 = (int)(SWIG_As_int(obj9));
13074 if (SWIG_arg_fail(10)) SWIG_fail;
13075 }
13076 }
13077 if (obj10) {
13078 {
13079 arg11 = wxString_in_helper(obj10);
13080 if (arg11 == NULL) SWIG_fail;
13081 temp11 = true;
13082 }
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 {
13092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13093 }
13094 {
13095 if (temp4)
13096 delete arg4;
13097 }
13098 {
13099 if (temp11)
13100 delete arg11;
13101 }
13102 return resultobj;
13103 fail:
13104 {
13105 if (temp4)
13106 delete arg4;
13107 }
13108 {
13109 if (temp11)
13110 delete arg11;
13111 }
13112 return NULL;
13113 }
13114
13115
13116 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13119 int result;
13120 PyObject * obj0 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 {
13136 resultobj = SWIG_From_int((int)(result));
13137 }
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13147 int arg2 ;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self",(char *) "value", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail;
13157 {
13158 arg2 = (int)(SWIG_As_int(obj1));
13159 if (SWIG_arg_fail(2)) SWIG_fail;
13160 }
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->SetValue(arg2);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 Py_INCREF(Py_None); resultobj = Py_None;
13169 return resultobj;
13170 fail:
13171 return NULL;
13172 }
13173
13174
13175 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13178 wxString *arg2 = 0 ;
13179 bool temp2 = false ;
13180 PyObject * obj0 = 0 ;
13181 PyObject * obj1 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self",(char *) "text", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13188 if (SWIG_arg_fail(1)) SWIG_fail;
13189 {
13190 arg2 = wxString_in_helper(obj1);
13191 if (arg2 == NULL) SWIG_fail;
13192 temp2 = true;
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 (arg1)->SetValue((wxString const &)*arg2);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 Py_INCREF(Py_None); resultobj = Py_None;
13202 {
13203 if (temp2)
13204 delete arg2;
13205 }
13206 return resultobj;
13207 fail:
13208 {
13209 if (temp2)
13210 delete arg2;
13211 }
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13219 int arg2 ;
13220 int arg3 ;
13221 PyObject * obj0 = 0 ;
13222 PyObject * obj1 = 0 ;
13223 PyObject * obj2 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13230 if (SWIG_arg_fail(1)) SWIG_fail;
13231 {
13232 arg2 = (int)(SWIG_As_int(obj1));
13233 if (SWIG_arg_fail(2)) SWIG_fail;
13234 }
13235 {
13236 arg3 = (int)(SWIG_As_int(obj2));
13237 if (SWIG_arg_fail(3)) SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 (arg1)->SetRange(arg2,arg3);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13256 int result;
13257 PyObject * obj0 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail;
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13268
13269 wxPyEndAllowThreads(__tstate);
13270 if (PyErr_Occurred()) SWIG_fail;
13271 }
13272 {
13273 resultobj = SWIG_From_int((int)(result));
13274 }
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13284 int result;
13285 PyObject * obj0 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail;
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13296
13297 wxPyEndAllowThreads(__tstate);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
13300 {
13301 resultobj = SWIG_From_int((int)(result));
13302 }
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13312 long arg2 ;
13313 long arg3 ;
13314 PyObject * obj0 = 0 ;
13315 PyObject * obj1 = 0 ;
13316 PyObject * obj2 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self",(char *) "from",(char *) "to", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail;
13324 {
13325 arg2 = (long)(SWIG_As_long(obj1));
13326 if (SWIG_arg_fail(2)) SWIG_fail;
13327 }
13328 {
13329 arg3 = (long)(SWIG_As_long(obj2));
13330 if (SWIG_arg_fail(3)) SWIG_fail;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->SetSelection(arg2,arg3);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13349 wxVisualAttributes result;
13350 PyObject * obj0 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "variant", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13356 if (obj0) {
13357 {
13358 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13359 if (SWIG_arg_fail(1)) SWIG_fail;
13360 }
13361 }
13362 {
13363 if (!wxPyCheckForApp()) SWIG_fail;
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 {
13371 wxVisualAttributes * resultptr;
13372 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13374 }
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13382 PyObject *obj;
13383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13384 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13385 Py_INCREF(obj);
13386 return Py_BuildValue((char *)"");
13387 }
13388 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13389 PyObject *resultobj;
13390 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13391 int arg2 = (int) 0 ;
13392 wxSpinEvent *result;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "commandType",(char *) "winid", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13400 if (obj0) {
13401 {
13402 arg1 = (wxEventType)(SWIG_As_int(obj0));
13403 if (SWIG_arg_fail(1)) SWIG_fail;
13404 }
13405 }
13406 if (obj1) {
13407 {
13408 arg2 = (int)(SWIG_As_int(obj1));
13409 if (SWIG_arg_fail(2)) SWIG_fail;
13410 }
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13429 int result;
13430 PyObject * obj0 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13437 if (SWIG_arg_fail(1)) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 resultobj = SWIG_From_int((int)(result));
13447 }
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13457 int arg2 ;
13458 PyObject * obj0 = 0 ;
13459 PyObject * obj1 = 0 ;
13460 char *kwnames[] = {
13461 (char *) "self",(char *) "pos", NULL
13462 };
13463
13464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13466 if (SWIG_arg_fail(1)) SWIG_fail;
13467 {
13468 arg2 = (int)(SWIG_As_int(obj1));
13469 if (SWIG_arg_fail(2)) SWIG_fail;
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->SetPosition(arg2);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 Py_INCREF(Py_None); resultobj = Py_None;
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13486 PyObject *obj;
13487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13488 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13489 Py_INCREF(obj);
13490 return Py_BuildValue((char *)"");
13491 }
13492 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13493 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13494 return 1;
13495 }
13496
13497
13498 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13499 PyObject *pyobj;
13500
13501 {
13502 #if wxUSE_UNICODE
13503 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13504 #else
13505 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13506 #endif
13507 }
13508 return pyobj;
13509 }
13510
13511
13512 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13513 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13514 return 1;
13515 }
13516
13517
13518 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13519 PyObject *pyobj;
13520
13521 {
13522 #if wxUSE_UNICODE
13523 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13524 #else
13525 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13526 #endif
13527 }
13528 return pyobj;
13529 }
13530
13531
13532 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxWindow *arg1 = (wxWindow *) 0 ;
13535 int arg2 = (int) -1 ;
13536 wxString const &arg3_defvalue = wxPyEmptyString ;
13537 wxString *arg3 = (wxString *) &arg3_defvalue ;
13538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13540 wxSize const &arg5_defvalue = wxDefaultSize ;
13541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13542 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13543 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13544 int arg7 = (int) 0 ;
13545 long arg8 = (long) wxRA_HORIZONTAL ;
13546 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13547 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13548 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13549 wxString *arg10 = (wxString *) &arg10_defvalue ;
13550 wxRadioBox *result;
13551 bool temp3 = false ;
13552 wxPoint temp4 ;
13553 wxSize temp5 ;
13554 bool temp6 = false ;
13555 bool temp10 = false ;
13556 PyObject * obj0 = 0 ;
13557 PyObject * obj1 = 0 ;
13558 PyObject * obj2 = 0 ;
13559 PyObject * obj3 = 0 ;
13560 PyObject * obj4 = 0 ;
13561 PyObject * obj5 = 0 ;
13562 PyObject * obj6 = 0 ;
13563 PyObject * obj7 = 0 ;
13564 PyObject * obj8 = 0 ;
13565 PyObject * obj9 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail;
13573 if (obj1) {
13574 {
13575 arg2 = (int)(SWIG_As_int(obj1));
13576 if (SWIG_arg_fail(2)) SWIG_fail;
13577 }
13578 }
13579 if (obj2) {
13580 {
13581 arg3 = wxString_in_helper(obj2);
13582 if (arg3 == NULL) SWIG_fail;
13583 temp3 = true;
13584 }
13585 }
13586 if (obj3) {
13587 {
13588 arg4 = &temp4;
13589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13590 }
13591 }
13592 if (obj4) {
13593 {
13594 arg5 = &temp5;
13595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13596 }
13597 }
13598 if (obj5) {
13599 {
13600 if (! PySequence_Check(obj5)) {
13601 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13602 SWIG_fail;
13603 }
13604 arg6 = new wxArrayString;
13605 temp6 = true;
13606 int i, len=PySequence_Length(obj5);
13607 for (i=0; i<len; i++) {
13608 PyObject* item = PySequence_GetItem(obj5, i);
13609 wxString* s = wxString_in_helper(item);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 arg6->Add(*s);
13612 delete s;
13613 Py_DECREF(item);
13614 }
13615 }
13616 }
13617 if (obj6) {
13618 {
13619 arg7 = (int)(SWIG_As_int(obj6));
13620 if (SWIG_arg_fail(7)) SWIG_fail;
13621 }
13622 }
13623 if (obj7) {
13624 {
13625 arg8 = (long)(SWIG_As_long(obj7));
13626 if (SWIG_arg_fail(8)) SWIG_fail;
13627 }
13628 }
13629 if (obj8) {
13630 {
13631 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13632 if (SWIG_arg_fail(9)) SWIG_fail;
13633 if (arg9 == NULL) {
13634 SWIG_null_ref("wxValidator");
13635 }
13636 if (SWIG_arg_fail(9)) SWIG_fail;
13637 }
13638 }
13639 if (obj9) {
13640 {
13641 arg10 = wxString_in_helper(obj9);
13642 if (arg10 == NULL) SWIG_fail;
13643 temp10 = true;
13644 }
13645 }
13646 {
13647 if (!wxPyCheckForApp()) SWIG_fail;
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 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);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13655 {
13656 if (temp3)
13657 delete arg3;
13658 }
13659 {
13660 if (temp6) delete arg6;
13661 }
13662 {
13663 if (temp10)
13664 delete arg10;
13665 }
13666 return resultobj;
13667 fail:
13668 {
13669 if (temp3)
13670 delete arg3;
13671 }
13672 {
13673 if (temp6) delete arg6;
13674 }
13675 {
13676 if (temp10)
13677 delete arg10;
13678 }
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxRadioBox *result;
13686 char *kwnames[] = {
13687 NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13691 {
13692 if (!wxPyCheckForApp()) SWIG_fail;
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 result = (wxRadioBox *)new wxRadioBox();
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13700 return resultobj;
13701 fail:
13702 return NULL;
13703 }
13704
13705
13706 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13707 PyObject *resultobj;
13708 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13709 wxWindow *arg2 = (wxWindow *) 0 ;
13710 int arg3 = (int) -1 ;
13711 wxString const &arg4_defvalue = wxPyEmptyString ;
13712 wxString *arg4 = (wxString *) &arg4_defvalue ;
13713 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13714 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13715 wxSize const &arg6_defvalue = wxDefaultSize ;
13716 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13717 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13718 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13719 int arg8 = (int) 0 ;
13720 long arg9 = (long) wxRA_HORIZONTAL ;
13721 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13722 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13723 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13724 wxString *arg11 = (wxString *) &arg11_defvalue ;
13725 bool result;
13726 bool temp4 = false ;
13727 wxPoint temp5 ;
13728 wxSize temp6 ;
13729 bool temp7 = false ;
13730 bool temp11 = false ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 PyObject * obj3 = 0 ;
13735 PyObject * obj4 = 0 ;
13736 PyObject * obj5 = 0 ;
13737 PyObject * obj6 = 0 ;
13738 PyObject * obj7 = 0 ;
13739 PyObject * obj8 = 0 ;
13740 PyObject * obj9 = 0 ;
13741 PyObject * obj10 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13748 if (SWIG_arg_fail(1)) SWIG_fail;
13749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13750 if (SWIG_arg_fail(2)) SWIG_fail;
13751 if (obj2) {
13752 {
13753 arg3 = (int)(SWIG_As_int(obj2));
13754 if (SWIG_arg_fail(3)) SWIG_fail;
13755 }
13756 }
13757 if (obj3) {
13758 {
13759 arg4 = wxString_in_helper(obj3);
13760 if (arg4 == NULL) SWIG_fail;
13761 temp4 = true;
13762 }
13763 }
13764 if (obj4) {
13765 {
13766 arg5 = &temp5;
13767 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13768 }
13769 }
13770 if (obj5) {
13771 {
13772 arg6 = &temp6;
13773 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13774 }
13775 }
13776 if (obj6) {
13777 {
13778 if (! PySequence_Check(obj6)) {
13779 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13780 SWIG_fail;
13781 }
13782 arg7 = new wxArrayString;
13783 temp7 = true;
13784 int i, len=PySequence_Length(obj6);
13785 for (i=0; i<len; i++) {
13786 PyObject* item = PySequence_GetItem(obj6, i);
13787 wxString* s = wxString_in_helper(item);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 arg7->Add(*s);
13790 delete s;
13791 Py_DECREF(item);
13792 }
13793 }
13794 }
13795 if (obj7) {
13796 {
13797 arg8 = (int)(SWIG_As_int(obj7));
13798 if (SWIG_arg_fail(8)) SWIG_fail;
13799 }
13800 }
13801 if (obj8) {
13802 {
13803 arg9 = (long)(SWIG_As_long(obj8));
13804 if (SWIG_arg_fail(9)) SWIG_fail;
13805 }
13806 }
13807 if (obj9) {
13808 {
13809 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13810 if (SWIG_arg_fail(10)) SWIG_fail;
13811 if (arg10 == NULL) {
13812 SWIG_null_ref("wxValidator");
13813 }
13814 if (SWIG_arg_fail(10)) SWIG_fail;
13815 }
13816 }
13817 if (obj10) {
13818 {
13819 arg11 = wxString_in_helper(obj10);
13820 if (arg11 == NULL) SWIG_fail;
13821 temp11 = true;
13822 }
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 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);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 {
13832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13833 }
13834 {
13835 if (temp4)
13836 delete arg4;
13837 }
13838 {
13839 if (temp7) delete arg7;
13840 }
13841 {
13842 if (temp11)
13843 delete arg11;
13844 }
13845 return resultobj;
13846 fail:
13847 {
13848 if (temp4)
13849 delete arg4;
13850 }
13851 {
13852 if (temp7) delete arg7;
13853 }
13854 {
13855 if (temp11)
13856 delete arg11;
13857 }
13858 return NULL;
13859 }
13860
13861
13862 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13863 PyObject *resultobj;
13864 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13865 int arg2 ;
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self",(char *) "n", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail;
13875 {
13876 arg2 = (int)(SWIG_As_int(obj1));
13877 if (SWIG_arg_fail(2)) SWIG_fail;
13878 }
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 (arg1)->SetSelection(arg2);
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 Py_INCREF(Py_None); resultobj = Py_None;
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13896 int result;
13897 PyObject * obj0 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13904 if (SWIG_arg_fail(1)) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 {
13913 resultobj = SWIG_From_int((int)(result));
13914 }
13915 return resultobj;
13916 fail:
13917 return NULL;
13918 }
13919
13920
13921 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13924 wxString result;
13925 PyObject * obj0 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13932 if (SWIG_arg_fail(1)) SWIG_fail;
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13936
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 {
13941 #if wxUSE_UNICODE
13942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13943 #else
13944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13945 #endif
13946 }
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13956 wxString *arg2 = 0 ;
13957 bool result;
13958 bool temp2 = false ;
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj1 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self",(char *) "s", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail;
13968 {
13969 arg2 = wxString_in_helper(obj1);
13970 if (arg2 == NULL) SWIG_fail;
13971 temp2 = true;
13972 }
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 {
13981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13982 }
13983 {
13984 if (temp2)
13985 delete arg2;
13986 }
13987 return resultobj;
13988 fail:
13989 {
13990 if (temp2)
13991 delete arg2;
13992 }
13993 return NULL;
13994 }
13995
13996
13997 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj;
13999 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14000 int result;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14008 if (SWIG_arg_fail(1)) SWIG_fail;
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (int)((wxRadioBox const *)arg1)->GetCount();
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 {
14017 resultobj = SWIG_From_int((int)(result));
14018 }
14019 return resultobj;
14020 fail:
14021 return NULL;
14022 }
14023
14024
14025 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14028 wxString *arg2 = 0 ;
14029 int result;
14030 bool temp2 = false ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "s", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
14043 temp2 = true;
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 resultobj = SWIG_From_int((int)(result));
14054 }
14055 {
14056 if (temp2)
14057 delete arg2;
14058 }
14059 return resultobj;
14060 fail:
14061 {
14062 if (temp2)
14063 delete arg2;
14064 }
14065 return NULL;
14066 }
14067
14068
14069 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14072 int arg2 ;
14073 wxString result;
14074 PyObject * obj0 = 0 ;
14075 PyObject * obj1 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self",(char *) "n", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14082 if (SWIG_arg_fail(1)) SWIG_fail;
14083 {
14084 arg2 = (int)(SWIG_As_int(obj1));
14085 if (SWIG_arg_fail(2)) SWIG_fail;
14086 }
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 {
14095 #if wxUSE_UNICODE
14096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14097 #else
14098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14099 #endif
14100 }
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14110 int arg2 ;
14111 wxString *arg3 = 0 ;
14112 bool temp3 = false ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 PyObject * obj2 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self",(char *) "n",(char *) "label", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail;
14123 {
14124 arg2 = (int)(SWIG_As_int(obj1));
14125 if (SWIG_arg_fail(2)) SWIG_fail;
14126 }
14127 {
14128 arg3 = wxString_in_helper(obj2);
14129 if (arg3 == NULL) SWIG_fail;
14130 temp3 = true;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->SetString(arg2,(wxString const &)*arg3);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 {
14141 if (temp3)
14142 delete arg3;
14143 }
14144 return resultobj;
14145 fail:
14146 {
14147 if (temp3)
14148 delete arg3;
14149 }
14150 return NULL;
14151 }
14152
14153
14154 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj;
14156 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14157 int arg2 ;
14158 bool arg3 = (bool) true ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 char *kwnames[] = {
14163 (char *) "self",(char *) "n",(char *) "enable", NULL
14164 };
14165
14166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14168 if (SWIG_arg_fail(1)) SWIG_fail;
14169 {
14170 arg2 = (int)(SWIG_As_int(obj1));
14171 if (SWIG_arg_fail(2)) SWIG_fail;
14172 }
14173 if (obj2) {
14174 {
14175 arg3 = (bool)(SWIG_As_bool(obj2));
14176 if (SWIG_arg_fail(3)) SWIG_fail;
14177 }
14178 }
14179 {
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
14181 (arg1)->Enable(arg2,arg3);
14182
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 Py_INCREF(Py_None); resultobj = Py_None;
14187 return resultobj;
14188 fail:
14189 return NULL;
14190 }
14191
14192
14193 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14196 int arg2 ;
14197 bool arg3 = (bool) true ;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 PyObject * obj2 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self",(char *) "n",(char *) "show", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14207 if (SWIG_arg_fail(1)) SWIG_fail;
14208 {
14209 arg2 = (int)(SWIG_As_int(obj1));
14210 if (SWIG_arg_fail(2)) SWIG_fail;
14211 }
14212 if (obj2) {
14213 {
14214 arg3 = (bool)(SWIG_As_bool(obj2));
14215 if (SWIG_arg_fail(3)) SWIG_fail;
14216 }
14217 }
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->Show(arg2,arg3);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229 }
14230
14231
14232 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14235 int result;
14236 PyObject * obj0 = 0 ;
14237 char *kwnames[] = {
14238 (char *) "self", NULL
14239 };
14240
14241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14243 if (SWIG_arg_fail(1)) SWIG_fail;
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14247
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 {
14252 resultobj = SWIG_From_int((int)(result));
14253 }
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14263 int result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14271 if (SWIG_arg_fail(1)) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 {
14280 resultobj = SWIG_From_int((int)(result));
14281 }
14282 return resultobj;
14283 fail:
14284 return NULL;
14285 }
14286
14287
14288 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14291 int arg2 ;
14292 wxDirection arg3 ;
14293 long arg4 ;
14294 int result;
14295 PyObject * obj0 = 0 ;
14296 PyObject * obj1 = 0 ;
14297 PyObject * obj2 = 0 ;
14298 PyObject * obj3 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail;
14306 {
14307 arg2 = (int)(SWIG_As_int(obj1));
14308 if (SWIG_arg_fail(2)) SWIG_fail;
14309 }
14310 {
14311 arg3 = (wxDirection)(SWIG_As_int(obj2));
14312 if (SWIG_arg_fail(3)) SWIG_fail;
14313 }
14314 {
14315 arg4 = (long)(SWIG_As_long(obj3));
14316 if (SWIG_arg_fail(4)) SWIG_fail;
14317 }
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 {
14326 resultobj = SWIG_From_int((int)(result));
14327 }
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14337 wxVisualAttributes result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "variant", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14344 if (obj0) {
14345 {
14346 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14347 if (SWIG_arg_fail(1)) SWIG_fail;
14348 }
14349 }
14350 {
14351 if (!wxPyCheckForApp()) SWIG_fail;
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 {
14359 wxVisualAttributes * resultptr;
14360 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14362 }
14363 return resultobj;
14364 fail:
14365 return NULL;
14366 }
14367
14368
14369 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14370 PyObject *obj;
14371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14372 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14373 Py_INCREF(obj);
14374 return Py_BuildValue((char *)"");
14375 }
14376 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj;
14378 wxWindow *arg1 = (wxWindow *) 0 ;
14379 int arg2 = (int) -1 ;
14380 wxString const &arg3_defvalue = wxPyEmptyString ;
14381 wxString *arg3 = (wxString *) &arg3_defvalue ;
14382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14384 wxSize const &arg5_defvalue = wxDefaultSize ;
14385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14386 long arg6 = (long) 0 ;
14387 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14388 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14389 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14390 wxString *arg8 = (wxString *) &arg8_defvalue ;
14391 wxRadioButton *result;
14392 bool temp3 = false ;
14393 wxPoint temp4 ;
14394 wxSize temp5 ;
14395 bool temp8 = false ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 PyObject * obj3 = 0 ;
14400 PyObject * obj4 = 0 ;
14401 PyObject * obj5 = 0 ;
14402 PyObject * obj6 = 0 ;
14403 PyObject * obj7 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14410 if (SWIG_arg_fail(1)) SWIG_fail;
14411 if (obj1) {
14412 {
14413 arg2 = (int)(SWIG_As_int(obj1));
14414 if (SWIG_arg_fail(2)) SWIG_fail;
14415 }
14416 }
14417 if (obj2) {
14418 {
14419 arg3 = wxString_in_helper(obj2);
14420 if (arg3 == NULL) SWIG_fail;
14421 temp3 = true;
14422 }
14423 }
14424 if (obj3) {
14425 {
14426 arg4 = &temp4;
14427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14428 }
14429 }
14430 if (obj4) {
14431 {
14432 arg5 = &temp5;
14433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14434 }
14435 }
14436 if (obj5) {
14437 {
14438 arg6 = (long)(SWIG_As_long(obj5));
14439 if (SWIG_arg_fail(6)) SWIG_fail;
14440 }
14441 }
14442 if (obj6) {
14443 {
14444 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14445 if (SWIG_arg_fail(7)) SWIG_fail;
14446 if (arg7 == NULL) {
14447 SWIG_null_ref("wxValidator");
14448 }
14449 if (SWIG_arg_fail(7)) SWIG_fail;
14450 }
14451 }
14452 if (obj7) {
14453 {
14454 arg8 = wxString_in_helper(obj7);
14455 if (arg8 == NULL) SWIG_fail;
14456 temp8 = true;
14457 }
14458 }
14459 {
14460 if (!wxPyCheckForApp()) SWIG_fail;
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14468 {
14469 if (temp3)
14470 delete arg3;
14471 }
14472 {
14473 if (temp8)
14474 delete arg8;
14475 }
14476 return resultobj;
14477 fail:
14478 {
14479 if (temp3)
14480 delete arg3;
14481 }
14482 {
14483 if (temp8)
14484 delete arg8;
14485 }
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxRadioButton *result;
14493 char *kwnames[] = {
14494 NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14498 {
14499 if (!wxPyCheckForApp()) SWIG_fail;
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (wxRadioButton *)new wxRadioButton();
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14516 wxWindow *arg2 = (wxWindow *) 0 ;
14517 int arg3 = (int) -1 ;
14518 wxString const &arg4_defvalue = wxPyEmptyString ;
14519 wxString *arg4 = (wxString *) &arg4_defvalue ;
14520 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14521 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14522 wxSize const &arg6_defvalue = wxDefaultSize ;
14523 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14524 long arg7 = (long) 0 ;
14525 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14526 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14527 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14528 wxString *arg9 = (wxString *) &arg9_defvalue ;
14529 bool result;
14530 bool temp4 = false ;
14531 wxPoint temp5 ;
14532 wxSize temp6 ;
14533 bool temp9 = false ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 PyObject * obj2 = 0 ;
14537 PyObject * obj3 = 0 ;
14538 PyObject * obj4 = 0 ;
14539 PyObject * obj5 = 0 ;
14540 PyObject * obj6 = 0 ;
14541 PyObject * obj7 = 0 ;
14542 PyObject * obj8 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail;
14550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14551 if (SWIG_arg_fail(2)) SWIG_fail;
14552 if (obj2) {
14553 {
14554 arg3 = (int)(SWIG_As_int(obj2));
14555 if (SWIG_arg_fail(3)) SWIG_fail;
14556 }
14557 }
14558 if (obj3) {
14559 {
14560 arg4 = wxString_in_helper(obj3);
14561 if (arg4 == NULL) SWIG_fail;
14562 temp4 = true;
14563 }
14564 }
14565 if (obj4) {
14566 {
14567 arg5 = &temp5;
14568 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14569 }
14570 }
14571 if (obj5) {
14572 {
14573 arg6 = &temp6;
14574 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14575 }
14576 }
14577 if (obj6) {
14578 {
14579 arg7 = (long)(SWIG_As_long(obj6));
14580 if (SWIG_arg_fail(7)) SWIG_fail;
14581 }
14582 }
14583 if (obj7) {
14584 {
14585 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14586 if (SWIG_arg_fail(8)) SWIG_fail;
14587 if (arg8 == NULL) {
14588 SWIG_null_ref("wxValidator");
14589 }
14590 if (SWIG_arg_fail(8)) SWIG_fail;
14591 }
14592 }
14593 if (obj8) {
14594 {
14595 arg9 = wxString_in_helper(obj8);
14596 if (arg9 == NULL) SWIG_fail;
14597 temp9 = true;
14598 }
14599 }
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 {
14608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14609 }
14610 {
14611 if (temp4)
14612 delete arg4;
14613 }
14614 {
14615 if (temp9)
14616 delete arg9;
14617 }
14618 return resultobj;
14619 fail:
14620 {
14621 if (temp4)
14622 delete arg4;
14623 }
14624 {
14625 if (temp9)
14626 delete arg9;
14627 }
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14635 bool result;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (bool)(arg1)->GetValue();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14653 }
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14663 bool arg2 ;
14664 PyObject * obj0 = 0 ;
14665 PyObject * obj1 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self",(char *) "value", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14672 if (SWIG_arg_fail(1)) SWIG_fail;
14673 {
14674 arg2 = (bool)(SWIG_As_bool(obj1));
14675 if (SWIG_arg_fail(2)) SWIG_fail;
14676 }
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 (arg1)->SetValue(arg2);
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 Py_INCREF(Py_None); resultobj = Py_None;
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14694 wxVisualAttributes result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "variant", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14701 if (obj0) {
14702 {
14703 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14704 if (SWIG_arg_fail(1)) SWIG_fail;
14705 }
14706 }
14707 {
14708 if (!wxPyCheckForApp()) SWIG_fail;
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716 wxVisualAttributes * resultptr;
14717 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14727 PyObject *obj;
14728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14729 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14730 Py_INCREF(obj);
14731 return Py_BuildValue((char *)"");
14732 }
14733 static int _wrap_SliderNameStr_set(PyObject *) {
14734 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14735 return 1;
14736 }
14737
14738
14739 static PyObject *_wrap_SliderNameStr_get(void) {
14740 PyObject *pyobj;
14741
14742 {
14743 #if wxUSE_UNICODE
14744 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14745 #else
14746 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14747 #endif
14748 }
14749 return pyobj;
14750 }
14751
14752
14753 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxWindow *arg1 = (wxWindow *) 0 ;
14756 int arg2 = (int) -1 ;
14757 int arg3 = (int) 0 ;
14758 int arg4 = (int) 0 ;
14759 int arg5 = (int) 100 ;
14760 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14761 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14762 wxSize const &arg7_defvalue = wxDefaultSize ;
14763 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14764 long arg8 = (long) wxSL_HORIZONTAL ;
14765 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14766 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14767 wxString const &arg10_defvalue = wxPySliderNameStr ;
14768 wxString *arg10 = (wxString *) &arg10_defvalue ;
14769 wxSlider *result;
14770 wxPoint temp6 ;
14771 wxSize temp7 ;
14772 bool temp10 = false ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 PyObject * obj2 = 0 ;
14776 PyObject * obj3 = 0 ;
14777 PyObject * obj4 = 0 ;
14778 PyObject * obj5 = 0 ;
14779 PyObject * obj6 = 0 ;
14780 PyObject * obj7 = 0 ;
14781 PyObject * obj8 = 0 ;
14782 PyObject * obj9 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14789 if (SWIG_arg_fail(1)) SWIG_fail;
14790 if (obj1) {
14791 {
14792 arg2 = (int)(SWIG_As_int(obj1));
14793 if (SWIG_arg_fail(2)) SWIG_fail;
14794 }
14795 }
14796 if (obj2) {
14797 {
14798 arg3 = (int)(SWIG_As_int(obj2));
14799 if (SWIG_arg_fail(3)) SWIG_fail;
14800 }
14801 }
14802 if (obj3) {
14803 {
14804 arg4 = (int)(SWIG_As_int(obj3));
14805 if (SWIG_arg_fail(4)) SWIG_fail;
14806 }
14807 }
14808 if (obj4) {
14809 {
14810 arg5 = (int)(SWIG_As_int(obj4));
14811 if (SWIG_arg_fail(5)) SWIG_fail;
14812 }
14813 }
14814 if (obj5) {
14815 {
14816 arg6 = &temp6;
14817 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14818 }
14819 }
14820 if (obj6) {
14821 {
14822 arg7 = &temp7;
14823 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14824 }
14825 }
14826 if (obj7) {
14827 {
14828 arg8 = (long)(SWIG_As_long(obj7));
14829 if (SWIG_arg_fail(8)) SWIG_fail;
14830 }
14831 }
14832 if (obj8) {
14833 {
14834 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14835 if (SWIG_arg_fail(9)) SWIG_fail;
14836 if (arg9 == NULL) {
14837 SWIG_null_ref("wxValidator");
14838 }
14839 if (SWIG_arg_fail(9)) SWIG_fail;
14840 }
14841 }
14842 if (obj9) {
14843 {
14844 arg10 = wxString_in_helper(obj9);
14845 if (arg10 == NULL) SWIG_fail;
14846 temp10 = true;
14847 }
14848 }
14849 {
14850 if (!wxPyCheckForApp()) SWIG_fail;
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14853
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14858 {
14859 if (temp10)
14860 delete arg10;
14861 }
14862 return resultobj;
14863 fail:
14864 {
14865 if (temp10)
14866 delete arg10;
14867 }
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxSlider *result;
14875 char *kwnames[] = {
14876 NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14880 {
14881 if (!wxPyCheckForApp()) SWIG_fail;
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 result = (wxSlider *)new wxSlider();
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxSlider *arg1 = (wxSlider *) 0 ;
14898 wxWindow *arg2 = (wxWindow *) 0 ;
14899 int arg3 = (int) -1 ;
14900 int arg4 = (int) 0 ;
14901 int arg5 = (int) 0 ;
14902 int arg6 = (int) 100 ;
14903 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14904 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14905 wxSize const &arg8_defvalue = wxDefaultSize ;
14906 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14907 long arg9 = (long) wxSL_HORIZONTAL ;
14908 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14909 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14910 wxString const &arg11_defvalue = wxPySliderNameStr ;
14911 wxString *arg11 = (wxString *) &arg11_defvalue ;
14912 bool result;
14913 wxPoint temp7 ;
14914 wxSize temp8 ;
14915 bool temp11 = false ;
14916 PyObject * obj0 = 0 ;
14917 PyObject * obj1 = 0 ;
14918 PyObject * obj2 = 0 ;
14919 PyObject * obj3 = 0 ;
14920 PyObject * obj4 = 0 ;
14921 PyObject * obj5 = 0 ;
14922 PyObject * obj6 = 0 ;
14923 PyObject * obj7 = 0 ;
14924 PyObject * obj8 = 0 ;
14925 PyObject * obj9 = 0 ;
14926 PyObject * obj10 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14933 if (SWIG_arg_fail(1)) SWIG_fail;
14934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14935 if (SWIG_arg_fail(2)) SWIG_fail;
14936 if (obj2) {
14937 {
14938 arg3 = (int)(SWIG_As_int(obj2));
14939 if (SWIG_arg_fail(3)) SWIG_fail;
14940 }
14941 }
14942 if (obj3) {
14943 {
14944 arg4 = (int)(SWIG_As_int(obj3));
14945 if (SWIG_arg_fail(4)) SWIG_fail;
14946 }
14947 }
14948 if (obj4) {
14949 {
14950 arg5 = (int)(SWIG_As_int(obj4));
14951 if (SWIG_arg_fail(5)) SWIG_fail;
14952 }
14953 }
14954 if (obj5) {
14955 {
14956 arg6 = (int)(SWIG_As_int(obj5));
14957 if (SWIG_arg_fail(6)) SWIG_fail;
14958 }
14959 }
14960 if (obj6) {
14961 {
14962 arg7 = &temp7;
14963 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14964 }
14965 }
14966 if (obj7) {
14967 {
14968 arg8 = &temp8;
14969 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14970 }
14971 }
14972 if (obj8) {
14973 {
14974 arg9 = (long)(SWIG_As_long(obj8));
14975 if (SWIG_arg_fail(9)) SWIG_fail;
14976 }
14977 }
14978 if (obj9) {
14979 {
14980 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14981 if (SWIG_arg_fail(10)) SWIG_fail;
14982 if (arg10 == NULL) {
14983 SWIG_null_ref("wxValidator");
14984 }
14985 if (SWIG_arg_fail(10)) SWIG_fail;
14986 }
14987 }
14988 if (obj10) {
14989 {
14990 arg11 = wxString_in_helper(obj10);
14991 if (arg11 == NULL) SWIG_fail;
14992 temp11 = true;
14993 }
14994 }
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 {
15003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15004 }
15005 {
15006 if (temp11)
15007 delete arg11;
15008 }
15009 return resultobj;
15010 fail:
15011 {
15012 if (temp11)
15013 delete arg11;
15014 }
15015 return NULL;
15016 }
15017
15018
15019 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj;
15021 wxSlider *arg1 = (wxSlider *) 0 ;
15022 int result;
15023 PyObject * obj0 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15030 if (SWIG_arg_fail(1)) SWIG_fail;
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = (int)((wxSlider const *)arg1)->GetValue();
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 {
15039 resultobj = SWIG_From_int((int)(result));
15040 }
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxSlider *arg1 = (wxSlider *) 0 ;
15050 int arg2 ;
15051 PyObject * obj0 = 0 ;
15052 PyObject * obj1 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self",(char *) "value", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15059 if (SWIG_arg_fail(1)) SWIG_fail;
15060 {
15061 arg2 = (int)(SWIG_As_int(obj1));
15062 if (SWIG_arg_fail(2)) SWIG_fail;
15063 }
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 (arg1)->SetValue(arg2);
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 Py_INCREF(Py_None); resultobj = Py_None;
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 wxSlider *arg1 = (wxSlider *) 0 ;
15081 int arg2 ;
15082 int arg3 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
15085 PyObject * obj2 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail;
15093 {
15094 arg2 = (int)(SWIG_As_int(obj1));
15095 if (SWIG_arg_fail(2)) SWIG_fail;
15096 }
15097 {
15098 arg3 = (int)(SWIG_As_int(obj2));
15099 if (SWIG_arg_fail(3)) SWIG_fail;
15100 }
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 (arg1)->SetRange(arg2,arg3);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 Py_INCREF(Py_None); resultobj = Py_None;
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxSlider *arg1 = (wxSlider *) 0 ;
15118 int result;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15126 if (SWIG_arg_fail(1)) SWIG_fail;
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (int)((wxSlider const *)arg1)->GetMin();
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 {
15135 resultobj = SWIG_From_int((int)(result));
15136 }
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxSlider *arg1 = (wxSlider *) 0 ;
15146 int result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (int)((wxSlider const *)arg1)->GetMax();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
15163 resultobj = SWIG_From_int((int)(result));
15164 }
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxSlider *arg1 = (wxSlider *) 0 ;
15174 int arg2 ;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self",(char *) "minValue", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail;
15184 {
15185 arg2 = (int)(SWIG_As_int(obj1));
15186 if (SWIG_arg_fail(2)) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->SetMin(arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxSlider *arg1 = (wxSlider *) 0 ;
15205 int arg2 ;
15206 PyObject * obj0 = 0 ;
15207 PyObject * obj1 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self",(char *) "maxValue", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail;
15215 {
15216 arg2 = (int)(SWIG_As_int(obj1));
15217 if (SWIG_arg_fail(2)) SWIG_fail;
15218 }
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 (arg1)->SetMax(arg2);
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 Py_INCREF(Py_None); resultobj = Py_None;
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxSlider *arg1 = (wxSlider *) 0 ;
15236 int arg2 ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self",(char *) "lineSize", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15245 if (SWIG_arg_fail(1)) SWIG_fail;
15246 {
15247 arg2 = (int)(SWIG_As_int(obj1));
15248 if (SWIG_arg_fail(2)) SWIG_fail;
15249 }
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 (arg1)->SetLineSize(arg2);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 Py_INCREF(Py_None); resultobj = Py_None;
15258 return resultobj;
15259 fail:
15260 return NULL;
15261 }
15262
15263
15264 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15265 PyObject *resultobj;
15266 wxSlider *arg1 = (wxSlider *) 0 ;
15267 int arg2 ;
15268 PyObject * obj0 = 0 ;
15269 PyObject * obj1 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self",(char *) "pageSize", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail;
15277 {
15278 arg2 = (int)(SWIG_As_int(obj1));
15279 if (SWIG_arg_fail(2)) SWIG_fail;
15280 }
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 (arg1)->SetPageSize(arg2);
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 Py_INCREF(Py_None); resultobj = Py_None;
15289 return resultobj;
15290 fail:
15291 return NULL;
15292 }
15293
15294
15295 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 wxSlider *arg1 = (wxSlider *) 0 ;
15298 int result;
15299 PyObject * obj0 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15306 if (SWIG_arg_fail(1)) SWIG_fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (int)((wxSlider const *)arg1)->GetLineSize();
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 resultobj = SWIG_From_int((int)(result));
15316 }
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxSlider *arg1 = (wxSlider *) 0 ;
15326 int result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (int)((wxSlider const *)arg1)->GetPageSize();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 resultobj = SWIG_From_int((int)(result));
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxSlider *arg1 = (wxSlider *) 0 ;
15354 int arg2 ;
15355 PyObject * obj0 = 0 ;
15356 PyObject * obj1 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self",(char *) "lenPixels", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15363 if (SWIG_arg_fail(1)) SWIG_fail;
15364 {
15365 arg2 = (int)(SWIG_As_int(obj1));
15366 if (SWIG_arg_fail(2)) SWIG_fail;
15367 }
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->SetThumbLength(arg2);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 return resultobj;
15377 fail:
15378 return NULL;
15379 }
15380
15381
15382 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15383 PyObject *resultobj;
15384 wxSlider *arg1 = (wxSlider *) 0 ;
15385 int result;
15386 PyObject * obj0 = 0 ;
15387 char *kwnames[] = {
15388 (char *) "self", NULL
15389 };
15390
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15393 if (SWIG_arg_fail(1)) SWIG_fail;
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 {
15402 resultobj = SWIG_From_int((int)(result));
15403 }
15404 return resultobj;
15405 fail:
15406 return NULL;
15407 }
15408
15409
15410 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxSlider *arg1 = (wxSlider *) 0 ;
15413 int arg2 ;
15414 int arg3 = (int) 1 ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 PyObject * obj2 = 0 ;
15418 char *kwnames[] = {
15419 (char *) "self",(char *) "n",(char *) "pos", NULL
15420 };
15421
15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail;
15425 {
15426 arg2 = (int)(SWIG_As_int(obj1));
15427 if (SWIG_arg_fail(2)) SWIG_fail;
15428 }
15429 if (obj2) {
15430 {
15431 arg3 = (int)(SWIG_As_int(obj2));
15432 if (SWIG_arg_fail(3)) SWIG_fail;
15433 }
15434 }
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->SetTickFreq(arg2,arg3);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxSlider *arg1 = (wxSlider *) 0 ;
15452 int result;
15453 PyObject * obj0 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail;
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 {
15469 resultobj = SWIG_From_int((int)(result));
15470 }
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxSlider *arg1 = (wxSlider *) 0 ;
15480 PyObject * obj0 = 0 ;
15481 char *kwnames[] = {
15482 (char *) "self", NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15487 if (SWIG_arg_fail(1)) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->ClearTicks();
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxSlider *arg1 = (wxSlider *) 0 ;
15505 int arg2 ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self",(char *) "tickPos", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15514 if (SWIG_arg_fail(1)) SWIG_fail;
15515 {
15516 arg2 = (int)(SWIG_As_int(obj1));
15517 if (SWIG_arg_fail(2)) SWIG_fail;
15518 }
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->SetTick(arg2);
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 Py_INCREF(Py_None); resultobj = Py_None;
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxSlider *arg1 = (wxSlider *) 0 ;
15536 PyObject * obj0 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 (arg1)->ClearSel();
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 Py_INCREF(Py_None); resultobj = Py_None;
15552 return resultobj;
15553 fail:
15554 return NULL;
15555 }
15556
15557
15558 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15559 PyObject *resultobj;
15560 wxSlider *arg1 = (wxSlider *) 0 ;
15561 int result;
15562 PyObject * obj0 = 0 ;
15563 char *kwnames[] = {
15564 (char *) "self", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15569 if (SWIG_arg_fail(1)) SWIG_fail;
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 {
15578 resultobj = SWIG_From_int((int)(result));
15579 }
15580 return resultobj;
15581 fail:
15582 return NULL;
15583 }
15584
15585
15586 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15587 PyObject *resultobj;
15588 wxSlider *arg1 = (wxSlider *) 0 ;
15589 int result;
15590 PyObject * obj0 = 0 ;
15591 char *kwnames[] = {
15592 (char *) "self", NULL
15593 };
15594
15595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail;
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (int)((wxSlider const *)arg1)->GetSelStart();
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 {
15606 resultobj = SWIG_From_int((int)(result));
15607 }
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxSlider *arg1 = (wxSlider *) 0 ;
15617 int arg2 ;
15618 int arg3 ;
15619 PyObject * obj0 = 0 ;
15620 PyObject * obj1 = 0 ;
15621 PyObject * obj2 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "self",(char *) "min",(char *) "max", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15628 if (SWIG_arg_fail(1)) SWIG_fail;
15629 {
15630 arg2 = (int)(SWIG_As_int(obj1));
15631 if (SWIG_arg_fail(2)) SWIG_fail;
15632 }
15633 {
15634 arg3 = (int)(SWIG_As_int(obj2));
15635 if (SWIG_arg_fail(3)) SWIG_fail;
15636 }
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetSelection(arg2,arg3);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15654 wxVisualAttributes result;
15655 PyObject * obj0 = 0 ;
15656 char *kwnames[] = {
15657 (char *) "variant", NULL
15658 };
15659
15660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15661 if (obj0) {
15662 {
15663 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15664 if (SWIG_arg_fail(1)) SWIG_fail;
15665 }
15666 }
15667 {
15668 if (!wxPyCheckForApp()) SWIG_fail;
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
15676 wxVisualAttributes * resultptr;
15677 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15679 }
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15687 PyObject *obj;
15688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15689 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15690 Py_INCREF(obj);
15691 return Py_BuildValue((char *)"");
15692 }
15693 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15694 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15695 return 1;
15696 }
15697
15698
15699 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15700 PyObject *pyobj;
15701
15702 {
15703 #if wxUSE_UNICODE
15704 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15705 #else
15706 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15707 #endif
15708 }
15709 return pyobj;
15710 }
15711
15712
15713 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxWindow *arg1 = (wxWindow *) 0 ;
15716 int arg2 = (int) -1 ;
15717 wxString const &arg3_defvalue = wxPyEmptyString ;
15718 wxString *arg3 = (wxString *) &arg3_defvalue ;
15719 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15720 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15721 wxSize const &arg5_defvalue = wxDefaultSize ;
15722 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15723 long arg6 = (long) 0 ;
15724 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15725 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15726 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15727 wxString *arg8 = (wxString *) &arg8_defvalue ;
15728 wxToggleButton *result;
15729 bool temp3 = false ;
15730 wxPoint temp4 ;
15731 wxSize temp5 ;
15732 bool temp8 = false ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
15736 PyObject * obj3 = 0 ;
15737 PyObject * obj4 = 0 ;
15738 PyObject * obj5 = 0 ;
15739 PyObject * obj6 = 0 ;
15740 PyObject * obj7 = 0 ;
15741 char *kwnames[] = {
15742 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15747 if (SWIG_arg_fail(1)) SWIG_fail;
15748 if (obj1) {
15749 {
15750 arg2 = (int)(SWIG_As_int(obj1));
15751 if (SWIG_arg_fail(2)) SWIG_fail;
15752 }
15753 }
15754 if (obj2) {
15755 {
15756 arg3 = wxString_in_helper(obj2);
15757 if (arg3 == NULL) SWIG_fail;
15758 temp3 = true;
15759 }
15760 }
15761 if (obj3) {
15762 {
15763 arg4 = &temp4;
15764 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15765 }
15766 }
15767 if (obj4) {
15768 {
15769 arg5 = &temp5;
15770 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15771 }
15772 }
15773 if (obj5) {
15774 {
15775 arg6 = (long)(SWIG_As_long(obj5));
15776 if (SWIG_arg_fail(6)) SWIG_fail;
15777 }
15778 }
15779 if (obj6) {
15780 {
15781 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15782 if (SWIG_arg_fail(7)) SWIG_fail;
15783 if (arg7 == NULL) {
15784 SWIG_null_ref("wxValidator");
15785 }
15786 if (SWIG_arg_fail(7)) SWIG_fail;
15787 }
15788 }
15789 if (obj7) {
15790 {
15791 arg8 = wxString_in_helper(obj7);
15792 if (arg8 == NULL) SWIG_fail;
15793 temp8 = true;
15794 }
15795 }
15796 {
15797 if (!wxPyCheckForApp()) SWIG_fail;
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15805 {
15806 if (temp3)
15807 delete arg3;
15808 }
15809 {
15810 if (temp8)
15811 delete arg8;
15812 }
15813 return resultobj;
15814 fail:
15815 {
15816 if (temp3)
15817 delete arg3;
15818 }
15819 {
15820 if (temp8)
15821 delete arg8;
15822 }
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxToggleButton *result;
15830 char *kwnames[] = {
15831 NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15835 {
15836 if (!wxPyCheckForApp()) SWIG_fail;
15837 PyThreadState* __tstate = wxPyBeginAllowThreads();
15838 result = (wxToggleButton *)new wxToggleButton();
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15853 wxWindow *arg2 = (wxWindow *) 0 ;
15854 int arg3 = (int) -1 ;
15855 wxString const &arg4_defvalue = wxPyEmptyString ;
15856 wxString *arg4 = (wxString *) &arg4_defvalue ;
15857 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15858 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15859 wxSize const &arg6_defvalue = wxDefaultSize ;
15860 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15861 long arg7 = (long) 0 ;
15862 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15863 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15864 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15865 wxString *arg9 = (wxString *) &arg9_defvalue ;
15866 bool result;
15867 bool temp4 = false ;
15868 wxPoint temp5 ;
15869 wxSize temp6 ;
15870 bool temp9 = false ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 PyObject * obj2 = 0 ;
15874 PyObject * obj3 = 0 ;
15875 PyObject * obj4 = 0 ;
15876 PyObject * obj5 = 0 ;
15877 PyObject * obj6 = 0 ;
15878 PyObject * obj7 = 0 ;
15879 PyObject * obj8 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail;
15887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15888 if (SWIG_arg_fail(2)) SWIG_fail;
15889 if (obj2) {
15890 {
15891 arg3 = (int)(SWIG_As_int(obj2));
15892 if (SWIG_arg_fail(3)) SWIG_fail;
15893 }
15894 }
15895 if (obj3) {
15896 {
15897 arg4 = wxString_in_helper(obj3);
15898 if (arg4 == NULL) SWIG_fail;
15899 temp4 = true;
15900 }
15901 }
15902 if (obj4) {
15903 {
15904 arg5 = &temp5;
15905 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15906 }
15907 }
15908 if (obj5) {
15909 {
15910 arg6 = &temp6;
15911 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15912 }
15913 }
15914 if (obj6) {
15915 {
15916 arg7 = (long)(SWIG_As_long(obj6));
15917 if (SWIG_arg_fail(7)) SWIG_fail;
15918 }
15919 }
15920 if (obj7) {
15921 {
15922 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15923 if (SWIG_arg_fail(8)) SWIG_fail;
15924 if (arg8 == NULL) {
15925 SWIG_null_ref("wxValidator");
15926 }
15927 if (SWIG_arg_fail(8)) SWIG_fail;
15928 }
15929 }
15930 if (obj8) {
15931 {
15932 arg9 = wxString_in_helper(obj8);
15933 if (arg9 == NULL) SWIG_fail;
15934 temp9 = true;
15935 }
15936 }
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15946 }
15947 {
15948 if (temp4)
15949 delete arg4;
15950 }
15951 {
15952 if (temp9)
15953 delete arg9;
15954 }
15955 return resultobj;
15956 fail:
15957 {
15958 if (temp4)
15959 delete arg4;
15960 }
15961 {
15962 if (temp9)
15963 delete arg9;
15964 }
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15972 bool arg2 ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "value", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
15982 {
15983 arg2 = (bool)(SWIG_As_bool(obj1));
15984 if (SWIG_arg_fail(2)) SWIG_fail;
15985 }
15986 {
15987 PyThreadState* __tstate = wxPyBeginAllowThreads();
15988 (arg1)->SetValue(arg2);
15989
15990 wxPyEndAllowThreads(__tstate);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 }
15993 Py_INCREF(Py_None); resultobj = Py_None;
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16003 bool result;
16004 PyObject * obj0 = 0 ;
16005 char *kwnames[] = {
16006 (char *) "self", NULL
16007 };
16008
16009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16011 if (SWIG_arg_fail(1)) SWIG_fail;
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16015
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 {
16020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16021 }
16022 return resultobj;
16023 fail:
16024 return NULL;
16025 }
16026
16027
16028 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16031 wxString *arg2 = 0 ;
16032 bool temp2 = false ;
16033 PyObject * obj0 = 0 ;
16034 PyObject * obj1 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self",(char *) "label", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16041 if (SWIG_arg_fail(1)) SWIG_fail;
16042 {
16043 arg2 = wxString_in_helper(obj1);
16044 if (arg2 == NULL) SWIG_fail;
16045 temp2 = true;
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->SetLabel((wxString const &)*arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 Py_INCREF(Py_None); resultobj = Py_None;
16055 {
16056 if (temp2)
16057 delete arg2;
16058 }
16059 return resultobj;
16060 fail:
16061 {
16062 if (temp2)
16063 delete arg2;
16064 }
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16072 wxVisualAttributes result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "variant", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16079 if (obj0) {
16080 {
16081 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16082 if (SWIG_arg_fail(1)) SWIG_fail;
16083 }
16084 }
16085 {
16086 if (!wxPyCheckForApp()) SWIG_fail;
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 {
16094 wxVisualAttributes * resultptr;
16095 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16097 }
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16105 PyObject *obj;
16106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16107 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16108 Py_INCREF(obj);
16109 return Py_BuildValue((char *)"");
16110 }
16111 static int _wrap_NotebookNameStr_set(PyObject *) {
16112 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16113 return 1;
16114 }
16115
16116
16117 static PyObject *_wrap_NotebookNameStr_get(void) {
16118 PyObject *pyobj;
16119
16120 {
16121 #if wxUSE_UNICODE
16122 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16123 #else
16124 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16125 #endif
16126 }
16127 return pyobj;
16128 }
16129
16130
16131 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16134 size_t result;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16152 }
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16162 size_t arg2 ;
16163 wxWindow *result;
16164 PyObject * obj0 = 0 ;
16165 PyObject * obj1 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self",(char *) "n", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail;
16173 {
16174 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16175 if (SWIG_arg_fail(2)) SWIG_fail;
16176 }
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (wxWindow *)(arg1)->GetPage(arg2);
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 {
16185 resultobj = wxPyMake_wxObject(result, 0);
16186 }
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16196 wxWindow *result;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 {
16213 resultobj = wxPyMake_wxObject(result, 0);
16214 }
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj;
16223 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16224 int result;
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16232 if (SWIG_arg_fail(1)) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 resultobj = SWIG_From_int((int)(result));
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16252 size_t arg2 ;
16253 wxString *arg3 = 0 ;
16254 bool result;
16255 bool temp3 = false ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 PyObject * obj2 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self",(char *) "n",(char *) "strText", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail;
16266 {
16267 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16268 if (SWIG_arg_fail(2)) SWIG_fail;
16269 }
16270 {
16271 arg3 = wxString_in_helper(obj2);
16272 if (arg3 == NULL) SWIG_fail;
16273 temp3 = true;
16274 }
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 {
16283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16284 }
16285 {
16286 if (temp3)
16287 delete arg3;
16288 }
16289 return resultobj;
16290 fail:
16291 {
16292 if (temp3)
16293 delete arg3;
16294 }
16295 return NULL;
16296 }
16297
16298
16299 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16302 size_t arg2 ;
16303 wxString result;
16304 PyObject * obj0 = 0 ;
16305 PyObject * obj1 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self",(char *) "n", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16312 if (SWIG_arg_fail(1)) SWIG_fail;
16313 {
16314 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16315 if (SWIG_arg_fail(2)) SWIG_fail;
16316 }
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 {
16325 #if wxUSE_UNICODE
16326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16327 #else
16328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16329 #endif
16330 }
16331 return resultobj;
16332 fail:
16333 return NULL;
16334 }
16335
16336
16337 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16340 wxImageList *arg2 = (wxImageList *) 0 ;
16341 PyObject * obj0 = 0 ;
16342 PyObject * obj1 = 0 ;
16343 char *kwnames[] = {
16344 (char *) "self",(char *) "imageList", NULL
16345 };
16346
16347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail;
16350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16351 if (SWIG_arg_fail(2)) SWIG_fail;
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 (arg1)->SetImageList(arg2);
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 Py_INCREF(Py_None); resultobj = Py_None;
16360 return resultobj;
16361 fail:
16362 return NULL;
16363 }
16364
16365
16366 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj;
16368 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16369 wxImageList *arg2 = (wxImageList *) 0 ;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "imageList", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail;
16379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16380 if (SWIG_arg_fail(2)) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 (arg1)->AssignImageList(arg2);
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 Py_INCREF(Py_None); resultobj = Py_None;
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16398 wxImageList *result;
16399 PyObject * obj0 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail;
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 {
16415 resultobj = wxPyMake_wxObject(result, 0);
16416 }
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16426 size_t arg2 ;
16427 int result;
16428 PyObject * obj0 = 0 ;
16429 PyObject * obj1 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self",(char *) "n", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail;
16437 {
16438 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16439 if (SWIG_arg_fail(2)) SWIG_fail;
16440 }
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 {
16449 resultobj = SWIG_From_int((int)(result));
16450 }
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj;
16459 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16460 size_t arg2 ;
16461 int arg3 ;
16462 bool result;
16463 PyObject * obj0 = 0 ;
16464 PyObject * obj1 = 0 ;
16465 PyObject * obj2 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self",(char *) "n",(char *) "imageId", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail;
16473 {
16474 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16475 if (SWIG_arg_fail(2)) SWIG_fail;
16476 }
16477 {
16478 arg3 = (int)(SWIG_As_int(obj2));
16479 if (SWIG_arg_fail(3)) SWIG_fail;
16480 }
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16500 wxSize *arg2 = 0 ;
16501 wxSize temp2 ;
16502 PyObject * obj0 = 0 ;
16503 PyObject * obj1 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self",(char *) "size", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail;
16511 {
16512 arg2 = &temp2;
16513 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16514 }
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetPageSize((wxSize const &)*arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16532 wxSize *arg2 = 0 ;
16533 wxSize result;
16534 wxSize temp2 ;
16535 PyObject * obj0 = 0 ;
16536 PyObject * obj1 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self",(char *) "sizePage", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16543 if (SWIG_arg_fail(1)) SWIG_fail;
16544 {
16545 arg2 = &temp2;
16546 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16547 }
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 wxSize * resultptr;
16557 resultptr = new wxSize((wxSize &)(result));
16558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16559 }
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16569 size_t arg2 ;
16570 bool result;
16571 PyObject * obj0 = 0 ;
16572 PyObject * obj1 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self",(char *) "n", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16579 if (SWIG_arg_fail(1)) SWIG_fail;
16580 {
16581 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16582 if (SWIG_arg_fail(2)) SWIG_fail;
16583 }
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (bool)(arg1)->DeletePage(arg2);
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 {
16592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16593 }
16594 return resultobj;
16595 fail:
16596 return NULL;
16597 }
16598
16599
16600 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16601 PyObject *resultobj;
16602 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16603 size_t arg2 ;
16604 bool result;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "n", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail;
16614 {
16615 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16616 if (SWIG_arg_fail(2)) SWIG_fail;
16617 }
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (bool)(arg1)->RemovePage(arg2);
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 {
16626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16627 }
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16637 bool result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16645 if (SWIG_arg_fail(1)) SWIG_fail;
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = (bool)(arg1)->DeleteAllPages();
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16655 }
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16665 wxWindow *arg2 = (wxWindow *) 0 ;
16666 wxString *arg3 = 0 ;
16667 bool arg4 = (bool) false ;
16668 int arg5 = (int) -1 ;
16669 bool result;
16670 bool temp3 = false ;
16671 PyObject * obj0 = 0 ;
16672 PyObject * obj1 = 0 ;
16673 PyObject * obj2 = 0 ;
16674 PyObject * obj3 = 0 ;
16675 PyObject * obj4 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail;
16683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16684 if (SWIG_arg_fail(2)) SWIG_fail;
16685 {
16686 arg3 = wxString_in_helper(obj2);
16687 if (arg3 == NULL) SWIG_fail;
16688 temp3 = true;
16689 }
16690 if (obj3) {
16691 {
16692 arg4 = (bool)(SWIG_As_bool(obj3));
16693 if (SWIG_arg_fail(4)) SWIG_fail;
16694 }
16695 }
16696 if (obj4) {
16697 {
16698 arg5 = (int)(SWIG_As_int(obj4));
16699 if (SWIG_arg_fail(5)) SWIG_fail;
16700 }
16701 }
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16711 }
16712 {
16713 if (temp3)
16714 delete arg3;
16715 }
16716 return resultobj;
16717 fail:
16718 {
16719 if (temp3)
16720 delete arg3;
16721 }
16722 return NULL;
16723 }
16724
16725
16726 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16729 size_t arg2 ;
16730 wxWindow *arg3 = (wxWindow *) 0 ;
16731 wxString *arg4 = 0 ;
16732 bool arg5 = (bool) false ;
16733 int arg6 = (int) -1 ;
16734 bool result;
16735 bool temp4 = false ;
16736 PyObject * obj0 = 0 ;
16737 PyObject * obj1 = 0 ;
16738 PyObject * obj2 = 0 ;
16739 PyObject * obj3 = 0 ;
16740 PyObject * obj4 = 0 ;
16741 PyObject * obj5 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16748 if (SWIG_arg_fail(1)) SWIG_fail;
16749 {
16750 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16751 if (SWIG_arg_fail(2)) SWIG_fail;
16752 }
16753 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16754 if (SWIG_arg_fail(3)) SWIG_fail;
16755 {
16756 arg4 = wxString_in_helper(obj3);
16757 if (arg4 == NULL) SWIG_fail;
16758 temp4 = true;
16759 }
16760 if (obj4) {
16761 {
16762 arg5 = (bool)(SWIG_As_bool(obj4));
16763 if (SWIG_arg_fail(5)) SWIG_fail;
16764 }
16765 }
16766 if (obj5) {
16767 {
16768 arg6 = (int)(SWIG_As_int(obj5));
16769 if (SWIG_arg_fail(6)) SWIG_fail;
16770 }
16771 }
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16775
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 {
16780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16781 }
16782 {
16783 if (temp4)
16784 delete arg4;
16785 }
16786 return resultobj;
16787 fail:
16788 {
16789 if (temp4)
16790 delete arg4;
16791 }
16792 return NULL;
16793 }
16794
16795
16796 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj;
16798 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16799 size_t arg2 ;
16800 int result;
16801 PyObject * obj0 = 0 ;
16802 PyObject * obj1 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "n", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16809 if (SWIG_arg_fail(1)) SWIG_fail;
16810 {
16811 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16812 if (SWIG_arg_fail(2)) SWIG_fail;
16813 }
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 result = (int)(arg1)->SetSelection(arg2);
16817
16818 wxPyEndAllowThreads(__tstate);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 {
16822 resultobj = SWIG_From_int((int)(result));
16823 }
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16833 bool arg2 = (bool) true ;
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "forward", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16842 if (SWIG_arg_fail(1)) SWIG_fail;
16843 if (obj1) {
16844 {
16845 arg2 = (bool)(SWIG_As_bool(obj1));
16846 if (SWIG_arg_fail(2)) SWIG_fail;
16847 }
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->AdvanceSelection(arg2);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16866 wxVisualAttributes result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "variant", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16873 if (obj0) {
16874 {
16875 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16876 if (SWIG_arg_fail(1)) SWIG_fail;
16877 }
16878 }
16879 {
16880 if (!wxPyCheckForApp()) SWIG_fail;
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 {
16888 wxVisualAttributes * resultptr;
16889 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16899 PyObject *obj;
16900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16901 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16902 Py_INCREF(obj);
16903 return Py_BuildValue((char *)"");
16904 }
16905 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16908 int arg2 = (int) 0 ;
16909 int arg3 = (int) -1 ;
16910 int arg4 = (int) -1 ;
16911 wxBookCtrlBaseEvent *result;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 PyObject * obj3 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16921 if (obj0) {
16922 {
16923 arg1 = (wxEventType)(SWIG_As_int(obj0));
16924 if (SWIG_arg_fail(1)) SWIG_fail;
16925 }
16926 }
16927 if (obj1) {
16928 {
16929 arg2 = (int)(SWIG_As_int(obj1));
16930 if (SWIG_arg_fail(2)) SWIG_fail;
16931 }
16932 }
16933 if (obj2) {
16934 {
16935 arg3 = (int)(SWIG_As_int(obj2));
16936 if (SWIG_arg_fail(3)) SWIG_fail;
16937 }
16938 }
16939 if (obj3) {
16940 {
16941 arg4 = (int)(SWIG_As_int(obj3));
16942 if (SWIG_arg_fail(4)) SWIG_fail;
16943 }
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16948
16949 wxPyEndAllowThreads(__tstate);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
16952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16953 return resultobj;
16954 fail:
16955 return NULL;
16956 }
16957
16958
16959 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj;
16961 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16962 int result;
16963 PyObject * obj0 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16970 if (SWIG_arg_fail(1)) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 {
16979 resultobj = SWIG_From_int((int)(result));
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16990 int arg2 ;
16991 PyObject * obj0 = 0 ;
16992 PyObject * obj1 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "nSel", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail;
17000 {
17001 arg2 = (int)(SWIG_As_int(obj1));
17002 if (SWIG_arg_fail(2)) SWIG_fail;
17003 }
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->SetSelection(arg2);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17021 int result;
17022 PyObject * obj0 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "self", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail;
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 {
17038 resultobj = SWIG_From_int((int)(result));
17039 }
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17049 int arg2 ;
17050 PyObject * obj0 = 0 ;
17051 PyObject * obj1 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self",(char *) "nOldSel", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17058 if (SWIG_arg_fail(1)) SWIG_fail;
17059 {
17060 arg2 = (int)(SWIG_As_int(obj1));
17061 if (SWIG_arg_fail(2)) SWIG_fail;
17062 }
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 (arg1)->SetOldSelection(arg2);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 Py_INCREF(Py_None); resultobj = Py_None;
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17078 PyObject *obj;
17079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17080 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17081 Py_INCREF(obj);
17082 return Py_BuildValue((char *)"");
17083 }
17084 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxWindow *arg1 = (wxWindow *) 0 ;
17087 int arg2 = (int) -1 ;
17088 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17089 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17090 wxSize const &arg4_defvalue = wxDefaultSize ;
17091 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17092 long arg5 = (long) 0 ;
17093 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17094 wxString *arg6 = (wxString *) &arg6_defvalue ;
17095 wxNotebook *result;
17096 wxPoint temp3 ;
17097 wxSize temp4 ;
17098 bool temp6 = false ;
17099 PyObject * obj0 = 0 ;
17100 PyObject * obj1 = 0 ;
17101 PyObject * obj2 = 0 ;
17102 PyObject * obj3 = 0 ;
17103 PyObject * obj4 = 0 ;
17104 PyObject * obj5 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail;
17112 if (obj1) {
17113 {
17114 arg2 = (int)(SWIG_As_int(obj1));
17115 if (SWIG_arg_fail(2)) SWIG_fail;
17116 }
17117 }
17118 if (obj2) {
17119 {
17120 arg3 = &temp3;
17121 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17122 }
17123 }
17124 if (obj3) {
17125 {
17126 arg4 = &temp4;
17127 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17128 }
17129 }
17130 if (obj4) {
17131 {
17132 arg5 = (long)(SWIG_As_long(obj4));
17133 if (SWIG_arg_fail(5)) SWIG_fail;
17134 }
17135 }
17136 if (obj5) {
17137 {
17138 arg6 = wxString_in_helper(obj5);
17139 if (arg6 == NULL) SWIG_fail;
17140 temp6 = true;
17141 }
17142 }
17143 {
17144 if (!wxPyCheckForApp()) SWIG_fail;
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17152 {
17153 if (temp6)
17154 delete arg6;
17155 }
17156 return resultobj;
17157 fail:
17158 {
17159 if (temp6)
17160 delete arg6;
17161 }
17162 return NULL;
17163 }
17164
17165
17166 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxNotebook *result;
17169 char *kwnames[] = {
17170 NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17174 {
17175 if (!wxPyCheckForApp()) SWIG_fail;
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = (wxNotebook *)new wxNotebook();
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxNotebook *arg1 = (wxNotebook *) 0 ;
17192 wxWindow *arg2 = (wxWindow *) 0 ;
17193 int arg3 = (int) -1 ;
17194 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17195 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17196 wxSize const &arg5_defvalue = wxDefaultSize ;
17197 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17198 long arg6 = (long) 0 ;
17199 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17200 wxString *arg7 = (wxString *) &arg7_defvalue ;
17201 bool result;
17202 wxPoint temp4 ;
17203 wxSize temp5 ;
17204 bool temp7 = false ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 PyObject * obj2 = 0 ;
17208 PyObject * obj3 = 0 ;
17209 PyObject * obj4 = 0 ;
17210 PyObject * obj5 = 0 ;
17211 PyObject * obj6 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17218 if (SWIG_arg_fail(1)) SWIG_fail;
17219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17220 if (SWIG_arg_fail(2)) SWIG_fail;
17221 if (obj2) {
17222 {
17223 arg3 = (int)(SWIG_As_int(obj2));
17224 if (SWIG_arg_fail(3)) SWIG_fail;
17225 }
17226 }
17227 if (obj3) {
17228 {
17229 arg4 = &temp4;
17230 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17231 }
17232 }
17233 if (obj4) {
17234 {
17235 arg5 = &temp5;
17236 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17237 }
17238 }
17239 if (obj5) {
17240 {
17241 arg6 = (long)(SWIG_As_long(obj5));
17242 if (SWIG_arg_fail(6)) SWIG_fail;
17243 }
17244 }
17245 if (obj6) {
17246 {
17247 arg7 = wxString_in_helper(obj6);
17248 if (arg7 == NULL) SWIG_fail;
17249 temp7 = true;
17250 }
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 {
17260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17261 }
17262 {
17263 if (temp7)
17264 delete arg7;
17265 }
17266 return resultobj;
17267 fail:
17268 {
17269 if (temp7)
17270 delete arg7;
17271 }
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxNotebook *arg1 = (wxNotebook *) 0 ;
17279 int result;
17280 PyObject * obj0 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "self", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17287 if (SWIG_arg_fail(1)) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 resultobj = SWIG_From_int((int)(result));
17297 }
17298 return resultobj;
17299 fail:
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxNotebook *arg1 = (wxNotebook *) 0 ;
17307 wxSize *arg2 = 0 ;
17308 wxSize temp2 ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self",(char *) "padding", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17317 if (SWIG_arg_fail(1)) SWIG_fail;
17318 {
17319 arg2 = &temp2;
17320 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17321 }
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 (arg1)->SetPadding((wxSize const &)*arg2);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 Py_INCREF(Py_None); resultobj = Py_None;
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxNotebook *arg1 = (wxNotebook *) 0 ;
17339 wxSize *arg2 = 0 ;
17340 wxSize temp2 ;
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "sz", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17349 if (SWIG_arg_fail(1)) SWIG_fail;
17350 {
17351 arg2 = &temp2;
17352 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17353 }
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetTabSize((wxSize const &)*arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxNotebook *arg1 = (wxNotebook *) 0 ;
17371 wxPoint *arg2 = 0 ;
17372 long *arg3 = (long *) 0 ;
17373 int result;
17374 wxPoint temp2 ;
17375 long temp3 ;
17376 int res3 = 0 ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "pt", NULL
17381 };
17382
17383 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17386 if (SWIG_arg_fail(1)) SWIG_fail;
17387 {
17388 arg2 = &temp2;
17389 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17390 }
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 {
17399 resultobj = SWIG_From_int((int)(result));
17400 }
17401 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17402 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17403 return resultobj;
17404 fail:
17405 return NULL;
17406 }
17407
17408
17409 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxNotebook *arg1 = (wxNotebook *) 0 ;
17412 wxSize *arg2 = 0 ;
17413 wxSize result;
17414 wxSize temp2 ;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "sizePage", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail;
17424 {
17425 arg2 = &temp2;
17426 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 wxSize * resultptr;
17437 resultptr = new wxSize((wxSize &)(result));
17438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17439 }
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxNotebook *arg1 = (wxNotebook *) 0 ;
17449 wxColour result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17457 if (SWIG_arg_fail(1)) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 {
17466 wxColour * resultptr;
17467 resultptr = new wxColour((wxColour &)(result));
17468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17469 }
17470 return resultobj;
17471 fail:
17472 return NULL;
17473 }
17474
17475
17476 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17479 wxVisualAttributes result;
17480 PyObject * obj0 = 0 ;
17481 char *kwnames[] = {
17482 (char *) "variant", NULL
17483 };
17484
17485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17486 if (obj0) {
17487 {
17488 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17489 if (SWIG_arg_fail(1)) SWIG_fail;
17490 }
17491 }
17492 {
17493 if (!wxPyCheckForApp()) SWIG_fail;
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 wxVisualAttributes * resultptr;
17502 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17504 }
17505 return resultobj;
17506 fail:
17507 return NULL;
17508 }
17509
17510
17511 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17512 PyObject *obj;
17513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17514 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17515 Py_INCREF(obj);
17516 return Py_BuildValue((char *)"");
17517 }
17518 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17519 PyObject *resultobj;
17520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17521 int arg2 = (int) 0 ;
17522 int arg3 = (int) -1 ;
17523 int arg4 = (int) -1 ;
17524 wxNotebookEvent *result;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 PyObject * obj3 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17534 if (obj0) {
17535 {
17536 arg1 = (wxEventType)(SWIG_As_int(obj0));
17537 if (SWIG_arg_fail(1)) SWIG_fail;
17538 }
17539 }
17540 if (obj1) {
17541 {
17542 arg2 = (int)(SWIG_As_int(obj1));
17543 if (SWIG_arg_fail(2)) SWIG_fail;
17544 }
17545 }
17546 if (obj2) {
17547 {
17548 arg3 = (int)(SWIG_As_int(obj2));
17549 if (SWIG_arg_fail(3)) SWIG_fail;
17550 }
17551 }
17552 if (obj3) {
17553 {
17554 arg4 = (int)(SWIG_As_int(obj3));
17555 if (SWIG_arg_fail(4)) SWIG_fail;
17556 }
17557 }
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17573 PyObject *obj;
17574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17575 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17576 Py_INCREF(obj);
17577 return Py_BuildValue((char *)"");
17578 }
17579 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxWindow *arg1 = (wxWindow *) 0 ;
17582 int arg2 = (int) -1 ;
17583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17585 wxSize const &arg4_defvalue = wxDefaultSize ;
17586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17587 long arg5 = (long) 0 ;
17588 wxString const &arg6_defvalue = wxPyEmptyString ;
17589 wxString *arg6 = (wxString *) &arg6_defvalue ;
17590 wxListbook *result;
17591 wxPoint temp3 ;
17592 wxSize temp4 ;
17593 bool temp6 = false ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 PyObject * obj2 = 0 ;
17597 PyObject * obj3 = 0 ;
17598 PyObject * obj4 = 0 ;
17599 PyObject * obj5 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17606 if (SWIG_arg_fail(1)) SWIG_fail;
17607 if (obj1) {
17608 {
17609 arg2 = (int)(SWIG_As_int(obj1));
17610 if (SWIG_arg_fail(2)) SWIG_fail;
17611 }
17612 }
17613 if (obj2) {
17614 {
17615 arg3 = &temp3;
17616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17617 }
17618 }
17619 if (obj3) {
17620 {
17621 arg4 = &temp4;
17622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17623 }
17624 }
17625 if (obj4) {
17626 {
17627 arg5 = (long)(SWIG_As_long(obj4));
17628 if (SWIG_arg_fail(5)) SWIG_fail;
17629 }
17630 }
17631 if (obj5) {
17632 {
17633 arg6 = wxString_in_helper(obj5);
17634 if (arg6 == NULL) SWIG_fail;
17635 temp6 = true;
17636 }
17637 }
17638 {
17639 if (!wxPyCheckForApp()) SWIG_fail;
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17647 {
17648 if (temp6)
17649 delete arg6;
17650 }
17651 return resultobj;
17652 fail:
17653 {
17654 if (temp6)
17655 delete arg6;
17656 }
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxListbook *result;
17664 char *kwnames[] = {
17665 NULL
17666 };
17667
17668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17669 {
17670 if (!wxPyCheckForApp()) SWIG_fail;
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (wxListbook *)new wxListbook();
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj;
17686 wxListbook *arg1 = (wxListbook *) 0 ;
17687 wxWindow *arg2 = (wxWindow *) 0 ;
17688 int arg3 = (int) -1 ;
17689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17691 wxSize const &arg5_defvalue = wxDefaultSize ;
17692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17693 long arg6 = (long) 0 ;
17694 wxString const &arg7_defvalue = wxPyEmptyString ;
17695 wxString *arg7 = (wxString *) &arg7_defvalue ;
17696 bool result;
17697 wxPoint temp4 ;
17698 wxSize temp5 ;
17699 bool temp7 = false ;
17700 PyObject * obj0 = 0 ;
17701 PyObject * obj1 = 0 ;
17702 PyObject * obj2 = 0 ;
17703 PyObject * obj3 = 0 ;
17704 PyObject * obj4 = 0 ;
17705 PyObject * obj5 = 0 ;
17706 PyObject * obj6 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17713 if (SWIG_arg_fail(1)) SWIG_fail;
17714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17715 if (SWIG_arg_fail(2)) SWIG_fail;
17716 if (obj2) {
17717 {
17718 arg3 = (int)(SWIG_As_int(obj2));
17719 if (SWIG_arg_fail(3)) SWIG_fail;
17720 }
17721 }
17722 if (obj3) {
17723 {
17724 arg4 = &temp4;
17725 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17726 }
17727 }
17728 if (obj4) {
17729 {
17730 arg5 = &temp5;
17731 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17732 }
17733 }
17734 if (obj5) {
17735 {
17736 arg6 = (long)(SWIG_As_long(obj5));
17737 if (SWIG_arg_fail(6)) SWIG_fail;
17738 }
17739 }
17740 if (obj6) {
17741 {
17742 arg7 = wxString_in_helper(obj6);
17743 if (arg7 == NULL) SWIG_fail;
17744 temp7 = true;
17745 }
17746 }
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 {
17755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17756 }
17757 {
17758 if (temp7)
17759 delete arg7;
17760 }
17761 return resultobj;
17762 fail:
17763 {
17764 if (temp7)
17765 delete arg7;
17766 }
17767 return NULL;
17768 }
17769
17770
17771 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxListbook *arg1 = (wxListbook *) 0 ;
17774 bool result;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail;
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 result = (bool)((wxListbook const *)arg1)->IsVertical();
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 {
17791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17792 }
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxListbook *arg1 = (wxListbook *) 0 ;
17802 wxListView *result;
17803 PyObject * obj0 = 0 ;
17804 char *kwnames[] = {
17805 (char *) "self", NULL
17806 };
17807
17808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17810 if (SWIG_arg_fail(1)) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (wxListView *)(arg1)->GetListView();
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17826 PyObject *obj;
17827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17828 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17829 Py_INCREF(obj);
17830 return Py_BuildValue((char *)"");
17831 }
17832 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17835 int arg2 = (int) 0 ;
17836 int arg3 = (int) -1 ;
17837 int arg4 = (int) -1 ;
17838 wxListbookEvent *result;
17839 PyObject * obj0 = 0 ;
17840 PyObject * obj1 = 0 ;
17841 PyObject * obj2 = 0 ;
17842 PyObject * obj3 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17848 if (obj0) {
17849 {
17850 arg1 = (wxEventType)(SWIG_As_int(obj0));
17851 if (SWIG_arg_fail(1)) SWIG_fail;
17852 }
17853 }
17854 if (obj1) {
17855 {
17856 arg2 = (int)(SWIG_As_int(obj1));
17857 if (SWIG_arg_fail(2)) SWIG_fail;
17858 }
17859 }
17860 if (obj2) {
17861 {
17862 arg3 = (int)(SWIG_As_int(obj2));
17863 if (SWIG_arg_fail(3)) SWIG_fail;
17864 }
17865 }
17866 if (obj3) {
17867 {
17868 arg4 = (int)(SWIG_As_int(obj3));
17869 if (SWIG_arg_fail(4)) SWIG_fail;
17870 }
17871 }
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17880 return resultobj;
17881 fail:
17882 return NULL;
17883 }
17884
17885
17886 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17887 PyObject *obj;
17888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17889 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17890 Py_INCREF(obj);
17891 return Py_BuildValue((char *)"");
17892 }
17893 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxWindow *arg1 = (wxWindow *) 0 ;
17896 int arg2 ;
17897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17899 wxSize const &arg4_defvalue = wxDefaultSize ;
17900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17901 long arg5 = (long) 0 ;
17902 wxString const &arg6_defvalue = wxPyEmptyString ;
17903 wxString *arg6 = (wxString *) &arg6_defvalue ;
17904 wxChoicebook *result;
17905 wxPoint temp3 ;
17906 wxSize temp4 ;
17907 bool temp6 = false ;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 PyObject * obj2 = 0 ;
17911 PyObject * obj3 = 0 ;
17912 PyObject * obj4 = 0 ;
17913 PyObject * obj5 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail;
17921 {
17922 arg2 = (int)(SWIG_As_int(obj1));
17923 if (SWIG_arg_fail(2)) SWIG_fail;
17924 }
17925 if (obj2) {
17926 {
17927 arg3 = &temp3;
17928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17929 }
17930 }
17931 if (obj3) {
17932 {
17933 arg4 = &temp4;
17934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17935 }
17936 }
17937 if (obj4) {
17938 {
17939 arg5 = (long)(SWIG_As_long(obj4));
17940 if (SWIG_arg_fail(5)) SWIG_fail;
17941 }
17942 }
17943 if (obj5) {
17944 {
17945 arg6 = wxString_in_helper(obj5);
17946 if (arg6 == NULL) SWIG_fail;
17947 temp6 = true;
17948 }
17949 }
17950 {
17951 if (!wxPyCheckForApp()) SWIG_fail;
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17959 {
17960 if (temp6)
17961 delete arg6;
17962 }
17963 return resultobj;
17964 fail:
17965 {
17966 if (temp6)
17967 delete arg6;
17968 }
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxChoicebook *result;
17976 char *kwnames[] = {
17977 NULL
17978 };
17979
17980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17981 {
17982 if (!wxPyCheckForApp()) SWIG_fail;
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = (wxChoicebook *)new wxChoicebook();
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17999 wxWindow *arg2 = (wxWindow *) 0 ;
18000 int arg3 ;
18001 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18002 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18003 wxSize const &arg5_defvalue = wxDefaultSize ;
18004 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18005 long arg6 = (long) 0 ;
18006 wxString const &arg7_defvalue = wxPyEmptyString ;
18007 wxString *arg7 = (wxString *) &arg7_defvalue ;
18008 bool result;
18009 wxPoint temp4 ;
18010 wxSize temp5 ;
18011 bool temp7 = false ;
18012 PyObject * obj0 = 0 ;
18013 PyObject * obj1 = 0 ;
18014 PyObject * obj2 = 0 ;
18015 PyObject * obj3 = 0 ;
18016 PyObject * obj4 = 0 ;
18017 PyObject * obj5 = 0 ;
18018 PyObject * obj6 = 0 ;
18019 char *kwnames[] = {
18020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18025 if (SWIG_arg_fail(1)) SWIG_fail;
18026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18027 if (SWIG_arg_fail(2)) SWIG_fail;
18028 {
18029 arg3 = (int)(SWIG_As_int(obj2));
18030 if (SWIG_arg_fail(3)) SWIG_fail;
18031 }
18032 if (obj3) {
18033 {
18034 arg4 = &temp4;
18035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18036 }
18037 }
18038 if (obj4) {
18039 {
18040 arg5 = &temp5;
18041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18042 }
18043 }
18044 if (obj5) {
18045 {
18046 arg6 = (long)(SWIG_As_long(obj5));
18047 if (SWIG_arg_fail(6)) SWIG_fail;
18048 }
18049 }
18050 if (obj6) {
18051 {
18052 arg7 = wxString_in_helper(obj6);
18053 if (arg7 == NULL) SWIG_fail;
18054 temp7 = true;
18055 }
18056 }
18057 {
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 {
18065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18066 }
18067 {
18068 if (temp7)
18069 delete arg7;
18070 }
18071 return resultobj;
18072 fail:
18073 {
18074 if (temp7)
18075 delete arg7;
18076 }
18077 return NULL;
18078 }
18079
18080
18081 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18082 PyObject *resultobj;
18083 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18084 bool result;
18085 PyObject * obj0 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18092 if (SWIG_arg_fail(1)) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18102 }
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18112 wxChoice *result;
18113 PyObject * obj0 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18120 if (SWIG_arg_fail(1)) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18138 bool result;
18139 PyObject * obj0 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18146 if (SWIG_arg_fail(1)) SWIG_fail;
18147 {
18148 PyThreadState* __tstate = wxPyBeginAllowThreads();
18149 result = (bool)(arg1)->DeleteAllPages();
18150
18151 wxPyEndAllowThreads(__tstate);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 {
18155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18156 }
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18164 PyObject *obj;
18165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18166 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18167 Py_INCREF(obj);
18168 return Py_BuildValue((char *)"");
18169 }
18170 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18171 PyObject *resultobj;
18172 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18173 int arg2 = (int) 0 ;
18174 int arg3 = (int) -1 ;
18175 int arg4 = (int) -1 ;
18176 wxChoicebookEvent *result;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18179 PyObject * obj2 = 0 ;
18180 PyObject * obj3 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18186 if (obj0) {
18187 {
18188 arg1 = (wxEventType)(SWIG_As_int(obj0));
18189 if (SWIG_arg_fail(1)) SWIG_fail;
18190 }
18191 }
18192 if (obj1) {
18193 {
18194 arg2 = (int)(SWIG_As_int(obj1));
18195 if (SWIG_arg_fail(2)) SWIG_fail;
18196 }
18197 }
18198 if (obj2) {
18199 {
18200 arg3 = (int)(SWIG_As_int(obj2));
18201 if (SWIG_arg_fail(3)) SWIG_fail;
18202 }
18203 }
18204 if (obj3) {
18205 {
18206 arg4 = (int)(SWIG_As_int(obj3));
18207 if (SWIG_arg_fail(4)) SWIG_fail;
18208 }
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18225 PyObject *obj;
18226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18227 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18228 Py_INCREF(obj);
18229 return Py_BuildValue((char *)"");
18230 }
18231 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18234 int result;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 result = (int)(arg1)->GetId();
18246
18247 wxPyEndAllowThreads(__tstate);
18248 if (PyErr_Occurred()) SWIG_fail;
18249 }
18250 {
18251 resultobj = SWIG_From_int((int)(result));
18252 }
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18262 wxControl *result;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 result = (wxControl *)(arg1)->GetControl();
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 {
18279 resultobj = wxPyMake_wxObject(result, 0);
18280 }
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18290 wxToolBarBase *result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 result = (wxToolBarBase *)(arg1)->GetToolBar();
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 {
18307 resultobj = wxPyMake_wxObject(result, 0);
18308 }
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18316 PyObject *resultobj;
18317 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18318 int result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail;
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (int)(arg1)->IsButton();
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 {
18335 resultobj = SWIG_From_int((int)(result));
18336 }
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18346 int result;
18347 PyObject * obj0 = 0 ;
18348 char *kwnames[] = {
18349 (char *) "self", NULL
18350 };
18351
18352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18354 if (SWIG_arg_fail(1)) SWIG_fail;
18355 {
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 result = (int)(arg1)->IsControl();
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 {
18363 resultobj = SWIG_From_int((int)(result));
18364 }
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18374 int result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (int)(arg1)->IsSeparator();
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 {
18391 resultobj = SWIG_From_int((int)(result));
18392 }
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
18401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18402 int result;
18403 PyObject * obj0 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = (int)(arg1)->GetStyle();
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 {
18419 resultobj = SWIG_From_int((int)(result));
18420 }
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18430 wxItemKind result;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (wxItemKind)(arg1)->GetKind();
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 resultobj = SWIG_From_int((result));
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18456 bool result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail;
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (bool)(arg1)->IsEnabled();
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 {
18473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18474 }
18475 return resultobj;
18476 fail:
18477 return NULL;
18478 }
18479
18480
18481 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18484 bool result;
18485 PyObject * obj0 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (bool)(arg1)->IsToggled();
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 {
18501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18502 }
18503 return resultobj;
18504 fail:
18505 return NULL;
18506 }
18507
18508
18509 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18510 PyObject *resultobj;
18511 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18512 bool result;
18513 PyObject * obj0 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail;
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 result = (bool)(arg1)->CanBeToggled();
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 {
18529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18530 }
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18540 wxBitmap *result;
18541 PyObject * obj0 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18548 if (SWIG_arg_fail(1)) SWIG_fail;
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 {
18552 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18553 result = (wxBitmap *) &_result_ref;
18554 }
18555
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 {
18560 wxBitmap* resultptr = new wxBitmap(*result);
18561 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18562 }
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18572 wxBitmap *result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail;
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 {
18584 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18585 result = (wxBitmap *) &_result_ref;
18586 }
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 {
18592 wxBitmap* resultptr = new wxBitmap(*result);
18593 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18594 }
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18604 wxBitmap result;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18612 if (SWIG_arg_fail(1)) SWIG_fail;
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 result = (arg1)->GetBitmap();
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 {
18621 wxBitmap * resultptr;
18622 resultptr = new wxBitmap((wxBitmap &)(result));
18623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18624 }
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18634 wxString result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18642 if (SWIG_arg_fail(1)) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (arg1)->GetLabel();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 {
18651 #if wxUSE_UNICODE
18652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18653 #else
18654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18655 #endif
18656 }
18657 return resultobj;
18658 fail:
18659 return NULL;
18660 }
18661
18662
18663 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18666 wxString result;
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18674 if (SWIG_arg_fail(1)) SWIG_fail;
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (arg1)->GetShortHelp();
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 {
18683 #if wxUSE_UNICODE
18684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18685 #else
18686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18687 #endif
18688 }
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18698 wxString result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail;
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (arg1)->GetLongHelp();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 {
18715 #if wxUSE_UNICODE
18716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18717 #else
18718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18719 #endif
18720 }
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj;
18729 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18730 bool arg2 ;
18731 bool result;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "enable", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
18741 {
18742 arg2 = (bool)(SWIG_As_bool(obj1));
18743 if (SWIG_arg_fail(2)) SWIG_fail;
18744 }
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)(arg1)->Enable(arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 {
18753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18754 }
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18771 if (SWIG_arg_fail(1)) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->Toggle();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18789 bool arg2 ;
18790 bool result;
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj1 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self",(char *) "toggle", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
18802 if (SWIG_arg_fail(2)) SWIG_fail;
18803 }
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 result = (bool)(arg1)->SetToggle(arg2);
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 {
18812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18813 }
18814 return resultobj;
18815 fail:
18816 return NULL;
18817 }
18818
18819
18820 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj;
18822 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18823 wxString *arg2 = 0 ;
18824 bool result;
18825 bool temp2 = false ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "help", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
18833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail;
18835 {
18836 arg2 = wxString_in_helper(obj1);
18837 if (arg2 == NULL) SWIG_fail;
18838 temp2 = true;
18839 }
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 {
18848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18849 }
18850 {
18851 if (temp2)
18852 delete arg2;
18853 }
18854 return resultobj;
18855 fail:
18856 {
18857 if (temp2)
18858 delete arg2;
18859 }
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18867 wxString *arg2 = 0 ;
18868 bool result;
18869 bool temp2 = false ;
18870 PyObject * obj0 = 0 ;
18871 PyObject * obj1 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self",(char *) "help", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
18877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail;
18879 {
18880 arg2 = wxString_in_helper(obj1);
18881 if (arg2 == NULL) SWIG_fail;
18882 temp2 = true;
18883 }
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 {
18892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18893 }
18894 {
18895 if (temp2)
18896 delete arg2;
18897 }
18898 return resultobj;
18899 fail:
18900 {
18901 if (temp2)
18902 delete arg2;
18903 }
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18911 wxBitmap *arg2 = 0 ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "bmp", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
18919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail;
18921 {
18922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18923 if (SWIG_arg_fail(2)) SWIG_fail;
18924 if (arg2 == NULL) {
18925 SWIG_null_ref("wxBitmap");
18926 }
18927 if (SWIG_arg_fail(2)) SWIG_fail;
18928 }
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 Py_INCREF(Py_None); resultobj = Py_None;
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18946 wxBitmap *arg2 = 0 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "bmp", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
18954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail;
18956 {
18957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18958 if (SWIG_arg_fail(2)) SWIG_fail;
18959 if (arg2 == NULL) {
18960 SWIG_null_ref("wxBitmap");
18961 }
18962 if (SWIG_arg_fail(2)) SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18981 wxString *arg2 = 0 ;
18982 bool temp2 = false ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "label", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
18992 {
18993 arg2 = wxString_in_helper(obj1);
18994 if (arg2 == NULL) SWIG_fail;
18995 temp2 = true;
18996 }
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 (arg1)->SetLabel((wxString const &)*arg2);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 Py_INCREF(Py_None); resultobj = Py_None;
19005 {
19006 if (temp2)
19007 delete arg2;
19008 }
19009 return resultobj;
19010 fail:
19011 {
19012 if (temp2)
19013 delete arg2;
19014 }
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19022 PyObject * obj0 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19029 if (SWIG_arg_fail(1)) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 (arg1)->Detach();
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19047 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self",(char *) "tbar", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail;
19057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19058 if (SWIG_arg_fail(2)) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->Attach(arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 Py_INCREF(Py_None); resultobj = Py_None;
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19076 PyObject *result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 resultobj = result;
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19102 PyObject *arg2 = (PyObject *) 0 ;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "clientData", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail;
19112 arg2 = obj1;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 wxToolBarToolBase_SetClientData(arg1,arg2);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 Py_INCREF(Py_None); resultobj = Py_None;
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19128 PyObject *obj;
19129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19130 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19131 Py_INCREF(obj);
19132 return Py_BuildValue((char *)"");
19133 }
19134 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19137 int arg2 ;
19138 wxString *arg3 = 0 ;
19139 wxBitmap *arg4 = 0 ;
19140 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19141 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19142 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19143 wxString const &arg7_defvalue = wxPyEmptyString ;
19144 wxString *arg7 = (wxString *) &arg7_defvalue ;
19145 wxString const &arg8_defvalue = wxPyEmptyString ;
19146 wxString *arg8 = (wxString *) &arg8_defvalue ;
19147 PyObject *arg9 = (PyObject *) NULL ;
19148 wxToolBarToolBase *result;
19149 bool temp3 = false ;
19150 bool temp7 = false ;
19151 bool temp8 = false ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 PyObject * obj2 = 0 ;
19155 PyObject * obj3 = 0 ;
19156 PyObject * obj4 = 0 ;
19157 PyObject * obj5 = 0 ;
19158 PyObject * obj6 = 0 ;
19159 PyObject * obj7 = 0 ;
19160 PyObject * obj8 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19167 if (SWIG_arg_fail(1)) SWIG_fail;
19168 {
19169 arg2 = (int)(SWIG_As_int(obj1));
19170 if (SWIG_arg_fail(2)) SWIG_fail;
19171 }
19172 {
19173 arg3 = wxString_in_helper(obj2);
19174 if (arg3 == NULL) SWIG_fail;
19175 temp3 = true;
19176 }
19177 {
19178 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19179 if (SWIG_arg_fail(4)) SWIG_fail;
19180 if (arg4 == NULL) {
19181 SWIG_null_ref("wxBitmap");
19182 }
19183 if (SWIG_arg_fail(4)) SWIG_fail;
19184 }
19185 if (obj4) {
19186 {
19187 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19188 if (SWIG_arg_fail(5)) SWIG_fail;
19189 if (arg5 == NULL) {
19190 SWIG_null_ref("wxBitmap");
19191 }
19192 if (SWIG_arg_fail(5)) SWIG_fail;
19193 }
19194 }
19195 if (obj5) {
19196 {
19197 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19198 if (SWIG_arg_fail(6)) SWIG_fail;
19199 }
19200 }
19201 if (obj6) {
19202 {
19203 arg7 = wxString_in_helper(obj6);
19204 if (arg7 == NULL) SWIG_fail;
19205 temp7 = true;
19206 }
19207 }
19208 if (obj7) {
19209 {
19210 arg8 = wxString_in_helper(obj7);
19211 if (arg8 == NULL) SWIG_fail;
19212 temp8 = true;
19213 }
19214 }
19215 if (obj8) {
19216 arg9 = obj8;
19217 }
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 {
19226 resultobj = wxPyMake_wxObject(result, 0);
19227 }
19228 {
19229 if (temp3)
19230 delete arg3;
19231 }
19232 {
19233 if (temp7)
19234 delete arg7;
19235 }
19236 {
19237 if (temp8)
19238 delete arg8;
19239 }
19240 return resultobj;
19241 fail:
19242 {
19243 if (temp3)
19244 delete arg3;
19245 }
19246 {
19247 if (temp7)
19248 delete arg7;
19249 }
19250 {
19251 if (temp8)
19252 delete arg8;
19253 }
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19261 size_t arg2 ;
19262 int arg3 ;
19263 wxString *arg4 = 0 ;
19264 wxBitmap *arg5 = 0 ;
19265 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19266 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19267 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19268 wxString const &arg8_defvalue = wxPyEmptyString ;
19269 wxString *arg8 = (wxString *) &arg8_defvalue ;
19270 wxString const &arg9_defvalue = wxPyEmptyString ;
19271 wxString *arg9 = (wxString *) &arg9_defvalue ;
19272 PyObject *arg10 = (PyObject *) NULL ;
19273 wxToolBarToolBase *result;
19274 bool temp4 = false ;
19275 bool temp8 = false ;
19276 bool temp9 = false ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 PyObject * obj2 = 0 ;
19280 PyObject * obj3 = 0 ;
19281 PyObject * obj4 = 0 ;
19282 PyObject * obj5 = 0 ;
19283 PyObject * obj6 = 0 ;
19284 PyObject * obj7 = 0 ;
19285 PyObject * obj8 = 0 ;
19286 PyObject * obj9 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail;
19294 {
19295 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19296 if (SWIG_arg_fail(2)) SWIG_fail;
19297 }
19298 {
19299 arg3 = (int)(SWIG_As_int(obj2));
19300 if (SWIG_arg_fail(3)) SWIG_fail;
19301 }
19302 {
19303 arg4 = wxString_in_helper(obj3);
19304 if (arg4 == NULL) SWIG_fail;
19305 temp4 = true;
19306 }
19307 {
19308 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19309 if (SWIG_arg_fail(5)) SWIG_fail;
19310 if (arg5 == NULL) {
19311 SWIG_null_ref("wxBitmap");
19312 }
19313 if (SWIG_arg_fail(5)) SWIG_fail;
19314 }
19315 if (obj5) {
19316 {
19317 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19318 if (SWIG_arg_fail(6)) SWIG_fail;
19319 if (arg6 == NULL) {
19320 SWIG_null_ref("wxBitmap");
19321 }
19322 if (SWIG_arg_fail(6)) SWIG_fail;
19323 }
19324 }
19325 if (obj6) {
19326 {
19327 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19328 if (SWIG_arg_fail(7)) SWIG_fail;
19329 }
19330 }
19331 if (obj7) {
19332 {
19333 arg8 = wxString_in_helper(obj7);
19334 if (arg8 == NULL) SWIG_fail;
19335 temp8 = true;
19336 }
19337 }
19338 if (obj8) {
19339 {
19340 arg9 = wxString_in_helper(obj8);
19341 if (arg9 == NULL) SWIG_fail;
19342 temp9 = true;
19343 }
19344 }
19345 if (obj9) {
19346 arg10 = obj9;
19347 }
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 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);
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 {
19356 resultobj = wxPyMake_wxObject(result, 0);
19357 }
19358 {
19359 if (temp4)
19360 delete arg4;
19361 }
19362 {
19363 if (temp8)
19364 delete arg8;
19365 }
19366 {
19367 if (temp9)
19368 delete arg9;
19369 }
19370 return resultobj;
19371 fail:
19372 {
19373 if (temp4)
19374 delete arg4;
19375 }
19376 {
19377 if (temp8)
19378 delete arg8;
19379 }
19380 {
19381 if (temp9)
19382 delete arg9;
19383 }
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19391 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19392 wxToolBarToolBase *result;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj1 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self",(char *) "tool", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19401 if (SWIG_arg_fail(1)) SWIG_fail;
19402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19403 if (SWIG_arg_fail(2)) SWIG_fail;
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 {
19412 resultobj = wxPyMake_wxObject(result, 0);
19413 }
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19423 size_t arg2 ;
19424 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19425 wxToolBarToolBase *result;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 PyObject * obj2 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "pos",(char *) "tool", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail;
19436 {
19437 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19438 if (SWIG_arg_fail(2)) SWIG_fail;
19439 }
19440 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19441 if (SWIG_arg_fail(3)) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 {
19450 resultobj = wxPyMake_wxObject(result, 0);
19451 }
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19461 wxControl *arg2 = (wxControl *) 0 ;
19462 wxToolBarToolBase *result;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "control", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19471 if (SWIG_arg_fail(1)) SWIG_fail;
19472 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19473 if (SWIG_arg_fail(2)) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 {
19482 resultobj = wxPyMake_wxObject(result, 0);
19483 }
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19493 size_t arg2 ;
19494 wxControl *arg3 = (wxControl *) 0 ;
19495 wxToolBarToolBase *result;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 PyObject * obj2 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self",(char *) "pos",(char *) "control", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail;
19506 {
19507 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19508 if (SWIG_arg_fail(2)) SWIG_fail;
19509 }
19510 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19511 if (SWIG_arg_fail(3)) SWIG_fail;
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 {
19520 resultobj = wxPyMake_wxObject(result, 0);
19521 }
19522 return resultobj;
19523 fail:
19524 return NULL;
19525 }
19526
19527
19528 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj;
19530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19531 int arg2 ;
19532 wxControl *result;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj1 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self",(char *) "id", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail;
19542 {
19543 arg2 = (int)(SWIG_As_int(obj1));
19544 if (SWIG_arg_fail(2)) SWIG_fail;
19545 }
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (wxControl *)(arg1)->FindControl(arg2);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 {
19554 resultobj = wxPyMake_wxObject(result, 0);
19555 }
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19565 wxToolBarToolBase *result;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19573 if (SWIG_arg_fail(1)) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 {
19582 resultobj = wxPyMake_wxObject(result, 0);
19583 }
19584 return resultobj;
19585 fail:
19586 return NULL;
19587 }
19588
19589
19590 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19593 size_t arg2 ;
19594 wxToolBarToolBase *result;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "pos", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19603 if (SWIG_arg_fail(1)) SWIG_fail;
19604 {
19605 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19606 if (SWIG_arg_fail(2)) SWIG_fail;
19607 }
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 {
19616 resultobj = wxPyMake_wxObject(result, 0);
19617 }
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19627 int arg2 ;
19628 wxToolBarToolBase *result;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj1 = 0 ;
19631 char *kwnames[] = {
19632 (char *) "self",(char *) "id", NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19637 if (SWIG_arg_fail(1)) SWIG_fail;
19638 {
19639 arg2 = (int)(SWIG_As_int(obj1));
19640 if (SWIG_arg_fail(2)) SWIG_fail;
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 {
19650 resultobj = wxPyMake_wxObject(result, 0);
19651 }
19652 return resultobj;
19653 fail:
19654 return NULL;
19655 }
19656
19657
19658 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19661 size_t arg2 ;
19662 bool result;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "pos", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19671 if (SWIG_arg_fail(1)) SWIG_fail;
19672 {
19673 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19674 if (SWIG_arg_fail(2)) SWIG_fail;
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (bool)(arg1)->DeleteToolByPos(arg2);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19685 }
19686 return resultobj;
19687 fail:
19688 return NULL;
19689 }
19690
19691
19692 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19695 int arg2 ;
19696 bool result;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "id", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19705 if (SWIG_arg_fail(1)) SWIG_fail;
19706 {
19707 arg2 = (int)(SWIG_As_int(obj1));
19708 if (SWIG_arg_fail(2)) SWIG_fail;
19709 }
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (bool)(arg1)->DeleteTool(arg2);
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19719 }
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19729 PyObject * obj0 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self", NULL
19732 };
19733
19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail;
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 (arg1)->ClearTools();
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 Py_INCREF(Py_None); resultobj = Py_None;
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19754 bool result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (bool)(arg1)->Realize();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 {
19771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19782 int arg2 ;
19783 bool arg3 ;
19784 PyObject * obj0 = 0 ;
19785 PyObject * obj1 = 0 ;
19786 PyObject * obj2 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self",(char *) "id",(char *) "enable", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail;
19794 {
19795 arg2 = (int)(SWIG_As_int(obj1));
19796 if (SWIG_arg_fail(2)) SWIG_fail;
19797 }
19798 {
19799 arg3 = (bool)(SWIG_As_bool(obj2));
19800 if (SWIG_arg_fail(3)) SWIG_fail;
19801 }
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->EnableTool(arg2,arg3);
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 Py_INCREF(Py_None); resultobj = Py_None;
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19819 int arg2 ;
19820 bool arg3 ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 PyObject * obj2 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self",(char *) "id",(char *) "toggle", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19830 if (SWIG_arg_fail(1)) SWIG_fail;
19831 {
19832 arg2 = (int)(SWIG_As_int(obj1));
19833 if (SWIG_arg_fail(2)) SWIG_fail;
19834 }
19835 {
19836 arg3 = (bool)(SWIG_As_bool(obj2));
19837 if (SWIG_arg_fail(3)) SWIG_fail;
19838 }
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->ToggleTool(arg2,arg3);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19856 int arg2 ;
19857 bool arg3 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 PyObject * obj2 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "id",(char *) "toggle", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
19866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19867 if (SWIG_arg_fail(1)) SWIG_fail;
19868 {
19869 arg2 = (int)(SWIG_As_int(obj1));
19870 if (SWIG_arg_fail(2)) SWIG_fail;
19871 }
19872 {
19873 arg3 = (bool)(SWIG_As_bool(obj2));
19874 if (SWIG_arg_fail(3)) SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->SetToggle(arg2,arg3);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19893 int arg2 ;
19894 PyObject *result;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self",(char *) "id", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
19902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail;
19904 {
19905 arg2 = (int)(SWIG_As_int(obj1));
19906 if (SWIG_arg_fail(2)) SWIG_fail;
19907 }
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
19911
19912 wxPyEndAllowThreads(__tstate);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 resultobj = result;
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj;
19924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19925 int arg2 ;
19926 PyObject *arg3 = (PyObject *) 0 ;
19927 PyObject * obj0 = 0 ;
19928 PyObject * obj1 = 0 ;
19929 PyObject * obj2 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self",(char *) "id",(char *) "clientData", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
19935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19936 if (SWIG_arg_fail(1)) SWIG_fail;
19937 {
19938 arg2 = (int)(SWIG_As_int(obj1));
19939 if (SWIG_arg_fail(2)) SWIG_fail;
19940 }
19941 arg3 = obj2;
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 Py_INCREF(Py_None); resultobj = Py_None;
19950 return resultobj;
19951 fail:
19952 return NULL;
19953 }
19954
19955
19956 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
19957 PyObject *resultobj;
19958 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19959 int arg2 ;
19960 int result;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self",(char *) "id", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
19968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19969 if (SWIG_arg_fail(1)) SWIG_fail;
19970 {
19971 arg2 = (int)(SWIG_As_int(obj1));
19972 if (SWIG_arg_fail(2)) SWIG_fail;
19973 }
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 {
19982 resultobj = SWIG_From_int((int)(result));
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19993 int arg2 ;
19994 bool result;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "id", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail;
20004 {
20005 arg2 = (int)(SWIG_As_int(obj1));
20006 if (SWIG_arg_fail(2)) SWIG_fail;
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (bool)(arg1)->GetToolState(arg2);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 {
20016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20017 }
20018 return resultobj;
20019 fail:
20020 return NULL;
20021 }
20022
20023
20024 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20027 int arg2 ;
20028 bool result;
20029 PyObject * obj0 = 0 ;
20030 PyObject * obj1 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self",(char *) "id", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail;
20038 {
20039 arg2 = (int)(SWIG_As_int(obj1));
20040 if (SWIG_arg_fail(2)) SWIG_fail;
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (bool)(arg1)->GetToolEnabled(arg2);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 {
20050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20051 }
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20061 int arg2 ;
20062 wxString *arg3 = 0 ;
20063 bool temp3 = false ;
20064 PyObject * obj0 = 0 ;
20065 PyObject * obj1 = 0 ;
20066 PyObject * obj2 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self",(char *) "id",(char *) "helpString", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail;
20074 {
20075 arg2 = (int)(SWIG_As_int(obj1));
20076 if (SWIG_arg_fail(2)) SWIG_fail;
20077 }
20078 {
20079 arg3 = wxString_in_helper(obj2);
20080 if (arg3 == NULL) SWIG_fail;
20081 temp3 = true;
20082 }
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 Py_INCREF(Py_None); resultobj = Py_None;
20091 {
20092 if (temp3)
20093 delete arg3;
20094 }
20095 return resultobj;
20096 fail:
20097 {
20098 if (temp3)
20099 delete arg3;
20100 }
20101 return NULL;
20102 }
20103
20104
20105 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20108 int arg2 ;
20109 wxString result;
20110 PyObject * obj0 = 0 ;
20111 PyObject * obj1 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self",(char *) "id", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20118 if (SWIG_arg_fail(1)) SWIG_fail;
20119 {
20120 arg2 = (int)(SWIG_As_int(obj1));
20121 if (SWIG_arg_fail(2)) SWIG_fail;
20122 }
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 result = (arg1)->GetToolShortHelp(arg2);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 {
20131 #if wxUSE_UNICODE
20132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20133 #else
20134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20135 #endif
20136 }
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20146 int arg2 ;
20147 wxString *arg3 = 0 ;
20148 bool temp3 = false ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 PyObject * obj2 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self",(char *) "id",(char *) "helpString", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20158 if (SWIG_arg_fail(1)) SWIG_fail;
20159 {
20160 arg2 = (int)(SWIG_As_int(obj1));
20161 if (SWIG_arg_fail(2)) SWIG_fail;
20162 }
20163 {
20164 arg3 = wxString_in_helper(obj2);
20165 if (arg3 == NULL) SWIG_fail;
20166 temp3 = true;
20167 }
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 Py_INCREF(Py_None); resultobj = Py_None;
20176 {
20177 if (temp3)
20178 delete arg3;
20179 }
20180 return resultobj;
20181 fail:
20182 {
20183 if (temp3)
20184 delete arg3;
20185 }
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20193 int arg2 ;
20194 wxString result;
20195 PyObject * obj0 = 0 ;
20196 PyObject * obj1 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "id", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail;
20204 {
20205 arg2 = (int)(SWIG_As_int(obj1));
20206 if (SWIG_arg_fail(2)) SWIG_fail;
20207 }
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (arg1)->GetToolLongHelp(arg2);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 {
20216 #if wxUSE_UNICODE
20217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20218 #else
20219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20220 #endif
20221 }
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20231 int arg2 ;
20232 int arg3 ;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 PyObject * obj2 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "x",(char *) "y", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail;
20243 {
20244 arg2 = (int)(SWIG_As_int(obj1));
20245 if (SWIG_arg_fail(2)) SWIG_fail;
20246 }
20247 {
20248 arg3 = (int)(SWIG_As_int(obj2));
20249 if (SWIG_arg_fail(3)) SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetMargins(arg2,arg3);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20268 wxSize *arg2 = 0 ;
20269 wxSize temp2 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "size", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail;
20279 {
20280 arg2 = &temp2;
20281 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20282 }
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 (arg1)->SetMargins((wxSize const &)*arg2);
20286
20287 wxPyEndAllowThreads(__tstate);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 Py_INCREF(Py_None); resultobj = Py_None;
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20300 int arg2 ;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self",(char *) "packing", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail;
20310 {
20311 arg2 = (int)(SWIG_As_int(obj1));
20312 if (SWIG_arg_fail(2)) SWIG_fail;
20313 }
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 (arg1)->SetToolPacking(arg2);
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 Py_INCREF(Py_None); resultobj = Py_None;
20322 return resultobj;
20323 fail:
20324 return NULL;
20325 }
20326
20327
20328 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20329 PyObject *resultobj;
20330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20331 int arg2 ;
20332 PyObject * obj0 = 0 ;
20333 PyObject * obj1 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self",(char *) "separation", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail;
20341 {
20342 arg2 = (int)(SWIG_As_int(obj1));
20343 if (SWIG_arg_fail(2)) SWIG_fail;
20344 }
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 (arg1)->SetToolSeparation(arg2);
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 Py_INCREF(Py_None); resultobj = Py_None;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20362 wxSize result;
20363 PyObject * obj0 = 0 ;
20364 char *kwnames[] = {
20365 (char *) "self", NULL
20366 };
20367
20368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20370 if (SWIG_arg_fail(1)) SWIG_fail;
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (arg1)->GetToolMargins();
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 {
20379 wxSize * resultptr;
20380 resultptr = new wxSize((wxSize &)(result));
20381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20382 }
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20392 wxSize result;
20393 PyObject * obj0 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail;
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 result = (arg1)->GetMargins();
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 wxSize * resultptr;
20410 resultptr = new wxSize((wxSize &)(result));
20411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20412 }
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20422 int result;
20423 PyObject * obj0 = 0 ;
20424 char *kwnames[] = {
20425 (char *) "self", NULL
20426 };
20427
20428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20430 if (SWIG_arg_fail(1)) SWIG_fail;
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (int)(arg1)->GetToolPacking();
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 {
20439 resultobj = SWIG_From_int((int)(result));
20440 }
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj;
20449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20450 int result;
20451 PyObject * obj0 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20458 if (SWIG_arg_fail(1)) SWIG_fail;
20459 {
20460 PyThreadState* __tstate = wxPyBeginAllowThreads();
20461 result = (int)(arg1)->GetToolSeparation();
20462
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 {
20467 resultobj = SWIG_From_int((int)(result));
20468 }
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20478 int arg2 ;
20479 PyObject * obj0 = 0 ;
20480 PyObject * obj1 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self",(char *) "nRows", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20487 if (SWIG_arg_fail(1)) SWIG_fail;
20488 {
20489 arg2 = (int)(SWIG_As_int(obj1));
20490 if (SWIG_arg_fail(2)) SWIG_fail;
20491 }
20492 {
20493 PyThreadState* __tstate = wxPyBeginAllowThreads();
20494 (arg1)->SetRows(arg2);
20495
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 Py_INCREF(Py_None); resultobj = Py_None;
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20507 PyObject *resultobj;
20508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20509 int arg2 ;
20510 int arg3 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 PyObject * obj2 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self",(char *) "rows",(char *) "cols", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20520 if (SWIG_arg_fail(1)) SWIG_fail;
20521 {
20522 arg2 = (int)(SWIG_As_int(obj1));
20523 if (SWIG_arg_fail(2)) SWIG_fail;
20524 }
20525 {
20526 arg3 = (int)(SWIG_As_int(obj2));
20527 if (SWIG_arg_fail(3)) SWIG_fail;
20528 }
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 (arg1)->SetMaxRowsCols(arg2,arg3);
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 Py_INCREF(Py_None); resultobj = Py_None;
20537 return resultobj;
20538 fail:
20539 return NULL;
20540 }
20541
20542
20543 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20546 int result;
20547 PyObject * obj0 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (int)(arg1)->GetMaxRows();
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 resultobj = SWIG_From_int((int)(result));
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20574 int result;
20575 PyObject * obj0 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail;
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (int)(arg1)->GetMaxCols();
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 {
20591 resultobj = SWIG_From_int((int)(result));
20592 }
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20602 wxSize *arg2 = 0 ;
20603 wxSize temp2 ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "size", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20612 if (SWIG_arg_fail(1)) SWIG_fail;
20613 {
20614 arg2 = &temp2;
20615 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20616 }
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 Py_INCREF(Py_None); resultobj = Py_None;
20625 return resultobj;
20626 fail:
20627 return NULL;
20628 }
20629
20630
20631 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20634 wxSize result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20642 if (SWIG_arg_fail(1)) SWIG_fail;
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (arg1)->GetToolBitmapSize();
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 {
20651 wxSize * resultptr;
20652 resultptr = new wxSize((wxSize &)(result));
20653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20654 }
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20664 wxSize result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = (arg1)->GetToolSize();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 {
20681 wxSize * resultptr;
20682 resultptr = new wxSize((wxSize &)(result));
20683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20684 }
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20694 int arg2 ;
20695 int arg3 ;
20696 wxToolBarToolBase *result;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 PyObject * obj2 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "x",(char *) "y", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (int)(SWIG_As_int(obj2));
20713 if (SWIG_arg_fail(3)) SWIG_fail;
20714 }
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 {
20723 resultobj = wxPyMake_wxObject(result, 0);
20724 }
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20734 int arg2 ;
20735 wxToolBarToolBase *result;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj1 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self",(char *) "toolid", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20744 if (SWIG_arg_fail(1)) SWIG_fail;
20745 {
20746 arg2 = (int)(SWIG_As_int(obj1));
20747 if (SWIG_arg_fail(2)) SWIG_fail;
20748 }
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 {
20757 resultobj = wxPyMake_wxObject(result, 0);
20758 }
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20768 bool result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail;
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (bool)(arg1)->IsVertical();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20794 PyObject *obj;
20795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20796 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20797 Py_INCREF(obj);
20798 return Py_BuildValue((char *)"");
20799 }
20800 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxWindow *arg1 = (wxWindow *) 0 ;
20803 int arg2 = (int) -1 ;
20804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20806 wxSize const &arg4_defvalue = wxDefaultSize ;
20807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20808 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20809 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20810 wxString *arg6 = (wxString *) &arg6_defvalue ;
20811 wxToolBar *result;
20812 wxPoint temp3 ;
20813 wxSize temp4 ;
20814 bool temp6 = false ;
20815 PyObject * obj0 = 0 ;
20816 PyObject * obj1 = 0 ;
20817 PyObject * obj2 = 0 ;
20818 PyObject * obj3 = 0 ;
20819 PyObject * obj4 = 0 ;
20820 PyObject * obj5 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail;
20828 if (obj1) {
20829 {
20830 arg2 = (int)(SWIG_As_int(obj1));
20831 if (SWIG_arg_fail(2)) SWIG_fail;
20832 }
20833 }
20834 if (obj2) {
20835 {
20836 arg3 = &temp3;
20837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20838 }
20839 }
20840 if (obj3) {
20841 {
20842 arg4 = &temp4;
20843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20844 }
20845 }
20846 if (obj4) {
20847 {
20848 arg5 = (long)(SWIG_As_long(obj4));
20849 if (SWIG_arg_fail(5)) SWIG_fail;
20850 }
20851 }
20852 if (obj5) {
20853 {
20854 arg6 = wxString_in_helper(obj5);
20855 if (arg6 == NULL) SWIG_fail;
20856 temp6 = true;
20857 }
20858 }
20859 {
20860 if (!wxPyCheckForApp()) SWIG_fail;
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
20868 {
20869 if (temp6)
20870 delete arg6;
20871 }
20872 return resultobj;
20873 fail:
20874 {
20875 if (temp6)
20876 delete arg6;
20877 }
20878 return NULL;
20879 }
20880
20881
20882 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj;
20884 wxToolBar *result;
20885 char *kwnames[] = {
20886 NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
20890 {
20891 if (!wxPyCheckForApp()) SWIG_fail;
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (wxToolBar *)new wxToolBar();
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxToolBar *arg1 = (wxToolBar *) 0 ;
20908 wxWindow *arg2 = (wxWindow *) 0 ;
20909 int arg3 = (int) -1 ;
20910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20912 wxSize const &arg5_defvalue = wxDefaultSize ;
20913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20914 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20915 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
20916 wxString *arg7 = (wxString *) &arg7_defvalue ;
20917 bool result;
20918 wxPoint temp4 ;
20919 wxSize temp5 ;
20920 bool temp7 = false ;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 PyObject * obj2 = 0 ;
20924 PyObject * obj3 = 0 ;
20925 PyObject * obj4 = 0 ;
20926 PyObject * obj5 = 0 ;
20927 PyObject * obj6 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail;
20935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(2)) SWIG_fail;
20937 if (obj2) {
20938 {
20939 arg3 = (int)(SWIG_As_int(obj2));
20940 if (SWIG_arg_fail(3)) SWIG_fail;
20941 }
20942 }
20943 if (obj3) {
20944 {
20945 arg4 = &temp4;
20946 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20947 }
20948 }
20949 if (obj4) {
20950 {
20951 arg5 = &temp5;
20952 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20953 }
20954 }
20955 if (obj5) {
20956 {
20957 arg6 = (long)(SWIG_As_long(obj5));
20958 if (SWIG_arg_fail(6)) SWIG_fail;
20959 }
20960 }
20961 if (obj6) {
20962 {
20963 arg7 = wxString_in_helper(obj6);
20964 if (arg7 == NULL) SWIG_fail;
20965 temp7 = true;
20966 }
20967 }
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 {
20976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20977 }
20978 {
20979 if (temp7)
20980 delete arg7;
20981 }
20982 return resultobj;
20983 fail:
20984 {
20985 if (temp7)
20986 delete arg7;
20987 }
20988 return NULL;
20989 }
20990
20991
20992 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxToolBar *arg1 = (wxToolBar *) 0 ;
20995 int arg2 ;
20996 int arg3 ;
20997 wxToolBarToolBase *result;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 PyObject * obj2 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "x",(char *) "y", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail;
21008 {
21009 arg2 = (int)(SWIG_As_int(obj1));
21010 if (SWIG_arg_fail(2)) SWIG_fail;
21011 }
21012 {
21013 arg3 = (int)(SWIG_As_int(obj2));
21014 if (SWIG_arg_fail(3)) SWIG_fail;
21015 }
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 resultobj = wxPyMake_wxObject(result, 0);
21025 }
21026 return resultobj;
21027 fail:
21028 return NULL;
21029 }
21030
21031
21032 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21035 wxVisualAttributes result;
21036 PyObject * obj0 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "variant", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21042 if (obj0) {
21043 {
21044 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21045 if (SWIG_arg_fail(1)) SWIG_fail;
21046 }
21047 }
21048 {
21049 if (!wxPyCheckForApp()) SWIG_fail;
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21052
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 {
21057 wxVisualAttributes * resultptr;
21058 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21059 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21060 }
21061 return resultobj;
21062 fail:
21063 return NULL;
21064 }
21065
21066
21067 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21068 PyObject *obj;
21069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21070 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21071 Py_INCREF(obj);
21072 return Py_BuildValue((char *)"");
21073 }
21074 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21075 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21076 return 1;
21077 }
21078
21079
21080 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21081 PyObject *pyobj;
21082
21083 {
21084 #if wxUSE_UNICODE
21085 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21086 #else
21087 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21088 #endif
21089 }
21090 return pyobj;
21091 }
21092
21093
21094 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxColour const &arg1_defvalue = wxNullColour ;
21097 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21098 wxColour const &arg2_defvalue = wxNullColour ;
21099 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21100 wxFont const &arg3_defvalue = wxNullFont ;
21101 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21102 wxListItemAttr *result;
21103 wxColour temp1 ;
21104 wxColour temp2 ;
21105 PyObject * obj0 = 0 ;
21106 PyObject * obj1 = 0 ;
21107 PyObject * obj2 = 0 ;
21108 char *kwnames[] = {
21109 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21110 };
21111
21112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21113 if (obj0) {
21114 {
21115 arg1 = &temp1;
21116 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21117 }
21118 }
21119 if (obj1) {
21120 {
21121 arg2 = &temp2;
21122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21123 }
21124 }
21125 if (obj2) {
21126 {
21127 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21128 if (SWIG_arg_fail(3)) SWIG_fail;
21129 if (arg3 == NULL) {
21130 SWIG_null_ref("wxFont");
21131 }
21132 if (SWIG_arg_fail(3)) SWIG_fail;
21133 }
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21152 wxColour *arg2 = 0 ;
21153 wxColour temp2 ;
21154 PyObject * obj0 = 0 ;
21155 PyObject * obj1 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self",(char *) "colText", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail;
21163 {
21164 arg2 = &temp2;
21165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21166 }
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 (arg1)->SetTextColour((wxColour const &)*arg2);
21170
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 Py_INCREF(Py_None); resultobj = Py_None;
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21184 wxColour *arg2 = 0 ;
21185 wxColour temp2 ;
21186 PyObject * obj0 = 0 ;
21187 PyObject * obj1 = 0 ;
21188 char *kwnames[] = {
21189 (char *) "self",(char *) "colBack", NULL
21190 };
21191
21192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21194 if (SWIG_arg_fail(1)) SWIG_fail;
21195 {
21196 arg2 = &temp2;
21197 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21202
21203 wxPyEndAllowThreads(__tstate);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 }
21206 Py_INCREF(Py_None); resultobj = Py_None;
21207 return resultobj;
21208 fail:
21209 return NULL;
21210 }
21211
21212
21213 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21216 wxFont *arg2 = 0 ;
21217 PyObject * obj0 = 0 ;
21218 PyObject * obj1 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self",(char *) "font", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21225 if (SWIG_arg_fail(1)) SWIG_fail;
21226 {
21227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21228 if (SWIG_arg_fail(2)) SWIG_fail;
21229 if (arg2 == NULL) {
21230 SWIG_null_ref("wxFont");
21231 }
21232 if (SWIG_arg_fail(2)) SWIG_fail;
21233 }
21234 {
21235 PyThreadState* __tstate = wxPyBeginAllowThreads();
21236 (arg1)->SetFont((wxFont const &)*arg2);
21237
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 Py_INCREF(Py_None); resultobj = Py_None;
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj;
21250 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21251 bool result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (bool)(arg1)->HasTextColour();
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 {
21268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21279 bool result;
21280 PyObject * obj0 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21287 if (SWIG_arg_fail(1)) SWIG_fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (bool)(arg1)->HasBackgroundColour();
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21297 }
21298 return resultobj;
21299 fail:
21300 return NULL;
21301 }
21302
21303
21304 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj;
21306 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21307 bool result;
21308 PyObject * obj0 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail;
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (bool)(arg1)->HasFont();
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21325 }
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21335 wxColour result;
21336 PyObject * obj0 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21343 if (SWIG_arg_fail(1)) SWIG_fail;
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (arg1)->GetTextColour();
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 wxColour * resultptr;
21353 resultptr = new wxColour((wxColour &)(result));
21354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21355 }
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21365 wxColour result;
21366 PyObject * obj0 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail;
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (arg1)->GetBackgroundColour();
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 {
21382 wxColour * resultptr;
21383 resultptr = new wxColour((wxColour &)(result));
21384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21385 }
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21395 wxFont result;
21396 PyObject * obj0 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21403 if (SWIG_arg_fail(1)) SWIG_fail;
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 result = (arg1)->GetFont();
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 {
21412 wxFont * resultptr;
21413 resultptr = new wxFont((wxFont &)(result));
21414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21415 }
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21425 PyObject * obj0 = 0 ;
21426 char *kwnames[] = {
21427 (char *) "self", NULL
21428 };
21429
21430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21432 if (SWIG_arg_fail(1)) SWIG_fail;
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 wxListItemAttr_Destroy(arg1);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 Py_INCREF(Py_None); resultobj = Py_None;
21441 return resultobj;
21442 fail:
21443 return NULL;
21444 }
21445
21446
21447 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21448 PyObject *obj;
21449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21450 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21451 Py_INCREF(obj);
21452 return Py_BuildValue((char *)"");
21453 }
21454 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj;
21456 wxListItem *result;
21457 char *kwnames[] = {
21458 NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21462 {
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 result = (wxListItem *)new wxListItem();
21465
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470 resultobj = wxPyMake_wxObject(result, 1);
21471 }
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 wxListItem *arg1 = (wxListItem *) 0 ;
21481 PyObject * obj0 = 0 ;
21482 char *kwnames[] = {
21483 (char *) "self", NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail;
21489 {
21490 PyThreadState* __tstate = wxPyBeginAllowThreads();
21491 delete arg1;
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 Py_INCREF(Py_None); resultobj = Py_None;
21497 return resultobj;
21498 fail:
21499 return NULL;
21500 }
21501
21502
21503 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21504 PyObject *resultobj;
21505 wxListItem *arg1 = (wxListItem *) 0 ;
21506 PyObject * obj0 = 0 ;
21507 char *kwnames[] = {
21508 (char *) "self", NULL
21509 };
21510
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail;
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 (arg1)->Clear();
21517
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 Py_INCREF(Py_None); resultobj = Py_None;
21522 return resultobj;
21523 fail:
21524 return NULL;
21525 }
21526
21527
21528 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21529 PyObject *resultobj;
21530 wxListItem *arg1 = (wxListItem *) 0 ;
21531 PyObject * obj0 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail;
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 (arg1)->ClearAttributes();
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 Py_INCREF(Py_None); resultobj = Py_None;
21547 return resultobj;
21548 fail:
21549 return NULL;
21550 }
21551
21552
21553 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21554 PyObject *resultobj;
21555 wxListItem *arg1 = (wxListItem *) 0 ;
21556 long arg2 ;
21557 PyObject * obj0 = 0 ;
21558 PyObject * obj1 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self",(char *) "mask", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail;
21566 {
21567 arg2 = (long)(SWIG_As_long(obj1));
21568 if (SWIG_arg_fail(2)) SWIG_fail;
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 (arg1)->SetMask(arg2);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 Py_INCREF(Py_None); resultobj = Py_None;
21578 return resultobj;
21579 fail:
21580 return NULL;
21581 }
21582
21583
21584 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 wxListItem *arg1 = (wxListItem *) 0 ;
21587 long arg2 ;
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "id", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail;
21597 {
21598 arg2 = (long)(SWIG_As_long(obj1));
21599 if (SWIG_arg_fail(2)) SWIG_fail;
21600 }
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 (arg1)->SetId(arg2);
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 Py_INCREF(Py_None); resultobj = Py_None;
21609 return resultobj;
21610 fail:
21611 return NULL;
21612 }
21613
21614
21615 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxListItem *arg1 = (wxListItem *) 0 ;
21618 int arg2 ;
21619 PyObject * obj0 = 0 ;
21620 PyObject * obj1 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "col", NULL
21623 };
21624
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21627 if (SWIG_arg_fail(1)) SWIG_fail;
21628 {
21629 arg2 = (int)(SWIG_As_int(obj1));
21630 if (SWIG_arg_fail(2)) SWIG_fail;
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->SetColumn(arg2);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxListItem *arg1 = (wxListItem *) 0 ;
21649 long arg2 ;
21650 PyObject * obj0 = 0 ;
21651 PyObject * obj1 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "self",(char *) "state", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail;
21659 {
21660 arg2 = (long)(SWIG_As_long(obj1));
21661 if (SWIG_arg_fail(2)) SWIG_fail;
21662 }
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->SetState(arg2);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxListItem *arg1 = (wxListItem *) 0 ;
21680 long arg2 ;
21681 PyObject * obj0 = 0 ;
21682 PyObject * obj1 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "stateMask", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail;
21690 {
21691 arg2 = (long)(SWIG_As_long(obj1));
21692 if (SWIG_arg_fail(2)) SWIG_fail;
21693 }
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 (arg1)->SetStateMask(arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 Py_INCREF(Py_None); resultobj = Py_None;
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21709 PyObject *resultobj;
21710 wxListItem *arg1 = (wxListItem *) 0 ;
21711 wxString *arg2 = 0 ;
21712 bool temp2 = false ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "text", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail;
21722 {
21723 arg2 = wxString_in_helper(obj1);
21724 if (arg2 == NULL) SWIG_fail;
21725 temp2 = true;
21726 }
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 (arg1)->SetText((wxString const &)*arg2);
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 Py_INCREF(Py_None); resultobj = Py_None;
21735 {
21736 if (temp2)
21737 delete arg2;
21738 }
21739 return resultobj;
21740 fail:
21741 {
21742 if (temp2)
21743 delete arg2;
21744 }
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxListItem *arg1 = (wxListItem *) 0 ;
21752 int arg2 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "image", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail;
21762 {
21763 arg2 = (int)(SWIG_As_int(obj1));
21764 if (SWIG_arg_fail(2)) SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 (arg1)->SetImage(arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 Py_INCREF(Py_None); resultobj = Py_None;
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxListItem *arg1 = (wxListItem *) 0 ;
21783 long arg2 ;
21784 PyObject * obj0 = 0 ;
21785 PyObject * obj1 = 0 ;
21786 char *kwnames[] = {
21787 (char *) "self",(char *) "data", NULL
21788 };
21789
21790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21792 if (SWIG_arg_fail(1)) SWIG_fail;
21793 {
21794 arg2 = (long)(SWIG_As_long(obj1));
21795 if (SWIG_arg_fail(2)) SWIG_fail;
21796 }
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 (arg1)->SetData(arg2);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 Py_INCREF(Py_None); resultobj = Py_None;
21805 return resultobj;
21806 fail:
21807 return NULL;
21808 }
21809
21810
21811 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxListItem *arg1 = (wxListItem *) 0 ;
21814 int arg2 ;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self",(char *) "width", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
21822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21823 if (SWIG_arg_fail(1)) SWIG_fail;
21824 {
21825 arg2 = (int)(SWIG_As_int(obj1));
21826 if (SWIG_arg_fail(2)) SWIG_fail;
21827 }
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 (arg1)->SetWidth(arg2);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 Py_INCREF(Py_None); resultobj = Py_None;
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxListItem *arg1 = (wxListItem *) 0 ;
21845 wxListColumnFormat arg2 ;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "align", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
21853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail;
21855 {
21856 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
21857 if (SWIG_arg_fail(2)) SWIG_fail;
21858 }
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->SetAlign((wxListColumnFormat )arg2);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 Py_INCREF(Py_None); resultobj = Py_None;
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxListItem *arg1 = (wxListItem *) 0 ;
21876 wxColour *arg2 = 0 ;
21877 wxColour temp2 ;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 char *kwnames[] = {
21881 (char *) "self",(char *) "colText", NULL
21882 };
21883
21884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21886 if (SWIG_arg_fail(1)) SWIG_fail;
21887 {
21888 arg2 = &temp2;
21889 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 (arg1)->SetTextColour((wxColour const &)*arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 Py_INCREF(Py_None); resultobj = Py_None;
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxListItem *arg1 = (wxListItem *) 0 ;
21908 wxColour *arg2 = 0 ;
21909 wxColour temp2 ;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "colBack", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail;
21919 {
21920 arg2 = &temp2;
21921 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21922 }
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 Py_INCREF(Py_None); resultobj = Py_None;
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxListItem *arg1 = (wxListItem *) 0 ;
21940 wxFont *arg2 = 0 ;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self",(char *) "font", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
21948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21949 if (SWIG_arg_fail(1)) SWIG_fail;
21950 {
21951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21952 if (SWIG_arg_fail(2)) SWIG_fail;
21953 if (arg2 == NULL) {
21954 SWIG_null_ref("wxFont");
21955 }
21956 if (SWIG_arg_fail(2)) SWIG_fail;
21957 }
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->SetFont((wxFont const &)*arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969 }
21970
21971
21972 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxListItem *arg1 = (wxListItem *) 0 ;
21975 long result;
21976 PyObject * obj0 = 0 ;
21977 char *kwnames[] = {
21978 (char *) "self", NULL
21979 };
21980
21981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
21982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 result = (long)(arg1)->GetMask();
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 {
21992 resultobj = SWIG_From_long((long)(result));
21993 }
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxListItem *arg1 = (wxListItem *) 0 ;
22003 long result;
22004 PyObject * obj0 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 result = (long)(arg1)->GetId();
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 {
22020 resultobj = SWIG_From_long((long)(result));
22021 }
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxListItem *arg1 = (wxListItem *) 0 ;
22031 int result;
22032 PyObject * obj0 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail;
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 result = (int)(arg1)->GetColumn();
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 {
22048 resultobj = SWIG_From_int((int)(result));
22049 }
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxListItem *arg1 = (wxListItem *) 0 ;
22059 long result;
22060 PyObject * obj0 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail;
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (long)(arg1)->GetState();
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 resultobj = SWIG_From_long((long)(result));
22077 }
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxListItem *arg1 = (wxListItem *) 0 ;
22087 wxString *result;
22088 PyObject * obj0 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22095 if (SWIG_arg_fail(1)) SWIG_fail;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 {
22099 wxString const &_result_ref = (arg1)->GetText();
22100 result = (wxString *) &_result_ref;
22101 }
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 {
22107 #if wxUSE_UNICODE
22108 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22109 #else
22110 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22111 #endif
22112 }
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxListItem *arg1 = (wxListItem *) 0 ;
22122 int result;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 result = (int)(arg1)->GetImage();
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 {
22139 resultobj = SWIG_From_int((int)(result));
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj;
22149 wxListItem *arg1 = (wxListItem *) 0 ;
22150 long result;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail;
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = (long)(arg1)->GetData();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
22167 resultobj = SWIG_From_long((long)(result));
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj;
22177 wxListItem *arg1 = (wxListItem *) 0 ;
22178 int result;
22179 PyObject * obj0 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (int)(arg1)->GetWidth();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 {
22195 resultobj = SWIG_From_int((int)(result));
22196 }
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxListItem *arg1 = (wxListItem *) 0 ;
22206 wxListColumnFormat result;
22207 PyObject * obj0 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail;
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 result = (wxListColumnFormat)(arg1)->GetAlign();
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_From_int((result));
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxListItem *arg1 = (wxListItem *) 0 ;
22232 wxListItemAttr *result;
22233 PyObject * obj0 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (wxListItemAttr *)(arg1)->GetAttributes();
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxListItem *arg1 = (wxListItem *) 0 ;
22258 bool result;
22259 PyObject * obj0 = 0 ;
22260 char *kwnames[] = {
22261 (char *) "self", NULL
22262 };
22263
22264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail;
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 result = (bool)(arg1)->HasAttributes();
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 {
22275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22276 }
22277 return resultobj;
22278 fail:
22279 return NULL;
22280 }
22281
22282
22283 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22284 PyObject *resultobj;
22285 wxListItem *arg1 = (wxListItem *) 0 ;
22286 wxColour result;
22287 PyObject * obj0 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22294 if (SWIG_arg_fail(1)) SWIG_fail;
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = ((wxListItem const *)arg1)->GetTextColour();
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 {
22303 wxColour * resultptr;
22304 resultptr = new wxColour((wxColour &)(result));
22305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22306 }
22307 return resultobj;
22308 fail:
22309 return NULL;
22310 }
22311
22312
22313 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxListItem *arg1 = (wxListItem *) 0 ;
22316 wxColour result;
22317 PyObject * obj0 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail;
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 {
22333 wxColour * resultptr;
22334 resultptr = new wxColour((wxColour &)(result));
22335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxListItem *arg1 = (wxListItem *) 0 ;
22346 wxFont result;
22347 PyObject * obj0 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail;
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 result = ((wxListItem const *)arg1)->GetFont();
22358
22359 wxPyEndAllowThreads(__tstate);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 }
22362 {
22363 wxFont * resultptr;
22364 resultptr = new wxFont((wxFont &)(result));
22365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22366 }
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxListItem *arg1 = (wxListItem *) 0 ;
22376 long arg2 ;
22377 PyObject * obj0 = 0 ;
22378 PyObject * obj1 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "m_mask", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail;
22386 {
22387 arg2 = (long)(SWIG_As_long(obj1));
22388 if (SWIG_arg_fail(2)) SWIG_fail;
22389 }
22390 if (arg1) (arg1)->m_mask = arg2;
22391
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxListItem *arg1 = (wxListItem *) 0 ;
22402 long result;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail;
22411 result = (long) ((arg1)->m_mask);
22412
22413 {
22414 resultobj = SWIG_From_long((long)(result));
22415 }
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxListItem *arg1 = (wxListItem *) 0 ;
22425 long arg2 ;
22426 PyObject * obj0 = 0 ;
22427 PyObject * obj1 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self",(char *) "m_itemId", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail;
22435 {
22436 arg2 = (long)(SWIG_As_long(obj1));
22437 if (SWIG_arg_fail(2)) SWIG_fail;
22438 }
22439 if (arg1) (arg1)->m_itemId = arg2;
22440
22441 Py_INCREF(Py_None); resultobj = Py_None;
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj;
22450 wxListItem *arg1 = (wxListItem *) 0 ;
22451 long result;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",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 result = (long) ((arg1)->m_itemId);
22461
22462 {
22463 resultobj = SWIG_From_long((long)(result));
22464 }
22465 return resultobj;
22466 fail:
22467 return NULL;
22468 }
22469
22470
22471 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22472 PyObject *resultobj;
22473 wxListItem *arg1 = (wxListItem *) 0 ;
22474 int arg2 ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "m_col", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22483 if (SWIG_arg_fail(1)) SWIG_fail;
22484 {
22485 arg2 = (int)(SWIG_As_int(obj1));
22486 if (SWIG_arg_fail(2)) SWIG_fail;
22487 }
22488 if (arg1) (arg1)->m_col = arg2;
22489
22490 Py_INCREF(Py_None); resultobj = Py_None;
22491 return resultobj;
22492 fail:
22493 return NULL;
22494 }
22495
22496
22497 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22498 PyObject *resultobj;
22499 wxListItem *arg1 = (wxListItem *) 0 ;
22500 int result;
22501 PyObject * obj0 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail;
22509 result = (int) ((arg1)->m_col);
22510
22511 {
22512 resultobj = SWIG_From_int((int)(result));
22513 }
22514 return resultobj;
22515 fail:
22516 return NULL;
22517 }
22518
22519
22520 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22521 PyObject *resultobj;
22522 wxListItem *arg1 = (wxListItem *) 0 ;
22523 long arg2 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "m_state", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail;
22533 {
22534 arg2 = (long)(SWIG_As_long(obj1));
22535 if (SWIG_arg_fail(2)) SWIG_fail;
22536 }
22537 if (arg1) (arg1)->m_state = arg2;
22538
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxListItem *arg1 = (wxListItem *) 0 ;
22549 long result;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail;
22558 result = (long) ((arg1)->m_state);
22559
22560 {
22561 resultobj = SWIG_From_long((long)(result));
22562 }
22563 return resultobj;
22564 fail:
22565 return NULL;
22566 }
22567
22568
22569 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22570 PyObject *resultobj;
22571 wxListItem *arg1 = (wxListItem *) 0 ;
22572 long arg2 ;
22573 PyObject * obj0 = 0 ;
22574 PyObject * obj1 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self",(char *) "m_stateMask", NULL
22577 };
22578
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22581 if (SWIG_arg_fail(1)) SWIG_fail;
22582 {
22583 arg2 = (long)(SWIG_As_long(obj1));
22584 if (SWIG_arg_fail(2)) SWIG_fail;
22585 }
22586 if (arg1) (arg1)->m_stateMask = arg2;
22587
22588 Py_INCREF(Py_None); resultobj = Py_None;
22589 return resultobj;
22590 fail:
22591 return NULL;
22592 }
22593
22594
22595 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22596 PyObject *resultobj;
22597 wxListItem *arg1 = (wxListItem *) 0 ;
22598 long result;
22599 PyObject * obj0 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self", NULL
22602 };
22603
22604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail;
22607 result = (long) ((arg1)->m_stateMask);
22608
22609 {
22610 resultobj = SWIG_From_long((long)(result));
22611 }
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxListItem *arg1 = (wxListItem *) 0 ;
22621 wxString *arg2 = (wxString *) 0 ;
22622 bool temp2 = false ;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self",(char *) "m_text", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail;
22632 {
22633 arg2 = wxString_in_helper(obj1);
22634 if (arg2 == NULL) SWIG_fail;
22635 temp2 = true;
22636 }
22637 if (arg1) (arg1)->m_text = *arg2;
22638
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 {
22641 if (temp2)
22642 delete arg2;
22643 }
22644 return resultobj;
22645 fail:
22646 {
22647 if (temp2)
22648 delete arg2;
22649 }
22650 return NULL;
22651 }
22652
22653
22654 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxListItem *arg1 = (wxListItem *) 0 ;
22657 wxString *result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22665 if (SWIG_arg_fail(1)) SWIG_fail;
22666 result = (wxString *)& ((arg1)->m_text);
22667
22668 {
22669 #if wxUSE_UNICODE
22670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22671 #else
22672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22673 #endif
22674 }
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 wxListItem *arg1 = (wxListItem *) 0 ;
22684 int arg2 ;
22685 PyObject * obj0 = 0 ;
22686 PyObject * obj1 = 0 ;
22687 char *kwnames[] = {
22688 (char *) "self",(char *) "m_image", NULL
22689 };
22690
22691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22693 if (SWIG_arg_fail(1)) SWIG_fail;
22694 {
22695 arg2 = (int)(SWIG_As_int(obj1));
22696 if (SWIG_arg_fail(2)) SWIG_fail;
22697 }
22698 if (arg1) (arg1)->m_image = arg2;
22699
22700 Py_INCREF(Py_None); resultobj = Py_None;
22701 return resultobj;
22702 fail:
22703 return NULL;
22704 }
22705
22706
22707 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22708 PyObject *resultobj;
22709 wxListItem *arg1 = (wxListItem *) 0 ;
22710 int result;
22711 PyObject * obj0 = 0 ;
22712 char *kwnames[] = {
22713 (char *) "self", NULL
22714 };
22715
22716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail;
22719 result = (int) ((arg1)->m_image);
22720
22721 {
22722 resultobj = SWIG_From_int((int)(result));
22723 }
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22731 PyObject *resultobj;
22732 wxListItem *arg1 = (wxListItem *) 0 ;
22733 long arg2 ;
22734 PyObject * obj0 = 0 ;
22735 PyObject * obj1 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "m_data", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22742 if (SWIG_arg_fail(1)) SWIG_fail;
22743 {
22744 arg2 = (long)(SWIG_As_long(obj1));
22745 if (SWIG_arg_fail(2)) SWIG_fail;
22746 }
22747 if (arg1) (arg1)->m_data = arg2;
22748
22749 Py_INCREF(Py_None); resultobj = Py_None;
22750 return resultobj;
22751 fail:
22752 return NULL;
22753 }
22754
22755
22756 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22757 PyObject *resultobj;
22758 wxListItem *arg1 = (wxListItem *) 0 ;
22759 long result;
22760 PyObject * obj0 = 0 ;
22761 char *kwnames[] = {
22762 (char *) "self", NULL
22763 };
22764
22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail;
22768 result = (long) ((arg1)->m_data);
22769
22770 {
22771 resultobj = SWIG_From_long((long)(result));
22772 }
22773 return resultobj;
22774 fail:
22775 return NULL;
22776 }
22777
22778
22779 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22780 PyObject *resultobj;
22781 wxListItem *arg1 = (wxListItem *) 0 ;
22782 int arg2 ;
22783 PyObject * obj0 = 0 ;
22784 PyObject * obj1 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self",(char *) "m_format", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22791 if (SWIG_arg_fail(1)) SWIG_fail;
22792 {
22793 arg2 = (int)(SWIG_As_int(obj1));
22794 if (SWIG_arg_fail(2)) SWIG_fail;
22795 }
22796 if (arg1) (arg1)->m_format = arg2;
22797
22798 Py_INCREF(Py_None); resultobj = Py_None;
22799 return resultobj;
22800 fail:
22801 return NULL;
22802 }
22803
22804
22805 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22806 PyObject *resultobj;
22807 wxListItem *arg1 = (wxListItem *) 0 ;
22808 int result;
22809 PyObject * obj0 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22816 if (SWIG_arg_fail(1)) SWIG_fail;
22817 result = (int) ((arg1)->m_format);
22818
22819 {
22820 resultobj = SWIG_From_int((int)(result));
22821 }
22822 return resultobj;
22823 fail:
22824 return NULL;
22825 }
22826
22827
22828 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
22829 PyObject *resultobj;
22830 wxListItem *arg1 = (wxListItem *) 0 ;
22831 int arg2 ;
22832 PyObject * obj0 = 0 ;
22833 PyObject * obj1 = 0 ;
22834 char *kwnames[] = {
22835 (char *) "self",(char *) "m_width", NULL
22836 };
22837
22838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
22839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22840 if (SWIG_arg_fail(1)) SWIG_fail;
22841 {
22842 arg2 = (int)(SWIG_As_int(obj1));
22843 if (SWIG_arg_fail(2)) SWIG_fail;
22844 }
22845 if (arg1) (arg1)->m_width = arg2;
22846
22847 Py_INCREF(Py_None); resultobj = Py_None;
22848 return resultobj;
22849 fail:
22850 return NULL;
22851 }
22852
22853
22854 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj;
22856 wxListItem *arg1 = (wxListItem *) 0 ;
22857 int result;
22858 PyObject * obj0 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "self", NULL
22861 };
22862
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
22864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22865 if (SWIG_arg_fail(1)) SWIG_fail;
22866 result = (int) ((arg1)->m_width);
22867
22868 {
22869 resultobj = SWIG_From_int((int)(result));
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
22878 PyObject *obj;
22879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22880 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
22881 Py_INCREF(obj);
22882 return Py_BuildValue((char *)"");
22883 }
22884 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22885 PyObject *resultobj;
22886 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22887 int arg2 = (int) 0 ;
22888 wxListEvent *result;
22889 PyObject * obj0 = 0 ;
22890 PyObject * obj1 = 0 ;
22891 char *kwnames[] = {
22892 (char *) "commandType",(char *) "id", NULL
22893 };
22894
22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
22896 if (obj0) {
22897 {
22898 arg1 = (wxEventType)(SWIG_As_int(obj0));
22899 if (SWIG_arg_fail(1)) SWIG_fail;
22900 }
22901 }
22902 if (obj1) {
22903 {
22904 arg2 = (int)(SWIG_As_int(obj1));
22905 if (SWIG_arg_fail(2)) SWIG_fail;
22906 }
22907 }
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 result = (wxListEvent *)new wxListEvent(arg1,arg2);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxListEvent *arg1 = (wxListEvent *) 0 ;
22925 int arg2 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "m_code", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
22933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
22934 if (SWIG_arg_fail(1)) SWIG_fail;
22935 {
22936 arg2 = (int)(SWIG_As_int(obj1));
22937 if (SWIG_arg_fail(2)) SWIG_fail;
22938 }
22939 if (arg1) (arg1)->m_code = arg2;
22940
22941 Py_INCREF(Py_None); resultobj = Py_None;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxListEvent *arg1 = (wxListEvent *) 0 ;
22951 int result;
22952 PyObject * obj0 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
22958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail;
22960 result = (int) ((arg1)->m_code);
22961
22962 {
22963 resultobj = SWIG_From_int((int)(result));
22964 }
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 wxListEvent *arg1 = (wxListEvent *) 0 ;
22974 long arg2 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "m_oldItemIndex", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
22984 {
22985 arg2 = (long)(SWIG_As_long(obj1));
22986 if (SWIG_arg_fail(2)) SWIG_fail;
22987 }
22988 if (arg1) (arg1)->m_oldItemIndex = arg2;
22989
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxListEvent *arg1 = (wxListEvent *) 0 ;
23000 long result;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
23009 result = (long) ((arg1)->m_oldItemIndex);
23010
23011 {
23012 resultobj = SWIG_From_long((long)(result));
23013 }
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxListEvent *arg1 = (wxListEvent *) 0 ;
23023 long arg2 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "m_itemIndex", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail;
23033 {
23034 arg2 = (long)(SWIG_As_long(obj1));
23035 if (SWIG_arg_fail(2)) SWIG_fail;
23036 }
23037 if (arg1) (arg1)->m_itemIndex = arg2;
23038
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxListEvent *arg1 = (wxListEvent *) 0 ;
23049 long result;
23050 PyObject * obj0 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23057 if (SWIG_arg_fail(1)) SWIG_fail;
23058 result = (long) ((arg1)->m_itemIndex);
23059
23060 {
23061 resultobj = SWIG_From_long((long)(result));
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxListEvent *arg1 = (wxListEvent *) 0 ;
23072 int arg2 ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "m_col", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23081 if (SWIG_arg_fail(1)) SWIG_fail;
23082 {
23083 arg2 = (int)(SWIG_As_int(obj1));
23084 if (SWIG_arg_fail(2)) SWIG_fail;
23085 }
23086 if (arg1) (arg1)->m_col = arg2;
23087
23088 Py_INCREF(Py_None); resultobj = Py_None;
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxListEvent *arg1 = (wxListEvent *) 0 ;
23098 int result;
23099 PyObject * obj0 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23106 if (SWIG_arg_fail(1)) SWIG_fail;
23107 result = (int) ((arg1)->m_col);
23108
23109 {
23110 resultobj = SWIG_From_int((int)(result));
23111 }
23112 return resultobj;
23113 fail:
23114 return NULL;
23115 }
23116
23117
23118 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxListEvent *arg1 = (wxListEvent *) 0 ;
23121 wxPoint *arg2 = (wxPoint *) 0 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "m_pointDrag", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23130 if (SWIG_arg_fail(1)) SWIG_fail;
23131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(2)) SWIG_fail;
23133 if (arg1) (arg1)->m_pointDrag = *arg2;
23134
23135 Py_INCREF(Py_None); resultobj = Py_None;
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj;
23144 wxListEvent *arg1 = (wxListEvent *) 0 ;
23145 wxPoint *result;
23146 PyObject * obj0 = 0 ;
23147 char *kwnames[] = {
23148 (char *) "self", NULL
23149 };
23150
23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) 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 result = (wxPoint *)& ((arg1)->m_pointDrag);
23155
23156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxListEvent *arg1 = (wxListEvent *) 0 ;
23166 wxListItem *result;
23167 PyObject * obj0 = 0 ;
23168 char *kwnames[] = {
23169 (char *) "self", NULL
23170 };
23171
23172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail;
23175 result = (wxListItem *)& ((arg1)->m_item);
23176
23177 {
23178 resultobj = wxPyMake_wxObject(result, 0);
23179 }
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxListEvent *arg1 = (wxListEvent *) 0 ;
23189 int result;
23190 PyObject * obj0 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (int)(arg1)->GetKeyCode();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 resultobj = SWIG_From_int((int)(result));
23207 }
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxListEvent *arg1 = (wxListEvent *) 0 ;
23217 long result;
23218 PyObject * obj0 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = (long)(arg1)->GetIndex();
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 {
23234 resultobj = SWIG_From_long((long)(result));
23235 }
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23243 PyObject *resultobj;
23244 wxListEvent *arg1 = (wxListEvent *) 0 ;
23245 int result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (int)(arg1)->GetColumn();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 resultobj = SWIG_From_int((int)(result));
23263 }
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxListEvent *arg1 = (wxListEvent *) 0 ;
23273 wxPoint result;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23281 if (SWIG_arg_fail(1)) SWIG_fail;
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (arg1)->GetPoint();
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 {
23290 wxPoint * resultptr;
23291 resultptr = new wxPoint((wxPoint &)(result));
23292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23293 }
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxListEvent *arg1 = (wxListEvent *) 0 ;
23303 wxString *result;
23304 PyObject * obj0 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail;
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 {
23315 wxString const &_result_ref = (arg1)->GetLabel();
23316 result = (wxString *) &_result_ref;
23317 }
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 {
23323 #if wxUSE_UNICODE
23324 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23325 #else
23326 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23327 #endif
23328 }
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxListEvent *arg1 = (wxListEvent *) 0 ;
23338 wxString *result;
23339 PyObject * obj0 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail;
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 {
23350 wxString const &_result_ref = (arg1)->GetText();
23351 result = (wxString *) &_result_ref;
23352 }
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 #if wxUSE_UNICODE
23359 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23360 #else
23361 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23362 #endif
23363 }
23364 return resultobj;
23365 fail:
23366 return NULL;
23367 }
23368
23369
23370 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23371 PyObject *resultobj;
23372 wxListEvent *arg1 = (wxListEvent *) 0 ;
23373 int result;
23374 PyObject * obj0 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail;
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (int)(arg1)->GetImage();
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 {
23390 resultobj = SWIG_From_int((int)(result));
23391 }
23392 return resultobj;
23393 fail:
23394 return NULL;
23395 }
23396
23397
23398 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23399 PyObject *resultobj;
23400 wxListEvent *arg1 = (wxListEvent *) 0 ;
23401 long result;
23402 PyObject * obj0 = 0 ;
23403 char *kwnames[] = {
23404 (char *) "self", NULL
23405 };
23406
23407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23409 if (SWIG_arg_fail(1)) SWIG_fail;
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 result = (long)(arg1)->GetData();
23413
23414 wxPyEndAllowThreads(__tstate);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 }
23417 {
23418 resultobj = SWIG_From_long((long)(result));
23419 }
23420 return resultobj;
23421 fail:
23422 return NULL;
23423 }
23424
23425
23426 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23427 PyObject *resultobj;
23428 wxListEvent *arg1 = (wxListEvent *) 0 ;
23429 long result;
23430 PyObject * obj0 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 result = (long)(arg1)->GetMask();
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 {
23446 resultobj = SWIG_From_long((long)(result));
23447 }
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxListEvent *arg1 = (wxListEvent *) 0 ;
23457 wxListItem *result;
23458 PyObject * obj0 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail;
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 {
23469 wxListItem const &_result_ref = (arg1)->GetItem();
23470 result = (wxListItem *) &_result_ref;
23471 }
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23484 PyObject *resultobj;
23485 wxListEvent *arg1 = (wxListEvent *) 0 ;
23486 long result;
23487 PyObject * obj0 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail;
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = (long)(arg1)->GetCacheFrom();
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 {
23503 resultobj = SWIG_From_long((long)(result));
23504 }
23505 return resultobj;
23506 fail:
23507 return NULL;
23508 }
23509
23510
23511 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23512 PyObject *resultobj;
23513 wxListEvent *arg1 = (wxListEvent *) 0 ;
23514 long result;
23515 PyObject * obj0 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (long)(arg1)->GetCacheTo();
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 {
23531 resultobj = SWIG_From_long((long)(result));
23532 }
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 wxListEvent *arg1 = (wxListEvent *) 0 ;
23542 bool result;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail;
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 {
23559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23560 }
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxListEvent *arg1 = (wxListEvent *) 0 ;
23570 bool arg2 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "editCancelled", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23579 if (SWIG_arg_fail(1)) SWIG_fail;
23580 {
23581 arg2 = (bool)(SWIG_As_bool(obj1));
23582 if (SWIG_arg_fail(2)) SWIG_fail;
23583 }
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 (arg1)->SetEditCanceled(arg2);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 Py_INCREF(Py_None); resultobj = Py_None;
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23599 PyObject *obj;
23600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23601 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23602 Py_INCREF(obj);
23603 return Py_BuildValue((char *)"");
23604 }
23605 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxWindow *arg1 = (wxWindow *) 0 ;
23608 int arg2 = (int) -1 ;
23609 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23610 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23611 wxSize const &arg4_defvalue = wxDefaultSize ;
23612 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23613 long arg5 = (long) wxLC_ICON ;
23614 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23615 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23616 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23617 wxString *arg7 = (wxString *) &arg7_defvalue ;
23618 wxPyListCtrl *result;
23619 wxPoint temp3 ;
23620 wxSize temp4 ;
23621 bool temp7 = false ;
23622 PyObject * obj0 = 0 ;
23623 PyObject * obj1 = 0 ;
23624 PyObject * obj2 = 0 ;
23625 PyObject * obj3 = 0 ;
23626 PyObject * obj4 = 0 ;
23627 PyObject * obj5 = 0 ;
23628 PyObject * obj6 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail;
23636 if (obj1) {
23637 {
23638 arg2 = (int)(SWIG_As_int(obj1));
23639 if (SWIG_arg_fail(2)) SWIG_fail;
23640 }
23641 }
23642 if (obj2) {
23643 {
23644 arg3 = &temp3;
23645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23646 }
23647 }
23648 if (obj3) {
23649 {
23650 arg4 = &temp4;
23651 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23652 }
23653 }
23654 if (obj4) {
23655 {
23656 arg5 = (long)(SWIG_As_long(obj4));
23657 if (SWIG_arg_fail(5)) SWIG_fail;
23658 }
23659 }
23660 if (obj5) {
23661 {
23662 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23663 if (SWIG_arg_fail(6)) SWIG_fail;
23664 if (arg6 == NULL) {
23665 SWIG_null_ref("wxValidator");
23666 }
23667 if (SWIG_arg_fail(6)) SWIG_fail;
23668 }
23669 }
23670 if (obj6) {
23671 {
23672 arg7 = wxString_in_helper(obj6);
23673 if (arg7 == NULL) SWIG_fail;
23674 temp7 = true;
23675 }
23676 }
23677 {
23678 if (!wxPyCheckForApp()) SWIG_fail;
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23686 {
23687 if (temp7)
23688 delete arg7;
23689 }
23690 return resultobj;
23691 fail:
23692 {
23693 if (temp7)
23694 delete arg7;
23695 }
23696 return NULL;
23697 }
23698
23699
23700 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23701 PyObject *resultobj;
23702 wxPyListCtrl *result;
23703 char *kwnames[] = {
23704 NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23708 {
23709 if (!wxPyCheckForApp()) SWIG_fail;
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 result = (wxPyListCtrl *)new wxPyListCtrl();
23712
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
23716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23726 wxWindow *arg2 = (wxWindow *) 0 ;
23727 int arg3 = (int) -1 ;
23728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23730 wxSize const &arg5_defvalue = wxDefaultSize ;
23731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23732 long arg6 = (long) wxLC_ICON ;
23733 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23734 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23735 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23736 wxString *arg8 = (wxString *) &arg8_defvalue ;
23737 bool result;
23738 wxPoint temp4 ;
23739 wxSize temp5 ;
23740 bool temp8 = false ;
23741 PyObject * obj0 = 0 ;
23742 PyObject * obj1 = 0 ;
23743 PyObject * obj2 = 0 ;
23744 PyObject * obj3 = 0 ;
23745 PyObject * obj4 = 0 ;
23746 PyObject * obj5 = 0 ;
23747 PyObject * obj6 = 0 ;
23748 PyObject * obj7 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail;
23756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23757 if (SWIG_arg_fail(2)) SWIG_fail;
23758 if (obj2) {
23759 {
23760 arg3 = (int)(SWIG_As_int(obj2));
23761 if (SWIG_arg_fail(3)) SWIG_fail;
23762 }
23763 }
23764 if (obj3) {
23765 {
23766 arg4 = &temp4;
23767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23768 }
23769 }
23770 if (obj4) {
23771 {
23772 arg5 = &temp5;
23773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23774 }
23775 }
23776 if (obj5) {
23777 {
23778 arg6 = (long)(SWIG_As_long(obj5));
23779 if (SWIG_arg_fail(6)) SWIG_fail;
23780 }
23781 }
23782 if (obj6) {
23783 {
23784 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23785 if (SWIG_arg_fail(7)) SWIG_fail;
23786 if (arg7 == NULL) {
23787 SWIG_null_ref("wxValidator");
23788 }
23789 if (SWIG_arg_fail(7)) SWIG_fail;
23790 }
23791 }
23792 if (obj7) {
23793 {
23794 arg8 = wxString_in_helper(obj7);
23795 if (arg8 == NULL) SWIG_fail;
23796 temp8 = true;
23797 }
23798 }
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 {
23807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23808 }
23809 {
23810 if (temp8)
23811 delete arg8;
23812 }
23813 return resultobj;
23814 fail:
23815 {
23816 if (temp8)
23817 delete arg8;
23818 }
23819 return NULL;
23820 }
23821
23822
23823 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj;
23825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23826 PyObject *arg2 = (PyObject *) 0 ;
23827 PyObject *arg3 = (PyObject *) 0 ;
23828 PyObject * obj0 = 0 ;
23829 PyObject * obj1 = 0 ;
23830 PyObject * obj2 = 0 ;
23831 char *kwnames[] = {
23832 (char *) "self",(char *) "self",(char *) "_class", NULL
23833 };
23834
23835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23837 if (SWIG_arg_fail(1)) SWIG_fail;
23838 arg2 = obj1;
23839 arg3 = obj2;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 (arg1)->_setCallbackInfo(arg2,arg3);
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 Py_INCREF(Py_None); resultobj = Py_None;
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23857 wxColour *arg2 = 0 ;
23858 bool result;
23859 wxColour temp2 ;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj1 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "col", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
23867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail;
23869 {
23870 arg2 = &temp2;
23871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23872 }
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 {
23881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23882 }
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23892 wxColour *arg2 = 0 ;
23893 bool result;
23894 wxColour temp2 ;
23895 PyObject * obj0 = 0 ;
23896 PyObject * obj1 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self",(char *) "col", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23903 if (SWIG_arg_fail(1)) SWIG_fail;
23904 {
23905 arg2 = &temp2;
23906 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23907 }
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 {
23916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23917 }
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23927 int arg2 ;
23928 wxListItem *result;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "col", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
23936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23937 if (SWIG_arg_fail(1)) SWIG_fail;
23938 {
23939 arg2 = (int)(SWIG_As_int(obj1));
23940 if (SWIG_arg_fail(2)) SWIG_fail;
23941 }
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 {
23950 resultobj = wxPyMake_wxObject(result, 0);
23951 }
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23961 int arg2 ;
23962 wxListItem *arg3 = 0 ;
23963 bool result;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 PyObject * obj2 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "col",(char *) "item", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
23974 {
23975 arg2 = (int)(SWIG_As_int(obj1));
23976 if (SWIG_arg_fail(2)) SWIG_fail;
23977 }
23978 {
23979 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23980 if (SWIG_arg_fail(3)) SWIG_fail;
23981 if (arg3 == NULL) {
23982 SWIG_null_ref("wxListItem");
23983 }
23984 if (SWIG_arg_fail(3)) SWIG_fail;
23985 }
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = (bool)(arg1)->SetColumn(arg2,*arg3);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24005 int arg2 ;
24006 int result;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self",(char *) "col", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24015 if (SWIG_arg_fail(1)) SWIG_fail;
24016 {
24017 arg2 = (int)(SWIG_As_int(obj1));
24018 if (SWIG_arg_fail(2)) SWIG_fail;
24019 }
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 resultobj = SWIG_From_int((int)(result));
24029 }
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24039 int arg2 ;
24040 int arg3 ;
24041 bool result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 PyObject * obj2 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self",(char *) "col",(char *) "width", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24051 if (SWIG_arg_fail(1)) SWIG_fail;
24052 {
24053 arg2 = (int)(SWIG_As_int(obj1));
24054 if (SWIG_arg_fail(2)) SWIG_fail;
24055 }
24056 {
24057 arg3 = (int)(SWIG_As_int(obj2));
24058 if (SWIG_arg_fail(3)) SWIG_fail;
24059 }
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj;
24078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24079 int result;
24080 PyObject * obj0 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = SWIG_From_int((int)(result));
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24107 wxRect result;
24108 PyObject * obj0 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 {
24124 wxRect * resultptr;
24125 resultptr = new wxRect((wxRect &)(result));
24126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24127 }
24128 return resultobj;
24129 fail:
24130 return NULL;
24131 }
24132
24133
24134 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24137 wxTextCtrl *result;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
24144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail;
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 {
24154 resultobj = wxPyMake_wxObject(result, 0);
24155 }
24156 return resultobj;
24157 fail:
24158 return NULL;
24159 }
24160
24161
24162 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24163 PyObject *resultobj;
24164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24165 long arg2 ;
24166 int arg3 = (int) 0 ;
24167 wxListItem *result;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 PyObject * obj2 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "itemId",(char *) "col", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24177 if (SWIG_arg_fail(1)) SWIG_fail;
24178 {
24179 arg2 = (long)(SWIG_As_long(obj1));
24180 if (SWIG_arg_fail(2)) SWIG_fail;
24181 }
24182 if (obj2) {
24183 {
24184 arg3 = (int)(SWIG_As_int(obj2));
24185 if (SWIG_arg_fail(3)) SWIG_fail;
24186 }
24187 }
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 {
24196 resultobj = wxPyMake_wxObject(result, 0);
24197 }
24198 return resultobj;
24199 fail:
24200 return NULL;
24201 }
24202
24203
24204 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj;
24206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24207 wxListItem *arg2 = 0 ;
24208 bool result;
24209 PyObject * obj0 = 0 ;
24210 PyObject * obj1 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "info", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail;
24218 {
24219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24220 if (SWIG_arg_fail(2)) SWIG_fail;
24221 if (arg2 == NULL) {
24222 SWIG_null_ref("wxListItem");
24223 }
24224 if (SWIG_arg_fail(2)) SWIG_fail;
24225 }
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (bool)(arg1)->SetItem(*arg2);
24229
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 {
24234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24235 }
24236 return resultobj;
24237 fail:
24238 return NULL;
24239 }
24240
24241
24242 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24243 PyObject *resultobj;
24244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24245 long arg2 ;
24246 int arg3 ;
24247 wxString *arg4 = 0 ;
24248 int arg5 = (int) -1 ;
24249 long result;
24250 bool temp4 = false ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 PyObject * obj3 = 0 ;
24255 PyObject * obj4 = 0 ;
24256 char *kwnames[] = {
24257 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24258 };
24259
24260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail;
24263 {
24264 arg2 = (long)(SWIG_As_long(obj1));
24265 if (SWIG_arg_fail(2)) SWIG_fail;
24266 }
24267 {
24268 arg3 = (int)(SWIG_As_int(obj2));
24269 if (SWIG_arg_fail(3)) SWIG_fail;
24270 }
24271 {
24272 arg4 = wxString_in_helper(obj3);
24273 if (arg4 == NULL) SWIG_fail;
24274 temp4 = true;
24275 }
24276 if (obj4) {
24277 {
24278 arg5 = (int)(SWIG_As_int(obj4));
24279 if (SWIG_arg_fail(5)) SWIG_fail;
24280 }
24281 }
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24285
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 {
24290 resultobj = SWIG_From_long((long)(result));
24291 }
24292 {
24293 if (temp4)
24294 delete arg4;
24295 }
24296 return resultobj;
24297 fail:
24298 {
24299 if (temp4)
24300 delete arg4;
24301 }
24302 return NULL;
24303 }
24304
24305
24306 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj;
24308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24309 long arg2 ;
24310 long arg3 ;
24311 int result;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 PyObject * obj2 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24317 };
24318
24319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24321 if (SWIG_arg_fail(1)) SWIG_fail;
24322 {
24323 arg2 = (long)(SWIG_As_long(obj1));
24324 if (SWIG_arg_fail(2)) SWIG_fail;
24325 }
24326 {
24327 arg3 = (long)(SWIG_As_long(obj2));
24328 if (SWIG_arg_fail(3)) SWIG_fail;
24329 }
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 {
24338 resultobj = SWIG_From_int((int)(result));
24339 }
24340 return resultobj;
24341 fail:
24342 return NULL;
24343 }
24344
24345
24346 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24347 PyObject *resultobj;
24348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24349 long arg2 ;
24350 long arg3 ;
24351 long arg4 ;
24352 bool result;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 PyObject * obj2 = 0 ;
24356 PyObject * obj3 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail;
24364 {
24365 arg2 = (long)(SWIG_As_long(obj1));
24366 if (SWIG_arg_fail(2)) SWIG_fail;
24367 }
24368 {
24369 arg3 = (long)(SWIG_As_long(obj2));
24370 if (SWIG_arg_fail(3)) SWIG_fail;
24371 }
24372 {
24373 arg4 = (long)(SWIG_As_long(obj3));
24374 if (SWIG_arg_fail(4)) SWIG_fail;
24375 }
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24379
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 {
24384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24385 }
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj;
24394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24395 long arg2 ;
24396 int arg3 ;
24397 int arg4 = (int) -1 ;
24398 bool result;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 PyObject * obj2 = 0 ;
24402 PyObject * obj3 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24409 if (SWIG_arg_fail(1)) SWIG_fail;
24410 {
24411 arg2 = (long)(SWIG_As_long(obj1));
24412 if (SWIG_arg_fail(2)) SWIG_fail;
24413 }
24414 {
24415 arg3 = (int)(SWIG_As_int(obj2));
24416 if (SWIG_arg_fail(3)) SWIG_fail;
24417 }
24418 if (obj3) {
24419 {
24420 arg4 = (int)(SWIG_As_int(obj3));
24421 if (SWIG_arg_fail(4)) SWIG_fail;
24422 }
24423 }
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 {
24432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24433 }
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24443 long arg2 ;
24444 wxString result;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "item", NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24453 if (SWIG_arg_fail(1)) SWIG_fail;
24454 {
24455 arg2 = (long)(SWIG_As_long(obj1));
24456 if (SWIG_arg_fail(2)) SWIG_fail;
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 {
24466 #if wxUSE_UNICODE
24467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24468 #else
24469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24470 #endif
24471 }
24472 return resultobj;
24473 fail:
24474 return NULL;
24475 }
24476
24477
24478 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24479 PyObject *resultobj;
24480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24481 long arg2 ;
24482 wxString *arg3 = 0 ;
24483 bool temp3 = false ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 PyObject * obj2 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self",(char *) "item",(char *) "str", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail;
24494 {
24495 arg2 = (long)(SWIG_As_long(obj1));
24496 if (SWIG_arg_fail(2)) SWIG_fail;
24497 }
24498 {
24499 arg3 = wxString_in_helper(obj2);
24500 if (arg3 == NULL) SWIG_fail;
24501 temp3 = true;
24502 }
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24506
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 Py_INCREF(Py_None); resultobj = Py_None;
24511 {
24512 if (temp3)
24513 delete arg3;
24514 }
24515 return resultobj;
24516 fail:
24517 {
24518 if (temp3)
24519 delete arg3;
24520 }
24521 return NULL;
24522 }
24523
24524
24525 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj;
24527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24528 long arg2 ;
24529 long result;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "item", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail;
24539 {
24540 arg2 = (long)(SWIG_As_long(obj1));
24541 if (SWIG_arg_fail(2)) SWIG_fail;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 {
24551 resultobj = SWIG_From_long((long)(result));
24552 }
24553 return resultobj;
24554 fail:
24555 return NULL;
24556 }
24557
24558
24559 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24560 PyObject *resultobj;
24561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24562 long arg2 ;
24563 long arg3 ;
24564 bool result;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 PyObject * obj2 = 0 ;
24568 char *kwnames[] = {
24569 (char *) "self",(char *) "item",(char *) "data", NULL
24570 };
24571
24572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24574 if (SWIG_arg_fail(1)) SWIG_fail;
24575 {
24576 arg2 = (long)(SWIG_As_long(obj1));
24577 if (SWIG_arg_fail(2)) SWIG_fail;
24578 }
24579 {
24580 arg3 = (long)(SWIG_As_long(obj2));
24581 if (SWIG_arg_fail(3)) SWIG_fail;
24582 }
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (bool)(arg1)->SetItemData(arg2,arg3);
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 {
24591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24592 }
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24602 long arg2 ;
24603 wxPoint result;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "item", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24612 if (SWIG_arg_fail(1)) SWIG_fail;
24613 {
24614 arg2 = (long)(SWIG_As_long(obj1));
24615 if (SWIG_arg_fail(2)) SWIG_fail;
24616 }
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 {
24625 wxPoint * resultptr;
24626 resultptr = new wxPoint((wxPoint &)(result));
24627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24628 }
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24638 long arg2 ;
24639 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24640 wxRect result;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 PyObject * obj2 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self",(char *) "item",(char *) "code", NULL
24646 };
24647
24648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail;
24651 {
24652 arg2 = (long)(SWIG_As_long(obj1));
24653 if (SWIG_arg_fail(2)) SWIG_fail;
24654 }
24655 if (obj2) {
24656 {
24657 arg3 = (int)(SWIG_As_int(obj2));
24658 if (SWIG_arg_fail(3)) SWIG_fail;
24659 }
24660 }
24661 {
24662 PyThreadState* __tstate = wxPyBeginAllowThreads();
24663 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24664
24665 wxPyEndAllowThreads(__tstate);
24666 if (PyErr_Occurred()) SWIG_fail;
24667 }
24668 {
24669 wxRect * resultptr;
24670 resultptr = new wxRect((wxRect &)(result));
24671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24672 }
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj;
24681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24682 long arg2 ;
24683 wxPoint *arg3 = 0 ;
24684 bool result;
24685 wxPoint temp3 ;
24686 PyObject * obj0 = 0 ;
24687 PyObject * obj1 = 0 ;
24688 PyObject * obj2 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "item",(char *) "pos", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail;
24696 {
24697 arg2 = (long)(SWIG_As_long(obj1));
24698 if (SWIG_arg_fail(2)) SWIG_fail;
24699 }
24700 {
24701 arg3 = &temp3;
24702 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24703 }
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24707
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 {
24712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24713 }
24714 return resultobj;
24715 fail:
24716 return NULL;
24717 }
24718
24719
24720 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24721 PyObject *resultobj;
24722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24723 int result;
24724 PyObject * obj0 = 0 ;
24725 char *kwnames[] = {
24726 (char *) "self", NULL
24727 };
24728
24729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24731 if (SWIG_arg_fail(1)) SWIG_fail;
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 {
24740 resultobj = SWIG_From_int((int)(result));
24741 }
24742 return resultobj;
24743 fail:
24744 return NULL;
24745 }
24746
24747
24748 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24749 PyObject *resultobj;
24750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24751 int result;
24752 PyObject * obj0 = 0 ;
24753 char *kwnames[] = {
24754 (char *) "self", NULL
24755 };
24756
24757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24759 if (SWIG_arg_fail(1)) SWIG_fail;
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24763
24764 wxPyEndAllowThreads(__tstate);
24765 if (PyErr_Occurred()) SWIG_fail;
24766 }
24767 {
24768 resultobj = SWIG_From_int((int)(result));
24769 }
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24779 wxSize result;
24780 PyObject * obj0 = 0 ;
24781 char *kwnames[] = {
24782 (char *) "self", NULL
24783 };
24784
24785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24787 if (SWIG_arg_fail(1)) SWIG_fail;
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24791
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 {
24796 wxSize * resultptr;
24797 resultptr = new wxSize((wxSize &)(result));
24798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24799 }
24800 return resultobj;
24801 fail:
24802 return NULL;
24803 }
24804
24805
24806 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24807 PyObject *resultobj;
24808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24809 int result;
24810 PyObject * obj0 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
24816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24817 if (SWIG_arg_fail(1)) SWIG_fail;
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 {
24826 resultobj = SWIG_From_int((int)(result));
24827 }
24828 return resultobj;
24829 fail:
24830 return NULL;
24831 }
24832
24833
24834 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj;
24836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24837 wxColour result;
24838 PyObject * obj0 = 0 ;
24839 char *kwnames[] = {
24840 (char *) "self", NULL
24841 };
24842
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
24844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail;
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24849
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 {
24854 wxColour * resultptr;
24855 resultptr = new wxColour((wxColour &)(result));
24856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24857 }
24858 return resultobj;
24859 fail:
24860 return NULL;
24861 }
24862
24863
24864 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj;
24866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24867 wxColour *arg2 = 0 ;
24868 wxColour temp2 ;
24869 PyObject * obj0 = 0 ;
24870 PyObject * obj1 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self",(char *) "col", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
24876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail;
24878 {
24879 arg2 = &temp2;
24880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24881 }
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 (arg1)->SetTextColour((wxColour const &)*arg2);
24885
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 Py_INCREF(Py_None); resultobj = Py_None;
24890 return resultobj;
24891 fail:
24892 return NULL;
24893 }
24894
24895
24896 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
24897 PyObject *resultobj;
24898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24899 long result;
24900 PyObject * obj0 = 0 ;
24901 char *kwnames[] = {
24902 (char *) "self", NULL
24903 };
24904
24905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
24906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24907 if (SWIG_arg_fail(1)) SWIG_fail;
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 resultobj = SWIG_From_long((long)(result));
24917 }
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24927 long arg2 ;
24928 bool arg3 = (bool) true ;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 PyObject * obj2 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self",(char *) "style",(char *) "add", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
24937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24938 if (SWIG_arg_fail(1)) SWIG_fail;
24939 {
24940 arg2 = (long)(SWIG_As_long(obj1));
24941 if (SWIG_arg_fail(2)) SWIG_fail;
24942 }
24943 if (obj2) {
24944 {
24945 arg3 = (bool)(SWIG_As_bool(obj2));
24946 if (SWIG_arg_fail(3)) SWIG_fail;
24947 }
24948 }
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 (arg1)->SetSingleStyle(arg2,arg3);
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 Py_INCREF(Py_None); resultobj = Py_None;
24957 return resultobj;
24958 fail:
24959 return NULL;
24960 }
24961
24962
24963 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24966 long arg2 ;
24967 PyObject * obj0 = 0 ;
24968 PyObject * obj1 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "style", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
24974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail;
24976 {
24977 arg2 = (long)(SWIG_As_long(obj1));
24978 if (SWIG_arg_fail(2)) SWIG_fail;
24979 }
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->SetWindowStyleFlag(arg2);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 Py_INCREF(Py_None); resultobj = Py_None;
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
24995 PyObject *resultobj;
24996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24997 long arg2 ;
24998 int arg3 = (int) wxLIST_NEXT_ALL ;
24999 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25000 long result;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 PyObject * obj2 = 0 ;
25004 PyObject * obj3 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail;
25012 {
25013 arg2 = (long)(SWIG_As_long(obj1));
25014 if (SWIG_arg_fail(2)) SWIG_fail;
25015 }
25016 if (obj2) {
25017 {
25018 arg3 = (int)(SWIG_As_int(obj2));
25019 if (SWIG_arg_fail(3)) SWIG_fail;
25020 }
25021 }
25022 if (obj3) {
25023 {
25024 arg4 = (int)(SWIG_As_int(obj3));
25025 if (SWIG_arg_fail(4)) SWIG_fail;
25026 }
25027 }
25028 {
25029 PyThreadState* __tstate = wxPyBeginAllowThreads();
25030 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25031
25032 wxPyEndAllowThreads(__tstate);
25033 if (PyErr_Occurred()) SWIG_fail;
25034 }
25035 {
25036 resultobj = SWIG_From_long((long)(result));
25037 }
25038 return resultobj;
25039 fail:
25040 return NULL;
25041 }
25042
25043
25044 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25047 int arg2 ;
25048 wxImageList *result;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "which", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25057 if (SWIG_arg_fail(1)) SWIG_fail;
25058 {
25059 arg2 = (int)(SWIG_As_int(obj1));
25060 if (SWIG_arg_fail(2)) SWIG_fail;
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 {
25070 resultobj = wxPyMake_wxObject(result, 0);
25071 }
25072 return resultobj;
25073 fail:
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25081 wxImageList *arg2 = (wxImageList *) 0 ;
25082 int arg3 ;
25083 PyObject * obj0 = 0 ;
25084 PyObject * obj1 = 0 ;
25085 PyObject * obj2 = 0 ;
25086 char *kwnames[] = {
25087 (char *) "self",(char *) "imageList",(char *) "which", NULL
25088 };
25089
25090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail;
25093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25094 if (SWIG_arg_fail(2)) SWIG_fail;
25095 {
25096 arg3 = (int)(SWIG_As_int(obj2));
25097 if (SWIG_arg_fail(3)) SWIG_fail;
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->SetImageList(arg2,arg3);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 return resultobj;
25108 fail:
25109 return NULL;
25110 }
25111
25112
25113 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25116 wxImageList *arg2 = (wxImageList *) 0 ;
25117 int arg3 ;
25118 PyObject * obj0 = 0 ;
25119 PyObject * obj1 = 0 ;
25120 PyObject * obj2 = 0 ;
25121 char *kwnames[] = {
25122 (char *) "self",(char *) "imageList",(char *) "which", NULL
25123 };
25124
25125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25127 if (SWIG_arg_fail(1)) SWIG_fail;
25128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25129 if (SWIG_arg_fail(2)) SWIG_fail;
25130 {
25131 arg3 = (int)(SWIG_As_int(obj2));
25132 if (SWIG_arg_fail(3)) SWIG_fail;
25133 }
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 (arg1)->AssignImageList(arg2,arg3);
25137
25138 wxPyEndAllowThreads(__tstate);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
25141 Py_INCREF(Py_None); resultobj = Py_None;
25142 return resultobj;
25143 fail:
25144 return NULL;
25145 }
25146
25147
25148 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25151 bool result;
25152 PyObject * obj0 = 0 ;
25153 char *kwnames[] = {
25154 (char *) "self", NULL
25155 };
25156
25157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25159 if (SWIG_arg_fail(1)) SWIG_fail;
25160 {
25161 PyThreadState* __tstate = wxPyBeginAllowThreads();
25162 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25163
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 {
25168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25169 }
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25179 bool result;
25180 PyObject * obj0 = 0 ;
25181 char *kwnames[] = {
25182 (char *) "self", NULL
25183 };
25184
25185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25187 if (SWIG_arg_fail(1)) SWIG_fail;
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25191
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 {
25196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25197 }
25198 return resultobj;
25199 fail:
25200 return NULL;
25201 }
25202
25203
25204 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25205 PyObject *resultobj;
25206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25207 long arg2 ;
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj1 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "item", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail;
25217 {
25218 arg2 = (long)(SWIG_As_long(obj1));
25219 if (SWIG_arg_fail(2)) SWIG_fail;
25220 }
25221 {
25222 PyThreadState* __tstate = wxPyBeginAllowThreads();
25223 (arg1)->RefreshItem(arg2);
25224
25225 wxPyEndAllowThreads(__tstate);
25226 if (PyErr_Occurred()) SWIG_fail;
25227 }
25228 Py_INCREF(Py_None); resultobj = Py_None;
25229 return resultobj;
25230 fail:
25231 return NULL;
25232 }
25233
25234
25235 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj;
25237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25238 long arg2 ;
25239 long arg3 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 PyObject * obj2 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail;
25250 {
25251 arg2 = (long)(SWIG_As_long(obj1));
25252 if (SWIG_arg_fail(2)) SWIG_fail;
25253 }
25254 {
25255 arg3 = (long)(SWIG_As_long(obj2));
25256 if (SWIG_arg_fail(3)) SWIG_fail;
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->RefreshItems(arg2,arg3);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 Py_INCREF(Py_None); resultobj = Py_None;
25266 return resultobj;
25267 fail:
25268 return NULL;
25269 }
25270
25271
25272 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25275 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25276 bool result;
25277 PyObject * obj0 = 0 ;
25278 PyObject * obj1 = 0 ;
25279 char *kwnames[] = {
25280 (char *) "self",(char *) "flag", NULL
25281 };
25282
25283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail;
25286 if (obj1) {
25287 {
25288 arg2 = (int)(SWIG_As_int(obj1));
25289 if (SWIG_arg_fail(2)) SWIG_fail;
25290 }
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 result = (bool)(arg1)->Arrange(arg2);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 {
25300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25301 }
25302 return resultobj;
25303 fail:
25304 return NULL;
25305 }
25306
25307
25308 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25311 long arg2 ;
25312 bool result;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 char *kwnames[] = {
25316 (char *) "self",(char *) "item", NULL
25317 };
25318
25319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail;
25322 {
25323 arg2 = (long)(SWIG_As_long(obj1));
25324 if (SWIG_arg_fail(2)) SWIG_fail;
25325 }
25326 {
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 result = (bool)(arg1)->DeleteItem(arg2);
25329
25330 wxPyEndAllowThreads(__tstate);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 {
25334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25335 }
25336 return resultobj;
25337 fail:
25338 return NULL;
25339 }
25340
25341
25342 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25345 bool result;
25346 PyObject * obj0 = 0 ;
25347 char *kwnames[] = {
25348 (char *) "self", NULL
25349 };
25350
25351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25353 if (SWIG_arg_fail(1)) SWIG_fail;
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (bool)(arg1)->DeleteAllItems();
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 {
25362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25363 }
25364 return resultobj;
25365 fail:
25366 return NULL;
25367 }
25368
25369
25370 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25371 PyObject *resultobj;
25372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25373 int arg2 ;
25374 bool result;
25375 PyObject * obj0 = 0 ;
25376 PyObject * obj1 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self",(char *) "col", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25383 if (SWIG_arg_fail(1)) SWIG_fail;
25384 {
25385 arg2 = (int)(SWIG_As_int(obj1));
25386 if (SWIG_arg_fail(2)) SWIG_fail;
25387 }
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (bool)(arg1)->DeleteColumn(arg2);
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 {
25396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25397 }
25398 return resultobj;
25399 fail:
25400 return NULL;
25401 }
25402
25403
25404 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj;
25406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25407 bool result;
25408 PyObject * obj0 = 0 ;
25409 char *kwnames[] = {
25410 (char *) "self", NULL
25411 };
25412
25413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail;
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 result = (bool)(arg1)->DeleteAllColumns();
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 {
25424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25425 }
25426 return resultobj;
25427 fail:
25428 return NULL;
25429 }
25430
25431
25432 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25433 PyObject *resultobj;
25434 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25435 PyObject * obj0 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25442 if (SWIG_arg_fail(1)) SWIG_fail;
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 (arg1)->ClearAll();
25446
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 Py_INCREF(Py_None); resultobj = Py_None;
25451 return resultobj;
25452 fail:
25453 return NULL;
25454 }
25455
25456
25457 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25458 PyObject *resultobj;
25459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25460 long arg2 ;
25461 wxTextCtrl *result;
25462 PyObject * obj0 = 0 ;
25463 PyObject * obj1 = 0 ;
25464 char *kwnames[] = {
25465 (char *) "self",(char *) "item", NULL
25466 };
25467
25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail;
25471 {
25472 arg2 = (long)(SWIG_As_long(obj1));
25473 if (SWIG_arg_fail(2)) SWIG_fail;
25474 }
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 {
25483 resultobj = wxPyMake_wxObject(result, 0);
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25494 bool arg2 ;
25495 bool result;
25496 PyObject * obj0 = 0 ;
25497 PyObject * obj1 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "cancel", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",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 {
25506 arg2 = (bool)(SWIG_As_bool(obj1));
25507 if (SWIG_arg_fail(2)) SWIG_fail;
25508 }
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (bool)(arg1)->EndEditLabel(arg2);
25512
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25528 long arg2 ;
25529 bool result;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "item", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail;
25539 {
25540 arg2 = (long)(SWIG_As_long(obj1));
25541 if (SWIG_arg_fail(2)) SWIG_fail;
25542 }
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 result = (bool)(arg1)->EnsureVisible(arg2);
25546
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
25550 {
25551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25552 }
25553 return resultobj;
25554 fail:
25555 return NULL;
25556 }
25557
25558
25559 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25560 PyObject *resultobj;
25561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25562 long arg2 ;
25563 wxString *arg3 = 0 ;
25564 bool arg4 = (bool) false ;
25565 long result;
25566 bool temp3 = false ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 PyObject * obj2 = 0 ;
25570 PyObject * obj3 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail;
25578 {
25579 arg2 = (long)(SWIG_As_long(obj1));
25580 if (SWIG_arg_fail(2)) SWIG_fail;
25581 }
25582 {
25583 arg3 = wxString_in_helper(obj2);
25584 if (arg3 == NULL) SWIG_fail;
25585 temp3 = true;
25586 }
25587 if (obj3) {
25588 {
25589 arg4 = (bool)(SWIG_As_bool(obj3));
25590 if (SWIG_arg_fail(4)) SWIG_fail;
25591 }
25592 }
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 {
25601 resultobj = SWIG_From_long((long)(result));
25602 }
25603 {
25604 if (temp3)
25605 delete arg3;
25606 }
25607 return resultobj;
25608 fail:
25609 {
25610 if (temp3)
25611 delete arg3;
25612 }
25613 return NULL;
25614 }
25615
25616
25617 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25620 long arg2 ;
25621 long arg3 ;
25622 long result;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 PyObject * obj2 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "start",(char *) "data", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail;
25633 {
25634 arg2 = (long)(SWIG_As_long(obj1));
25635 if (SWIG_arg_fail(2)) SWIG_fail;
25636 }
25637 {
25638 arg3 = (long)(SWIG_As_long(obj2));
25639 if (SWIG_arg_fail(3)) SWIG_fail;
25640 }
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = (long)(arg1)->FindItem(arg2,arg3);
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 {
25649 resultobj = SWIG_From_long((long)(result));
25650 }
25651 return resultobj;
25652 fail:
25653 return NULL;
25654 }
25655
25656
25657 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25658 PyObject *resultobj;
25659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25660 long arg2 ;
25661 wxPoint *arg3 = 0 ;
25662 int arg4 ;
25663 long result;
25664 wxPoint temp3 ;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 PyObject * obj2 = 0 ;
25668 PyObject * obj3 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail;
25676 {
25677 arg2 = (long)(SWIG_As_long(obj1));
25678 if (SWIG_arg_fail(2)) SWIG_fail;
25679 }
25680 {
25681 arg3 = &temp3;
25682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25683 }
25684 {
25685 arg4 = (int)(SWIG_As_int(obj3));
25686 if (SWIG_arg_fail(4)) SWIG_fail;
25687 }
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 {
25696 resultobj = SWIG_From_long((long)(result));
25697 }
25698 return resultobj;
25699 fail:
25700 return NULL;
25701 }
25702
25703
25704 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25705 PyObject *resultobj;
25706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25707 wxPoint *arg2 = 0 ;
25708 int *arg3 = 0 ;
25709 long result;
25710 wxPoint temp2 ;
25711 int temp3 ;
25712 int res3 = 0 ;
25713 PyObject * obj0 = 0 ;
25714 PyObject * obj1 = 0 ;
25715 char *kwnames[] = {
25716 (char *) "self",(char *) "point", NULL
25717 };
25718
25719 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail;
25723 {
25724 arg2 = &temp2;
25725 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25726 }
25727 {
25728 PyThreadState* __tstate = wxPyBeginAllowThreads();
25729 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25730
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 {
25735 resultobj = SWIG_From_long((long)(result));
25736 }
25737 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25738 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25739 return resultobj;
25740 fail:
25741 return NULL;
25742 }
25743
25744
25745 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj;
25747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25748 wxListItem *arg2 = 0 ;
25749 long result;
25750 PyObject * obj0 = 0 ;
25751 PyObject * obj1 = 0 ;
25752 char *kwnames[] = {
25753 (char *) "self",(char *) "info", NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25758 if (SWIG_arg_fail(1)) SWIG_fail;
25759 {
25760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(2)) SWIG_fail;
25762 if (arg2 == NULL) {
25763 SWIG_null_ref("wxListItem");
25764 }
25765 if (SWIG_arg_fail(2)) SWIG_fail;
25766 }
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (long)(arg1)->InsertItem(*arg2);
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 {
25775 resultobj = SWIG_From_long((long)(result));
25776 }
25777 return resultobj;
25778 fail:
25779 return NULL;
25780 }
25781
25782
25783 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25786 long arg2 ;
25787 wxString *arg3 = 0 ;
25788 long result;
25789 bool temp3 = false ;
25790 PyObject * obj0 = 0 ;
25791 PyObject * obj1 = 0 ;
25792 PyObject * obj2 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "index",(char *) "label", NULL
25795 };
25796
25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25799 if (SWIG_arg_fail(1)) SWIG_fail;
25800 {
25801 arg2 = (long)(SWIG_As_long(obj1));
25802 if (SWIG_arg_fail(2)) SWIG_fail;
25803 }
25804 {
25805 arg3 = wxString_in_helper(obj2);
25806 if (arg3 == NULL) SWIG_fail;
25807 temp3 = true;
25808 }
25809 {
25810 PyThreadState* __tstate = wxPyBeginAllowThreads();
25811 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25812
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 {
25817 resultobj = SWIG_From_long((long)(result));
25818 }
25819 {
25820 if (temp3)
25821 delete arg3;
25822 }
25823 return resultobj;
25824 fail:
25825 {
25826 if (temp3)
25827 delete arg3;
25828 }
25829 return NULL;
25830 }
25831
25832
25833 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25836 long arg2 ;
25837 int arg3 ;
25838 long result;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail;
25849 {
25850 arg2 = (long)(SWIG_As_long(obj1));
25851 if (SWIG_arg_fail(2)) SWIG_fail;
25852 }
25853 {
25854 arg3 = (int)(SWIG_As_int(obj2));
25855 if (SWIG_arg_fail(3)) SWIG_fail;
25856 }
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (long)(arg1)->InsertItem(arg2,arg3);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 {
25865 resultobj = SWIG_From_long((long)(result));
25866 }
25867 return resultobj;
25868 fail:
25869 return NULL;
25870 }
25871
25872
25873 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25876 long arg2 ;
25877 wxString *arg3 = 0 ;
25878 int arg4 ;
25879 long result;
25880 bool temp3 = false ;
25881 PyObject * obj0 = 0 ;
25882 PyObject * obj1 = 0 ;
25883 PyObject * obj2 = 0 ;
25884 PyObject * obj3 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail;
25892 {
25893 arg2 = (long)(SWIG_As_long(obj1));
25894 if (SWIG_arg_fail(2)) SWIG_fail;
25895 }
25896 {
25897 arg3 = wxString_in_helper(obj2);
25898 if (arg3 == NULL) SWIG_fail;
25899 temp3 = true;
25900 }
25901 {
25902 arg4 = (int)(SWIG_As_int(obj3));
25903 if (SWIG_arg_fail(4)) SWIG_fail;
25904 }
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
25908
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 {
25913 resultobj = SWIG_From_long((long)(result));
25914 }
25915 {
25916 if (temp3)
25917 delete arg3;
25918 }
25919 return resultobj;
25920 fail:
25921 {
25922 if (temp3)
25923 delete arg3;
25924 }
25925 return NULL;
25926 }
25927
25928
25929 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25932 long arg2 ;
25933 wxListItem *arg3 = 0 ;
25934 long result;
25935 PyObject * obj0 = 0 ;
25936 PyObject * obj1 = 0 ;
25937 PyObject * obj2 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self",(char *) "col",(char *) "info", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25944 if (SWIG_arg_fail(1)) SWIG_fail;
25945 {
25946 arg2 = (long)(SWIG_As_long(obj1));
25947 if (SWIG_arg_fail(2)) SWIG_fail;
25948 }
25949 {
25950 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25951 if (SWIG_arg_fail(3)) SWIG_fail;
25952 if (arg3 == NULL) {
25953 SWIG_null_ref("wxListItem");
25954 }
25955 if (SWIG_arg_fail(3)) SWIG_fail;
25956 }
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (long)(arg1)->InsertColumn(arg2,*arg3);
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 {
25965 resultobj = SWIG_From_long((long)(result));
25966 }
25967 return resultobj;
25968 fail:
25969 return NULL;
25970 }
25971
25972
25973 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25974 PyObject *resultobj;
25975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25976 long arg2 ;
25977 wxString *arg3 = 0 ;
25978 int arg4 = (int) wxLIST_FORMAT_LEFT ;
25979 int arg5 = (int) -1 ;
25980 long result;
25981 bool temp3 = false ;
25982 PyObject * obj0 = 0 ;
25983 PyObject * obj1 = 0 ;
25984 PyObject * obj2 = 0 ;
25985 PyObject * obj3 = 0 ;
25986 PyObject * obj4 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail;
25994 {
25995 arg2 = (long)(SWIG_As_long(obj1));
25996 if (SWIG_arg_fail(2)) SWIG_fail;
25997 }
25998 {
25999 arg3 = wxString_in_helper(obj2);
26000 if (arg3 == NULL) SWIG_fail;
26001 temp3 = true;
26002 }
26003 if (obj3) {
26004 {
26005 arg4 = (int)(SWIG_As_int(obj3));
26006 if (SWIG_arg_fail(4)) SWIG_fail;
26007 }
26008 }
26009 if (obj4) {
26010 {
26011 arg5 = (int)(SWIG_As_int(obj4));
26012 if (SWIG_arg_fail(5)) SWIG_fail;
26013 }
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 {
26023 resultobj = SWIG_From_long((long)(result));
26024 }
26025 {
26026 if (temp3)
26027 delete arg3;
26028 }
26029 return resultobj;
26030 fail:
26031 {
26032 if (temp3)
26033 delete arg3;
26034 }
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj;
26041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26042 long arg2 ;
26043 PyObject * obj0 = 0 ;
26044 PyObject * obj1 = 0 ;
26045 char *kwnames[] = {
26046 (char *) "self",(char *) "count", NULL
26047 };
26048
26049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26051 if (SWIG_arg_fail(1)) SWIG_fail;
26052 {
26053 arg2 = (long)(SWIG_As_long(obj1));
26054 if (SWIG_arg_fail(2)) SWIG_fail;
26055 }
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 (arg1)->SetItemCount(arg2);
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 Py_INCREF(Py_None); resultobj = Py_None;
26064 return resultobj;
26065 fail:
26066 return NULL;
26067 }
26068
26069
26070 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj;
26072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26073 int arg2 ;
26074 int arg3 ;
26075 bool result;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj1 = 0 ;
26078 PyObject * obj2 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "dx",(char *) "dy", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail;
26086 {
26087 arg2 = (int)(SWIG_As_int(obj1));
26088 if (SWIG_arg_fail(2)) SWIG_fail;
26089 }
26090 {
26091 arg3 = (int)(SWIG_As_int(obj2));
26092 if (SWIG_arg_fail(3)) SWIG_fail;
26093 }
26094 {
26095 PyThreadState* __tstate = wxPyBeginAllowThreads();
26096 result = (bool)(arg1)->ScrollList(arg2,arg3);
26097
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
26101 {
26102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26103 }
26104 return resultobj;
26105 fail:
26106 return NULL;
26107 }
26108
26109
26110 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26111 PyObject *resultobj;
26112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26113 long arg2 ;
26114 wxColour *arg3 = 0 ;
26115 wxColour temp3 ;
26116 PyObject * obj0 = 0 ;
26117 PyObject * obj1 = 0 ;
26118 PyObject * obj2 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "item",(char *) "col", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail;
26126 {
26127 arg2 = (long)(SWIG_As_long(obj1));
26128 if (SWIG_arg_fail(2)) SWIG_fail;
26129 }
26130 {
26131 arg3 = &temp3;
26132 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26133 }
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26137
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 Py_INCREF(Py_None); resultobj = Py_None;
26142 return resultobj;
26143 fail:
26144 return NULL;
26145 }
26146
26147
26148 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26149 PyObject *resultobj;
26150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26151 long arg2 ;
26152 wxColour result;
26153 PyObject * obj0 = 0 ;
26154 PyObject * obj1 = 0 ;
26155 char *kwnames[] = {
26156 (char *) "self",(char *) "item", NULL
26157 };
26158
26159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26161 if (SWIG_arg_fail(1)) SWIG_fail;
26162 {
26163 arg2 = (long)(SWIG_As_long(obj1));
26164 if (SWIG_arg_fail(2)) SWIG_fail;
26165 }
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26169
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
26173 {
26174 wxColour * resultptr;
26175 resultptr = new wxColour((wxColour &)(result));
26176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26177 }
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj;
26186 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26187 long arg2 ;
26188 wxColour *arg3 = 0 ;
26189 wxColour temp3 ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 PyObject * obj2 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "item",(char *) "col", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
26200 {
26201 arg2 = (long)(SWIG_As_long(obj1));
26202 if (SWIG_arg_fail(2)) SWIG_fail;
26203 }
26204 {
26205 arg3 = &temp3;
26206 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26207 }
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 Py_INCREF(Py_None); resultobj = Py_None;
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj;
26224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26225 long arg2 ;
26226 wxColour result;
26227 PyObject * obj0 = 0 ;
26228 PyObject * obj1 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "item", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 {
26237 arg2 = (long)(SWIG_As_long(obj1));
26238 if (SWIG_arg_fail(2)) SWIG_fail;
26239 }
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26243
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 {
26248 wxColour * resultptr;
26249 resultptr = new wxColour((wxColour &)(result));
26250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26251 }
26252 return resultobj;
26253 fail:
26254 return NULL;
26255 }
26256
26257
26258 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26259 PyObject *resultobj;
26260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26261 PyObject *arg2 = (PyObject *) 0 ;
26262 bool result;
26263 PyObject * obj0 = 0 ;
26264 PyObject * obj1 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "self",(char *) "func", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail;
26272 arg2 = obj1;
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 {
26281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26282 }
26283 return resultobj;
26284 fail:
26285 return NULL;
26286 }
26287
26288
26289 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26290 PyObject *resultobj;
26291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26292 wxWindow *result;
26293 PyObject * obj0 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self", NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26300 if (SWIG_arg_fail(1)) SWIG_fail;
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 {
26309 resultobj = wxPyMake_wxObject(result, 0);
26310 }
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj;
26319 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26320 wxVisualAttributes result;
26321 PyObject * obj0 = 0 ;
26322 char *kwnames[] = {
26323 (char *) "variant", NULL
26324 };
26325
26326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26327 if (obj0) {
26328 {
26329 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26330 if (SWIG_arg_fail(1)) SWIG_fail;
26331 }
26332 }
26333 {
26334 if (!wxPyCheckForApp()) SWIG_fail;
26335 PyThreadState* __tstate = wxPyBeginAllowThreads();
26336 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26337
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 {
26342 wxVisualAttributes * resultptr;
26343 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26345 }
26346 return resultobj;
26347 fail:
26348 return NULL;
26349 }
26350
26351
26352 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26353 PyObject *obj;
26354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26355 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26356 Py_INCREF(obj);
26357 return Py_BuildValue((char *)"");
26358 }
26359 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26360 PyObject *resultobj;
26361 wxWindow *arg1 = (wxWindow *) 0 ;
26362 int arg2 = (int) -1 ;
26363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26365 wxSize const &arg4_defvalue = wxDefaultSize ;
26366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26367 long arg5 = (long) wxLC_REPORT ;
26368 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26369 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26370 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26371 wxString *arg7 = (wxString *) &arg7_defvalue ;
26372 wxListView *result;
26373 wxPoint temp3 ;
26374 wxSize temp4 ;
26375 bool temp7 = false ;
26376 PyObject * obj0 = 0 ;
26377 PyObject * obj1 = 0 ;
26378 PyObject * obj2 = 0 ;
26379 PyObject * obj3 = 0 ;
26380 PyObject * obj4 = 0 ;
26381 PyObject * obj5 = 0 ;
26382 PyObject * obj6 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail;
26390 if (obj1) {
26391 {
26392 arg2 = (int)(SWIG_As_int(obj1));
26393 if (SWIG_arg_fail(2)) SWIG_fail;
26394 }
26395 }
26396 if (obj2) {
26397 {
26398 arg3 = &temp3;
26399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26400 }
26401 }
26402 if (obj3) {
26403 {
26404 arg4 = &temp4;
26405 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26406 }
26407 }
26408 if (obj4) {
26409 {
26410 arg5 = (long)(SWIG_As_long(obj4));
26411 if (SWIG_arg_fail(5)) SWIG_fail;
26412 }
26413 }
26414 if (obj5) {
26415 {
26416 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26417 if (SWIG_arg_fail(6)) SWIG_fail;
26418 if (arg6 == NULL) {
26419 SWIG_null_ref("wxValidator");
26420 }
26421 if (SWIG_arg_fail(6)) SWIG_fail;
26422 }
26423 }
26424 if (obj6) {
26425 {
26426 arg7 = wxString_in_helper(obj6);
26427 if (arg7 == NULL) SWIG_fail;
26428 temp7 = true;
26429 }
26430 }
26431 {
26432 if (!wxPyCheckForApp()) SWIG_fail;
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26440 {
26441 if (temp7)
26442 delete arg7;
26443 }
26444 return resultobj;
26445 fail:
26446 {
26447 if (temp7)
26448 delete arg7;
26449 }
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxListView *result;
26457 char *kwnames[] = {
26458 NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26462 {
26463 if (!wxPyCheckForApp()) SWIG_fail;
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 result = (wxListView *)new wxListView();
26466
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxListView *arg1 = (wxListView *) 0 ;
26480 wxWindow *arg2 = (wxWindow *) 0 ;
26481 int arg3 = (int) -1 ;
26482 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26483 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26484 wxSize const &arg5_defvalue = wxDefaultSize ;
26485 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26486 long arg6 = (long) wxLC_REPORT ;
26487 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26488 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26489 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26490 wxString *arg8 = (wxString *) &arg8_defvalue ;
26491 bool result;
26492 wxPoint temp4 ;
26493 wxSize temp5 ;
26494 bool temp8 = false ;
26495 PyObject * obj0 = 0 ;
26496 PyObject * obj1 = 0 ;
26497 PyObject * obj2 = 0 ;
26498 PyObject * obj3 = 0 ;
26499 PyObject * obj4 = 0 ;
26500 PyObject * obj5 = 0 ;
26501 PyObject * obj6 = 0 ;
26502 PyObject * obj7 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail;
26510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26511 if (SWIG_arg_fail(2)) SWIG_fail;
26512 if (obj2) {
26513 {
26514 arg3 = (int)(SWIG_As_int(obj2));
26515 if (SWIG_arg_fail(3)) SWIG_fail;
26516 }
26517 }
26518 if (obj3) {
26519 {
26520 arg4 = &temp4;
26521 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26522 }
26523 }
26524 if (obj4) {
26525 {
26526 arg5 = &temp5;
26527 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26528 }
26529 }
26530 if (obj5) {
26531 {
26532 arg6 = (long)(SWIG_As_long(obj5));
26533 if (SWIG_arg_fail(6)) SWIG_fail;
26534 }
26535 }
26536 if (obj6) {
26537 {
26538 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26539 if (SWIG_arg_fail(7)) SWIG_fail;
26540 if (arg7 == NULL) {
26541 SWIG_null_ref("wxValidator");
26542 }
26543 if (SWIG_arg_fail(7)) SWIG_fail;
26544 }
26545 }
26546 if (obj7) {
26547 {
26548 arg8 = wxString_in_helper(obj7);
26549 if (arg8 == NULL) SWIG_fail;
26550 temp8 = true;
26551 }
26552 }
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 {
26561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26562 }
26563 {
26564 if (temp8)
26565 delete arg8;
26566 }
26567 return resultobj;
26568 fail:
26569 {
26570 if (temp8)
26571 delete arg8;
26572 }
26573 return NULL;
26574 }
26575
26576
26577 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26578 PyObject *resultobj;
26579 wxListView *arg1 = (wxListView *) 0 ;
26580 long arg2 ;
26581 bool arg3 = (bool) true ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 PyObject * obj2 = 0 ;
26585 char *kwnames[] = {
26586 (char *) "self",(char *) "n",(char *) "on", NULL
26587 };
26588
26589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail;
26592 {
26593 arg2 = (long)(SWIG_As_long(obj1));
26594 if (SWIG_arg_fail(2)) SWIG_fail;
26595 }
26596 if (obj2) {
26597 {
26598 arg3 = (bool)(SWIG_As_bool(obj2));
26599 if (SWIG_arg_fail(3)) SWIG_fail;
26600 }
26601 }
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 (arg1)->Select(arg2,arg3);
26605
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 Py_INCREF(Py_None); resultobj = Py_None;
26610 return resultobj;
26611 fail:
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxListView *arg1 = (wxListView *) 0 ;
26619 long arg2 ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 char *kwnames[] = {
26623 (char *) "self",(char *) "index", NULL
26624 };
26625
26626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26628 if (SWIG_arg_fail(1)) SWIG_fail;
26629 {
26630 arg2 = (long)(SWIG_As_long(obj1));
26631 if (SWIG_arg_fail(2)) SWIG_fail;
26632 }
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 (arg1)->Focus(arg2);
26636
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 Py_INCREF(Py_None); resultobj = Py_None;
26641 return resultobj;
26642 fail:
26643 return NULL;
26644 }
26645
26646
26647 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26648 PyObject *resultobj;
26649 wxListView *arg1 = (wxListView *) 0 ;
26650 long result;
26651 PyObject * obj0 = 0 ;
26652 char *kwnames[] = {
26653 (char *) "self", NULL
26654 };
26655
26656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26658 if (SWIG_arg_fail(1)) SWIG_fail;
26659 {
26660 PyThreadState* __tstate = wxPyBeginAllowThreads();
26661 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26662
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
26666 {
26667 resultobj = SWIG_From_long((long)(result));
26668 }
26669 return resultobj;
26670 fail:
26671 return NULL;
26672 }
26673
26674
26675 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26676 PyObject *resultobj;
26677 wxListView *arg1 = (wxListView *) 0 ;
26678 long arg2 ;
26679 long result;
26680 PyObject * obj0 = 0 ;
26681 PyObject * obj1 = 0 ;
26682 char *kwnames[] = {
26683 (char *) "self",(char *) "item", NULL
26684 };
26685
26686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail;
26689 {
26690 arg2 = (long)(SWIG_As_long(obj1));
26691 if (SWIG_arg_fail(2)) SWIG_fail;
26692 }
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26696
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
26700 {
26701 resultobj = SWIG_From_long((long)(result));
26702 }
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj;
26711 wxListView *arg1 = (wxListView *) 0 ;
26712 long result;
26713 PyObject * obj0 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26720 if (SWIG_arg_fail(1)) SWIG_fail;
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26724
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 {
26729 resultobj = SWIG_From_long((long)(result));
26730 }
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj;
26739 wxListView *arg1 = (wxListView *) 0 ;
26740 long arg2 ;
26741 bool result;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char *kwnames[] = {
26745 (char *) "self",(char *) "index", NULL
26746 };
26747
26748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26750 if (SWIG_arg_fail(1)) SWIG_fail;
26751 {
26752 arg2 = (long)(SWIG_As_long(obj1));
26753 if (SWIG_arg_fail(2)) SWIG_fail;
26754 }
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 result = (bool)(arg1)->IsSelected(arg2);
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 {
26763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26764 }
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxListView *arg1 = (wxListView *) 0 ;
26774 int arg2 ;
26775 int arg3 ;
26776 PyObject * obj0 = 0 ;
26777 PyObject * obj1 = 0 ;
26778 PyObject * obj2 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self",(char *) "col",(char *) "image", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26785 if (SWIG_arg_fail(1)) SWIG_fail;
26786 {
26787 arg2 = (int)(SWIG_As_int(obj1));
26788 if (SWIG_arg_fail(2)) SWIG_fail;
26789 }
26790 {
26791 arg3 = (int)(SWIG_As_int(obj2));
26792 if (SWIG_arg_fail(3)) SWIG_fail;
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 (arg1)->SetColumnImage(arg2,arg3);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 Py_INCREF(Py_None); resultobj = Py_None;
26802 return resultobj;
26803 fail:
26804 return NULL;
26805 }
26806
26807
26808 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj;
26810 wxListView *arg1 = (wxListView *) 0 ;
26811 int arg2 ;
26812 PyObject * obj0 = 0 ;
26813 PyObject * obj1 = 0 ;
26814 char *kwnames[] = {
26815 (char *) "self",(char *) "col", NULL
26816 };
26817
26818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail;
26821 {
26822 arg2 = (int)(SWIG_As_int(obj1));
26823 if (SWIG_arg_fail(2)) SWIG_fail;
26824 }
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->ClearColumnImage(arg2);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 Py_INCREF(Py_None); resultobj = Py_None;
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26840 PyObject *obj;
26841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26842 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26843 Py_INCREF(obj);
26844 return Py_BuildValue((char *)"");
26845 }
26846 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
26847 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26848 return 1;
26849 }
26850
26851
26852 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
26853 PyObject *pyobj;
26854
26855 {
26856 #if wxUSE_UNICODE
26857 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26858 #else
26859 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26860 #endif
26861 }
26862 return pyobj;
26863 }
26864
26865
26866 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
26867 PyObject *resultobj;
26868 wxTreeItemId *result;
26869 char *kwnames[] = {
26870 NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26874 {
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 result = (wxTreeItemId *)new wxTreeItemId();
26877
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
26882 return resultobj;
26883 fail:
26884 return NULL;
26885 }
26886
26887
26888 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
26889 PyObject *resultobj;
26890 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26891 PyObject * obj0 = 0 ;
26892 char *kwnames[] = {
26893 (char *) "self", NULL
26894 };
26895
26896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
26897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail;
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 delete arg1;
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 Py_INCREF(Py_None); resultobj = Py_None;
26907 return resultobj;
26908 fail:
26909 return NULL;
26910 }
26911
26912
26913 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
26914 PyObject *resultobj;
26915 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26916 bool result;
26917 PyObject * obj0 = 0 ;
26918 char *kwnames[] = {
26919 (char *) "self", NULL
26920 };
26921
26922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
26923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail;
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26944 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
26945 bool result;
26946 PyObject * obj0 = 0 ;
26947 PyObject * obj1 = 0 ;
26948 char *kwnames[] = {
26949 (char *) "self",(char *) "other", NULL
26950 };
26951
26952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
26953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail;
26955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26956 if (SWIG_arg_fail(2)) SWIG_fail;
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 {
26965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26966 }
26967 return resultobj;
26968 fail:
26969 return NULL;
26970 }
26971
26972
26973 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
26974 PyObject *resultobj;
26975 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26976 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
26977 bool result;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "other", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
26985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail;
26987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26988 if (SWIG_arg_fail(2)) SWIG_fail;
26989 {
26990 PyThreadState* __tstate = wxPyBeginAllowThreads();
26991 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
26992
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 {
26997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26998 }
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27008 void *arg2 = (void *) 0 ;
27009 PyObject * obj0 = 0 ;
27010 PyObject * obj1 = 0 ;
27011 char *kwnames[] = {
27012 (char *) "self",(char *) "m_pItem", NULL
27013 };
27014
27015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail;
27018 {
27019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27020 SWIG_arg_fail(2);SWIG_fail;
27021 }
27022 }
27023 if (arg1) (arg1)->m_pItem = arg2;
27024
27025 Py_INCREF(Py_None); resultobj = Py_None;
27026 return resultobj;
27027 fail:
27028 return NULL;
27029 }
27030
27031
27032 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27033 PyObject *resultobj;
27034 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27035 void *result;
27036 PyObject * obj0 = 0 ;
27037 char *kwnames[] = {
27038 (char *) "self", NULL
27039 };
27040
27041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail;
27044 result = (void *) ((arg1)->m_pItem);
27045
27046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27047 return resultobj;
27048 fail:
27049 return NULL;
27050 }
27051
27052
27053 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27054 PyObject *obj;
27055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27056 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27057 Py_INCREF(obj);
27058 return Py_BuildValue((char *)"");
27059 }
27060 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj;
27062 PyObject *arg1 = (PyObject *) NULL ;
27063 wxPyTreeItemData *result;
27064 PyObject * obj0 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "obj", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27070 if (obj0) {
27071 arg1 = obj0;
27072 }
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27076
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
27080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27081 return resultobj;
27082 fail:
27083 return NULL;
27084 }
27085
27086
27087 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27088 PyObject *resultobj;
27089 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27090 PyObject *result;
27091 PyObject * obj0 = 0 ;
27092 char *kwnames[] = {
27093 (char *) "self", NULL
27094 };
27095
27096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail;
27099 {
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 result = (PyObject *)(arg1)->GetData();
27102
27103 wxPyEndAllowThreads(__tstate);
27104 if (PyErr_Occurred()) SWIG_fail;
27105 }
27106 resultobj = result;
27107 return resultobj;
27108 fail:
27109 return NULL;
27110 }
27111
27112
27113 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27114 PyObject *resultobj;
27115 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27116 PyObject *arg2 = (PyObject *) 0 ;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 char *kwnames[] = {
27120 (char *) "self",(char *) "obj", NULL
27121 };
27122
27123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27125 if (SWIG_arg_fail(1)) SWIG_fail;
27126 arg2 = obj1;
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 (arg1)->SetData(arg2);
27130
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
27134 Py_INCREF(Py_None); resultobj = Py_None;
27135 return resultobj;
27136 fail:
27137 return NULL;
27138 }
27139
27140
27141 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj;
27143 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27144 wxTreeItemId *result;
27145 PyObject * obj0 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail;
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 {
27156 wxTreeItemId const &_result_ref = (arg1)->GetId();
27157 result = (wxTreeItemId *) &_result_ref;
27158 }
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27173 wxTreeItemId *arg2 = 0 ;
27174 PyObject * obj0 = 0 ;
27175 PyObject * obj1 = 0 ;
27176 char *kwnames[] = {
27177 (char *) "self",(char *) "id", NULL
27178 };
27179
27180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail;
27183 {
27184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27185 if (SWIG_arg_fail(2)) SWIG_fail;
27186 if (arg2 == NULL) {
27187 SWIG_null_ref("wxTreeItemId");
27188 }
27189 if (SWIG_arg_fail(2)) SWIG_fail;
27190 }
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 (arg1)->SetId((wxTreeItemId const &)*arg2);
27194
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 Py_INCREF(Py_None); resultobj = Py_None;
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27206 PyObject *resultobj;
27207 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27208 PyObject * obj0 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail;
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 wxPyTreeItemData_Destroy(arg1);
27219
27220 wxPyEndAllowThreads(__tstate);
27221 if (PyErr_Occurred()) SWIG_fail;
27222 }
27223 Py_INCREF(Py_None); resultobj = Py_None;
27224 return resultobj;
27225 fail:
27226 return NULL;
27227 }
27228
27229
27230 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27231 PyObject *obj;
27232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27233 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27234 Py_INCREF(obj);
27235 return Py_BuildValue((char *)"");
27236 }
27237 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27238 PyObject *resultobj;
27239 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27240 int arg2 = (int) 0 ;
27241 wxTreeEvent *result;
27242 PyObject * obj0 = 0 ;
27243 PyObject * obj1 = 0 ;
27244 char *kwnames[] = {
27245 (char *) "commandType",(char *) "id", NULL
27246 };
27247
27248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27249 if (obj0) {
27250 {
27251 arg1 = (wxEventType)(SWIG_As_int(obj0));
27252 if (SWIG_arg_fail(1)) SWIG_fail;
27253 }
27254 }
27255 if (obj1) {
27256 {
27257 arg2 = (int)(SWIG_As_int(obj1));
27258 if (SWIG_arg_fail(2)) SWIG_fail;
27259 }
27260 }
27261 {
27262 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27264
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj;
27277 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27278 wxTreeItemId result;
27279 PyObject * obj0 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail;
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 result = ((wxTreeEvent const *)arg1)->GetItem();
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 {
27295 wxTreeItemId * resultptr;
27296 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27298 }
27299 return resultobj;
27300 fail:
27301 return NULL;
27302 }
27303
27304
27305 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27308 wxTreeItemId *arg2 = 0 ;
27309 PyObject * obj0 = 0 ;
27310 PyObject * obj1 = 0 ;
27311 char *kwnames[] = {
27312 (char *) "self",(char *) "item", NULL
27313 };
27314
27315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27317 if (SWIG_arg_fail(1)) SWIG_fail;
27318 {
27319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27320 if (SWIG_arg_fail(2)) SWIG_fail;
27321 if (arg2 == NULL) {
27322 SWIG_null_ref("wxTreeItemId");
27323 }
27324 if (SWIG_arg_fail(2)) SWIG_fail;
27325 }
27326 {
27327 PyThreadState* __tstate = wxPyBeginAllowThreads();
27328 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27329
27330 wxPyEndAllowThreads(__tstate);
27331 if (PyErr_Occurred()) SWIG_fail;
27332 }
27333 Py_INCREF(Py_None); resultobj = Py_None;
27334 return resultobj;
27335 fail:
27336 return NULL;
27337 }
27338
27339
27340 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj;
27342 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27343 wxTreeItemId result;
27344 PyObject * obj0 = 0 ;
27345 char *kwnames[] = {
27346 (char *) "self", NULL
27347 };
27348
27349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27351 if (SWIG_arg_fail(1)) SWIG_fail;
27352 {
27353 PyThreadState* __tstate = wxPyBeginAllowThreads();
27354 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27355
27356 wxPyEndAllowThreads(__tstate);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 }
27359 {
27360 wxTreeItemId * resultptr;
27361 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27363 }
27364 return resultobj;
27365 fail:
27366 return NULL;
27367 }
27368
27369
27370 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj;
27372 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27373 wxTreeItemId *arg2 = 0 ;
27374 PyObject * obj0 = 0 ;
27375 PyObject * obj1 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "self",(char *) "item", NULL
27378 };
27379
27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail;
27383 {
27384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27385 if (SWIG_arg_fail(2)) SWIG_fail;
27386 if (arg2 == NULL) {
27387 SWIG_null_ref("wxTreeItemId");
27388 }
27389 if (SWIG_arg_fail(2)) SWIG_fail;
27390 }
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27394
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 Py_INCREF(Py_None); resultobj = Py_None;
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27406 PyObject *resultobj;
27407 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27408 wxPoint result;
27409 PyObject * obj0 = 0 ;
27410 char *kwnames[] = {
27411 (char *) "self", NULL
27412 };
27413
27414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27416 if (SWIG_arg_fail(1)) SWIG_fail;
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = ((wxTreeEvent const *)arg1)->GetPoint();
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 {
27425 wxPoint * resultptr;
27426 resultptr = new wxPoint((wxPoint &)(result));
27427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27428 }
27429 return resultobj;
27430 fail:
27431 return NULL;
27432 }
27433
27434
27435 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27436 PyObject *resultobj;
27437 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27438 wxPoint *arg2 = 0 ;
27439 wxPoint temp2 ;
27440 PyObject * obj0 = 0 ;
27441 PyObject * obj1 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self",(char *) "pt", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail;
27449 {
27450 arg2 = &temp2;
27451 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27452 }
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 (arg1)->SetPoint((wxPoint const &)*arg2);
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 Py_INCREF(Py_None); resultobj = Py_None;
27461 return resultobj;
27462 fail:
27463 return NULL;
27464 }
27465
27466
27467 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27470 wxKeyEvent *result;
27471 PyObject * obj0 = 0 ;
27472 char *kwnames[] = {
27473 (char *) "self", NULL
27474 };
27475
27476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27478 if (SWIG_arg_fail(1)) SWIG_fail;
27479 {
27480 PyThreadState* __tstate = wxPyBeginAllowThreads();
27481 {
27482 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27483 result = (wxKeyEvent *) &_result_ref;
27484 }
27485
27486 wxPyEndAllowThreads(__tstate);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27490 return resultobj;
27491 fail:
27492 return NULL;
27493 }
27494
27495
27496 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27497 PyObject *resultobj;
27498 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27499 int result;
27500 PyObject * obj0 = 0 ;
27501 char *kwnames[] = {
27502 (char *) "self", NULL
27503 };
27504
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27507 if (SWIG_arg_fail(1)) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 {
27516 resultobj = SWIG_From_int((int)(result));
27517 }
27518 return resultobj;
27519 fail:
27520 return NULL;
27521 }
27522
27523
27524 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27525 PyObject *resultobj;
27526 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27527 wxKeyEvent *arg2 = 0 ;
27528 PyObject * obj0 = 0 ;
27529 PyObject * obj1 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self",(char *) "evt", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",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_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27539 if (SWIG_arg_fail(2)) SWIG_fail;
27540 if (arg2 == NULL) {
27541 SWIG_null_ref("wxKeyEvent");
27542 }
27543 if (SWIG_arg_fail(2)) SWIG_fail;
27544 }
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 (arg1)->SetKeyEvent((wxKeyEvent 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_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27560 PyObject *resultobj;
27561 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27562 wxString *result;
27563 PyObject * obj0 = 0 ;
27564 char *kwnames[] = {
27565 (char *) "self", NULL
27566 };
27567
27568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",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 {
27574 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27575 result = (wxString *) &_result_ref;
27576 }
27577
27578 wxPyEndAllowThreads(__tstate);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 }
27581 {
27582 #if wxUSE_UNICODE
27583 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27584 #else
27585 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27586 #endif
27587 }
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27595 PyObject *resultobj;
27596 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27597 wxString *arg2 = 0 ;
27598 bool temp2 = false ;
27599 PyObject * obj0 = 0 ;
27600 PyObject * obj1 = 0 ;
27601 char *kwnames[] = {
27602 (char *) "self",(char *) "label", NULL
27603 };
27604
27605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27607 if (SWIG_arg_fail(1)) SWIG_fail;
27608 {
27609 arg2 = wxString_in_helper(obj1);
27610 if (arg2 == NULL) SWIG_fail;
27611 temp2 = true;
27612 }
27613 {
27614 PyThreadState* __tstate = wxPyBeginAllowThreads();
27615 (arg1)->SetLabel((wxString const &)*arg2);
27616
27617 wxPyEndAllowThreads(__tstate);
27618 if (PyErr_Occurred()) SWIG_fail;
27619 }
27620 Py_INCREF(Py_None); resultobj = Py_None;
27621 {
27622 if (temp2)
27623 delete arg2;
27624 }
27625 return resultobj;
27626 fail:
27627 {
27628 if (temp2)
27629 delete arg2;
27630 }
27631 return NULL;
27632 }
27633
27634
27635 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27636 PyObject *resultobj;
27637 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27638 bool result;
27639 PyObject * obj0 = 0 ;
27640 char *kwnames[] = {
27641 (char *) "self", NULL
27642 };
27643
27644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27646 if (SWIG_arg_fail(1)) SWIG_fail;
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27650
27651 wxPyEndAllowThreads(__tstate);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 {
27655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27656 }
27657 return resultobj;
27658 fail:
27659 return NULL;
27660 }
27661
27662
27663 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27664 PyObject *resultobj;
27665 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27666 bool arg2 ;
27667 PyObject * obj0 = 0 ;
27668 PyObject * obj1 = 0 ;
27669 char *kwnames[] = {
27670 (char *) "self",(char *) "editCancelled", NULL
27671 };
27672
27673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail;
27676 {
27677 arg2 = (bool)(SWIG_As_bool(obj1));
27678 if (SWIG_arg_fail(2)) SWIG_fail;
27679 }
27680 {
27681 PyThreadState* __tstate = wxPyBeginAllowThreads();
27682 (arg1)->SetEditCanceled(arg2);
27683
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 Py_INCREF(Py_None); resultobj = Py_None;
27688 return resultobj;
27689 fail:
27690 return NULL;
27691 }
27692
27693
27694 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27695 PyObject *resultobj;
27696 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27697 wxString *arg2 = 0 ;
27698 bool temp2 = false ;
27699 PyObject * obj0 = 0 ;
27700 PyObject * obj1 = 0 ;
27701 char *kwnames[] = {
27702 (char *) "self",(char *) "toolTip", NULL
27703 };
27704
27705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail;
27708 {
27709 arg2 = wxString_in_helper(obj1);
27710 if (arg2 == NULL) SWIG_fail;
27711 temp2 = true;
27712 }
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 (arg1)->SetToolTip((wxString const &)*arg2);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 Py_INCREF(Py_None); resultobj = Py_None;
27721 {
27722 if (temp2)
27723 delete arg2;
27724 }
27725 return resultobj;
27726 fail:
27727 {
27728 if (temp2)
27729 delete arg2;
27730 }
27731 return NULL;
27732 }
27733
27734
27735 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27736 PyObject *resultobj;
27737 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27738 wxString result;
27739 PyObject * obj0 = 0 ;
27740 char *kwnames[] = {
27741 (char *) "self", NULL
27742 };
27743
27744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27746 if (SWIG_arg_fail(1)) SWIG_fail;
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = (arg1)->GetToolTip();
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 {
27755 #if wxUSE_UNICODE
27756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27757 #else
27758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27759 #endif
27760 }
27761 return resultobj;
27762 fail:
27763 return NULL;
27764 }
27765
27766
27767 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27768 PyObject *obj;
27769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27770 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27771 Py_INCREF(obj);
27772 return Py_BuildValue((char *)"");
27773 }
27774 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxWindow *arg1 = (wxWindow *) 0 ;
27777 int arg2 = (int) -1 ;
27778 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27779 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27780 wxSize const &arg4_defvalue = wxDefaultSize ;
27781 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27782 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27783 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27784 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27785 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27786 wxString *arg7 = (wxString *) &arg7_defvalue ;
27787 wxPyTreeCtrl *result;
27788 wxPoint temp3 ;
27789 wxSize temp4 ;
27790 bool temp7 = false ;
27791 PyObject * obj0 = 0 ;
27792 PyObject * obj1 = 0 ;
27793 PyObject * obj2 = 0 ;
27794 PyObject * obj3 = 0 ;
27795 PyObject * obj4 = 0 ;
27796 PyObject * obj5 = 0 ;
27797 PyObject * obj6 = 0 ;
27798 char *kwnames[] = {
27799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27800 };
27801
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27804 if (SWIG_arg_fail(1)) SWIG_fail;
27805 if (obj1) {
27806 {
27807 arg2 = (int)(SWIG_As_int(obj1));
27808 if (SWIG_arg_fail(2)) SWIG_fail;
27809 }
27810 }
27811 if (obj2) {
27812 {
27813 arg3 = &temp3;
27814 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27815 }
27816 }
27817 if (obj3) {
27818 {
27819 arg4 = &temp4;
27820 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27821 }
27822 }
27823 if (obj4) {
27824 {
27825 arg5 = (long)(SWIG_As_long(obj4));
27826 if (SWIG_arg_fail(5)) SWIG_fail;
27827 }
27828 }
27829 if (obj5) {
27830 {
27831 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27832 if (SWIG_arg_fail(6)) SWIG_fail;
27833 if (arg6 == NULL) {
27834 SWIG_null_ref("wxValidator");
27835 }
27836 if (SWIG_arg_fail(6)) SWIG_fail;
27837 }
27838 }
27839 if (obj6) {
27840 {
27841 arg7 = wxString_in_helper(obj6);
27842 if (arg7 == NULL) SWIG_fail;
27843 temp7 = true;
27844 }
27845 }
27846 {
27847 if (!wxPyCheckForApp()) SWIG_fail;
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27850
27851 wxPyEndAllowThreads(__tstate);
27852 if (PyErr_Occurred()) SWIG_fail;
27853 }
27854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27855 {
27856 if (temp7)
27857 delete arg7;
27858 }
27859 return resultobj;
27860 fail:
27861 {
27862 if (temp7)
27863 delete arg7;
27864 }
27865 return NULL;
27866 }
27867
27868
27869 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27870 PyObject *resultobj;
27871 wxPyTreeCtrl *result;
27872 char *kwnames[] = {
27873 NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27877 {
27878 if (!wxPyCheckForApp()) SWIG_fail;
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27881
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27886 return resultobj;
27887 fail:
27888 return NULL;
27889 }
27890
27891
27892 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj;
27894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27895 wxWindow *arg2 = (wxWindow *) 0 ;
27896 int arg3 = (int) -1 ;
27897 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27898 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27899 wxSize const &arg5_defvalue = wxDefaultSize ;
27900 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27901 long arg6 = (long) wxTR_DEFAULT_STYLE ;
27902 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27903 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27904 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
27905 wxString *arg8 = (wxString *) &arg8_defvalue ;
27906 bool result;
27907 wxPoint temp4 ;
27908 wxSize temp5 ;
27909 bool temp8 = false ;
27910 PyObject * obj0 = 0 ;
27911 PyObject * obj1 = 0 ;
27912 PyObject * obj2 = 0 ;
27913 PyObject * obj3 = 0 ;
27914 PyObject * obj4 = 0 ;
27915 PyObject * obj5 = 0 ;
27916 PyObject * obj6 = 0 ;
27917 PyObject * obj7 = 0 ;
27918 char *kwnames[] = {
27919 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27920 };
27921
27922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
27923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail;
27925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27926 if (SWIG_arg_fail(2)) SWIG_fail;
27927 if (obj2) {
27928 {
27929 arg3 = (int)(SWIG_As_int(obj2));
27930 if (SWIG_arg_fail(3)) SWIG_fail;
27931 }
27932 }
27933 if (obj3) {
27934 {
27935 arg4 = &temp4;
27936 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27937 }
27938 }
27939 if (obj4) {
27940 {
27941 arg5 = &temp5;
27942 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27943 }
27944 }
27945 if (obj5) {
27946 {
27947 arg6 = (long)(SWIG_As_long(obj5));
27948 if (SWIG_arg_fail(6)) SWIG_fail;
27949 }
27950 }
27951 if (obj6) {
27952 {
27953 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27954 if (SWIG_arg_fail(7)) SWIG_fail;
27955 if (arg7 == NULL) {
27956 SWIG_null_ref("wxValidator");
27957 }
27958 if (SWIG_arg_fail(7)) SWIG_fail;
27959 }
27960 }
27961 if (obj7) {
27962 {
27963 arg8 = wxString_in_helper(obj7);
27964 if (arg8 == NULL) SWIG_fail;
27965 temp8 = true;
27966 }
27967 }
27968 {
27969 PyThreadState* __tstate = wxPyBeginAllowThreads();
27970 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
27971
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 {
27976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27977 }
27978 {
27979 if (temp8)
27980 delete arg8;
27981 }
27982 return resultobj;
27983 fail:
27984 {
27985 if (temp8)
27986 delete arg8;
27987 }
27988 return NULL;
27989 }
27990
27991
27992 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27993 PyObject *resultobj;
27994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27995 PyObject *arg2 = (PyObject *) 0 ;
27996 PyObject *arg3 = (PyObject *) 0 ;
27997 PyObject * obj0 = 0 ;
27998 PyObject * obj1 = 0 ;
27999 PyObject * obj2 = 0 ;
28000 char *kwnames[] = {
28001 (char *) "self",(char *) "self",(char *) "_class", NULL
28002 };
28003
28004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28006 if (SWIG_arg_fail(1)) SWIG_fail;
28007 arg2 = obj1;
28008 arg3 = obj2;
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 (arg1)->_setCallbackInfo(arg2,arg3);
28012
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 Py_INCREF(Py_None); resultobj = Py_None;
28017 return resultobj;
28018 fail:
28019 return NULL;
28020 }
28021
28022
28023 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28024 PyObject *resultobj;
28025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28026 size_t result;
28027 PyObject * obj0 = 0 ;
28028 char *kwnames[] = {
28029 (char *) "self", NULL
28030 };
28031
28032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail;
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28038
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 {
28043 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28044 }
28045 return resultobj;
28046 fail:
28047 return NULL;
28048 }
28049
28050
28051 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj;
28053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28054 unsigned int result;
28055 PyObject * obj0 = 0 ;
28056 char *kwnames[] = {
28057 (char *) "self", NULL
28058 };
28059
28060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28062 if (SWIG_arg_fail(1)) SWIG_fail;
28063 {
28064 PyThreadState* __tstate = wxPyBeginAllowThreads();
28065 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28066
28067 wxPyEndAllowThreads(__tstate);
28068 if (PyErr_Occurred()) SWIG_fail;
28069 }
28070 {
28071 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28072 }
28073 return resultobj;
28074 fail:
28075 return NULL;
28076 }
28077
28078
28079 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28080 PyObject *resultobj;
28081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28082 unsigned int arg2 ;
28083 PyObject * obj0 = 0 ;
28084 PyObject * obj1 = 0 ;
28085 char *kwnames[] = {
28086 (char *) "self",(char *) "indent", NULL
28087 };
28088
28089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28091 if (SWIG_arg_fail(1)) SWIG_fail;
28092 {
28093 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28094 if (SWIG_arg_fail(2)) SWIG_fail;
28095 }
28096 {
28097 PyThreadState* __tstate = wxPyBeginAllowThreads();
28098 (arg1)->SetIndent(arg2);
28099
28100 wxPyEndAllowThreads(__tstate);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 }
28103 Py_INCREF(Py_None); resultobj = Py_None;
28104 return resultobj;
28105 fail:
28106 return NULL;
28107 }
28108
28109
28110 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28111 PyObject *resultobj;
28112 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28113 unsigned int result;
28114 PyObject * obj0 = 0 ;
28115 char *kwnames[] = {
28116 (char *) "self", NULL
28117 };
28118
28119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28121 if (SWIG_arg_fail(1)) SWIG_fail;
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 {
28130 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28131 }
28132 return resultobj;
28133 fail:
28134 return NULL;
28135 }
28136
28137
28138 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28139 PyObject *resultobj;
28140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28141 unsigned int arg2 ;
28142 PyObject * obj0 = 0 ;
28143 PyObject * obj1 = 0 ;
28144 char *kwnames[] = {
28145 (char *) "self",(char *) "spacing", NULL
28146 };
28147
28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28150 if (SWIG_arg_fail(1)) SWIG_fail;
28151 {
28152 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28153 if (SWIG_arg_fail(2)) SWIG_fail;
28154 }
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 (arg1)->SetSpacing(arg2);
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 Py_INCREF(Py_None); resultobj = Py_None;
28163 return resultobj;
28164 fail:
28165 return NULL;
28166 }
28167
28168
28169 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28172 wxImageList *result;
28173 PyObject * obj0 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail;
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 {
28189 resultobj = wxPyMake_wxObject(result, 0);
28190 }
28191 return resultobj;
28192 fail:
28193 return NULL;
28194 }
28195
28196
28197 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28198 PyObject *resultobj;
28199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28200 wxImageList *result;
28201 PyObject * obj0 = 0 ;
28202 char *kwnames[] = {
28203 (char *) "self", NULL
28204 };
28205
28206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail;
28209 {
28210 PyThreadState* __tstate = wxPyBeginAllowThreads();
28211 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28212
28213 wxPyEndAllowThreads(__tstate);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
28216 {
28217 resultobj = wxPyMake_wxObject(result, 0);
28218 }
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28228 wxImageList *arg2 = (wxImageList *) 0 ;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 char *kwnames[] = {
28232 (char *) "self",(char *) "imageList", NULL
28233 };
28234
28235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28237 if (SWIG_arg_fail(1)) SWIG_fail;
28238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28239 if (SWIG_arg_fail(2)) SWIG_fail;
28240 {
28241 PyThreadState* __tstate = wxPyBeginAllowThreads();
28242 (arg1)->SetImageList(arg2);
28243
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
28247 Py_INCREF(Py_None); resultobj = Py_None;
28248 return resultobj;
28249 fail:
28250 return NULL;
28251 }
28252
28253
28254 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28255 PyObject *resultobj;
28256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28257 wxImageList *arg2 = (wxImageList *) 0 ;
28258 PyObject * obj0 = 0 ;
28259 PyObject * obj1 = 0 ;
28260 char *kwnames[] = {
28261 (char *) "self",(char *) "imageList", NULL
28262 };
28263
28264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28266 if (SWIG_arg_fail(1)) SWIG_fail;
28267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28268 if (SWIG_arg_fail(2)) SWIG_fail;
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 (arg1)->SetStateImageList(arg2);
28272
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 Py_INCREF(Py_None); resultobj = Py_None;
28277 return resultobj;
28278 fail:
28279 return NULL;
28280 }
28281
28282
28283 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28284 PyObject *resultobj;
28285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28286 wxImageList *arg2 = (wxImageList *) 0 ;
28287 PyObject * obj0 = 0 ;
28288 PyObject * obj1 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "self",(char *) "imageList", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail;
28296 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28297 if (SWIG_arg_fail(2)) SWIG_fail;
28298 {
28299 PyThreadState* __tstate = wxPyBeginAllowThreads();
28300 (arg1)->AssignImageList(arg2);
28301
28302 wxPyEndAllowThreads(__tstate);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 Py_INCREF(Py_None); resultobj = Py_None;
28306 return resultobj;
28307 fail:
28308 return NULL;
28309 }
28310
28311
28312 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28313 PyObject *resultobj;
28314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28315 wxImageList *arg2 = (wxImageList *) 0 ;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 char *kwnames[] = {
28319 (char *) "self",(char *) "imageList", NULL
28320 };
28321
28322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail;
28325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28326 if (SWIG_arg_fail(2)) SWIG_fail;
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->AssignStateImageList(arg2);
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 Py_INCREF(Py_None); resultobj = Py_None;
28335 return resultobj;
28336 fail:
28337 return NULL;
28338 }
28339
28340
28341 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28342 PyObject *resultobj;
28343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28344 wxTreeItemId *arg2 = 0 ;
28345 wxString result;
28346 PyObject * obj0 = 0 ;
28347 PyObject * obj1 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self",(char *) "item", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28354 if (SWIG_arg_fail(1)) SWIG_fail;
28355 {
28356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28357 if (SWIG_arg_fail(2)) SWIG_fail;
28358 if (arg2 == NULL) {
28359 SWIG_null_ref("wxTreeItemId");
28360 }
28361 if (SWIG_arg_fail(2)) SWIG_fail;
28362 }
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28366
28367 wxPyEndAllowThreads(__tstate);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 {
28371 #if wxUSE_UNICODE
28372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28373 #else
28374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28375 #endif
28376 }
28377 return resultobj;
28378 fail:
28379 return NULL;
28380 }
28381
28382
28383 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28384 PyObject *resultobj;
28385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28386 wxTreeItemId *arg2 = 0 ;
28387 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28388 int result;
28389 PyObject * obj0 = 0 ;
28390 PyObject * obj1 = 0 ;
28391 PyObject * obj2 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self",(char *) "item",(char *) "which", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail;
28399 {
28400 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28401 if (SWIG_arg_fail(2)) SWIG_fail;
28402 if (arg2 == NULL) {
28403 SWIG_null_ref("wxTreeItemId");
28404 }
28405 if (SWIG_arg_fail(2)) SWIG_fail;
28406 }
28407 if (obj2) {
28408 {
28409 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28410 if (SWIG_arg_fail(3)) SWIG_fail;
28411 }
28412 }
28413 {
28414 PyThreadState* __tstate = wxPyBeginAllowThreads();
28415 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28416
28417 wxPyEndAllowThreads(__tstate);
28418 if (PyErr_Occurred()) SWIG_fail;
28419 }
28420 {
28421 resultobj = SWIG_From_int((int)(result));
28422 }
28423 return resultobj;
28424 fail:
28425 return NULL;
28426 }
28427
28428
28429 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28430 PyObject *resultobj;
28431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28432 wxTreeItemId *arg2 = 0 ;
28433 wxPyTreeItemData *result;
28434 PyObject * obj0 = 0 ;
28435 PyObject * obj1 = 0 ;
28436 char *kwnames[] = {
28437 (char *) "self",(char *) "item", NULL
28438 };
28439
28440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28442 if (SWIG_arg_fail(1)) SWIG_fail;
28443 {
28444 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28445 if (SWIG_arg_fail(2)) SWIG_fail;
28446 if (arg2 == NULL) {
28447 SWIG_null_ref("wxTreeItemId");
28448 }
28449 if (SWIG_arg_fail(2)) SWIG_fail;
28450 }
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28459 return resultobj;
28460 fail:
28461 return NULL;
28462 }
28463
28464
28465 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28466 PyObject *resultobj;
28467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28468 wxTreeItemId *arg2 = 0 ;
28469 PyObject *result;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "item", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28478 if (SWIG_arg_fail(1)) SWIG_fail;
28479 {
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
28482 if (arg2 == NULL) {
28483 SWIG_null_ref("wxTreeItemId");
28484 }
28485 if (SWIG_arg_fail(2)) SWIG_fail;
28486 }
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28490
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
28494 resultobj = result;
28495 return resultobj;
28496 fail:
28497 return NULL;
28498 }
28499
28500
28501 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28502 PyObject *resultobj;
28503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28504 wxTreeItemId *arg2 = 0 ;
28505 wxColour result;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 char *kwnames[] = {
28509 (char *) "self",(char *) "item", NULL
28510 };
28511
28512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",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 {
28516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28517 if (SWIG_arg_fail(2)) SWIG_fail;
28518 if (arg2 == NULL) {
28519 SWIG_null_ref("wxTreeItemId");
28520 }
28521 if (SWIG_arg_fail(2)) SWIG_fail;
28522 }
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
28530 {
28531 wxColour * resultptr;
28532 resultptr = new wxColour((wxColour &)(result));
28533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28534 }
28535 return resultobj;
28536 fail:
28537 return NULL;
28538 }
28539
28540
28541 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28542 PyObject *resultobj;
28543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28544 wxTreeItemId *arg2 = 0 ;
28545 wxColour result;
28546 PyObject * obj0 = 0 ;
28547 PyObject * obj1 = 0 ;
28548 char *kwnames[] = {
28549 (char *) "self",(char *) "item", NULL
28550 };
28551
28552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28554 if (SWIG_arg_fail(1)) SWIG_fail;
28555 {
28556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28557 if (SWIG_arg_fail(2)) SWIG_fail;
28558 if (arg2 == NULL) {
28559 SWIG_null_ref("wxTreeItemId");
28560 }
28561 if (SWIG_arg_fail(2)) SWIG_fail;
28562 }
28563 {
28564 PyThreadState* __tstate = wxPyBeginAllowThreads();
28565 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28566
28567 wxPyEndAllowThreads(__tstate);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 }
28570 {
28571 wxColour * resultptr;
28572 resultptr = new wxColour((wxColour &)(result));
28573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28574 }
28575 return resultobj;
28576 fail:
28577 return NULL;
28578 }
28579
28580
28581 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28582 PyObject *resultobj;
28583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28584 wxTreeItemId *arg2 = 0 ;
28585 wxFont result;
28586 PyObject * obj0 = 0 ;
28587 PyObject * obj1 = 0 ;
28588 char *kwnames[] = {
28589 (char *) "self",(char *) "item", NULL
28590 };
28591
28592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28594 if (SWIG_arg_fail(1)) SWIG_fail;
28595 {
28596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28597 if (SWIG_arg_fail(2)) SWIG_fail;
28598 if (arg2 == NULL) {
28599 SWIG_null_ref("wxTreeItemId");
28600 }
28601 if (SWIG_arg_fail(2)) SWIG_fail;
28602 }
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 {
28611 wxFont * resultptr;
28612 resultptr = new wxFont((wxFont &)(result));
28613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28614 }
28615 return resultobj;
28616 fail:
28617 return NULL;
28618 }
28619
28620
28621 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28622 PyObject *resultobj;
28623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28624 wxTreeItemId *arg2 = 0 ;
28625 wxString *arg3 = 0 ;
28626 bool temp3 = false ;
28627 PyObject * obj0 = 0 ;
28628 PyObject * obj1 = 0 ;
28629 PyObject * obj2 = 0 ;
28630 char *kwnames[] = {
28631 (char *) "self",(char *) "item",(char *) "text", NULL
28632 };
28633
28634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28636 if (SWIG_arg_fail(1)) SWIG_fail;
28637 {
28638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28639 if (SWIG_arg_fail(2)) SWIG_fail;
28640 if (arg2 == NULL) {
28641 SWIG_null_ref("wxTreeItemId");
28642 }
28643 if (SWIG_arg_fail(2)) SWIG_fail;
28644 }
28645 {
28646 arg3 = wxString_in_helper(obj2);
28647 if (arg3 == NULL) SWIG_fail;
28648 temp3 = true;
28649 }
28650 {
28651 PyThreadState* __tstate = wxPyBeginAllowThreads();
28652 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28653
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 Py_INCREF(Py_None); resultobj = Py_None;
28658 {
28659 if (temp3)
28660 delete arg3;
28661 }
28662 return resultobj;
28663 fail:
28664 {
28665 if (temp3)
28666 delete arg3;
28667 }
28668 return NULL;
28669 }
28670
28671
28672 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28673 PyObject *resultobj;
28674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28675 wxTreeItemId *arg2 = 0 ;
28676 int arg3 ;
28677 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28678 PyObject * obj0 = 0 ;
28679 PyObject * obj1 = 0 ;
28680 PyObject * obj2 = 0 ;
28681 PyObject * obj3 = 0 ;
28682 char *kwnames[] = {
28683 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28684 };
28685
28686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28688 if (SWIG_arg_fail(1)) SWIG_fail;
28689 {
28690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28691 if (SWIG_arg_fail(2)) SWIG_fail;
28692 if (arg2 == NULL) {
28693 SWIG_null_ref("wxTreeItemId");
28694 }
28695 if (SWIG_arg_fail(2)) SWIG_fail;
28696 }
28697 {
28698 arg3 = (int)(SWIG_As_int(obj2));
28699 if (SWIG_arg_fail(3)) SWIG_fail;
28700 }
28701 if (obj3) {
28702 {
28703 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28704 if (SWIG_arg_fail(4)) SWIG_fail;
28705 }
28706 }
28707 {
28708 PyThreadState* __tstate = wxPyBeginAllowThreads();
28709 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28710
28711 wxPyEndAllowThreads(__tstate);
28712 if (PyErr_Occurred()) SWIG_fail;
28713 }
28714 Py_INCREF(Py_None); resultobj = Py_None;
28715 return resultobj;
28716 fail:
28717 return NULL;
28718 }
28719
28720
28721 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28722 PyObject *resultobj;
28723 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28724 wxTreeItemId *arg2 = 0 ;
28725 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28726 PyObject * obj0 = 0 ;
28727 PyObject * obj1 = 0 ;
28728 PyObject * obj2 = 0 ;
28729 char *kwnames[] = {
28730 (char *) "self",(char *) "item",(char *) "data", NULL
28731 };
28732
28733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28735 if (SWIG_arg_fail(1)) SWIG_fail;
28736 {
28737 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28738 if (SWIG_arg_fail(2)) SWIG_fail;
28739 if (arg2 == NULL) {
28740 SWIG_null_ref("wxTreeItemId");
28741 }
28742 if (SWIG_arg_fail(2)) SWIG_fail;
28743 }
28744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28745 if (SWIG_arg_fail(3)) SWIG_fail;
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
28748 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28749
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 Py_INCREF(Py_None); resultobj = Py_None;
28754 return resultobj;
28755 fail:
28756 return NULL;
28757 }
28758
28759
28760 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28761 PyObject *resultobj;
28762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28763 wxTreeItemId *arg2 = 0 ;
28764 PyObject *arg3 = (PyObject *) 0 ;
28765 PyObject * obj0 = 0 ;
28766 PyObject * obj1 = 0 ;
28767 PyObject * obj2 = 0 ;
28768 char *kwnames[] = {
28769 (char *) "self",(char *) "item",(char *) "obj", NULL
28770 };
28771
28772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28774 if (SWIG_arg_fail(1)) SWIG_fail;
28775 {
28776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28777 if (SWIG_arg_fail(2)) SWIG_fail;
28778 if (arg2 == NULL) {
28779 SWIG_null_ref("wxTreeItemId");
28780 }
28781 if (SWIG_arg_fail(2)) SWIG_fail;
28782 }
28783 arg3 = obj2;
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 Py_INCREF(Py_None); resultobj = Py_None;
28792 return resultobj;
28793 fail:
28794 return NULL;
28795 }
28796
28797
28798 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28799 PyObject *resultobj;
28800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28801 wxTreeItemId *arg2 = 0 ;
28802 bool arg3 = (bool) true ;
28803 PyObject * obj0 = 0 ;
28804 PyObject * obj1 = 0 ;
28805 PyObject * obj2 = 0 ;
28806 char *kwnames[] = {
28807 (char *) "self",(char *) "item",(char *) "has", NULL
28808 };
28809
28810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail;
28813 {
28814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28815 if (SWIG_arg_fail(2)) SWIG_fail;
28816 if (arg2 == NULL) {
28817 SWIG_null_ref("wxTreeItemId");
28818 }
28819 if (SWIG_arg_fail(2)) SWIG_fail;
28820 }
28821 if (obj2) {
28822 {
28823 arg3 = (bool)(SWIG_As_bool(obj2));
28824 if (SWIG_arg_fail(3)) SWIG_fail;
28825 }
28826 }
28827 {
28828 PyThreadState* __tstate = wxPyBeginAllowThreads();
28829 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28830
28831 wxPyEndAllowThreads(__tstate);
28832 if (PyErr_Occurred()) SWIG_fail;
28833 }
28834 Py_INCREF(Py_None); resultobj = Py_None;
28835 return resultobj;
28836 fail:
28837 return NULL;
28838 }
28839
28840
28841 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28842 PyObject *resultobj;
28843 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28844 wxTreeItemId *arg2 = 0 ;
28845 bool arg3 = (bool) true ;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 PyObject * obj2 = 0 ;
28849 char *kwnames[] = {
28850 (char *) "self",(char *) "item",(char *) "bold", NULL
28851 };
28852
28853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",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 if (obj2) {
28865 {
28866 arg3 = (bool)(SWIG_As_bool(obj2));
28867 if (SWIG_arg_fail(3)) SWIG_fail;
28868 }
28869 }
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 Py_INCREF(Py_None); resultobj = Py_None;
28878 return resultobj;
28879 fail:
28880 return NULL;
28881 }
28882
28883
28884 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28885 PyObject *resultobj;
28886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28887 wxTreeItemId *arg2 = 0 ;
28888 bool arg3 = (bool) true ;
28889 PyObject * obj0 = 0 ;
28890 PyObject * obj1 = 0 ;
28891 PyObject * obj2 = 0 ;
28892 char *kwnames[] = {
28893 (char *) "self",(char *) "item",(char *) "highlight", NULL
28894 };
28895
28896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
28897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28898 if (SWIG_arg_fail(1)) SWIG_fail;
28899 {
28900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28901 if (SWIG_arg_fail(2)) SWIG_fail;
28902 if (arg2 == NULL) {
28903 SWIG_null_ref("wxTreeItemId");
28904 }
28905 if (SWIG_arg_fail(2)) SWIG_fail;
28906 }
28907 if (obj2) {
28908 {
28909 arg3 = (bool)(SWIG_As_bool(obj2));
28910 if (SWIG_arg_fail(3)) SWIG_fail;
28911 }
28912 }
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
28916
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 Py_INCREF(Py_None); resultobj = Py_None;
28921 return resultobj;
28922 fail:
28923 return NULL;
28924 }
28925
28926
28927 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28928 PyObject *resultobj;
28929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28930 wxTreeItemId *arg2 = 0 ;
28931 wxColour *arg3 = 0 ;
28932 wxColour temp3 ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 PyObject * obj2 = 0 ;
28936 char *kwnames[] = {
28937 (char *) "self",(char *) "item",(char *) "col", NULL
28938 };
28939
28940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
28941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail;
28943 {
28944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28945 if (SWIG_arg_fail(2)) SWIG_fail;
28946 if (arg2 == NULL) {
28947 SWIG_null_ref("wxTreeItemId");
28948 }
28949 if (SWIG_arg_fail(2)) SWIG_fail;
28950 }
28951 {
28952 arg3 = &temp3;
28953 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
28954 }
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 Py_INCREF(Py_None); resultobj = Py_None;
28963 return resultobj;
28964 fail:
28965 return NULL;
28966 }
28967
28968
28969 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28972 wxTreeItemId *arg2 = 0 ;
28973 wxColour *arg3 = 0 ;
28974 wxColour temp3 ;
28975 PyObject * obj0 = 0 ;
28976 PyObject * obj1 = 0 ;
28977 PyObject * obj2 = 0 ;
28978 char *kwnames[] = {
28979 (char *) "self",(char *) "item",(char *) "col", NULL
28980 };
28981
28982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
28983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28984 if (SWIG_arg_fail(1)) SWIG_fail;
28985 {
28986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28987 if (SWIG_arg_fail(2)) SWIG_fail;
28988 if (arg2 == NULL) {
28989 SWIG_null_ref("wxTreeItemId");
28990 }
28991 if (SWIG_arg_fail(2)) SWIG_fail;
28992 }
28993 {
28994 arg3 = &temp3;
28995 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
28996 }
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29000
29001 wxPyEndAllowThreads(__tstate);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
29004 Py_INCREF(Py_None); resultobj = Py_None;
29005 return resultobj;
29006 fail:
29007 return NULL;
29008 }
29009
29010
29011 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29012 PyObject *resultobj;
29013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29014 wxTreeItemId *arg2 = 0 ;
29015 wxFont *arg3 = 0 ;
29016 PyObject * obj0 = 0 ;
29017 PyObject * obj1 = 0 ;
29018 PyObject * obj2 = 0 ;
29019 char *kwnames[] = {
29020 (char *) "self",(char *) "item",(char *) "font", NULL
29021 };
29022
29023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29025 if (SWIG_arg_fail(1)) SWIG_fail;
29026 {
29027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29028 if (SWIG_arg_fail(2)) SWIG_fail;
29029 if (arg2 == NULL) {
29030 SWIG_null_ref("wxTreeItemId");
29031 }
29032 if (SWIG_arg_fail(2)) SWIG_fail;
29033 }
29034 {
29035 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29036 if (SWIG_arg_fail(3)) SWIG_fail;
29037 if (arg3 == NULL) {
29038 SWIG_null_ref("wxFont");
29039 }
29040 if (SWIG_arg_fail(3)) SWIG_fail;
29041 }
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29045
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 Py_INCREF(Py_None); resultobj = Py_None;
29050 return resultobj;
29051 fail:
29052 return NULL;
29053 }
29054
29055
29056 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29057 PyObject *resultobj;
29058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29059 wxTreeItemId *arg2 = 0 ;
29060 bool result;
29061 PyObject * obj0 = 0 ;
29062 PyObject * obj1 = 0 ;
29063 char *kwnames[] = {
29064 (char *) "self",(char *) "item", NULL
29065 };
29066
29067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29069 if (SWIG_arg_fail(1)) SWIG_fail;
29070 {
29071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29072 if (SWIG_arg_fail(2)) SWIG_fail;
29073 if (arg2 == NULL) {
29074 SWIG_null_ref("wxTreeItemId");
29075 }
29076 if (SWIG_arg_fail(2)) SWIG_fail;
29077 }
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 {
29086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29087 }
29088 return resultobj;
29089 fail:
29090 return NULL;
29091 }
29092
29093
29094 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29095 PyObject *resultobj;
29096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29097 wxTreeItemId *arg2 = 0 ;
29098 bool result;
29099 PyObject * obj0 = 0 ;
29100 PyObject * obj1 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "item", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail;
29108 {
29109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 if (arg2 == NULL) {
29112 SWIG_null_ref("wxTreeItemId");
29113 }
29114 if (SWIG_arg_fail(2)) SWIG_fail;
29115 }
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29125 }
29126 return resultobj;
29127 fail:
29128 return NULL;
29129 }
29130
29131
29132 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29133 PyObject *resultobj;
29134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29135 wxTreeItemId *arg2 = 0 ;
29136 bool result;
29137 PyObject * obj0 = 0 ;
29138 PyObject * obj1 = 0 ;
29139 char *kwnames[] = {
29140 (char *) "self",(char *) "item", NULL
29141 };
29142
29143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29145 if (SWIG_arg_fail(1)) SWIG_fail;
29146 {
29147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29148 if (SWIG_arg_fail(2)) SWIG_fail;
29149 if (arg2 == NULL) {
29150 SWIG_null_ref("wxTreeItemId");
29151 }
29152 if (SWIG_arg_fail(2)) SWIG_fail;
29153 }
29154 {
29155 PyThreadState* __tstate = wxPyBeginAllowThreads();
29156 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29157
29158 wxPyEndAllowThreads(__tstate);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 }
29161 {
29162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29163 }
29164 return resultobj;
29165 fail:
29166 return NULL;
29167 }
29168
29169
29170 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29171 PyObject *resultobj;
29172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29173 wxTreeItemId *arg2 = 0 ;
29174 bool result;
29175 PyObject * obj0 = 0 ;
29176 PyObject * obj1 = 0 ;
29177 char *kwnames[] = {
29178 (char *) "self",(char *) "item", NULL
29179 };
29180
29181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29183 if (SWIG_arg_fail(1)) SWIG_fail;
29184 {
29185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29186 if (SWIG_arg_fail(2)) SWIG_fail;
29187 if (arg2 == NULL) {
29188 SWIG_null_ref("wxTreeItemId");
29189 }
29190 if (SWIG_arg_fail(2)) SWIG_fail;
29191 }
29192 {
29193 PyThreadState* __tstate = wxPyBeginAllowThreads();
29194 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29195
29196 wxPyEndAllowThreads(__tstate);
29197 if (PyErr_Occurred()) SWIG_fail;
29198 }
29199 {
29200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29201 }
29202 return resultobj;
29203 fail:
29204 return NULL;
29205 }
29206
29207
29208 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29209 PyObject *resultobj;
29210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29211 wxTreeItemId *arg2 = 0 ;
29212 bool result;
29213 PyObject * obj0 = 0 ;
29214 PyObject * obj1 = 0 ;
29215 char *kwnames[] = {
29216 (char *) "self",(char *) "item", NULL
29217 };
29218
29219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail;
29222 {
29223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29224 if (SWIG_arg_fail(2)) SWIG_fail;
29225 if (arg2 == NULL) {
29226 SWIG_null_ref("wxTreeItemId");
29227 }
29228 if (SWIG_arg_fail(2)) SWIG_fail;
29229 }
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 {
29238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29239 }
29240 return resultobj;
29241 fail:
29242 return NULL;
29243 }
29244
29245
29246 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29247 PyObject *resultobj;
29248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29249 wxTreeItemId *arg2 = 0 ;
29250 bool arg3 = (bool) true ;
29251 size_t result;
29252 PyObject * obj0 = 0 ;
29253 PyObject * obj1 = 0 ;
29254 PyObject * obj2 = 0 ;
29255 char *kwnames[] = {
29256 (char *) "self",(char *) "item",(char *) "recursively", NULL
29257 };
29258
29259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail;
29262 {
29263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29264 if (SWIG_arg_fail(2)) SWIG_fail;
29265 if (arg2 == NULL) {
29266 SWIG_null_ref("wxTreeItemId");
29267 }
29268 if (SWIG_arg_fail(2)) SWIG_fail;
29269 }
29270 if (obj2) {
29271 {
29272 arg3 = (bool)(SWIG_As_bool(obj2));
29273 if (SWIG_arg_fail(3)) SWIG_fail;
29274 }
29275 }
29276 {
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29279
29280 wxPyEndAllowThreads(__tstate);
29281 if (PyErr_Occurred()) SWIG_fail;
29282 }
29283 {
29284 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29285 }
29286 return resultobj;
29287 fail:
29288 return NULL;
29289 }
29290
29291
29292 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29293 PyObject *resultobj;
29294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29295 wxTreeItemId result;
29296 PyObject * obj0 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "self", NULL
29299 };
29300
29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29303 if (SWIG_arg_fail(1)) SWIG_fail;
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29307
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 {
29312 wxTreeItemId * resultptr;
29313 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29315 }
29316 return resultobj;
29317 fail:
29318 return NULL;
29319 }
29320
29321
29322 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29323 PyObject *resultobj;
29324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29325 wxTreeItemId result;
29326 PyObject * obj0 = 0 ;
29327 char *kwnames[] = {
29328 (char *) "self", NULL
29329 };
29330
29331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29333 if (SWIG_arg_fail(1)) SWIG_fail;
29334 {
29335 PyThreadState* __tstate = wxPyBeginAllowThreads();
29336 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29337
29338 wxPyEndAllowThreads(__tstate);
29339 if (PyErr_Occurred()) SWIG_fail;
29340 }
29341 {
29342 wxTreeItemId * resultptr;
29343 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29345 }
29346 return resultobj;
29347 fail:
29348 return NULL;
29349 }
29350
29351
29352 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29353 PyObject *resultobj;
29354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29355 PyObject *result;
29356 PyObject * obj0 = 0 ;
29357 char *kwnames[] = {
29358 (char *) "self", NULL
29359 };
29360
29361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29363 if (SWIG_arg_fail(1)) SWIG_fail;
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29367
29368 wxPyEndAllowThreads(__tstate);
29369 if (PyErr_Occurred()) SWIG_fail;
29370 }
29371 resultobj = result;
29372 return resultobj;
29373 fail:
29374 return NULL;
29375 }
29376
29377
29378 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29379 PyObject *resultobj;
29380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29381 wxTreeItemId *arg2 = 0 ;
29382 wxTreeItemId result;
29383 PyObject * obj0 = 0 ;
29384 PyObject * obj1 = 0 ;
29385 char *kwnames[] = {
29386 (char *) "self",(char *) "item", NULL
29387 };
29388
29389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail;
29392 {
29393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29394 if (SWIG_arg_fail(2)) SWIG_fail;
29395 if (arg2 == NULL) {
29396 SWIG_null_ref("wxTreeItemId");
29397 }
29398 if (SWIG_arg_fail(2)) SWIG_fail;
29399 }
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29403
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 {
29408 wxTreeItemId * resultptr;
29409 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29411 }
29412 return resultobj;
29413 fail:
29414 return NULL;
29415 }
29416
29417
29418 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29419 PyObject *resultobj;
29420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29421 wxTreeItemId *arg2 = 0 ;
29422 PyObject *result;
29423 PyObject * obj0 = 0 ;
29424 PyObject * obj1 = 0 ;
29425 char *kwnames[] = {
29426 (char *) "self",(char *) "item", NULL
29427 };
29428
29429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29431 if (SWIG_arg_fail(1)) SWIG_fail;
29432 {
29433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29434 if (SWIG_arg_fail(2)) SWIG_fail;
29435 if (arg2 == NULL) {
29436 SWIG_null_ref("wxTreeItemId");
29437 }
29438 if (SWIG_arg_fail(2)) SWIG_fail;
29439 }
29440 {
29441 PyThreadState* __tstate = wxPyBeginAllowThreads();
29442 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29443
29444 wxPyEndAllowThreads(__tstate);
29445 if (PyErr_Occurred()) SWIG_fail;
29446 }
29447 resultobj = result;
29448 return resultobj;
29449 fail:
29450 return NULL;
29451 }
29452
29453
29454 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29455 PyObject *resultobj;
29456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29457 wxTreeItemId *arg2 = 0 ;
29458 void *arg3 = (void *) 0 ;
29459 PyObject *result;
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 PyObject * obj2 = 0 ;
29463 char *kwnames[] = {
29464 (char *) "self",(char *) "item",(char *) "cookie", NULL
29465 };
29466
29467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29469 if (SWIG_arg_fail(1)) SWIG_fail;
29470 {
29471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29472 if (SWIG_arg_fail(2)) SWIG_fail;
29473 if (arg2 == NULL) {
29474 SWIG_null_ref("wxTreeItemId");
29475 }
29476 if (SWIG_arg_fail(2)) SWIG_fail;
29477 }
29478 {
29479 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29480 SWIG_arg_fail(3);SWIG_fail;
29481 }
29482 }
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29486
29487 wxPyEndAllowThreads(__tstate);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 resultobj = result;
29491 return resultobj;
29492 fail:
29493 return NULL;
29494 }
29495
29496
29497 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29498 PyObject *resultobj;
29499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29500 wxTreeItemId *arg2 = 0 ;
29501 wxTreeItemId result;
29502 PyObject * obj0 = 0 ;
29503 PyObject * obj1 = 0 ;
29504 char *kwnames[] = {
29505 (char *) "self",(char *) "item", NULL
29506 };
29507
29508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29510 if (SWIG_arg_fail(1)) SWIG_fail;
29511 {
29512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29513 if (SWIG_arg_fail(2)) SWIG_fail;
29514 if (arg2 == NULL) {
29515 SWIG_null_ref("wxTreeItemId");
29516 }
29517 if (SWIG_arg_fail(2)) SWIG_fail;
29518 }
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 {
29527 wxTreeItemId * resultptr;
29528 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29530 }
29531 return resultobj;
29532 fail:
29533 return NULL;
29534 }
29535
29536
29537 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29538 PyObject *resultobj;
29539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29540 wxTreeItemId *arg2 = 0 ;
29541 wxTreeItemId result;
29542 PyObject * obj0 = 0 ;
29543 PyObject * obj1 = 0 ;
29544 char *kwnames[] = {
29545 (char *) "self",(char *) "item", NULL
29546 };
29547
29548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail;
29551 {
29552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29553 if (SWIG_arg_fail(2)) SWIG_fail;
29554 if (arg2 == NULL) {
29555 SWIG_null_ref("wxTreeItemId");
29556 }
29557 if (SWIG_arg_fail(2)) SWIG_fail;
29558 }
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29562
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 {
29567 wxTreeItemId * resultptr;
29568 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29570 }
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29578 PyObject *resultobj;
29579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29580 wxTreeItemId *arg2 = 0 ;
29581 wxTreeItemId result;
29582 PyObject * obj0 = 0 ;
29583 PyObject * obj1 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self",(char *) "item", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29590 if (SWIG_arg_fail(1)) SWIG_fail;
29591 {
29592 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29593 if (SWIG_arg_fail(2)) SWIG_fail;
29594 if (arg2 == NULL) {
29595 SWIG_null_ref("wxTreeItemId");
29596 }
29597 if (SWIG_arg_fail(2)) SWIG_fail;
29598 }
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29602
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 wxTreeItemId * resultptr;
29608 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29610 }
29611 return resultobj;
29612 fail:
29613 return NULL;
29614 }
29615
29616
29617 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29618 PyObject *resultobj;
29619 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29620 wxTreeItemId result;
29621 PyObject * obj0 = 0 ;
29622 char *kwnames[] = {
29623 (char *) "self", NULL
29624 };
29625
29626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail;
29629 {
29630 PyThreadState* __tstate = wxPyBeginAllowThreads();
29631 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29632
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 {
29637 wxTreeItemId * resultptr;
29638 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29640 }
29641 return resultobj;
29642 fail:
29643 return NULL;
29644 }
29645
29646
29647 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj;
29649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29650 wxTreeItemId *arg2 = 0 ;
29651 wxTreeItemId result;
29652 PyObject * obj0 = 0 ;
29653 PyObject * obj1 = 0 ;
29654 char *kwnames[] = {
29655 (char *) "self",(char *) "item", NULL
29656 };
29657
29658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29660 if (SWIG_arg_fail(1)) SWIG_fail;
29661 {
29662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail;
29664 if (arg2 == NULL) {
29665 SWIG_null_ref("wxTreeItemId");
29666 }
29667 if (SWIG_arg_fail(2)) SWIG_fail;
29668 }
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29672
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 {
29677 wxTreeItemId * resultptr;
29678 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29680 }
29681 return resultobj;
29682 fail:
29683 return NULL;
29684 }
29685
29686
29687 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29688 PyObject *resultobj;
29689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29690 wxTreeItemId *arg2 = 0 ;
29691 wxTreeItemId result;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 char *kwnames[] = {
29695 (char *) "self",(char *) "item", NULL
29696 };
29697
29698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail;
29701 {
29702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29703 if (SWIG_arg_fail(2)) SWIG_fail;
29704 if (arg2 == NULL) {
29705 SWIG_null_ref("wxTreeItemId");
29706 }
29707 if (SWIG_arg_fail(2)) SWIG_fail;
29708 }
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29712
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 {
29717 wxTreeItemId * resultptr;
29718 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29720 }
29721 return resultobj;
29722 fail:
29723 return NULL;
29724 }
29725
29726
29727 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29728 PyObject *resultobj;
29729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29730 wxString *arg2 = 0 ;
29731 int arg3 = (int) -1 ;
29732 int arg4 = (int) -1 ;
29733 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29734 wxTreeItemId result;
29735 bool temp2 = false ;
29736 PyObject * obj0 = 0 ;
29737 PyObject * obj1 = 0 ;
29738 PyObject * obj2 = 0 ;
29739 PyObject * obj3 = 0 ;
29740 PyObject * obj4 = 0 ;
29741 char *kwnames[] = {
29742 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29743 };
29744
29745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29747 if (SWIG_arg_fail(1)) SWIG_fail;
29748 {
29749 arg2 = wxString_in_helper(obj1);
29750 if (arg2 == NULL) SWIG_fail;
29751 temp2 = true;
29752 }
29753 if (obj2) {
29754 {
29755 arg3 = (int)(SWIG_As_int(obj2));
29756 if (SWIG_arg_fail(3)) SWIG_fail;
29757 }
29758 }
29759 if (obj3) {
29760 {
29761 arg4 = (int)(SWIG_As_int(obj3));
29762 if (SWIG_arg_fail(4)) SWIG_fail;
29763 }
29764 }
29765 if (obj4) {
29766 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29767 if (SWIG_arg_fail(5)) SWIG_fail;
29768 }
29769 {
29770 PyThreadState* __tstate = wxPyBeginAllowThreads();
29771 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29772
29773 wxPyEndAllowThreads(__tstate);
29774 if (PyErr_Occurred()) SWIG_fail;
29775 }
29776 {
29777 wxTreeItemId * resultptr;
29778 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29780 }
29781 {
29782 if (temp2)
29783 delete arg2;
29784 }
29785 return resultobj;
29786 fail:
29787 {
29788 if (temp2)
29789 delete arg2;
29790 }
29791 return NULL;
29792 }
29793
29794
29795 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29796 PyObject *resultobj;
29797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29798 wxTreeItemId *arg2 = 0 ;
29799 wxString *arg3 = 0 ;
29800 int arg4 = (int) -1 ;
29801 int arg5 = (int) -1 ;
29802 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29803 wxTreeItemId result;
29804 bool temp3 = false ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 PyObject * obj2 = 0 ;
29808 PyObject * obj3 = 0 ;
29809 PyObject * obj4 = 0 ;
29810 PyObject * obj5 = 0 ;
29811 char *kwnames[] = {
29812 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29813 };
29814
29815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail;
29818 {
29819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29820 if (SWIG_arg_fail(2)) SWIG_fail;
29821 if (arg2 == NULL) {
29822 SWIG_null_ref("wxTreeItemId");
29823 }
29824 if (SWIG_arg_fail(2)) SWIG_fail;
29825 }
29826 {
29827 arg3 = wxString_in_helper(obj2);
29828 if (arg3 == NULL) SWIG_fail;
29829 temp3 = true;
29830 }
29831 if (obj3) {
29832 {
29833 arg4 = (int)(SWIG_As_int(obj3));
29834 if (SWIG_arg_fail(4)) SWIG_fail;
29835 }
29836 }
29837 if (obj4) {
29838 {
29839 arg5 = (int)(SWIG_As_int(obj4));
29840 if (SWIG_arg_fail(5)) SWIG_fail;
29841 }
29842 }
29843 if (obj5) {
29844 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29845 if (SWIG_arg_fail(6)) SWIG_fail;
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 wxTreeItemId * resultptr;
29856 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29858 }
29859 {
29860 if (temp3)
29861 delete arg3;
29862 }
29863 return resultobj;
29864 fail:
29865 {
29866 if (temp3)
29867 delete arg3;
29868 }
29869 return NULL;
29870 }
29871
29872
29873 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
29874 PyObject *resultobj;
29875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29876 wxTreeItemId *arg2 = 0 ;
29877 wxTreeItemId *arg3 = 0 ;
29878 wxString *arg4 = 0 ;
29879 int arg5 = (int) -1 ;
29880 int arg6 = (int) -1 ;
29881 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29882 wxTreeItemId result;
29883 bool temp4 = false ;
29884 PyObject * obj0 = 0 ;
29885 PyObject * obj1 = 0 ;
29886 PyObject * obj2 = 0 ;
29887 PyObject * obj3 = 0 ;
29888 PyObject * obj4 = 0 ;
29889 PyObject * obj5 = 0 ;
29890 PyObject * obj6 = 0 ;
29891 char *kwnames[] = {
29892 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29893 };
29894
29895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29897 if (SWIG_arg_fail(1)) SWIG_fail;
29898 {
29899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29900 if (SWIG_arg_fail(2)) SWIG_fail;
29901 if (arg2 == NULL) {
29902 SWIG_null_ref("wxTreeItemId");
29903 }
29904 if (SWIG_arg_fail(2)) SWIG_fail;
29905 }
29906 {
29907 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29908 if (SWIG_arg_fail(3)) SWIG_fail;
29909 if (arg3 == NULL) {
29910 SWIG_null_ref("wxTreeItemId");
29911 }
29912 if (SWIG_arg_fail(3)) SWIG_fail;
29913 }
29914 {
29915 arg4 = wxString_in_helper(obj3);
29916 if (arg4 == NULL) SWIG_fail;
29917 temp4 = true;
29918 }
29919 if (obj4) {
29920 {
29921 arg5 = (int)(SWIG_As_int(obj4));
29922 if (SWIG_arg_fail(5)) SWIG_fail;
29923 }
29924 }
29925 if (obj5) {
29926 {
29927 arg6 = (int)(SWIG_As_int(obj5));
29928 if (SWIG_arg_fail(6)) SWIG_fail;
29929 }
29930 }
29931 if (obj6) {
29932 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29933 if (SWIG_arg_fail(7)) SWIG_fail;
29934 }
29935 {
29936 PyThreadState* __tstate = wxPyBeginAllowThreads();
29937 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
29938
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 {
29943 wxTreeItemId * resultptr;
29944 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29946 }
29947 {
29948 if (temp4)
29949 delete arg4;
29950 }
29951 return resultobj;
29952 fail:
29953 {
29954 if (temp4)
29955 delete arg4;
29956 }
29957 return NULL;
29958 }
29959
29960
29961 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
29962 PyObject *resultobj;
29963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29964 wxTreeItemId *arg2 = 0 ;
29965 size_t arg3 ;
29966 wxString *arg4 = 0 ;
29967 int arg5 = (int) -1 ;
29968 int arg6 = (int) -1 ;
29969 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29970 wxTreeItemId result;
29971 bool temp4 = false ;
29972 PyObject * obj0 = 0 ;
29973 PyObject * obj1 = 0 ;
29974 PyObject * obj2 = 0 ;
29975 PyObject * obj3 = 0 ;
29976 PyObject * obj4 = 0 ;
29977 PyObject * obj5 = 0 ;
29978 PyObject * obj6 = 0 ;
29979 char *kwnames[] = {
29980 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29981 };
29982
29983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail;
29986 {
29987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29988 if (SWIG_arg_fail(2)) SWIG_fail;
29989 if (arg2 == NULL) {
29990 SWIG_null_ref("wxTreeItemId");
29991 }
29992 if (SWIG_arg_fail(2)) SWIG_fail;
29993 }
29994 {
29995 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
29996 if (SWIG_arg_fail(3)) SWIG_fail;
29997 }
29998 {
29999 arg4 = wxString_in_helper(obj3);
30000 if (arg4 == NULL) SWIG_fail;
30001 temp4 = true;
30002 }
30003 if (obj4) {
30004 {
30005 arg5 = (int)(SWIG_As_int(obj4));
30006 if (SWIG_arg_fail(5)) SWIG_fail;
30007 }
30008 }
30009 if (obj5) {
30010 {
30011 arg6 = (int)(SWIG_As_int(obj5));
30012 if (SWIG_arg_fail(6)) SWIG_fail;
30013 }
30014 }
30015 if (obj6) {
30016 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30017 if (SWIG_arg_fail(7)) SWIG_fail;
30018 }
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 {
30027 wxTreeItemId * resultptr;
30028 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30030 }
30031 {
30032 if (temp4)
30033 delete arg4;
30034 }
30035 return resultobj;
30036 fail:
30037 {
30038 if (temp4)
30039 delete arg4;
30040 }
30041 return NULL;
30042 }
30043
30044
30045 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30046 PyObject *resultobj;
30047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30048 wxTreeItemId *arg2 = 0 ;
30049 wxString *arg3 = 0 ;
30050 int arg4 = (int) -1 ;
30051 int arg5 = (int) -1 ;
30052 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30053 wxTreeItemId result;
30054 bool temp3 = false ;
30055 PyObject * obj0 = 0 ;
30056 PyObject * obj1 = 0 ;
30057 PyObject * obj2 = 0 ;
30058 PyObject * obj3 = 0 ;
30059 PyObject * obj4 = 0 ;
30060 PyObject * obj5 = 0 ;
30061 char *kwnames[] = {
30062 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30063 };
30064
30065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30067 if (SWIG_arg_fail(1)) SWIG_fail;
30068 {
30069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30070 if (SWIG_arg_fail(2)) SWIG_fail;
30071 if (arg2 == NULL) {
30072 SWIG_null_ref("wxTreeItemId");
30073 }
30074 if (SWIG_arg_fail(2)) SWIG_fail;
30075 }
30076 {
30077 arg3 = wxString_in_helper(obj2);
30078 if (arg3 == NULL) SWIG_fail;
30079 temp3 = true;
30080 }
30081 if (obj3) {
30082 {
30083 arg4 = (int)(SWIG_As_int(obj3));
30084 if (SWIG_arg_fail(4)) SWIG_fail;
30085 }
30086 }
30087 if (obj4) {
30088 {
30089 arg5 = (int)(SWIG_As_int(obj4));
30090 if (SWIG_arg_fail(5)) SWIG_fail;
30091 }
30092 }
30093 if (obj5) {
30094 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30095 if (SWIG_arg_fail(6)) SWIG_fail;
30096 }
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 {
30105 wxTreeItemId * resultptr;
30106 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30108 }
30109 {
30110 if (temp3)
30111 delete arg3;
30112 }
30113 return resultobj;
30114 fail:
30115 {
30116 if (temp3)
30117 delete arg3;
30118 }
30119 return NULL;
30120 }
30121
30122
30123 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30124 PyObject *resultobj;
30125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30126 wxTreeItemId *arg2 = 0 ;
30127 PyObject * obj0 = 0 ;
30128 PyObject * obj1 = 0 ;
30129 char *kwnames[] = {
30130 (char *) "self",(char *) "item", NULL
30131 };
30132
30133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30135 if (SWIG_arg_fail(1)) SWIG_fail;
30136 {
30137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30138 if (SWIG_arg_fail(2)) SWIG_fail;
30139 if (arg2 == NULL) {
30140 SWIG_null_ref("wxTreeItemId");
30141 }
30142 if (SWIG_arg_fail(2)) SWIG_fail;
30143 }
30144 {
30145 PyThreadState* __tstate = wxPyBeginAllowThreads();
30146 (arg1)->Delete((wxTreeItemId const &)*arg2);
30147
30148 wxPyEndAllowThreads(__tstate);
30149 if (PyErr_Occurred()) SWIG_fail;
30150 }
30151 Py_INCREF(Py_None); resultobj = Py_None;
30152 return resultobj;
30153 fail:
30154 return NULL;
30155 }
30156
30157
30158 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30159 PyObject *resultobj;
30160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30161 wxTreeItemId *arg2 = 0 ;
30162 PyObject * obj0 = 0 ;
30163 PyObject * obj1 = 0 ;
30164 char *kwnames[] = {
30165 (char *) "self",(char *) "item", NULL
30166 };
30167
30168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30170 if (SWIG_arg_fail(1)) SWIG_fail;
30171 {
30172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30173 if (SWIG_arg_fail(2)) SWIG_fail;
30174 if (arg2 == NULL) {
30175 SWIG_null_ref("wxTreeItemId");
30176 }
30177 if (SWIG_arg_fail(2)) SWIG_fail;
30178 }
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30182
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 Py_INCREF(Py_None); resultobj = Py_None;
30187 return resultobj;
30188 fail:
30189 return NULL;
30190 }
30191
30192
30193 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30194 PyObject *resultobj;
30195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30196 PyObject * obj0 = 0 ;
30197 char *kwnames[] = {
30198 (char *) "self", NULL
30199 };
30200
30201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30203 if (SWIG_arg_fail(1)) SWIG_fail;
30204 {
30205 PyThreadState* __tstate = wxPyBeginAllowThreads();
30206 (arg1)->DeleteAllItems();
30207
30208 wxPyEndAllowThreads(__tstate);
30209 if (PyErr_Occurred()) SWIG_fail;
30210 }
30211 Py_INCREF(Py_None); resultobj = Py_None;
30212 return resultobj;
30213 fail:
30214 return NULL;
30215 }
30216
30217
30218 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30219 PyObject *resultobj;
30220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30221 wxTreeItemId *arg2 = 0 ;
30222 PyObject * obj0 = 0 ;
30223 PyObject * obj1 = 0 ;
30224 char *kwnames[] = {
30225 (char *) "self",(char *) "item", NULL
30226 };
30227
30228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30230 if (SWIG_arg_fail(1)) SWIG_fail;
30231 {
30232 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30233 if (SWIG_arg_fail(2)) SWIG_fail;
30234 if (arg2 == NULL) {
30235 SWIG_null_ref("wxTreeItemId");
30236 }
30237 if (SWIG_arg_fail(2)) SWIG_fail;
30238 }
30239 {
30240 PyThreadState* __tstate = wxPyBeginAllowThreads();
30241 (arg1)->Expand((wxTreeItemId const &)*arg2);
30242
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 Py_INCREF(Py_None); resultobj = Py_None;
30247 return resultobj;
30248 fail:
30249 return NULL;
30250 }
30251
30252
30253 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30254 PyObject *resultobj;
30255 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30256 wxTreeItemId *arg2 = 0 ;
30257 PyObject * obj0 = 0 ;
30258 PyObject * obj1 = 0 ;
30259 char *kwnames[] = {
30260 (char *) "self",(char *) "item", NULL
30261 };
30262
30263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30265 if (SWIG_arg_fail(1)) SWIG_fail;
30266 {
30267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30268 if (SWIG_arg_fail(2)) SWIG_fail;
30269 if (arg2 == NULL) {
30270 SWIG_null_ref("wxTreeItemId");
30271 }
30272 if (SWIG_arg_fail(2)) SWIG_fail;
30273 }
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30277
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 Py_INCREF(Py_None); resultobj = Py_None;
30282 return resultobj;
30283 fail:
30284 return NULL;
30285 }
30286
30287
30288 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30289 PyObject *resultobj;
30290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30291 wxTreeItemId *arg2 = 0 ;
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 char *kwnames[] = {
30295 (char *) "self",(char *) "item", NULL
30296 };
30297
30298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30300 if (SWIG_arg_fail(1)) SWIG_fail;
30301 {
30302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30303 if (SWIG_arg_fail(2)) SWIG_fail;
30304 if (arg2 == NULL) {
30305 SWIG_null_ref("wxTreeItemId");
30306 }
30307 if (SWIG_arg_fail(2)) SWIG_fail;
30308 }
30309 {
30310 PyThreadState* __tstate = wxPyBeginAllowThreads();
30311 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30312
30313 wxPyEndAllowThreads(__tstate);
30314 if (PyErr_Occurred()) SWIG_fail;
30315 }
30316 Py_INCREF(Py_None); resultobj = Py_None;
30317 return resultobj;
30318 fail:
30319 return NULL;
30320 }
30321
30322
30323 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30324 PyObject *resultobj;
30325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30326 wxTreeItemId *arg2 = 0 ;
30327 PyObject * obj0 = 0 ;
30328 PyObject * obj1 = 0 ;
30329 char *kwnames[] = {
30330 (char *) "self",(char *) "item", NULL
30331 };
30332
30333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30335 if (SWIG_arg_fail(1)) SWIG_fail;
30336 {
30337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30338 if (SWIG_arg_fail(2)) SWIG_fail;
30339 if (arg2 == NULL) {
30340 SWIG_null_ref("wxTreeItemId");
30341 }
30342 if (SWIG_arg_fail(2)) SWIG_fail;
30343 }
30344 {
30345 PyThreadState* __tstate = wxPyBeginAllowThreads();
30346 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30347
30348 wxPyEndAllowThreads(__tstate);
30349 if (PyErr_Occurred()) SWIG_fail;
30350 }
30351 Py_INCREF(Py_None); resultobj = Py_None;
30352 return resultobj;
30353 fail:
30354 return NULL;
30355 }
30356
30357
30358 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30359 PyObject *resultobj;
30360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30361 PyObject * obj0 = 0 ;
30362 char *kwnames[] = {
30363 (char *) "self", NULL
30364 };
30365
30366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30368 if (SWIG_arg_fail(1)) SWIG_fail;
30369 {
30370 PyThreadState* __tstate = wxPyBeginAllowThreads();
30371 (arg1)->Unselect();
30372
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 Py_INCREF(Py_None); resultobj = Py_None;
30377 return resultobj;
30378 fail:
30379 return NULL;
30380 }
30381
30382
30383 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30384 PyObject *resultobj;
30385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30386 wxTreeItemId *arg2 = 0 ;
30387 PyObject * obj0 = 0 ;
30388 PyObject * obj1 = 0 ;
30389 char *kwnames[] = {
30390 (char *) "self",(char *) "item", NULL
30391 };
30392
30393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30395 if (SWIG_arg_fail(1)) SWIG_fail;
30396 {
30397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30398 if (SWIG_arg_fail(2)) SWIG_fail;
30399 if (arg2 == NULL) {
30400 SWIG_null_ref("wxTreeItemId");
30401 }
30402 if (SWIG_arg_fail(2)) SWIG_fail;
30403 }
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30407
30408 wxPyEndAllowThreads(__tstate);
30409 if (PyErr_Occurred()) SWIG_fail;
30410 }
30411 Py_INCREF(Py_None); resultobj = Py_None;
30412 return resultobj;
30413 fail:
30414 return NULL;
30415 }
30416
30417
30418 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30419 PyObject *resultobj;
30420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30421 PyObject * obj0 = 0 ;
30422 char *kwnames[] = {
30423 (char *) "self", NULL
30424 };
30425
30426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30428 if (SWIG_arg_fail(1)) SWIG_fail;
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->UnselectAll();
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 Py_INCREF(Py_None); resultobj = Py_None;
30437 return resultobj;
30438 fail:
30439 return NULL;
30440 }
30441
30442
30443 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30444 PyObject *resultobj;
30445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30446 wxTreeItemId *arg2 = 0 ;
30447 bool arg3 = (bool) true ;
30448 PyObject * obj0 = 0 ;
30449 PyObject * obj1 = 0 ;
30450 PyObject * obj2 = 0 ;
30451 char *kwnames[] = {
30452 (char *) "self",(char *) "item",(char *) "select", NULL
30453 };
30454
30455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30457 if (SWIG_arg_fail(1)) SWIG_fail;
30458 {
30459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30460 if (SWIG_arg_fail(2)) SWIG_fail;
30461 if (arg2 == NULL) {
30462 SWIG_null_ref("wxTreeItemId");
30463 }
30464 if (SWIG_arg_fail(2)) SWIG_fail;
30465 }
30466 if (obj2) {
30467 {
30468 arg3 = (bool)(SWIG_As_bool(obj2));
30469 if (SWIG_arg_fail(3)) SWIG_fail;
30470 }
30471 }
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30475
30476 wxPyEndAllowThreads(__tstate);
30477 if (PyErr_Occurred()) SWIG_fail;
30478 }
30479 Py_INCREF(Py_None); resultobj = Py_None;
30480 return resultobj;
30481 fail:
30482 return NULL;
30483 }
30484
30485
30486 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30487 PyObject *resultobj;
30488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30489 wxTreeItemId *arg2 = 0 ;
30490 PyObject * obj0 = 0 ;
30491 PyObject * obj1 = 0 ;
30492 char *kwnames[] = {
30493 (char *) "self",(char *) "item", NULL
30494 };
30495
30496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail;
30499 {
30500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30501 if (SWIG_arg_fail(2)) SWIG_fail;
30502 if (arg2 == NULL) {
30503 SWIG_null_ref("wxTreeItemId");
30504 }
30505 if (SWIG_arg_fail(2)) SWIG_fail;
30506 }
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30510
30511 wxPyEndAllowThreads(__tstate);
30512 if (PyErr_Occurred()) SWIG_fail;
30513 }
30514 Py_INCREF(Py_None); resultobj = Py_None;
30515 return resultobj;
30516 fail:
30517 return NULL;
30518 }
30519
30520
30521 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30522 PyObject *resultobj;
30523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30524 wxTreeItemId *arg2 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 char *kwnames[] = {
30528 (char *) "self",(char *) "item", NULL
30529 };
30530
30531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail;
30534 {
30535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail;
30537 if (arg2 == NULL) {
30538 SWIG_null_ref("wxTreeItemId");
30539 }
30540 if (SWIG_arg_fail(2)) SWIG_fail;
30541 }
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 Py_INCREF(Py_None); resultobj = Py_None;
30550 return resultobj;
30551 fail:
30552 return NULL;
30553 }
30554
30555
30556 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30557 PyObject *resultobj;
30558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30559 wxTreeItemId *arg2 = 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "self",(char *) "item", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail;
30569 {
30570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail;
30572 if (arg2 == NULL) {
30573 SWIG_null_ref("wxTreeItemId");
30574 }
30575 if (SWIG_arg_fail(2)) SWIG_fail;
30576 }
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 Py_INCREF(Py_None); resultobj = Py_None;
30585 return resultobj;
30586 fail:
30587 return NULL;
30588 }
30589
30590
30591 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30592 PyObject *resultobj;
30593 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30594 wxTreeItemId *arg2 = 0 ;
30595 PyObject * obj0 = 0 ;
30596 PyObject * obj1 = 0 ;
30597 char *kwnames[] = {
30598 (char *) "self",(char *) "item", NULL
30599 };
30600
30601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail;
30604 {
30605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30606 if (SWIG_arg_fail(2)) SWIG_fail;
30607 if (arg2 == NULL) {
30608 SWIG_null_ref("wxTreeItemId");
30609 }
30610 if (SWIG_arg_fail(2)) SWIG_fail;
30611 }
30612 {
30613 PyThreadState* __tstate = wxPyBeginAllowThreads();
30614 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30615
30616 wxPyEndAllowThreads(__tstate);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 }
30619 Py_INCREF(Py_None); resultobj = Py_None;
30620 return resultobj;
30621 fail:
30622 return NULL;
30623 }
30624
30625
30626 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30627 PyObject *resultobj;
30628 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30629 wxTextCtrl *result;
30630 PyObject * obj0 = 0 ;
30631 char *kwnames[] = {
30632 (char *) "self", NULL
30633 };
30634
30635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail;
30638 {
30639 PyThreadState* __tstate = wxPyBeginAllowThreads();
30640 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30641
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 {
30646 resultobj = wxPyMake_wxObject(result, 0);
30647 }
30648 return resultobj;
30649 fail:
30650 return NULL;
30651 }
30652
30653
30654 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30655 PyObject *resultobj;
30656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30657 wxTreeItemId *arg2 = 0 ;
30658 bool arg3 = (bool) false ;
30659 PyObject * obj0 = 0 ;
30660 PyObject * obj1 = 0 ;
30661 PyObject * obj2 = 0 ;
30662 char *kwnames[] = {
30663 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30664 };
30665
30666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30668 if (SWIG_arg_fail(1)) SWIG_fail;
30669 {
30670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30671 if (SWIG_arg_fail(2)) SWIG_fail;
30672 if (arg2 == NULL) {
30673 SWIG_null_ref("wxTreeItemId");
30674 }
30675 if (SWIG_arg_fail(2)) SWIG_fail;
30676 }
30677 if (obj2) {
30678 {
30679 arg3 = (bool)(SWIG_As_bool(obj2));
30680 if (SWIG_arg_fail(3)) SWIG_fail;
30681 }
30682 }
30683 {
30684 PyThreadState* __tstate = wxPyBeginAllowThreads();
30685 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30686
30687 wxPyEndAllowThreads(__tstate);
30688 if (PyErr_Occurred()) SWIG_fail;
30689 }
30690 Py_INCREF(Py_None); resultobj = Py_None;
30691 return resultobj;
30692 fail:
30693 return NULL;
30694 }
30695
30696
30697 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30698 PyObject *resultobj;
30699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30700 wxTreeItemId *arg2 = 0 ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 char *kwnames[] = {
30704 (char *) "self",(char *) "item", NULL
30705 };
30706
30707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30709 if (SWIG_arg_fail(1)) SWIG_fail;
30710 {
30711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30712 if (SWIG_arg_fail(2)) SWIG_fail;
30713 if (arg2 == NULL) {
30714 SWIG_null_ref("wxTreeItemId");
30715 }
30716 if (SWIG_arg_fail(2)) SWIG_fail;
30717 }
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30721
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 Py_INCREF(Py_None); resultobj = Py_None;
30726 return resultobj;
30727 fail:
30728 return NULL;
30729 }
30730
30731
30732 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30733 PyObject *resultobj;
30734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30735 wxPoint *arg2 = 0 ;
30736 int *arg3 = 0 ;
30737 wxTreeItemId result;
30738 wxPoint temp2 ;
30739 int temp3 ;
30740 int res3 = 0 ;
30741 PyObject * obj0 = 0 ;
30742 PyObject * obj1 = 0 ;
30743 char *kwnames[] = {
30744 (char *) "self",(char *) "point", NULL
30745 };
30746
30747 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30750 if (SWIG_arg_fail(1)) SWIG_fail;
30751 {
30752 arg2 = &temp2;
30753 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30754 }
30755 {
30756 PyThreadState* __tstate = wxPyBeginAllowThreads();
30757 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30758
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
30762 {
30763 wxTreeItemId * resultptr;
30764 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30766 }
30767 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30768 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30769 return resultobj;
30770 fail:
30771 return NULL;
30772 }
30773
30774
30775 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30778 wxTreeItemId *arg2 = 0 ;
30779 bool arg3 = (bool) false ;
30780 PyObject *result;
30781 PyObject * obj0 = 0 ;
30782 PyObject * obj1 = 0 ;
30783 PyObject * obj2 = 0 ;
30784 char *kwnames[] = {
30785 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30786 };
30787
30788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30790 if (SWIG_arg_fail(1)) SWIG_fail;
30791 {
30792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30793 if (SWIG_arg_fail(2)) SWIG_fail;
30794 if (arg2 == NULL) {
30795 SWIG_null_ref("wxTreeItemId");
30796 }
30797 if (SWIG_arg_fail(2)) SWIG_fail;
30798 }
30799 if (obj2) {
30800 {
30801 arg3 = (bool)(SWIG_As_bool(obj2));
30802 if (SWIG_arg_fail(3)) SWIG_fail;
30803 }
30804 }
30805 {
30806 PyThreadState* __tstate = wxPyBeginAllowThreads();
30807 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30808
30809 wxPyEndAllowThreads(__tstate);
30810 if (PyErr_Occurred()) SWIG_fail;
30811 }
30812 resultobj = result;
30813 return resultobj;
30814 fail:
30815 return NULL;
30816 }
30817
30818
30819 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj;
30821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30822 wxTreeItemId *arg2 = 0 ;
30823 int arg3 ;
30824 PyObject * obj0 = 0 ;
30825 PyObject * obj1 = 0 ;
30826 PyObject * obj2 = 0 ;
30827 char *kwnames[] = {
30828 (char *) "self",(char *) "node",(char *) "state", NULL
30829 };
30830
30831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
30832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30833 if (SWIG_arg_fail(1)) SWIG_fail;
30834 {
30835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30836 if (SWIG_arg_fail(2)) SWIG_fail;
30837 if (arg2 == NULL) {
30838 SWIG_null_ref("wxTreeItemId");
30839 }
30840 if (SWIG_arg_fail(2)) SWIG_fail;
30841 }
30842 {
30843 arg3 = (int)(SWIG_As_int(obj2));
30844 if (SWIG_arg_fail(3)) SWIG_fail;
30845 }
30846 {
30847 PyThreadState* __tstate = wxPyBeginAllowThreads();
30848 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
30849
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 Py_INCREF(Py_None); resultobj = Py_None;
30854 return resultobj;
30855 fail:
30856 return NULL;
30857 }
30858
30859
30860 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
30861 PyObject *resultobj;
30862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30863 wxTreeItemId *arg2 = 0 ;
30864 int result;
30865 PyObject * obj0 = 0 ;
30866 PyObject * obj1 = 0 ;
30867 char *kwnames[] = {
30868 (char *) "self",(char *) "node", NULL
30869 };
30870
30871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
30872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30873 if (SWIG_arg_fail(1)) SWIG_fail;
30874 {
30875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30876 if (SWIG_arg_fail(2)) SWIG_fail;
30877 if (arg2 == NULL) {
30878 SWIG_null_ref("wxTreeItemId");
30879 }
30880 if (SWIG_arg_fail(2)) SWIG_fail;
30881 }
30882 {
30883 PyThreadState* __tstate = wxPyBeginAllowThreads();
30884 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
30885
30886 wxPyEndAllowThreads(__tstate);
30887 if (PyErr_Occurred()) SWIG_fail;
30888 }
30889 {
30890 resultobj = SWIG_From_int((int)(result));
30891 }
30892 return resultobj;
30893 fail:
30894 return NULL;
30895 }
30896
30897
30898 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30899 PyObject *resultobj;
30900 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30901 wxVisualAttributes result;
30902 PyObject * obj0 = 0 ;
30903 char *kwnames[] = {
30904 (char *) "variant", NULL
30905 };
30906
30907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30908 if (obj0) {
30909 {
30910 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30911 if (SWIG_arg_fail(1)) SWIG_fail;
30912 }
30913 }
30914 {
30915 if (!wxPyCheckForApp()) SWIG_fail;
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30918
30919 wxPyEndAllowThreads(__tstate);
30920 if (PyErr_Occurred()) SWIG_fail;
30921 }
30922 {
30923 wxVisualAttributes * resultptr;
30924 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30926 }
30927 return resultobj;
30928 fail:
30929 return NULL;
30930 }
30931
30932
30933 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30934 PyObject *obj;
30935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30936 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30937 Py_INCREF(obj);
30938 return Py_BuildValue((char *)"");
30939 }
30940 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30941 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30942 return 1;
30943 }
30944
30945
30946 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30947 PyObject *pyobj;
30948
30949 {
30950 #if wxUSE_UNICODE
30951 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30952 #else
30953 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30954 #endif
30955 }
30956 return pyobj;
30957 }
30958
30959
30960 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj;
30962 wxWindow *arg1 = (wxWindow *) 0 ;
30963 int arg2 = (int) (int)-1 ;
30964 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30965 wxString *arg3 = (wxString *) &arg3_defvalue ;
30966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30968 wxSize const &arg5_defvalue = wxDefaultSize ;
30969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30970 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30971 wxString const &arg7_defvalue = wxPyEmptyString ;
30972 wxString *arg7 = (wxString *) &arg7_defvalue ;
30973 int arg8 = (int) 0 ;
30974 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30975 wxString *arg9 = (wxString *) &arg9_defvalue ;
30976 wxGenericDirCtrl *result;
30977 bool temp3 = false ;
30978 wxPoint temp4 ;
30979 wxSize temp5 ;
30980 bool temp7 = false ;
30981 bool temp9 = false ;
30982 PyObject * obj0 = 0 ;
30983 PyObject * obj1 = 0 ;
30984 PyObject * obj2 = 0 ;
30985 PyObject * obj3 = 0 ;
30986 PyObject * obj4 = 0 ;
30987 PyObject * obj5 = 0 ;
30988 PyObject * obj6 = 0 ;
30989 PyObject * obj7 = 0 ;
30990 PyObject * obj8 = 0 ;
30991 char *kwnames[] = {
30992 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30993 };
30994
30995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
30996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30997 if (SWIG_arg_fail(1)) SWIG_fail;
30998 if (obj1) {
30999 {
31000 arg2 = (int const)(SWIG_As_int(obj1));
31001 if (SWIG_arg_fail(2)) SWIG_fail;
31002 }
31003 }
31004 if (obj2) {
31005 {
31006 arg3 = wxString_in_helper(obj2);
31007 if (arg3 == NULL) SWIG_fail;
31008 temp3 = true;
31009 }
31010 }
31011 if (obj3) {
31012 {
31013 arg4 = &temp4;
31014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31015 }
31016 }
31017 if (obj4) {
31018 {
31019 arg5 = &temp5;
31020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31021 }
31022 }
31023 if (obj5) {
31024 {
31025 arg6 = (long)(SWIG_As_long(obj5));
31026 if (SWIG_arg_fail(6)) SWIG_fail;
31027 }
31028 }
31029 if (obj6) {
31030 {
31031 arg7 = wxString_in_helper(obj6);
31032 if (arg7 == NULL) SWIG_fail;
31033 temp7 = true;
31034 }
31035 }
31036 if (obj7) {
31037 {
31038 arg8 = (int)(SWIG_As_int(obj7));
31039 if (SWIG_arg_fail(8)) SWIG_fail;
31040 }
31041 }
31042 if (obj8) {
31043 {
31044 arg9 = wxString_in_helper(obj8);
31045 if (arg9 == NULL) SWIG_fail;
31046 temp9 = true;
31047 }
31048 }
31049 {
31050 if (!wxPyCheckForApp()) SWIG_fail;
31051 PyThreadState* __tstate = wxPyBeginAllowThreads();
31052 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31053
31054 wxPyEndAllowThreads(__tstate);
31055 if (PyErr_Occurred()) SWIG_fail;
31056 }
31057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31058 {
31059 if (temp3)
31060 delete arg3;
31061 }
31062 {
31063 if (temp7)
31064 delete arg7;
31065 }
31066 {
31067 if (temp9)
31068 delete arg9;
31069 }
31070 return resultobj;
31071 fail:
31072 {
31073 if (temp3)
31074 delete arg3;
31075 }
31076 {
31077 if (temp7)
31078 delete arg7;
31079 }
31080 {
31081 if (temp9)
31082 delete arg9;
31083 }
31084 return NULL;
31085 }
31086
31087
31088 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31089 PyObject *resultobj;
31090 wxGenericDirCtrl *result;
31091 char *kwnames[] = {
31092 NULL
31093 };
31094
31095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31096 {
31097 if (!wxPyCheckForApp()) SWIG_fail;
31098 PyThreadState* __tstate = wxPyBeginAllowThreads();
31099 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31100
31101 wxPyEndAllowThreads(__tstate);
31102 if (PyErr_Occurred()) SWIG_fail;
31103 }
31104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31105 return resultobj;
31106 fail:
31107 return NULL;
31108 }
31109
31110
31111 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31112 PyObject *resultobj;
31113 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31114 wxWindow *arg2 = (wxWindow *) 0 ;
31115 int arg3 = (int) (int)-1 ;
31116 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31117 wxString *arg4 = (wxString *) &arg4_defvalue ;
31118 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31119 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31120 wxSize const &arg6_defvalue = wxDefaultSize ;
31121 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31122 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31123 wxString const &arg8_defvalue = wxPyEmptyString ;
31124 wxString *arg8 = (wxString *) &arg8_defvalue ;
31125 int arg9 = (int) 0 ;
31126 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31127 wxString *arg10 = (wxString *) &arg10_defvalue ;
31128 bool result;
31129 bool temp4 = false ;
31130 wxPoint temp5 ;
31131 wxSize temp6 ;
31132 bool temp8 = false ;
31133 bool temp10 = false ;
31134 PyObject * obj0 = 0 ;
31135 PyObject * obj1 = 0 ;
31136 PyObject * obj2 = 0 ;
31137 PyObject * obj3 = 0 ;
31138 PyObject * obj4 = 0 ;
31139 PyObject * obj5 = 0 ;
31140 PyObject * obj6 = 0 ;
31141 PyObject * obj7 = 0 ;
31142 PyObject * obj8 = 0 ;
31143 PyObject * obj9 = 0 ;
31144 char *kwnames[] = {
31145 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31146 };
31147
31148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31150 if (SWIG_arg_fail(1)) SWIG_fail;
31151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31152 if (SWIG_arg_fail(2)) SWIG_fail;
31153 if (obj2) {
31154 {
31155 arg3 = (int const)(SWIG_As_int(obj2));
31156 if (SWIG_arg_fail(3)) SWIG_fail;
31157 }
31158 }
31159 if (obj3) {
31160 {
31161 arg4 = wxString_in_helper(obj3);
31162 if (arg4 == NULL) SWIG_fail;
31163 temp4 = true;
31164 }
31165 }
31166 if (obj4) {
31167 {
31168 arg5 = &temp5;
31169 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31170 }
31171 }
31172 if (obj5) {
31173 {
31174 arg6 = &temp6;
31175 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31176 }
31177 }
31178 if (obj6) {
31179 {
31180 arg7 = (long)(SWIG_As_long(obj6));
31181 if (SWIG_arg_fail(7)) SWIG_fail;
31182 }
31183 }
31184 if (obj7) {
31185 {
31186 arg8 = wxString_in_helper(obj7);
31187 if (arg8 == NULL) SWIG_fail;
31188 temp8 = true;
31189 }
31190 }
31191 if (obj8) {
31192 {
31193 arg9 = (int)(SWIG_As_int(obj8));
31194 if (SWIG_arg_fail(9)) SWIG_fail;
31195 }
31196 }
31197 if (obj9) {
31198 {
31199 arg10 = wxString_in_helper(obj9);
31200 if (arg10 == NULL) SWIG_fail;
31201 temp10 = true;
31202 }
31203 }
31204 {
31205 PyThreadState* __tstate = wxPyBeginAllowThreads();
31206 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31207
31208 wxPyEndAllowThreads(__tstate);
31209 if (PyErr_Occurred()) SWIG_fail;
31210 }
31211 {
31212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31213 }
31214 {
31215 if (temp4)
31216 delete arg4;
31217 }
31218 {
31219 if (temp8)
31220 delete arg8;
31221 }
31222 {
31223 if (temp10)
31224 delete arg10;
31225 }
31226 return resultobj;
31227 fail:
31228 {
31229 if (temp4)
31230 delete arg4;
31231 }
31232 {
31233 if (temp8)
31234 delete arg8;
31235 }
31236 {
31237 if (temp10)
31238 delete arg10;
31239 }
31240 return NULL;
31241 }
31242
31243
31244 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31245 PyObject *resultobj;
31246 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31247 wxString *arg2 = 0 ;
31248 bool result;
31249 bool temp2 = false ;
31250 PyObject * obj0 = 0 ;
31251 PyObject * obj1 = 0 ;
31252 char *kwnames[] = {
31253 (char *) "self",(char *) "path", NULL
31254 };
31255
31256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31258 if (SWIG_arg_fail(1)) SWIG_fail;
31259 {
31260 arg2 = wxString_in_helper(obj1);
31261 if (arg2 == NULL) SWIG_fail;
31262 temp2 = true;
31263 }
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31267
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 {
31272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31273 }
31274 {
31275 if (temp2)
31276 delete arg2;
31277 }
31278 return resultobj;
31279 fail:
31280 {
31281 if (temp2)
31282 delete arg2;
31283 }
31284 return NULL;
31285 }
31286
31287
31288 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31289 PyObject *resultobj;
31290 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31291 wxString result;
31292 PyObject * obj0 = 0 ;
31293 char *kwnames[] = {
31294 (char *) "self", NULL
31295 };
31296
31297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail;
31300 {
31301 PyThreadState* __tstate = wxPyBeginAllowThreads();
31302 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31303
31304 wxPyEndAllowThreads(__tstate);
31305 if (PyErr_Occurred()) SWIG_fail;
31306 }
31307 {
31308 #if wxUSE_UNICODE
31309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31310 #else
31311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31312 #endif
31313 }
31314 return resultobj;
31315 fail:
31316 return NULL;
31317 }
31318
31319
31320 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31321 PyObject *resultobj;
31322 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31323 wxString *arg2 = 0 ;
31324 bool temp2 = false ;
31325 PyObject * obj0 = 0 ;
31326 PyObject * obj1 = 0 ;
31327 char *kwnames[] = {
31328 (char *) "self",(char *) "path", NULL
31329 };
31330
31331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31333 if (SWIG_arg_fail(1)) SWIG_fail;
31334 {
31335 arg2 = wxString_in_helper(obj1);
31336 if (arg2 == NULL) SWIG_fail;
31337 temp2 = true;
31338 }
31339 {
31340 PyThreadState* __tstate = wxPyBeginAllowThreads();
31341 (arg1)->SetDefaultPath((wxString const &)*arg2);
31342
31343 wxPyEndAllowThreads(__tstate);
31344 if (PyErr_Occurred()) SWIG_fail;
31345 }
31346 Py_INCREF(Py_None); resultobj = Py_None;
31347 {
31348 if (temp2)
31349 delete arg2;
31350 }
31351 return resultobj;
31352 fail:
31353 {
31354 if (temp2)
31355 delete arg2;
31356 }
31357 return NULL;
31358 }
31359
31360
31361 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31362 PyObject *resultobj;
31363 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31364 wxString result;
31365 PyObject * obj0 = 0 ;
31366 char *kwnames[] = {
31367 (char *) "self", NULL
31368 };
31369
31370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31372 if (SWIG_arg_fail(1)) SWIG_fail;
31373 {
31374 PyThreadState* __tstate = wxPyBeginAllowThreads();
31375 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31376
31377 wxPyEndAllowThreads(__tstate);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 }
31380 {
31381 #if wxUSE_UNICODE
31382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31383 #else
31384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31385 #endif
31386 }
31387 return resultobj;
31388 fail:
31389 return NULL;
31390 }
31391
31392
31393 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31394 PyObject *resultobj;
31395 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31396 wxString result;
31397 PyObject * obj0 = 0 ;
31398 char *kwnames[] = {
31399 (char *) "self", NULL
31400 };
31401
31402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31404 if (SWIG_arg_fail(1)) SWIG_fail;
31405 {
31406 PyThreadState* __tstate = wxPyBeginAllowThreads();
31407 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31408
31409 wxPyEndAllowThreads(__tstate);
31410 if (PyErr_Occurred()) SWIG_fail;
31411 }
31412 {
31413 #if wxUSE_UNICODE
31414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31415 #else
31416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31417 #endif
31418 }
31419 return resultobj;
31420 fail:
31421 return NULL;
31422 }
31423
31424
31425 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31426 PyObject *resultobj;
31427 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31428 wxString *arg2 = 0 ;
31429 bool temp2 = false ;
31430 PyObject * obj0 = 0 ;
31431 PyObject * obj1 = 0 ;
31432 char *kwnames[] = {
31433 (char *) "self",(char *) "path", NULL
31434 };
31435
31436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31438 if (SWIG_arg_fail(1)) SWIG_fail;
31439 {
31440 arg2 = wxString_in_helper(obj1);
31441 if (arg2 == NULL) SWIG_fail;
31442 temp2 = true;
31443 }
31444 {
31445 PyThreadState* __tstate = wxPyBeginAllowThreads();
31446 (arg1)->SetPath((wxString const &)*arg2);
31447
31448 wxPyEndAllowThreads(__tstate);
31449 if (PyErr_Occurred()) SWIG_fail;
31450 }
31451 Py_INCREF(Py_None); resultobj = Py_None;
31452 {
31453 if (temp2)
31454 delete arg2;
31455 }
31456 return resultobj;
31457 fail:
31458 {
31459 if (temp2)
31460 delete arg2;
31461 }
31462 return NULL;
31463 }
31464
31465
31466 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31467 PyObject *resultobj;
31468 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31469 bool arg2 ;
31470 PyObject * obj0 = 0 ;
31471 PyObject * obj1 = 0 ;
31472 char *kwnames[] = {
31473 (char *) "self",(char *) "show", NULL
31474 };
31475
31476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31478 if (SWIG_arg_fail(1)) SWIG_fail;
31479 {
31480 arg2 = (bool)(SWIG_As_bool(obj1));
31481 if (SWIG_arg_fail(2)) SWIG_fail;
31482 }
31483 {
31484 PyThreadState* __tstate = wxPyBeginAllowThreads();
31485 (arg1)->ShowHidden(arg2);
31486
31487 wxPyEndAllowThreads(__tstate);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 }
31490 Py_INCREF(Py_None); resultobj = Py_None;
31491 return resultobj;
31492 fail:
31493 return NULL;
31494 }
31495
31496
31497 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31498 PyObject *resultobj;
31499 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31500 bool result;
31501 PyObject * obj0 = 0 ;
31502 char *kwnames[] = {
31503 (char *) "self", NULL
31504 };
31505
31506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail;
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 result = (bool)(arg1)->GetShowHidden();
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 {
31517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31518 }
31519 return resultobj;
31520 fail:
31521 return NULL;
31522 }
31523
31524
31525 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31526 PyObject *resultobj;
31527 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31528 wxString result;
31529 PyObject * obj0 = 0 ;
31530 char *kwnames[] = {
31531 (char *) "self", NULL
31532 };
31533
31534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31536 if (SWIG_arg_fail(1)) SWIG_fail;
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31540
31541 wxPyEndAllowThreads(__tstate);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 {
31545 #if wxUSE_UNICODE
31546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31547 #else
31548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31549 #endif
31550 }
31551 return resultobj;
31552 fail:
31553 return NULL;
31554 }
31555
31556
31557 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31558 PyObject *resultobj;
31559 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31560 wxString *arg2 = 0 ;
31561 bool temp2 = false ;
31562 PyObject * obj0 = 0 ;
31563 PyObject * obj1 = 0 ;
31564 char *kwnames[] = {
31565 (char *) "self",(char *) "filter", NULL
31566 };
31567
31568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31570 if (SWIG_arg_fail(1)) SWIG_fail;
31571 {
31572 arg2 = wxString_in_helper(obj1);
31573 if (arg2 == NULL) SWIG_fail;
31574 temp2 = true;
31575 }
31576 {
31577 PyThreadState* __tstate = wxPyBeginAllowThreads();
31578 (arg1)->SetFilter((wxString const &)*arg2);
31579
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 Py_INCREF(Py_None); resultobj = Py_None;
31584 {
31585 if (temp2)
31586 delete arg2;
31587 }
31588 return resultobj;
31589 fail:
31590 {
31591 if (temp2)
31592 delete arg2;
31593 }
31594 return NULL;
31595 }
31596
31597
31598 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31599 PyObject *resultobj;
31600 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31601 int result;
31602 PyObject * obj0 = 0 ;
31603 char *kwnames[] = {
31604 (char *) "self", NULL
31605 };
31606
31607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31609 if (SWIG_arg_fail(1)) SWIG_fail;
31610 {
31611 PyThreadState* __tstate = wxPyBeginAllowThreads();
31612 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31613
31614 wxPyEndAllowThreads(__tstate);
31615 if (PyErr_Occurred()) SWIG_fail;
31616 }
31617 {
31618 resultobj = SWIG_From_int((int)(result));
31619 }
31620 return resultobj;
31621 fail:
31622 return NULL;
31623 }
31624
31625
31626 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31627 PyObject *resultobj;
31628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31629 int arg2 ;
31630 PyObject * obj0 = 0 ;
31631 PyObject * obj1 = 0 ;
31632 char *kwnames[] = {
31633 (char *) "self",(char *) "n", NULL
31634 };
31635
31636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31638 if (SWIG_arg_fail(1)) SWIG_fail;
31639 {
31640 arg2 = (int)(SWIG_As_int(obj1));
31641 if (SWIG_arg_fail(2)) SWIG_fail;
31642 }
31643 {
31644 PyThreadState* __tstate = wxPyBeginAllowThreads();
31645 (arg1)->SetFilterIndex(arg2);
31646
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
31650 Py_INCREF(Py_None); resultobj = Py_None;
31651 return resultobj;
31652 fail:
31653 return NULL;
31654 }
31655
31656
31657 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31658 PyObject *resultobj;
31659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31660 wxTreeItemId result;
31661 PyObject * obj0 = 0 ;
31662 char *kwnames[] = {
31663 (char *) "self", NULL
31664 };
31665
31666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31668 if (SWIG_arg_fail(1)) SWIG_fail;
31669 {
31670 PyThreadState* __tstate = wxPyBeginAllowThreads();
31671 result = (arg1)->GetRootId();
31672
31673 wxPyEndAllowThreads(__tstate);
31674 if (PyErr_Occurred()) SWIG_fail;
31675 }
31676 {
31677 wxTreeItemId * resultptr;
31678 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31680 }
31681 return resultobj;
31682 fail:
31683 return NULL;
31684 }
31685
31686
31687 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31688 PyObject *resultobj;
31689 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31690 wxPyTreeCtrl *result;
31691 PyObject * obj0 = 0 ;
31692 char *kwnames[] = {
31693 (char *) "self", NULL
31694 };
31695
31696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31698 if (SWIG_arg_fail(1)) SWIG_fail;
31699 {
31700 PyThreadState* __tstate = wxPyBeginAllowThreads();
31701 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31702
31703 wxPyEndAllowThreads(__tstate);
31704 if (PyErr_Occurred()) SWIG_fail;
31705 }
31706 {
31707 resultobj = wxPyMake_wxObject(result, 0);
31708 }
31709 return resultobj;
31710 fail:
31711 return NULL;
31712 }
31713
31714
31715 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31716 PyObject *resultobj;
31717 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31718 wxDirFilterListCtrl *result;
31719 PyObject * obj0 = 0 ;
31720 char *kwnames[] = {
31721 (char *) "self", NULL
31722 };
31723
31724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail;
31727 {
31728 PyThreadState* __tstate = wxPyBeginAllowThreads();
31729 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31730
31731 wxPyEndAllowThreads(__tstate);
31732 if (PyErr_Occurred()) SWIG_fail;
31733 }
31734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31735 return resultobj;
31736 fail:
31737 return NULL;
31738 }
31739
31740
31741 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31742 PyObject *resultobj;
31743 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31744 wxTreeItemId arg2 ;
31745 wxString *arg3 = 0 ;
31746 bool *arg4 = 0 ;
31747 wxTreeItemId result;
31748 bool temp3 = false ;
31749 bool temp4 ;
31750 int res4 = 0 ;
31751 PyObject * obj0 = 0 ;
31752 PyObject * obj1 = 0 ;
31753 PyObject * obj2 = 0 ;
31754 char *kwnames[] = {
31755 (char *) "self",(char *) "parentId",(char *) "path", NULL
31756 };
31757
31758 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31761 if (SWIG_arg_fail(1)) SWIG_fail;
31762 {
31763 wxTreeItemId * argp;
31764 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31765 if (SWIG_arg_fail(2)) SWIG_fail;
31766 if (argp == NULL) {
31767 SWIG_null_ref("wxTreeItemId");
31768 }
31769 if (SWIG_arg_fail(2)) SWIG_fail;
31770 arg2 = *argp;
31771 }
31772 {
31773 arg3 = wxString_in_helper(obj2);
31774 if (arg3 == NULL) SWIG_fail;
31775 temp3 = true;
31776 }
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
31784 {
31785 wxTreeItemId * resultptr;
31786 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31788 }
31789 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31790 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31791 {
31792 if (temp3)
31793 delete arg3;
31794 }
31795 return resultobj;
31796 fail:
31797 {
31798 if (temp3)
31799 delete arg3;
31800 }
31801 return NULL;
31802 }
31803
31804
31805 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31806 PyObject *resultobj;
31807 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31808 PyObject * obj0 = 0 ;
31809 char *kwnames[] = {
31810 (char *) "self", NULL
31811 };
31812
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31815 if (SWIG_arg_fail(1)) SWIG_fail;
31816 {
31817 PyThreadState* __tstate = wxPyBeginAllowThreads();
31818 (arg1)->DoResize();
31819
31820 wxPyEndAllowThreads(__tstate);
31821 if (PyErr_Occurred()) SWIG_fail;
31822 }
31823 Py_INCREF(Py_None); resultobj = Py_None;
31824 return resultobj;
31825 fail:
31826 return NULL;
31827 }
31828
31829
31830 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31831 PyObject *resultobj;
31832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31833 PyObject * obj0 = 0 ;
31834 char *kwnames[] = {
31835 (char *) "self", NULL
31836 };
31837
31838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail;
31841 {
31842 PyThreadState* __tstate = wxPyBeginAllowThreads();
31843 (arg1)->ReCreateTree();
31844
31845 wxPyEndAllowThreads(__tstate);
31846 if (PyErr_Occurred()) SWIG_fail;
31847 }
31848 Py_INCREF(Py_None); resultobj = Py_None;
31849 return resultobj;
31850 fail:
31851 return NULL;
31852 }
31853
31854
31855 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31856 PyObject *obj;
31857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31858 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31859 Py_INCREF(obj);
31860 return Py_BuildValue((char *)"");
31861 }
31862 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31863 PyObject *resultobj;
31864 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31865 int arg2 = (int) (int)-1 ;
31866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31868 wxSize const &arg4_defvalue = wxDefaultSize ;
31869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31870 long arg5 = (long) 0 ;
31871 wxDirFilterListCtrl *result;
31872 wxPoint temp3 ;
31873 wxSize temp4 ;
31874 PyObject * obj0 = 0 ;
31875 PyObject * obj1 = 0 ;
31876 PyObject * obj2 = 0 ;
31877 PyObject * obj3 = 0 ;
31878 PyObject * obj4 = 0 ;
31879 char *kwnames[] = {
31880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31881 };
31882
31883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail;
31886 if (obj1) {
31887 {
31888 arg2 = (int const)(SWIG_As_int(obj1));
31889 if (SWIG_arg_fail(2)) SWIG_fail;
31890 }
31891 }
31892 if (obj2) {
31893 {
31894 arg3 = &temp3;
31895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31896 }
31897 }
31898 if (obj3) {
31899 {
31900 arg4 = &temp4;
31901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31902 }
31903 }
31904 if (obj4) {
31905 {
31906 arg5 = (long)(SWIG_As_long(obj4));
31907 if (SWIG_arg_fail(5)) SWIG_fail;
31908 }
31909 }
31910 {
31911 if (!wxPyCheckForApp()) SWIG_fail;
31912 PyThreadState* __tstate = wxPyBeginAllowThreads();
31913 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31914
31915 wxPyEndAllowThreads(__tstate);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 }
31918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31919 return resultobj;
31920 fail:
31921 return NULL;
31922 }
31923
31924
31925 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31926 PyObject *resultobj;
31927 wxDirFilterListCtrl *result;
31928 char *kwnames[] = {
31929 NULL
31930 };
31931
31932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31933 {
31934 if (!wxPyCheckForApp()) SWIG_fail;
31935 PyThreadState* __tstate = wxPyBeginAllowThreads();
31936 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31937
31938 wxPyEndAllowThreads(__tstate);
31939 if (PyErr_Occurred()) SWIG_fail;
31940 }
31941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31942 return resultobj;
31943 fail:
31944 return NULL;
31945 }
31946
31947
31948 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31949 PyObject *resultobj;
31950 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31951 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31952 int arg3 = (int) (int)-1 ;
31953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31955 wxSize const &arg5_defvalue = wxDefaultSize ;
31956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31957 long arg6 = (long) 0 ;
31958 bool result;
31959 wxPoint temp4 ;
31960 wxSize temp5 ;
31961 PyObject * obj0 = 0 ;
31962 PyObject * obj1 = 0 ;
31963 PyObject * obj2 = 0 ;
31964 PyObject * obj3 = 0 ;
31965 PyObject * obj4 = 0 ;
31966 PyObject * obj5 = 0 ;
31967 char *kwnames[] = {
31968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31969 };
31970
31971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31973 if (SWIG_arg_fail(1)) SWIG_fail;
31974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31975 if (SWIG_arg_fail(2)) SWIG_fail;
31976 if (obj2) {
31977 {
31978 arg3 = (int const)(SWIG_As_int(obj2));
31979 if (SWIG_arg_fail(3)) SWIG_fail;
31980 }
31981 }
31982 if (obj3) {
31983 {
31984 arg4 = &temp4;
31985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31986 }
31987 }
31988 if (obj4) {
31989 {
31990 arg5 = &temp5;
31991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31992 }
31993 }
31994 if (obj5) {
31995 {
31996 arg6 = (long)(SWIG_As_long(obj5));
31997 if (SWIG_arg_fail(6)) SWIG_fail;
31998 }
31999 }
32000 {
32001 PyThreadState* __tstate = wxPyBeginAllowThreads();
32002 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32003
32004 wxPyEndAllowThreads(__tstate);
32005 if (PyErr_Occurred()) SWIG_fail;
32006 }
32007 {
32008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32009 }
32010 return resultobj;
32011 fail:
32012 return NULL;
32013 }
32014
32015
32016 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32017 PyObject *resultobj;
32018 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32019 wxString *arg2 = 0 ;
32020 int arg3 ;
32021 bool temp2 = false ;
32022 PyObject * obj0 = 0 ;
32023 PyObject * obj1 = 0 ;
32024 PyObject * obj2 = 0 ;
32025 char *kwnames[] = {
32026 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32027 };
32028
32029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32031 if (SWIG_arg_fail(1)) SWIG_fail;
32032 {
32033 arg2 = wxString_in_helper(obj1);
32034 if (arg2 == NULL) SWIG_fail;
32035 temp2 = true;
32036 }
32037 {
32038 arg3 = (int)(SWIG_As_int(obj2));
32039 if (SWIG_arg_fail(3)) SWIG_fail;
32040 }
32041 {
32042 PyThreadState* __tstate = wxPyBeginAllowThreads();
32043 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32044
32045 wxPyEndAllowThreads(__tstate);
32046 if (PyErr_Occurred()) SWIG_fail;
32047 }
32048 Py_INCREF(Py_None); resultobj = Py_None;
32049 {
32050 if (temp2)
32051 delete arg2;
32052 }
32053 return resultobj;
32054 fail:
32055 {
32056 if (temp2)
32057 delete arg2;
32058 }
32059 return NULL;
32060 }
32061
32062
32063 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32064 PyObject *obj;
32065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32066 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32067 Py_INCREF(obj);
32068 return Py_BuildValue((char *)"");
32069 }
32070 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32071 PyObject *resultobj;
32072 wxWindow *arg1 = (wxWindow *) 0 ;
32073 int arg2 = (int) (int)-1 ;
32074 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32075 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32076 wxSize const &arg4_defvalue = wxDefaultSize ;
32077 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32078 long arg5 = (long) 0 ;
32079 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32080 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32081 wxString const &arg7_defvalue = wxPyControlNameStr ;
32082 wxString *arg7 = (wxString *) &arg7_defvalue ;
32083 wxPyControl *result;
32084 wxPoint temp3 ;
32085 wxSize temp4 ;
32086 bool temp7 = false ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 PyObject * obj2 = 0 ;
32090 PyObject * obj3 = 0 ;
32091 PyObject * obj4 = 0 ;
32092 PyObject * obj5 = 0 ;
32093 PyObject * obj6 = 0 ;
32094 char *kwnames[] = {
32095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32096 };
32097
32098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32100 if (SWIG_arg_fail(1)) SWIG_fail;
32101 if (obj1) {
32102 {
32103 arg2 = (int const)(SWIG_As_int(obj1));
32104 if (SWIG_arg_fail(2)) SWIG_fail;
32105 }
32106 }
32107 if (obj2) {
32108 {
32109 arg3 = &temp3;
32110 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32111 }
32112 }
32113 if (obj3) {
32114 {
32115 arg4 = &temp4;
32116 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32117 }
32118 }
32119 if (obj4) {
32120 {
32121 arg5 = (long)(SWIG_As_long(obj4));
32122 if (SWIG_arg_fail(5)) SWIG_fail;
32123 }
32124 }
32125 if (obj5) {
32126 {
32127 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32128 if (SWIG_arg_fail(6)) SWIG_fail;
32129 if (arg6 == NULL) {
32130 SWIG_null_ref("wxValidator");
32131 }
32132 if (SWIG_arg_fail(6)) SWIG_fail;
32133 }
32134 }
32135 if (obj6) {
32136 {
32137 arg7 = wxString_in_helper(obj6);
32138 if (arg7 == NULL) SWIG_fail;
32139 temp7 = true;
32140 }
32141 }
32142 {
32143 if (!wxPyCheckForApp()) SWIG_fail;
32144 PyThreadState* __tstate = wxPyBeginAllowThreads();
32145 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32146
32147 wxPyEndAllowThreads(__tstate);
32148 if (PyErr_Occurred()) SWIG_fail;
32149 }
32150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32151 {
32152 if (temp7)
32153 delete arg7;
32154 }
32155 return resultobj;
32156 fail:
32157 {
32158 if (temp7)
32159 delete arg7;
32160 }
32161 return NULL;
32162 }
32163
32164
32165 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32166 PyObject *resultobj;
32167 wxPyControl *result;
32168 char *kwnames[] = {
32169 NULL
32170 };
32171
32172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32173 {
32174 if (!wxPyCheckForApp()) SWIG_fail;
32175 PyThreadState* __tstate = wxPyBeginAllowThreads();
32176 result = (wxPyControl *)new wxPyControl();
32177
32178 wxPyEndAllowThreads(__tstate);
32179 if (PyErr_Occurred()) SWIG_fail;
32180 }
32181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32182 return resultobj;
32183 fail:
32184 return NULL;
32185 }
32186
32187
32188 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32189 PyObject *resultobj;
32190 wxPyControl *arg1 = (wxPyControl *) 0 ;
32191 PyObject *arg2 = (PyObject *) 0 ;
32192 PyObject *arg3 = (PyObject *) 0 ;
32193 PyObject * obj0 = 0 ;
32194 PyObject * obj1 = 0 ;
32195 PyObject * obj2 = 0 ;
32196 char *kwnames[] = {
32197 (char *) "self",(char *) "self",(char *) "_class", NULL
32198 };
32199
32200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail;
32203 arg2 = obj1;
32204 arg3 = obj2;
32205 {
32206 PyThreadState* __tstate = wxPyBeginAllowThreads();
32207 (arg1)->_setCallbackInfo(arg2,arg3);
32208
32209 wxPyEndAllowThreads(__tstate);
32210 if (PyErr_Occurred()) SWIG_fail;
32211 }
32212 Py_INCREF(Py_None); resultobj = Py_None;
32213 return resultobj;
32214 fail:
32215 return NULL;
32216 }
32217
32218
32219 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32220 PyObject *resultobj;
32221 wxPyControl *arg1 = (wxPyControl *) 0 ;
32222 wxSize *arg2 = 0 ;
32223 wxSize temp2 ;
32224 PyObject * obj0 = 0 ;
32225 PyObject * obj1 = 0 ;
32226 char *kwnames[] = {
32227 (char *) "self",(char *) "size", NULL
32228 };
32229
32230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32232 if (SWIG_arg_fail(1)) SWIG_fail;
32233 {
32234 arg2 = &temp2;
32235 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32236 }
32237 {
32238 PyThreadState* __tstate = wxPyBeginAllowThreads();
32239 (arg1)->SetBestSize((wxSize const &)*arg2);
32240
32241 wxPyEndAllowThreads(__tstate);
32242 if (PyErr_Occurred()) SWIG_fail;
32243 }
32244 Py_INCREF(Py_None); resultobj = Py_None;
32245 return resultobj;
32246 fail:
32247 return NULL;
32248 }
32249
32250
32251 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32252 PyObject *resultobj;
32253 wxPyControl *arg1 = (wxPyControl *) 0 ;
32254 wxDC *arg2 = (wxDC *) 0 ;
32255 bool result;
32256 PyObject * obj0 = 0 ;
32257 PyObject * obj1 = 0 ;
32258 char *kwnames[] = {
32259 (char *) "self",(char *) "dc", NULL
32260 };
32261
32262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32264 if (SWIG_arg_fail(1)) SWIG_fail;
32265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32266 if (SWIG_arg_fail(2)) SWIG_fail;
32267 {
32268 PyThreadState* __tstate = wxPyBeginAllowThreads();
32269 result = (bool)(arg1)->DoEraseBackground(arg2);
32270
32271 wxPyEndAllowThreads(__tstate);
32272 if (PyErr_Occurred()) SWIG_fail;
32273 }
32274 {
32275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32276 }
32277 return resultobj;
32278 fail:
32279 return NULL;
32280 }
32281
32282
32283 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32284 PyObject *resultobj;
32285 wxPyControl *arg1 = (wxPyControl *) 0 ;
32286 int arg2 ;
32287 int arg3 ;
32288 int arg4 ;
32289 int arg5 ;
32290 PyObject * obj0 = 0 ;
32291 PyObject * obj1 = 0 ;
32292 PyObject * obj2 = 0 ;
32293 PyObject * obj3 = 0 ;
32294 PyObject * obj4 = 0 ;
32295 char *kwnames[] = {
32296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32297 };
32298
32299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32301 if (SWIG_arg_fail(1)) SWIG_fail;
32302 {
32303 arg2 = (int)(SWIG_As_int(obj1));
32304 if (SWIG_arg_fail(2)) SWIG_fail;
32305 }
32306 {
32307 arg3 = (int)(SWIG_As_int(obj2));
32308 if (SWIG_arg_fail(3)) SWIG_fail;
32309 }
32310 {
32311 arg4 = (int)(SWIG_As_int(obj3));
32312 if (SWIG_arg_fail(4)) SWIG_fail;
32313 }
32314 {
32315 arg5 = (int)(SWIG_As_int(obj4));
32316 if (SWIG_arg_fail(5)) SWIG_fail;
32317 }
32318 {
32319 PyThreadState* __tstate = wxPyBeginAllowThreads();
32320 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32321
32322 wxPyEndAllowThreads(__tstate);
32323 if (PyErr_Occurred()) SWIG_fail;
32324 }
32325 Py_INCREF(Py_None); resultobj = Py_None;
32326 return resultobj;
32327 fail:
32328 return NULL;
32329 }
32330
32331
32332 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32333 PyObject *resultobj;
32334 wxPyControl *arg1 = (wxPyControl *) 0 ;
32335 int arg2 ;
32336 int arg3 ;
32337 int arg4 ;
32338 int arg5 ;
32339 int arg6 = (int) wxSIZE_AUTO ;
32340 PyObject * obj0 = 0 ;
32341 PyObject * obj1 = 0 ;
32342 PyObject * obj2 = 0 ;
32343 PyObject * obj3 = 0 ;
32344 PyObject * obj4 = 0 ;
32345 PyObject * obj5 = 0 ;
32346 char *kwnames[] = {
32347 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32348 };
32349
32350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32352 if (SWIG_arg_fail(1)) SWIG_fail;
32353 {
32354 arg2 = (int)(SWIG_As_int(obj1));
32355 if (SWIG_arg_fail(2)) SWIG_fail;
32356 }
32357 {
32358 arg3 = (int)(SWIG_As_int(obj2));
32359 if (SWIG_arg_fail(3)) SWIG_fail;
32360 }
32361 {
32362 arg4 = (int)(SWIG_As_int(obj3));
32363 if (SWIG_arg_fail(4)) SWIG_fail;
32364 }
32365 {
32366 arg5 = (int)(SWIG_As_int(obj4));
32367 if (SWIG_arg_fail(5)) SWIG_fail;
32368 }
32369 if (obj5) {
32370 {
32371 arg6 = (int)(SWIG_As_int(obj5));
32372 if (SWIG_arg_fail(6)) SWIG_fail;
32373 }
32374 }
32375 {
32376 PyThreadState* __tstate = wxPyBeginAllowThreads();
32377 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32378
32379 wxPyEndAllowThreads(__tstate);
32380 if (PyErr_Occurred()) SWIG_fail;
32381 }
32382 Py_INCREF(Py_None); resultobj = Py_None;
32383 return resultobj;
32384 fail:
32385 return NULL;
32386 }
32387
32388
32389 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32390 PyObject *resultobj;
32391 wxPyControl *arg1 = (wxPyControl *) 0 ;
32392 int arg2 ;
32393 int arg3 ;
32394 PyObject * obj0 = 0 ;
32395 PyObject * obj1 = 0 ;
32396 PyObject * obj2 = 0 ;
32397 char *kwnames[] = {
32398 (char *) "self",(char *) "width",(char *) "height", NULL
32399 };
32400
32401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32403 if (SWIG_arg_fail(1)) SWIG_fail;
32404 {
32405 arg2 = (int)(SWIG_As_int(obj1));
32406 if (SWIG_arg_fail(2)) SWIG_fail;
32407 }
32408 {
32409 arg3 = (int)(SWIG_As_int(obj2));
32410 if (SWIG_arg_fail(3)) SWIG_fail;
32411 }
32412 {
32413 PyThreadState* __tstate = wxPyBeginAllowThreads();
32414 (arg1)->base_DoSetClientSize(arg2,arg3);
32415
32416 wxPyEndAllowThreads(__tstate);
32417 if (PyErr_Occurred()) SWIG_fail;
32418 }
32419 Py_INCREF(Py_None); resultobj = Py_None;
32420 return resultobj;
32421 fail:
32422 return NULL;
32423 }
32424
32425
32426 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32427 PyObject *resultobj;
32428 wxPyControl *arg1 = (wxPyControl *) 0 ;
32429 int arg2 ;
32430 int arg3 ;
32431 PyObject * obj0 = 0 ;
32432 PyObject * obj1 = 0 ;
32433 PyObject * obj2 = 0 ;
32434 char *kwnames[] = {
32435 (char *) "self",(char *) "x",(char *) "y", NULL
32436 };
32437
32438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32440 if (SWIG_arg_fail(1)) SWIG_fail;
32441 {
32442 arg2 = (int)(SWIG_As_int(obj1));
32443 if (SWIG_arg_fail(2)) SWIG_fail;
32444 }
32445 {
32446 arg3 = (int)(SWIG_As_int(obj2));
32447 if (SWIG_arg_fail(3)) SWIG_fail;
32448 }
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32452
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 Py_INCREF(Py_None); resultobj = Py_None;
32457 return resultobj;
32458 fail:
32459 return NULL;
32460 }
32461
32462
32463 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32464 PyObject *resultobj;
32465 wxPyControl *arg1 = (wxPyControl *) 0 ;
32466 int *arg2 = (int *) 0 ;
32467 int *arg3 = (int *) 0 ;
32468 int temp2 ;
32469 int res2 = 0 ;
32470 int temp3 ;
32471 int res3 = 0 ;
32472 PyObject * obj0 = 0 ;
32473 char *kwnames[] = {
32474 (char *) "self", NULL
32475 };
32476
32477 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32478 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32481 if (SWIG_arg_fail(1)) SWIG_fail;
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32485
32486 wxPyEndAllowThreads(__tstate);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 }
32489 Py_INCREF(Py_None); resultobj = Py_None;
32490 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32491 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32492 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32493 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32494 return resultobj;
32495 fail:
32496 return NULL;
32497 }
32498
32499
32500 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32501 PyObject *resultobj;
32502 wxPyControl *arg1 = (wxPyControl *) 0 ;
32503 int *arg2 = (int *) 0 ;
32504 int *arg3 = (int *) 0 ;
32505 int temp2 ;
32506 int res2 = 0 ;
32507 int temp3 ;
32508 int res3 = 0 ;
32509 PyObject * obj0 = 0 ;
32510 char *kwnames[] = {
32511 (char *) "self", NULL
32512 };
32513
32514 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32515 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32518 if (SWIG_arg_fail(1)) SWIG_fail;
32519 {
32520 PyThreadState* __tstate = wxPyBeginAllowThreads();
32521 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32522
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 Py_INCREF(Py_None); resultobj = Py_None;
32527 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32528 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32529 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32530 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32531 return resultobj;
32532 fail:
32533 return NULL;
32534 }
32535
32536
32537 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32538 PyObject *resultobj;
32539 wxPyControl *arg1 = (wxPyControl *) 0 ;
32540 int *arg2 = (int *) 0 ;
32541 int *arg3 = (int *) 0 ;
32542 int temp2 ;
32543 int res2 = 0 ;
32544 int temp3 ;
32545 int res3 = 0 ;
32546 PyObject * obj0 = 0 ;
32547 char *kwnames[] = {
32548 (char *) "self", NULL
32549 };
32550
32551 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32552 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail;
32556 {
32557 PyThreadState* __tstate = wxPyBeginAllowThreads();
32558 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32559
32560 wxPyEndAllowThreads(__tstate);
32561 if (PyErr_Occurred()) SWIG_fail;
32562 }
32563 Py_INCREF(Py_None); resultobj = Py_None;
32564 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32565 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32566 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32567 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32568 return resultobj;
32569 fail:
32570 return NULL;
32571 }
32572
32573
32574 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32575 PyObject *resultobj;
32576 wxPyControl *arg1 = (wxPyControl *) 0 ;
32577 wxSize result;
32578 PyObject * obj0 = 0 ;
32579 char *kwnames[] = {
32580 (char *) "self", NULL
32581 };
32582
32583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32585 if (SWIG_arg_fail(1)) SWIG_fail;
32586 {
32587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32588 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32589
32590 wxPyEndAllowThreads(__tstate);
32591 if (PyErr_Occurred()) SWIG_fail;
32592 }
32593 {
32594 wxSize * resultptr;
32595 resultptr = new wxSize((wxSize &)(result));
32596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32597 }
32598 return resultobj;
32599 fail:
32600 return NULL;
32601 }
32602
32603
32604 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32605 PyObject *resultobj;
32606 wxPyControl *arg1 = (wxPyControl *) 0 ;
32607 wxSize result;
32608 PyObject * obj0 = 0 ;
32609 char *kwnames[] = {
32610 (char *) "self", NULL
32611 };
32612
32613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32615 if (SWIG_arg_fail(1)) SWIG_fail;
32616 {
32617 PyThreadState* __tstate = wxPyBeginAllowThreads();
32618 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32619
32620 wxPyEndAllowThreads(__tstate);
32621 if (PyErr_Occurred()) SWIG_fail;
32622 }
32623 {
32624 wxSize * resultptr;
32625 resultptr = new wxSize((wxSize &)(result));
32626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32627 }
32628 return resultobj;
32629 fail:
32630 return NULL;
32631 }
32632
32633
32634 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32635 PyObject *resultobj;
32636 wxPyControl *arg1 = (wxPyControl *) 0 ;
32637 PyObject * obj0 = 0 ;
32638 char *kwnames[] = {
32639 (char *) "self", NULL
32640 };
32641
32642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32644 if (SWIG_arg_fail(1)) SWIG_fail;
32645 {
32646 PyThreadState* __tstate = wxPyBeginAllowThreads();
32647 (arg1)->base_InitDialog();
32648
32649 wxPyEndAllowThreads(__tstate);
32650 if (PyErr_Occurred()) SWIG_fail;
32651 }
32652 Py_INCREF(Py_None); resultobj = Py_None;
32653 return resultobj;
32654 fail:
32655 return NULL;
32656 }
32657
32658
32659 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32660 PyObject *resultobj;
32661 wxPyControl *arg1 = (wxPyControl *) 0 ;
32662 bool result;
32663 PyObject * obj0 = 0 ;
32664 char *kwnames[] = {
32665 (char *) "self", NULL
32666 };
32667
32668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32670 if (SWIG_arg_fail(1)) SWIG_fail;
32671 {
32672 PyThreadState* __tstate = wxPyBeginAllowThreads();
32673 result = (bool)(arg1)->base_TransferDataToWindow();
32674
32675 wxPyEndAllowThreads(__tstate);
32676 if (PyErr_Occurred()) SWIG_fail;
32677 }
32678 {
32679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32680 }
32681 return resultobj;
32682 fail:
32683 return NULL;
32684 }
32685
32686
32687 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32688 PyObject *resultobj;
32689 wxPyControl *arg1 = (wxPyControl *) 0 ;
32690 bool result;
32691 PyObject * obj0 = 0 ;
32692 char *kwnames[] = {
32693 (char *) "self", NULL
32694 };
32695
32696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32698 if (SWIG_arg_fail(1)) SWIG_fail;
32699 {
32700 PyThreadState* __tstate = wxPyBeginAllowThreads();
32701 result = (bool)(arg1)->base_TransferDataFromWindow();
32702
32703 wxPyEndAllowThreads(__tstate);
32704 if (PyErr_Occurred()) SWIG_fail;
32705 }
32706 {
32707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32708 }
32709 return resultobj;
32710 fail:
32711 return NULL;
32712 }
32713
32714
32715 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32716 PyObject *resultobj;
32717 wxPyControl *arg1 = (wxPyControl *) 0 ;
32718 bool result;
32719 PyObject * obj0 = 0 ;
32720 char *kwnames[] = {
32721 (char *) "self", NULL
32722 };
32723
32724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32726 if (SWIG_arg_fail(1)) SWIG_fail;
32727 {
32728 PyThreadState* __tstate = wxPyBeginAllowThreads();
32729 result = (bool)(arg1)->base_Validate();
32730
32731 wxPyEndAllowThreads(__tstate);
32732 if (PyErr_Occurred()) SWIG_fail;
32733 }
32734 {
32735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32736 }
32737 return resultobj;
32738 fail:
32739 return NULL;
32740 }
32741
32742
32743 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32744 PyObject *resultobj;
32745 wxPyControl *arg1 = (wxPyControl *) 0 ;
32746 bool result;
32747 PyObject * obj0 = 0 ;
32748 char *kwnames[] = {
32749 (char *) "self", NULL
32750 };
32751
32752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32754 if (SWIG_arg_fail(1)) SWIG_fail;
32755 {
32756 PyThreadState* __tstate = wxPyBeginAllowThreads();
32757 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32758
32759 wxPyEndAllowThreads(__tstate);
32760 if (PyErr_Occurred()) SWIG_fail;
32761 }
32762 {
32763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32764 }
32765 return resultobj;
32766 fail:
32767 return NULL;
32768 }
32769
32770
32771 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32772 PyObject *resultobj;
32773 wxPyControl *arg1 = (wxPyControl *) 0 ;
32774 bool result;
32775 PyObject * obj0 = 0 ;
32776 char *kwnames[] = {
32777 (char *) "self", NULL
32778 };
32779
32780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32782 if (SWIG_arg_fail(1)) SWIG_fail;
32783 {
32784 PyThreadState* __tstate = wxPyBeginAllowThreads();
32785 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32786
32787 wxPyEndAllowThreads(__tstate);
32788 if (PyErr_Occurred()) SWIG_fail;
32789 }
32790 {
32791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32792 }
32793 return resultobj;
32794 fail:
32795 return NULL;
32796 }
32797
32798
32799 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32800 PyObject *resultobj;
32801 wxPyControl *arg1 = (wxPyControl *) 0 ;
32802 wxSize result;
32803 PyObject * obj0 = 0 ;
32804 char *kwnames[] = {
32805 (char *) "self", NULL
32806 };
32807
32808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32810 if (SWIG_arg_fail(1)) SWIG_fail;
32811 {
32812 PyThreadState* __tstate = wxPyBeginAllowThreads();
32813 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32814
32815 wxPyEndAllowThreads(__tstate);
32816 if (PyErr_Occurred()) SWIG_fail;
32817 }
32818 {
32819 wxSize * resultptr;
32820 resultptr = new wxSize((wxSize &)(result));
32821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32822 }
32823 return resultobj;
32824 fail:
32825 return NULL;
32826 }
32827
32828
32829 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32830 PyObject *resultobj;
32831 wxPyControl *arg1 = (wxPyControl *) 0 ;
32832 wxWindow *arg2 = (wxWindow *) 0 ;
32833 PyObject * obj0 = 0 ;
32834 PyObject * obj1 = 0 ;
32835 char *kwnames[] = {
32836 (char *) "self",(char *) "child", NULL
32837 };
32838
32839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32841 if (SWIG_arg_fail(1)) SWIG_fail;
32842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32843 if (SWIG_arg_fail(2)) SWIG_fail;
32844 {
32845 PyThreadState* __tstate = wxPyBeginAllowThreads();
32846 (arg1)->base_AddChild(arg2);
32847
32848 wxPyEndAllowThreads(__tstate);
32849 if (PyErr_Occurred()) SWIG_fail;
32850 }
32851 Py_INCREF(Py_None); resultobj = Py_None;
32852 return resultobj;
32853 fail:
32854 return NULL;
32855 }
32856
32857
32858 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32859 PyObject *resultobj;
32860 wxPyControl *arg1 = (wxPyControl *) 0 ;
32861 wxWindow *arg2 = (wxWindow *) 0 ;
32862 PyObject * obj0 = 0 ;
32863 PyObject * obj1 = 0 ;
32864 char *kwnames[] = {
32865 (char *) "self",(char *) "child", NULL
32866 };
32867
32868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32870 if (SWIG_arg_fail(1)) SWIG_fail;
32871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32872 if (SWIG_arg_fail(2)) SWIG_fail;
32873 {
32874 PyThreadState* __tstate = wxPyBeginAllowThreads();
32875 (arg1)->base_RemoveChild(arg2);
32876
32877 wxPyEndAllowThreads(__tstate);
32878 if (PyErr_Occurred()) SWIG_fail;
32879 }
32880 Py_INCREF(Py_None); resultobj = Py_None;
32881 return resultobj;
32882 fail:
32883 return NULL;
32884 }
32885
32886
32887 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32888 PyObject *resultobj;
32889 wxPyControl *arg1 = (wxPyControl *) 0 ;
32890 bool result;
32891 PyObject * obj0 = 0 ;
32892 char *kwnames[] = {
32893 (char *) "self", NULL
32894 };
32895
32896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32898 if (SWIG_arg_fail(1)) SWIG_fail;
32899 {
32900 PyThreadState* __tstate = wxPyBeginAllowThreads();
32901 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32902
32903 wxPyEndAllowThreads(__tstate);
32904 if (PyErr_Occurred()) SWIG_fail;
32905 }
32906 {
32907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32908 }
32909 return resultobj;
32910 fail:
32911 return NULL;
32912 }
32913
32914
32915 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32916 PyObject *resultobj;
32917 wxPyControl *arg1 = (wxPyControl *) 0 ;
32918 wxVisualAttributes result;
32919 PyObject * obj0 = 0 ;
32920 char *kwnames[] = {
32921 (char *) "self", NULL
32922 };
32923
32924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32926 if (SWIG_arg_fail(1)) SWIG_fail;
32927 {
32928 PyThreadState* __tstate = wxPyBeginAllowThreads();
32929 result = (arg1)->base_GetDefaultAttributes();
32930
32931 wxPyEndAllowThreads(__tstate);
32932 if (PyErr_Occurred()) SWIG_fail;
32933 }
32934 {
32935 wxVisualAttributes * resultptr;
32936 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32938 }
32939 return resultobj;
32940 fail:
32941 return NULL;
32942 }
32943
32944
32945 static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32946 PyObject *resultobj;
32947 wxPyControl *arg1 = (wxPyControl *) 0 ;
32948 PyObject * obj0 = 0 ;
32949 char *kwnames[] = {
32950 (char *) "self", NULL
32951 };
32952
32953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
32954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail;
32956 {
32957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32958 (arg1)->base_OnInternalIdle();
32959
32960 wxPyEndAllowThreads(__tstate);
32961 if (PyErr_Occurred()) SWIG_fail;
32962 }
32963 Py_INCREF(Py_None); resultobj = Py_None;
32964 return resultobj;
32965 fail:
32966 return NULL;
32967 }
32968
32969
32970 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32971 PyObject *obj;
32972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32973 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32974 Py_INCREF(obj);
32975 return Py_BuildValue((char *)"");
32976 }
32977 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32978 PyObject *resultobj;
32979 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32980 int arg2 = (int) 0 ;
32981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32983 wxHelpEvent *result;
32984 wxPoint temp3 ;
32985 PyObject * obj0 = 0 ;
32986 PyObject * obj1 = 0 ;
32987 PyObject * obj2 = 0 ;
32988 char *kwnames[] = {
32989 (char *) "type",(char *) "winid",(char *) "pt", NULL
32990 };
32991
32992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32993 if (obj0) {
32994 {
32995 arg1 = (wxEventType)(SWIG_As_int(obj0));
32996 if (SWIG_arg_fail(1)) SWIG_fail;
32997 }
32998 }
32999 if (obj1) {
33000 {
33001 arg2 = (int)(SWIG_As_int(obj1));
33002 if (SWIG_arg_fail(2)) SWIG_fail;
33003 }
33004 }
33005 if (obj2) {
33006 {
33007 arg3 = &temp3;
33008 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33009 }
33010 }
33011 {
33012 PyThreadState* __tstate = wxPyBeginAllowThreads();
33013 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33014
33015 wxPyEndAllowThreads(__tstate);
33016 if (PyErr_Occurred()) SWIG_fail;
33017 }
33018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33019 return resultobj;
33020 fail:
33021 return NULL;
33022 }
33023
33024
33025 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33026 PyObject *resultobj;
33027 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33028 wxPoint result;
33029 PyObject * obj0 = 0 ;
33030 char *kwnames[] = {
33031 (char *) "self", NULL
33032 };
33033
33034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33036 if (SWIG_arg_fail(1)) SWIG_fail;
33037 {
33038 PyThreadState* __tstate = wxPyBeginAllowThreads();
33039 result = ((wxHelpEvent const *)arg1)->GetPosition();
33040
33041 wxPyEndAllowThreads(__tstate);
33042 if (PyErr_Occurred()) SWIG_fail;
33043 }
33044 {
33045 wxPoint * resultptr;
33046 resultptr = new wxPoint((wxPoint const &)(result));
33047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33048 }
33049 return resultobj;
33050 fail:
33051 return NULL;
33052 }
33053
33054
33055 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33056 PyObject *resultobj;
33057 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33058 wxPoint *arg2 = 0 ;
33059 wxPoint temp2 ;
33060 PyObject * obj0 = 0 ;
33061 PyObject * obj1 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self",(char *) "pos", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33068 if (SWIG_arg_fail(1)) SWIG_fail;
33069 {
33070 arg2 = &temp2;
33071 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33072 }
33073 {
33074 PyThreadState* __tstate = wxPyBeginAllowThreads();
33075 (arg1)->SetPosition((wxPoint const &)*arg2);
33076
33077 wxPyEndAllowThreads(__tstate);
33078 if (PyErr_Occurred()) SWIG_fail;
33079 }
33080 Py_INCREF(Py_None); resultobj = Py_None;
33081 return resultobj;
33082 fail:
33083 return NULL;
33084 }
33085
33086
33087 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33088 PyObject *resultobj;
33089 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33090 wxString *result;
33091 PyObject * obj0 = 0 ;
33092 char *kwnames[] = {
33093 (char *) "self", NULL
33094 };
33095
33096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail;
33099 {
33100 PyThreadState* __tstate = wxPyBeginAllowThreads();
33101 {
33102 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33103 result = (wxString *) &_result_ref;
33104 }
33105
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
33109 {
33110 #if wxUSE_UNICODE
33111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33112 #else
33113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33114 #endif
33115 }
33116 return resultobj;
33117 fail:
33118 return NULL;
33119 }
33120
33121
33122 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33123 PyObject *resultobj;
33124 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33125 wxString *arg2 = 0 ;
33126 bool temp2 = false ;
33127 PyObject * obj0 = 0 ;
33128 PyObject * obj1 = 0 ;
33129 char *kwnames[] = {
33130 (char *) "self",(char *) "link", NULL
33131 };
33132
33133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33135 if (SWIG_arg_fail(1)) SWIG_fail;
33136 {
33137 arg2 = wxString_in_helper(obj1);
33138 if (arg2 == NULL) SWIG_fail;
33139 temp2 = true;
33140 }
33141 {
33142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33143 (arg1)->SetLink((wxString const &)*arg2);
33144
33145 wxPyEndAllowThreads(__tstate);
33146 if (PyErr_Occurred()) SWIG_fail;
33147 }
33148 Py_INCREF(Py_None); resultobj = Py_None;
33149 {
33150 if (temp2)
33151 delete arg2;
33152 }
33153 return resultobj;
33154 fail:
33155 {
33156 if (temp2)
33157 delete arg2;
33158 }
33159 return NULL;
33160 }
33161
33162
33163 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33164 PyObject *resultobj;
33165 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33166 wxString *result;
33167 PyObject * obj0 = 0 ;
33168 char *kwnames[] = {
33169 (char *) "self", NULL
33170 };
33171
33172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail;
33175 {
33176 PyThreadState* __tstate = wxPyBeginAllowThreads();
33177 {
33178 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33179 result = (wxString *) &_result_ref;
33180 }
33181
33182 wxPyEndAllowThreads(__tstate);
33183 if (PyErr_Occurred()) SWIG_fail;
33184 }
33185 {
33186 #if wxUSE_UNICODE
33187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33188 #else
33189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33190 #endif
33191 }
33192 return resultobj;
33193 fail:
33194 return NULL;
33195 }
33196
33197
33198 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33199 PyObject *resultobj;
33200 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33201 wxString *arg2 = 0 ;
33202 bool temp2 = false ;
33203 PyObject * obj0 = 0 ;
33204 PyObject * obj1 = 0 ;
33205 char *kwnames[] = {
33206 (char *) "self",(char *) "target", NULL
33207 };
33208
33209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail;
33212 {
33213 arg2 = wxString_in_helper(obj1);
33214 if (arg2 == NULL) SWIG_fail;
33215 temp2 = true;
33216 }
33217 {
33218 PyThreadState* __tstate = wxPyBeginAllowThreads();
33219 (arg1)->SetTarget((wxString const &)*arg2);
33220
33221 wxPyEndAllowThreads(__tstate);
33222 if (PyErr_Occurred()) SWIG_fail;
33223 }
33224 Py_INCREF(Py_None); resultobj = Py_None;
33225 {
33226 if (temp2)
33227 delete arg2;
33228 }
33229 return resultobj;
33230 fail:
33231 {
33232 if (temp2)
33233 delete arg2;
33234 }
33235 return NULL;
33236 }
33237
33238
33239 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33240 PyObject *obj;
33241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33242 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33243 Py_INCREF(obj);
33244 return Py_BuildValue((char *)"");
33245 }
33246 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33247 PyObject *resultobj;
33248 wxWindow *arg1 = (wxWindow *) NULL ;
33249 bool arg2 = (bool) true ;
33250 wxContextHelp *result;
33251 PyObject * obj0 = 0 ;
33252 PyObject * obj1 = 0 ;
33253 char *kwnames[] = {
33254 (char *) "window",(char *) "doNow", NULL
33255 };
33256
33257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33258 if (obj0) {
33259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail;
33261 }
33262 if (obj1) {
33263 {
33264 arg2 = (bool)(SWIG_As_bool(obj1));
33265 if (SWIG_arg_fail(2)) SWIG_fail;
33266 }
33267 }
33268 {
33269 if (!wxPyCheckForApp()) SWIG_fail;
33270 PyThreadState* __tstate = wxPyBeginAllowThreads();
33271 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33272
33273 wxPyEndAllowThreads(__tstate);
33274 if (PyErr_Occurred()) SWIG_fail;
33275 }
33276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33277 return resultobj;
33278 fail:
33279 return NULL;
33280 }
33281
33282
33283 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33284 PyObject *resultobj;
33285 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33286 PyObject * obj0 = 0 ;
33287 char *kwnames[] = {
33288 (char *) "self", NULL
33289 };
33290
33291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail;
33294 {
33295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33296 delete arg1;
33297
33298 wxPyEndAllowThreads(__tstate);
33299 if (PyErr_Occurred()) SWIG_fail;
33300 }
33301 Py_INCREF(Py_None); resultobj = Py_None;
33302 return resultobj;
33303 fail:
33304 return NULL;
33305 }
33306
33307
33308 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33309 PyObject *resultobj;
33310 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33311 wxWindow *arg2 = (wxWindow *) NULL ;
33312 bool result;
33313 PyObject * obj0 = 0 ;
33314 PyObject * obj1 = 0 ;
33315 char *kwnames[] = {
33316 (char *) "self",(char *) "window", NULL
33317 };
33318
33319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33321 if (SWIG_arg_fail(1)) SWIG_fail;
33322 if (obj1) {
33323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33324 if (SWIG_arg_fail(2)) SWIG_fail;
33325 }
33326 {
33327 PyThreadState* __tstate = wxPyBeginAllowThreads();
33328 result = (bool)(arg1)->BeginContextHelp(arg2);
33329
33330 wxPyEndAllowThreads(__tstate);
33331 if (PyErr_Occurred()) SWIG_fail;
33332 }
33333 {
33334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33335 }
33336 return resultobj;
33337 fail:
33338 return NULL;
33339 }
33340
33341
33342 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33343 PyObject *resultobj;
33344 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33345 bool result;
33346 PyObject * obj0 = 0 ;
33347 char *kwnames[] = {
33348 (char *) "self", NULL
33349 };
33350
33351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33353 if (SWIG_arg_fail(1)) SWIG_fail;
33354 {
33355 PyThreadState* __tstate = wxPyBeginAllowThreads();
33356 result = (bool)(arg1)->EndContextHelp();
33357
33358 wxPyEndAllowThreads(__tstate);
33359 if (PyErr_Occurred()) SWIG_fail;
33360 }
33361 {
33362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33363 }
33364 return resultobj;
33365 fail:
33366 return NULL;
33367 }
33368
33369
33370 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33371 PyObject *obj;
33372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33373 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33374 Py_INCREF(obj);
33375 return Py_BuildValue((char *)"");
33376 }
33377 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33378 PyObject *resultobj;
33379 wxWindow *arg1 = (wxWindow *) 0 ;
33380 int arg2 = (int) wxID_CONTEXT_HELP ;
33381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33383 wxSize const &arg4_defvalue = wxDefaultSize ;
33384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33385 long arg5 = (long) wxBU_AUTODRAW ;
33386 wxContextHelpButton *result;
33387 wxPoint temp3 ;
33388 wxSize temp4 ;
33389 PyObject * obj0 = 0 ;
33390 PyObject * obj1 = 0 ;
33391 PyObject * obj2 = 0 ;
33392 PyObject * obj3 = 0 ;
33393 PyObject * obj4 = 0 ;
33394 char *kwnames[] = {
33395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33396 };
33397
33398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33400 if (SWIG_arg_fail(1)) SWIG_fail;
33401 if (obj1) {
33402 {
33403 arg2 = (int)(SWIG_As_int(obj1));
33404 if (SWIG_arg_fail(2)) SWIG_fail;
33405 }
33406 }
33407 if (obj2) {
33408 {
33409 arg3 = &temp3;
33410 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33411 }
33412 }
33413 if (obj3) {
33414 {
33415 arg4 = &temp4;
33416 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33417 }
33418 }
33419 if (obj4) {
33420 {
33421 arg5 = (long)(SWIG_As_long(obj4));
33422 if (SWIG_arg_fail(5)) SWIG_fail;
33423 }
33424 }
33425 {
33426 if (!wxPyCheckForApp()) SWIG_fail;
33427 PyThreadState* __tstate = wxPyBeginAllowThreads();
33428 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33429
33430 wxPyEndAllowThreads(__tstate);
33431 if (PyErr_Occurred()) SWIG_fail;
33432 }
33433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33434 return resultobj;
33435 fail:
33436 return NULL;
33437 }
33438
33439
33440 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33441 PyObject *obj;
33442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33443 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33444 Py_INCREF(obj);
33445 return Py_BuildValue((char *)"");
33446 }
33447 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33448 PyObject *resultobj;
33449 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33450 wxHelpProvider *result;
33451 PyObject * obj0 = 0 ;
33452 char *kwnames[] = {
33453 (char *) "helpProvider", NULL
33454 };
33455
33456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33458 if (SWIG_arg_fail(1)) SWIG_fail;
33459 {
33460 PyThreadState* __tstate = wxPyBeginAllowThreads();
33461 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33462
33463 wxPyEndAllowThreads(__tstate);
33464 if (PyErr_Occurred()) SWIG_fail;
33465 }
33466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33467 return resultobj;
33468 fail:
33469 return NULL;
33470 }
33471
33472
33473 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33474 PyObject *resultobj;
33475 wxHelpProvider *result;
33476 char *kwnames[] = {
33477 NULL
33478 };
33479
33480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33481 {
33482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33483 result = (wxHelpProvider *)wxHelpProvider::Get();
33484
33485 wxPyEndAllowThreads(__tstate);
33486 if (PyErr_Occurred()) SWIG_fail;
33487 }
33488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33489 return resultobj;
33490 fail:
33491 return NULL;
33492 }
33493
33494
33495 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33496 PyObject *resultobj;
33497 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33498 wxWindow *arg2 = (wxWindow *) 0 ;
33499 wxString result;
33500 PyObject * obj0 = 0 ;
33501 PyObject * obj1 = 0 ;
33502 char *kwnames[] = {
33503 (char *) "self",(char *) "window", NULL
33504 };
33505
33506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33508 if (SWIG_arg_fail(1)) SWIG_fail;
33509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33510 if (SWIG_arg_fail(2)) SWIG_fail;
33511 {
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 result = (arg1)->GetHelp((wxWindow const *)arg2);
33514
33515 wxPyEndAllowThreads(__tstate);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 }
33518 {
33519 #if wxUSE_UNICODE
33520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33521 #else
33522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33523 #endif
33524 }
33525 return resultobj;
33526 fail:
33527 return NULL;
33528 }
33529
33530
33531 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33532 PyObject *resultobj;
33533 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33534 wxWindow *arg2 = (wxWindow *) 0 ;
33535 bool result;
33536 PyObject * obj0 = 0 ;
33537 PyObject * obj1 = 0 ;
33538 char *kwnames[] = {
33539 (char *) "self",(char *) "window", NULL
33540 };
33541
33542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail;
33545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33546 if (SWIG_arg_fail(2)) SWIG_fail;
33547 {
33548 PyThreadState* __tstate = wxPyBeginAllowThreads();
33549 result = (bool)(arg1)->ShowHelp(arg2);
33550
33551 wxPyEndAllowThreads(__tstate);
33552 if (PyErr_Occurred()) SWIG_fail;
33553 }
33554 {
33555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33556 }
33557 return resultobj;
33558 fail:
33559 return NULL;
33560 }
33561
33562
33563 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33564 PyObject *resultobj;
33565 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33566 wxWindow *arg2 = (wxWindow *) 0 ;
33567 wxString *arg3 = 0 ;
33568 bool temp3 = false ;
33569 PyObject * obj0 = 0 ;
33570 PyObject * obj1 = 0 ;
33571 PyObject * obj2 = 0 ;
33572 char *kwnames[] = {
33573 (char *) "self",(char *) "window",(char *) "text", NULL
33574 };
33575
33576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33578 if (SWIG_arg_fail(1)) SWIG_fail;
33579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33580 if (SWIG_arg_fail(2)) SWIG_fail;
33581 {
33582 arg3 = wxString_in_helper(obj2);
33583 if (arg3 == NULL) SWIG_fail;
33584 temp3 = true;
33585 }
33586 {
33587 PyThreadState* __tstate = wxPyBeginAllowThreads();
33588 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33589
33590 wxPyEndAllowThreads(__tstate);
33591 if (PyErr_Occurred()) SWIG_fail;
33592 }
33593 Py_INCREF(Py_None); resultobj = Py_None;
33594 {
33595 if (temp3)
33596 delete arg3;
33597 }
33598 return resultobj;
33599 fail:
33600 {
33601 if (temp3)
33602 delete arg3;
33603 }
33604 return NULL;
33605 }
33606
33607
33608 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33609 PyObject *resultobj;
33610 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33611 int arg2 ;
33612 wxString *arg3 = 0 ;
33613 bool temp3 = false ;
33614 PyObject * obj0 = 0 ;
33615 PyObject * obj1 = 0 ;
33616 PyObject * obj2 = 0 ;
33617 char *kwnames[] = {
33618 (char *) "self",(char *) "id",(char *) "text", NULL
33619 };
33620
33621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33623 if (SWIG_arg_fail(1)) SWIG_fail;
33624 {
33625 arg2 = (int)(SWIG_As_int(obj1));
33626 if (SWIG_arg_fail(2)) SWIG_fail;
33627 }
33628 {
33629 arg3 = wxString_in_helper(obj2);
33630 if (arg3 == NULL) SWIG_fail;
33631 temp3 = true;
33632 }
33633 {
33634 PyThreadState* __tstate = wxPyBeginAllowThreads();
33635 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33636
33637 wxPyEndAllowThreads(__tstate);
33638 if (PyErr_Occurred()) SWIG_fail;
33639 }
33640 Py_INCREF(Py_None); resultobj = Py_None;
33641 {
33642 if (temp3)
33643 delete arg3;
33644 }
33645 return resultobj;
33646 fail:
33647 {
33648 if (temp3)
33649 delete arg3;
33650 }
33651 return NULL;
33652 }
33653
33654
33655 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33656 PyObject *resultobj;
33657 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33658 wxWindow *arg2 = (wxWindow *) 0 ;
33659 PyObject * obj0 = 0 ;
33660 PyObject * obj1 = 0 ;
33661 char *kwnames[] = {
33662 (char *) "self",(char *) "window", NULL
33663 };
33664
33665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33667 if (SWIG_arg_fail(1)) SWIG_fail;
33668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33669 if (SWIG_arg_fail(2)) SWIG_fail;
33670 {
33671 PyThreadState* __tstate = wxPyBeginAllowThreads();
33672 (arg1)->RemoveHelp(arg2);
33673
33674 wxPyEndAllowThreads(__tstate);
33675 if (PyErr_Occurred()) SWIG_fail;
33676 }
33677 Py_INCREF(Py_None); resultobj = Py_None;
33678 return resultobj;
33679 fail:
33680 return NULL;
33681 }
33682
33683
33684 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33685 PyObject *resultobj;
33686 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33687 PyObject * obj0 = 0 ;
33688 char *kwnames[] = {
33689 (char *) "self", NULL
33690 };
33691
33692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33694 if (SWIG_arg_fail(1)) SWIG_fail;
33695 {
33696 PyThreadState* __tstate = wxPyBeginAllowThreads();
33697 wxHelpProvider_Destroy(arg1);
33698
33699 wxPyEndAllowThreads(__tstate);
33700 if (PyErr_Occurred()) SWIG_fail;
33701 }
33702 Py_INCREF(Py_None); resultobj = Py_None;
33703 return resultobj;
33704 fail:
33705 return NULL;
33706 }
33707
33708
33709 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33710 PyObject *obj;
33711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33712 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33713 Py_INCREF(obj);
33714 return Py_BuildValue((char *)"");
33715 }
33716 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33717 PyObject *resultobj;
33718 wxSimpleHelpProvider *result;
33719 char *kwnames[] = {
33720 NULL
33721 };
33722
33723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33724 {
33725 PyThreadState* __tstate = wxPyBeginAllowThreads();
33726 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33727
33728 wxPyEndAllowThreads(__tstate);
33729 if (PyErr_Occurred()) SWIG_fail;
33730 }
33731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33732 return resultobj;
33733 fail:
33734 return NULL;
33735 }
33736
33737
33738 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33739 PyObject *obj;
33740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33741 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33742 Py_INCREF(obj);
33743 return Py_BuildValue((char *)"");
33744 }
33745 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33746 PyObject *resultobj;
33747 wxBitmap *arg1 = 0 ;
33748 wxCursor const &arg2_defvalue = wxNullCursor ;
33749 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33750 wxGenericDragImage *result;
33751 PyObject * obj0 = 0 ;
33752 PyObject * obj1 = 0 ;
33753 char *kwnames[] = {
33754 (char *) "image",(char *) "cursor", NULL
33755 };
33756
33757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33758 {
33759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33760 if (SWIG_arg_fail(1)) SWIG_fail;
33761 if (arg1 == NULL) {
33762 SWIG_null_ref("wxBitmap");
33763 }
33764 if (SWIG_arg_fail(1)) SWIG_fail;
33765 }
33766 if (obj1) {
33767 {
33768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33769 if (SWIG_arg_fail(2)) SWIG_fail;
33770 if (arg2 == NULL) {
33771 SWIG_null_ref("wxCursor");
33772 }
33773 if (SWIG_arg_fail(2)) SWIG_fail;
33774 }
33775 }
33776 {
33777 if (!wxPyCheckForApp()) SWIG_fail;
33778 PyThreadState* __tstate = wxPyBeginAllowThreads();
33779 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33780
33781 wxPyEndAllowThreads(__tstate);
33782 if (PyErr_Occurred()) SWIG_fail;
33783 }
33784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33785 return resultobj;
33786 fail:
33787 return NULL;
33788 }
33789
33790
33791 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33792 PyObject *resultobj;
33793 wxIcon *arg1 = 0 ;
33794 wxCursor const &arg2_defvalue = wxNullCursor ;
33795 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33796 wxGenericDragImage *result;
33797 PyObject * obj0 = 0 ;
33798 PyObject * obj1 = 0 ;
33799 char *kwnames[] = {
33800 (char *) "image",(char *) "cursor", NULL
33801 };
33802
33803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33804 {
33805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33806 if (SWIG_arg_fail(1)) SWIG_fail;
33807 if (arg1 == NULL) {
33808 SWIG_null_ref("wxIcon");
33809 }
33810 if (SWIG_arg_fail(1)) SWIG_fail;
33811 }
33812 if (obj1) {
33813 {
33814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail;
33816 if (arg2 == NULL) {
33817 SWIG_null_ref("wxCursor");
33818 }
33819 if (SWIG_arg_fail(2)) SWIG_fail;
33820 }
33821 }
33822 {
33823 if (!wxPyCheckForApp()) SWIG_fail;
33824 PyThreadState* __tstate = wxPyBeginAllowThreads();
33825 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33826
33827 wxPyEndAllowThreads(__tstate);
33828 if (PyErr_Occurred()) SWIG_fail;
33829 }
33830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33831 return resultobj;
33832 fail:
33833 return NULL;
33834 }
33835
33836
33837 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33838 PyObject *resultobj;
33839 wxString *arg1 = 0 ;
33840 wxCursor const &arg2_defvalue = wxNullCursor ;
33841 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33842 wxGenericDragImage *result;
33843 bool temp1 = false ;
33844 PyObject * obj0 = 0 ;
33845 PyObject * obj1 = 0 ;
33846 char *kwnames[] = {
33847 (char *) "str",(char *) "cursor", NULL
33848 };
33849
33850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33851 {
33852 arg1 = wxString_in_helper(obj0);
33853 if (arg1 == NULL) SWIG_fail;
33854 temp1 = true;
33855 }
33856 if (obj1) {
33857 {
33858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33859 if (SWIG_arg_fail(2)) SWIG_fail;
33860 if (arg2 == NULL) {
33861 SWIG_null_ref("wxCursor");
33862 }
33863 if (SWIG_arg_fail(2)) SWIG_fail;
33864 }
33865 }
33866 {
33867 if (!wxPyCheckForApp()) SWIG_fail;
33868 PyThreadState* __tstate = wxPyBeginAllowThreads();
33869 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33870
33871 wxPyEndAllowThreads(__tstate);
33872 if (PyErr_Occurred()) SWIG_fail;
33873 }
33874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33875 {
33876 if (temp1)
33877 delete arg1;
33878 }
33879 return resultobj;
33880 fail:
33881 {
33882 if (temp1)
33883 delete arg1;
33884 }
33885 return NULL;
33886 }
33887
33888
33889 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33890 PyObject *resultobj;
33891 wxPyTreeCtrl *arg1 = 0 ;
33892 wxTreeItemId *arg2 = 0 ;
33893 wxGenericDragImage *result;
33894 PyObject * obj0 = 0 ;
33895 PyObject * obj1 = 0 ;
33896 char *kwnames[] = {
33897 (char *) "treeCtrl",(char *) "id", NULL
33898 };
33899
33900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33901 {
33902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33903 if (SWIG_arg_fail(1)) SWIG_fail;
33904 if (arg1 == NULL) {
33905 SWIG_null_ref("wxPyTreeCtrl");
33906 }
33907 if (SWIG_arg_fail(1)) SWIG_fail;
33908 }
33909 {
33910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(2)) SWIG_fail;
33912 if (arg2 == NULL) {
33913 SWIG_null_ref("wxTreeItemId");
33914 }
33915 if (SWIG_arg_fail(2)) SWIG_fail;
33916 }
33917 {
33918 if (!wxPyCheckForApp()) SWIG_fail;
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33926 return resultobj;
33927 fail:
33928 return NULL;
33929 }
33930
33931
33932 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33933 PyObject *resultobj;
33934 wxPyListCtrl *arg1 = 0 ;
33935 long arg2 ;
33936 wxGenericDragImage *result;
33937 PyObject * obj0 = 0 ;
33938 PyObject * obj1 = 0 ;
33939 char *kwnames[] = {
33940 (char *) "listCtrl",(char *) "id", NULL
33941 };
33942
33943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33944 {
33945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33946 if (SWIG_arg_fail(1)) SWIG_fail;
33947 if (arg1 == NULL) {
33948 SWIG_null_ref("wxPyListCtrl");
33949 }
33950 if (SWIG_arg_fail(1)) SWIG_fail;
33951 }
33952 {
33953 arg2 = (long)(SWIG_As_long(obj1));
33954 if (SWIG_arg_fail(2)) SWIG_fail;
33955 }
33956 {
33957 if (!wxPyCheckForApp()) SWIG_fail;
33958 PyThreadState* __tstate = wxPyBeginAllowThreads();
33959 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33960
33961 wxPyEndAllowThreads(__tstate);
33962 if (PyErr_Occurred()) SWIG_fail;
33963 }
33964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33965 return resultobj;
33966 fail:
33967 return NULL;
33968 }
33969
33970
33971 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33972 PyObject *resultobj;
33973 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33974 PyObject * obj0 = 0 ;
33975 char *kwnames[] = {
33976 (char *) "self", NULL
33977 };
33978
33979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail;
33982 {
33983 PyThreadState* __tstate = wxPyBeginAllowThreads();
33984 delete arg1;
33985
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 Py_INCREF(Py_None); resultobj = Py_None;
33990 return resultobj;
33991 fail:
33992 return NULL;
33993 }
33994
33995
33996 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33997 PyObject *resultobj;
33998 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33999 wxBitmap *arg2 = (wxBitmap *) 0 ;
34000 PyObject * obj0 = 0 ;
34001 PyObject * obj1 = 0 ;
34002 char *kwnames[] = {
34003 (char *) "self",(char *) "bitmap", NULL
34004 };
34005
34006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34008 if (SWIG_arg_fail(1)) SWIG_fail;
34009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34010 if (SWIG_arg_fail(2)) SWIG_fail;
34011 {
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 (arg1)->SetBackingBitmap(arg2);
34014
34015 wxPyEndAllowThreads(__tstate);
34016 if (PyErr_Occurred()) SWIG_fail;
34017 }
34018 Py_INCREF(Py_None); resultobj = Py_None;
34019 return resultobj;
34020 fail:
34021 return NULL;
34022 }
34023
34024
34025 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34026 PyObject *resultobj;
34027 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34028 wxPoint *arg2 = 0 ;
34029 wxWindow *arg3 = (wxWindow *) 0 ;
34030 bool arg4 = (bool) false ;
34031 wxRect *arg5 = (wxRect *) NULL ;
34032 bool result;
34033 wxPoint temp2 ;
34034 PyObject * obj0 = 0 ;
34035 PyObject * obj1 = 0 ;
34036 PyObject * obj2 = 0 ;
34037 PyObject * obj3 = 0 ;
34038 PyObject * obj4 = 0 ;
34039 char *kwnames[] = {
34040 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34041 };
34042
34043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34045 if (SWIG_arg_fail(1)) SWIG_fail;
34046 {
34047 arg2 = &temp2;
34048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34049 }
34050 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34051 if (SWIG_arg_fail(3)) SWIG_fail;
34052 if (obj3) {
34053 {
34054 arg4 = (bool)(SWIG_As_bool(obj3));
34055 if (SWIG_arg_fail(4)) SWIG_fail;
34056 }
34057 }
34058 if (obj4) {
34059 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34060 if (SWIG_arg_fail(5)) SWIG_fail;
34061 }
34062 {
34063 PyThreadState* __tstate = wxPyBeginAllowThreads();
34064 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34065
34066 wxPyEndAllowThreads(__tstate);
34067 if (PyErr_Occurred()) SWIG_fail;
34068 }
34069 {
34070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34071 }
34072 return resultobj;
34073 fail:
34074 return NULL;
34075 }
34076
34077
34078 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34079 PyObject *resultobj;
34080 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34081 wxPoint *arg2 = 0 ;
34082 wxWindow *arg3 = (wxWindow *) 0 ;
34083 wxWindow *arg4 = (wxWindow *) 0 ;
34084 bool result;
34085 wxPoint temp2 ;
34086 PyObject * obj0 = 0 ;
34087 PyObject * obj1 = 0 ;
34088 PyObject * obj2 = 0 ;
34089 PyObject * obj3 = 0 ;
34090 char *kwnames[] = {
34091 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34092 };
34093
34094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail;
34097 {
34098 arg2 = &temp2;
34099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34100 }
34101 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34102 if (SWIG_arg_fail(3)) SWIG_fail;
34103 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34104 if (SWIG_arg_fail(4)) SWIG_fail;
34105 {
34106 PyThreadState* __tstate = wxPyBeginAllowThreads();
34107 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34108
34109 wxPyEndAllowThreads(__tstate);
34110 if (PyErr_Occurred()) SWIG_fail;
34111 }
34112 {
34113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34114 }
34115 return resultobj;
34116 fail:
34117 return NULL;
34118 }
34119
34120
34121 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34122 PyObject *resultobj;
34123 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34124 bool result;
34125 PyObject * obj0 = 0 ;
34126 char *kwnames[] = {
34127 (char *) "self", NULL
34128 };
34129
34130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34132 if (SWIG_arg_fail(1)) SWIG_fail;
34133 {
34134 PyThreadState* __tstate = wxPyBeginAllowThreads();
34135 result = (bool)(arg1)->EndDrag();
34136
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
34140 {
34141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34142 }
34143 return resultobj;
34144 fail:
34145 return NULL;
34146 }
34147
34148
34149 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34150 PyObject *resultobj;
34151 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34152 wxPoint *arg2 = 0 ;
34153 bool result;
34154 wxPoint temp2 ;
34155 PyObject * obj0 = 0 ;
34156 PyObject * obj1 = 0 ;
34157 char *kwnames[] = {
34158 (char *) "self",(char *) "pt", NULL
34159 };
34160
34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail;
34164 {
34165 arg2 = &temp2;
34166 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34167 }
34168 {
34169 PyThreadState* __tstate = wxPyBeginAllowThreads();
34170 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34171
34172 wxPyEndAllowThreads(__tstate);
34173 if (PyErr_Occurred()) SWIG_fail;
34174 }
34175 {
34176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34177 }
34178 return resultobj;
34179 fail:
34180 return NULL;
34181 }
34182
34183
34184 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34185 PyObject *resultobj;
34186 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34187 bool result;
34188 PyObject * obj0 = 0 ;
34189 char *kwnames[] = {
34190 (char *) "self", NULL
34191 };
34192
34193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34195 if (SWIG_arg_fail(1)) SWIG_fail;
34196 {
34197 PyThreadState* __tstate = wxPyBeginAllowThreads();
34198 result = (bool)(arg1)->Show();
34199
34200 wxPyEndAllowThreads(__tstate);
34201 if (PyErr_Occurred()) SWIG_fail;
34202 }
34203 {
34204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34205 }
34206 return resultobj;
34207 fail:
34208 return NULL;
34209 }
34210
34211
34212 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34213 PyObject *resultobj;
34214 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34215 bool result;
34216 PyObject * obj0 = 0 ;
34217 char *kwnames[] = {
34218 (char *) "self", NULL
34219 };
34220
34221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34223 if (SWIG_arg_fail(1)) SWIG_fail;
34224 {
34225 PyThreadState* __tstate = wxPyBeginAllowThreads();
34226 result = (bool)(arg1)->Hide();
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_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34241 PyObject *resultobj;
34242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34243 wxPoint *arg2 = 0 ;
34244 wxRect result;
34245 wxPoint temp2 ;
34246 PyObject * obj0 = 0 ;
34247 PyObject * obj1 = 0 ;
34248 char *kwnames[] = {
34249 (char *) "self",(char *) "pos", NULL
34250 };
34251
34252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34254 if (SWIG_arg_fail(1)) SWIG_fail;
34255 {
34256 arg2 = &temp2;
34257 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34258 }
34259 {
34260 PyThreadState* __tstate = wxPyBeginAllowThreads();
34261 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34262
34263 wxPyEndAllowThreads(__tstate);
34264 if (PyErr_Occurred()) SWIG_fail;
34265 }
34266 {
34267 wxRect * resultptr;
34268 resultptr = new wxRect((wxRect &)(result));
34269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34270 }
34271 return resultobj;
34272 fail:
34273 return NULL;
34274 }
34275
34276
34277 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34278 PyObject *resultobj;
34279 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34280 wxDC *arg2 = 0 ;
34281 wxPoint *arg3 = 0 ;
34282 bool result;
34283 wxPoint temp3 ;
34284 PyObject * obj0 = 0 ;
34285 PyObject * obj1 = 0 ;
34286 PyObject * obj2 = 0 ;
34287 char *kwnames[] = {
34288 (char *) "self",(char *) "dc",(char *) "pos", NULL
34289 };
34290
34291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34293 if (SWIG_arg_fail(1)) SWIG_fail;
34294 {
34295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34296 if (SWIG_arg_fail(2)) SWIG_fail;
34297 if (arg2 == NULL) {
34298 SWIG_null_ref("wxDC");
34299 }
34300 if (SWIG_arg_fail(2)) SWIG_fail;
34301 }
34302 {
34303 arg3 = &temp3;
34304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34305 }
34306 {
34307 PyThreadState* __tstate = wxPyBeginAllowThreads();
34308 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34309
34310 wxPyEndAllowThreads(__tstate);
34311 if (PyErr_Occurred()) SWIG_fail;
34312 }
34313 {
34314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34315 }
34316 return resultobj;
34317 fail:
34318 return NULL;
34319 }
34320
34321
34322 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34323 PyObject *resultobj;
34324 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34325 wxDC *arg2 = 0 ;
34326 wxMemoryDC *arg3 = 0 ;
34327 wxRect *arg4 = 0 ;
34328 wxRect *arg5 = 0 ;
34329 bool result;
34330 wxRect temp4 ;
34331 wxRect temp5 ;
34332 PyObject * obj0 = 0 ;
34333 PyObject * obj1 = 0 ;
34334 PyObject * obj2 = 0 ;
34335 PyObject * obj3 = 0 ;
34336 PyObject * obj4 = 0 ;
34337 char *kwnames[] = {
34338 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34339 };
34340
34341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34343 if (SWIG_arg_fail(1)) SWIG_fail;
34344 {
34345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34346 if (SWIG_arg_fail(2)) SWIG_fail;
34347 if (arg2 == NULL) {
34348 SWIG_null_ref("wxDC");
34349 }
34350 if (SWIG_arg_fail(2)) SWIG_fail;
34351 }
34352 {
34353 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34354 if (SWIG_arg_fail(3)) SWIG_fail;
34355 if (arg3 == NULL) {
34356 SWIG_null_ref("wxMemoryDC");
34357 }
34358 if (SWIG_arg_fail(3)) SWIG_fail;
34359 }
34360 {
34361 arg4 = &temp4;
34362 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34363 }
34364 {
34365 arg5 = &temp5;
34366 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34367 }
34368 {
34369 PyThreadState* __tstate = wxPyBeginAllowThreads();
34370 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34371
34372 wxPyEndAllowThreads(__tstate);
34373 if (PyErr_Occurred()) SWIG_fail;
34374 }
34375 {
34376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34377 }
34378 return resultobj;
34379 fail:
34380 return NULL;
34381 }
34382
34383
34384 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34385 PyObject *resultobj;
34386 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34387 wxPoint *arg2 = 0 ;
34388 wxPoint *arg3 = 0 ;
34389 bool arg4 ;
34390 bool arg5 ;
34391 bool result;
34392 wxPoint temp2 ;
34393 wxPoint temp3 ;
34394 PyObject * obj0 = 0 ;
34395 PyObject * obj1 = 0 ;
34396 PyObject * obj2 = 0 ;
34397 PyObject * obj3 = 0 ;
34398 PyObject * obj4 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail;
34406 {
34407 arg2 = &temp2;
34408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34409 }
34410 {
34411 arg3 = &temp3;
34412 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34413 }
34414 {
34415 arg4 = (bool)(SWIG_As_bool(obj3));
34416 if (SWIG_arg_fail(4)) SWIG_fail;
34417 }
34418 {
34419 arg5 = (bool)(SWIG_As_bool(obj4));
34420 if (SWIG_arg_fail(5)) SWIG_fail;
34421 }
34422 {
34423 PyThreadState* __tstate = wxPyBeginAllowThreads();
34424 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34425
34426 wxPyEndAllowThreads(__tstate);
34427 if (PyErr_Occurred()) SWIG_fail;
34428 }
34429 {
34430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34431 }
34432 return resultobj;
34433 fail:
34434 return NULL;
34435 }
34436
34437
34438 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34439 PyObject *obj;
34440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34441 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34442 Py_INCREF(obj);
34443 return Py_BuildValue((char *)"");
34444 }
34445 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34446 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34447 return 1;
34448 }
34449
34450
34451 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34452 PyObject *pyobj;
34453
34454 {
34455 #if wxUSE_UNICODE
34456 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34457 #else
34458 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34459 #endif
34460 }
34461 return pyobj;
34462 }
34463
34464
34465 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34466 PyObject *resultobj;
34467 wxWindow *arg1 = (wxWindow *) 0 ;
34468 int arg2 = (int) -1 ;
34469 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34470 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34473 wxSize const &arg5_defvalue = wxDefaultSize ;
34474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34475 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34476 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34477 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34478 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34479 wxString *arg8 = (wxString *) &arg8_defvalue ;
34480 wxDatePickerCtrl *result;
34481 wxPoint temp4 ;
34482 wxSize temp5 ;
34483 bool temp8 = false ;
34484 PyObject * obj0 = 0 ;
34485 PyObject * obj1 = 0 ;
34486 PyObject * obj2 = 0 ;
34487 PyObject * obj3 = 0 ;
34488 PyObject * obj4 = 0 ;
34489 PyObject * obj5 = 0 ;
34490 PyObject * obj6 = 0 ;
34491 PyObject * obj7 = 0 ;
34492 char *kwnames[] = {
34493 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34494 };
34495
34496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail;
34499 if (obj1) {
34500 {
34501 arg2 = (int)(SWIG_As_int(obj1));
34502 if (SWIG_arg_fail(2)) SWIG_fail;
34503 }
34504 }
34505 if (obj2) {
34506 {
34507 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34508 if (SWIG_arg_fail(3)) SWIG_fail;
34509 if (arg3 == NULL) {
34510 SWIG_null_ref("wxDateTime");
34511 }
34512 if (SWIG_arg_fail(3)) SWIG_fail;
34513 }
34514 }
34515 if (obj3) {
34516 {
34517 arg4 = &temp4;
34518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34519 }
34520 }
34521 if (obj4) {
34522 {
34523 arg5 = &temp5;
34524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34525 }
34526 }
34527 if (obj5) {
34528 {
34529 arg6 = (long)(SWIG_As_long(obj5));
34530 if (SWIG_arg_fail(6)) SWIG_fail;
34531 }
34532 }
34533 if (obj6) {
34534 {
34535 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34536 if (SWIG_arg_fail(7)) SWIG_fail;
34537 if (arg7 == NULL) {
34538 SWIG_null_ref("wxValidator");
34539 }
34540 if (SWIG_arg_fail(7)) SWIG_fail;
34541 }
34542 }
34543 if (obj7) {
34544 {
34545 arg8 = wxString_in_helper(obj7);
34546 if (arg8 == NULL) SWIG_fail;
34547 temp8 = true;
34548 }
34549 }
34550 {
34551 if (!wxPyCheckForApp()) SWIG_fail;
34552 PyThreadState* __tstate = wxPyBeginAllowThreads();
34553 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34554
34555 wxPyEndAllowThreads(__tstate);
34556 if (PyErr_Occurred()) SWIG_fail;
34557 }
34558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34559 {
34560 if (temp8)
34561 delete arg8;
34562 }
34563 return resultobj;
34564 fail:
34565 {
34566 if (temp8)
34567 delete arg8;
34568 }
34569 return NULL;
34570 }
34571
34572
34573 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34574 PyObject *resultobj;
34575 wxDatePickerCtrl *result;
34576 char *kwnames[] = {
34577 NULL
34578 };
34579
34580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34581 {
34582 if (!wxPyCheckForApp()) SWIG_fail;
34583 PyThreadState* __tstate = wxPyBeginAllowThreads();
34584 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34585
34586 wxPyEndAllowThreads(__tstate);
34587 if (PyErr_Occurred()) SWIG_fail;
34588 }
34589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34590 return resultobj;
34591 fail:
34592 return NULL;
34593 }
34594
34595
34596 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34597 PyObject *resultobj;
34598 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34599 wxWindow *arg2 = (wxWindow *) 0 ;
34600 int arg3 = (int) -1 ;
34601 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34602 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34603 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34604 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34605 wxSize const &arg6_defvalue = wxDefaultSize ;
34606 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34607 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34608 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34609 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34610 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34611 wxString *arg9 = (wxString *) &arg9_defvalue ;
34612 bool result;
34613 wxPoint temp5 ;
34614 wxSize temp6 ;
34615 bool temp9 = false ;
34616 PyObject * obj0 = 0 ;
34617 PyObject * obj1 = 0 ;
34618 PyObject * obj2 = 0 ;
34619 PyObject * obj3 = 0 ;
34620 PyObject * obj4 = 0 ;
34621 PyObject * obj5 = 0 ;
34622 PyObject * obj6 = 0 ;
34623 PyObject * obj7 = 0 ;
34624 PyObject * obj8 = 0 ;
34625 char *kwnames[] = {
34626 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34627 };
34628
34629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34631 if (SWIG_arg_fail(1)) SWIG_fail;
34632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34633 if (SWIG_arg_fail(2)) SWIG_fail;
34634 if (obj2) {
34635 {
34636 arg3 = (int)(SWIG_As_int(obj2));
34637 if (SWIG_arg_fail(3)) SWIG_fail;
34638 }
34639 }
34640 if (obj3) {
34641 {
34642 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34643 if (SWIG_arg_fail(4)) SWIG_fail;
34644 if (arg4 == NULL) {
34645 SWIG_null_ref("wxDateTime");
34646 }
34647 if (SWIG_arg_fail(4)) SWIG_fail;
34648 }
34649 }
34650 if (obj4) {
34651 {
34652 arg5 = &temp5;
34653 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34654 }
34655 }
34656 if (obj5) {
34657 {
34658 arg6 = &temp6;
34659 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34660 }
34661 }
34662 if (obj6) {
34663 {
34664 arg7 = (long)(SWIG_As_long(obj6));
34665 if (SWIG_arg_fail(7)) SWIG_fail;
34666 }
34667 }
34668 if (obj7) {
34669 {
34670 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34671 if (SWIG_arg_fail(8)) SWIG_fail;
34672 if (arg8 == NULL) {
34673 SWIG_null_ref("wxValidator");
34674 }
34675 if (SWIG_arg_fail(8)) SWIG_fail;
34676 }
34677 }
34678 if (obj8) {
34679 {
34680 arg9 = wxString_in_helper(obj8);
34681 if (arg9 == NULL) SWIG_fail;
34682 temp9 = true;
34683 }
34684 }
34685 {
34686 PyThreadState* __tstate = wxPyBeginAllowThreads();
34687 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34688
34689 wxPyEndAllowThreads(__tstate);
34690 if (PyErr_Occurred()) SWIG_fail;
34691 }
34692 {
34693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34694 }
34695 {
34696 if (temp9)
34697 delete arg9;
34698 }
34699 return resultobj;
34700 fail:
34701 {
34702 if (temp9)
34703 delete arg9;
34704 }
34705 return NULL;
34706 }
34707
34708
34709 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34710 PyObject *resultobj;
34711 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34712 wxDateTime *arg2 = 0 ;
34713 PyObject * obj0 = 0 ;
34714 PyObject * obj1 = 0 ;
34715 char *kwnames[] = {
34716 (char *) "self",(char *) "dt", NULL
34717 };
34718
34719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail;
34722 {
34723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34724 if (SWIG_arg_fail(2)) SWIG_fail;
34725 if (arg2 == NULL) {
34726 SWIG_null_ref("wxDateTime");
34727 }
34728 if (SWIG_arg_fail(2)) SWIG_fail;
34729 }
34730 {
34731 PyThreadState* __tstate = wxPyBeginAllowThreads();
34732 (arg1)->SetValue((wxDateTime const &)*arg2);
34733
34734 wxPyEndAllowThreads(__tstate);
34735 if (PyErr_Occurred()) SWIG_fail;
34736 }
34737 Py_INCREF(Py_None); resultobj = Py_None;
34738 return resultobj;
34739 fail:
34740 return NULL;
34741 }
34742
34743
34744 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34745 PyObject *resultobj;
34746 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34747 wxDateTime result;
34748 PyObject * obj0 = 0 ;
34749 char *kwnames[] = {
34750 (char *) "self", NULL
34751 };
34752
34753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34755 if (SWIG_arg_fail(1)) SWIG_fail;
34756 {
34757 PyThreadState* __tstate = wxPyBeginAllowThreads();
34758 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34759
34760 wxPyEndAllowThreads(__tstate);
34761 if (PyErr_Occurred()) SWIG_fail;
34762 }
34763 {
34764 wxDateTime * resultptr;
34765 resultptr = new wxDateTime((wxDateTime &)(result));
34766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34767 }
34768 return resultobj;
34769 fail:
34770 return NULL;
34771 }
34772
34773
34774 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34775 PyObject *resultobj;
34776 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34777 wxDateTime *arg2 = 0 ;
34778 wxDateTime *arg3 = 0 ;
34779 PyObject * obj0 = 0 ;
34780 PyObject * obj1 = 0 ;
34781 PyObject * obj2 = 0 ;
34782 char *kwnames[] = {
34783 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34784 };
34785
34786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail;
34789 {
34790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34791 if (SWIG_arg_fail(2)) SWIG_fail;
34792 if (arg2 == NULL) {
34793 SWIG_null_ref("wxDateTime");
34794 }
34795 if (SWIG_arg_fail(2)) SWIG_fail;
34796 }
34797 {
34798 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(3)) SWIG_fail;
34800 if (arg3 == NULL) {
34801 SWIG_null_ref("wxDateTime");
34802 }
34803 if (SWIG_arg_fail(3)) SWIG_fail;
34804 }
34805 {
34806 PyThreadState* __tstate = wxPyBeginAllowThreads();
34807 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34808
34809 wxPyEndAllowThreads(__tstate);
34810 if (PyErr_Occurred()) SWIG_fail;
34811 }
34812 Py_INCREF(Py_None); resultobj = Py_None;
34813 return resultobj;
34814 fail:
34815 return NULL;
34816 }
34817
34818
34819 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34820 PyObject *resultobj;
34821 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34822 wxDateTime result;
34823 PyObject * obj0 = 0 ;
34824 char *kwnames[] = {
34825 (char *) "self", NULL
34826 };
34827
34828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34830 if (SWIG_arg_fail(1)) SWIG_fail;
34831 {
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34834
34835 wxPyEndAllowThreads(__tstate);
34836 if (PyErr_Occurred()) SWIG_fail;
34837 }
34838 {
34839 wxDateTime * resultptr;
34840 resultptr = new wxDateTime((wxDateTime &)(result));
34841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34842 }
34843 return resultobj;
34844 fail:
34845 return NULL;
34846 }
34847
34848
34849 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34850 PyObject *resultobj;
34851 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34852 wxDateTime result;
34853 PyObject * obj0 = 0 ;
34854 char *kwnames[] = {
34855 (char *) "self", NULL
34856 };
34857
34858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34860 if (SWIG_arg_fail(1)) SWIG_fail;
34861 {
34862 PyThreadState* __tstate = wxPyBeginAllowThreads();
34863 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34864
34865 wxPyEndAllowThreads(__tstate);
34866 if (PyErr_Occurred()) SWIG_fail;
34867 }
34868 {
34869 wxDateTime * resultptr;
34870 resultptr = new wxDateTime((wxDateTime &)(result));
34871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34872 }
34873 return resultobj;
34874 fail:
34875 return NULL;
34876 }
34877
34878
34879 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34880 PyObject *obj;
34881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34882 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34883 Py_INCREF(obj);
34884 return Py_BuildValue((char *)"");
34885 }
34886 static PyMethodDef SwigMethods[] = {
34887 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34894 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34909 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34921 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34957 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34971 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34976 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34983 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34988 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34996 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35019 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35028 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35059 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35117 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35122 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35134 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35147 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35159 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35163 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35181 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35188 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35214 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35222 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35244 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35250 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35261 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35263 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35271 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35278 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35280 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35310 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35355 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35361 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35373 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35425 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35452 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35524 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35536 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35544 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35551 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35568 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35647 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35669 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35674 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35701 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35709 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35714 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35716 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35725 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35727 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35745 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35754 { NULL, NULL, 0, NULL }
35755 };
35756
35757
35758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35759
35760 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35762 }
35763 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35764 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35765 }
35766 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35767 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35768 }
35769 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35770 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35771 }
35772 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35773 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35774 }
35775 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35776 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35777 }
35778 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35779 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35780 }
35781 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35782 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35783 }
35784 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35785 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35786 }
35787 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35788 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35789 }
35790 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35791 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35792 }
35793 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35794 return (void *)((wxEvent *) ((wxPyEvent *) x));
35795 }
35796 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35798 }
35799 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35800 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35801 }
35802 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35803 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35804 }
35805 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35806 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35807 }
35808 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35809 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35810 }
35811 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35812 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35813 }
35814 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35815 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35816 }
35817 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35819 }
35820 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35821 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35822 }
35823 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35824 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35825 }
35826 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35827 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35828 }
35829 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35830 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35831 }
35832 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35833 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35834 }
35835 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35836 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35837 }
35838 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35839 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35840 }
35841 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35842 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35843 }
35844 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35845 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35846 }
35847 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35848 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35849 }
35850 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35851 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35852 }
35853 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35854 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35855 }
35856 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35857 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35858 }
35859 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35860 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35861 }
35862 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35863 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35864 }
35865 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35866 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35867 }
35868 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35869 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35870 }
35871 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35872 return (void *)((wxEvent *) ((wxShowEvent *) x));
35873 }
35874 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35875 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35876 }
35877 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35878 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35879 }
35880 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35882 }
35883 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35884 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35885 }
35886 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35887 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35888 }
35889 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35890 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35891 }
35892 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35893 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35894 }
35895 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35896 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
35897 }
35898 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35899 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35900 }
35901 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35902 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35903 }
35904 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35905 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35906 }
35907 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35908 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35909 }
35910 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35911 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35912 }
35913 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35914 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35915 }
35916 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35917 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35918 }
35919 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35920 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35921 }
35922 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35923 return (void *)((wxControl *) ((wxToggleButton *) x));
35924 }
35925 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35926 return (void *)((wxControl *) ((wxRadioButton *) x));
35927 }
35928 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35929 return (void *)((wxControl *) ((wxPyControl *) x));
35930 }
35931 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35932 return (void *)((wxControl *) ((wxToolBarBase *) x));
35933 }
35934 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35935 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35936 }
35937 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35938 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35939 }
35940 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35941 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
35942 }
35943 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35944 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35945 }
35946 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35947 return (void *)((wxControl *) ((wxScrollBar *) x));
35948 }
35949 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35950 return (void *)((wxControl *) ((wxControlWithItems *) x));
35951 }
35952 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35953 return (void *)((wxControl *) ((wxGauge *) x));
35954 }
35955 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35956 return (void *)((wxControl *) ((wxStaticLine *) x));
35957 }
35958 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35959 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35960 }
35961 static void *_p_wxListbookTo_p_wxControl(void *x) {
35962 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35963 }
35964 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35965 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35966 }
35967 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35968 return (void *)((wxControl *) ((wxCheckBox *) x));
35969 }
35970 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35971 return (void *)((wxControl *) ((wxRadioBox *) x));
35972 }
35973 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35974 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35975 }
35976 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35977 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35978 }
35979 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35980 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35981 }
35982 static void *_p_wxListViewTo_p_wxControl(void *x) {
35983 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35984 }
35985 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35986 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35987 }
35988 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35989 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35990 }
35991 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35992 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35993 }
35994 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35995 return (void *)((wxControl *) ((wxStaticText *) x));
35996 }
35997 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35998 return (void *)((wxControl *) ((wxStaticBox *) x));
35999 }
36000 static void *_p_wxSliderTo_p_wxControl(void *x) {
36001 return (void *)((wxControl *) ((wxSlider *) x));
36002 }
36003 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36004 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36005 }
36006 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36007 return (void *)((wxControl *) ((wxSpinButton *) x));
36008 }
36009 static void *_p_wxButtonTo_p_wxControl(void *x) {
36010 return (void *)((wxControl *) ((wxButton *) x));
36011 }
36012 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36013 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36014 }
36015 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36016 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36017 }
36018 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36019 return (void *)((wxControl *) ((wxTextCtrl *) x));
36020 }
36021 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36022 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36023 }
36024 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36025 return (void *)((wxChoice *) ((wxComboBox *) x));
36026 }
36027 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36028 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36029 }
36030 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36031 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36032 }
36033 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36034 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36035 }
36036 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36037 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36038 }
36039 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36040 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36041 }
36042 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36043 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36044 }
36045 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36046 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36047 }
36048 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36049 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36050 }
36051 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36052 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36053 }
36054 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36055 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36056 }
36057 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36058 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36059 }
36060 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36061 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36062 }
36063 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36065 }
36066 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36067 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36068 }
36069 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36070 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36071 }
36072 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36074 }
36075 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36076 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36077 }
36078 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36080 }
36081 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36083 }
36084 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36085 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36086 }
36087 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36088 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36089 }
36090 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36092 }
36093 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36095 }
36096 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36098 }
36099 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36101 }
36102 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36104 }
36105 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36106 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36107 }
36108 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36110 }
36111 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36113 }
36114 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36116 }
36117 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36119 }
36120 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36122 }
36123 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36125 }
36126 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36128 }
36129 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36131 }
36132 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36134 }
36135 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36137 }
36138 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36140 }
36141 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36143 }
36144 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36146 }
36147 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36149 }
36150 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36152 }
36153 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36155 }
36156 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36158 }
36159 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36161 }
36162 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36164 }
36165 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36167 }
36168 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36170 }
36171 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36173 }
36174 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36176 }
36177 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36179 }
36180 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36182 }
36183 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36185 }
36186 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36187 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36188 }
36189 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36190 return (void *)((wxButton *) ((wxBitmapButton *) x));
36191 }
36192 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36193 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36194 }
36195 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36196 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36197 }
36198 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36199 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36200 }
36201 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36202 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36203 }
36204 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36205 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36206 }
36207 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36208 return (void *)((wxObject *) ((wxSizerItem *) x));
36209 }
36210 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36212 }
36213 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36214 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36215 }
36216 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36218 }
36219 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36220 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36221 }
36222 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36223 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36224 }
36225 static void *_p_wxSizerTo_p_wxObject(void *x) {
36226 return (void *)((wxObject *) ((wxSizer *) x));
36227 }
36228 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36229 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36230 }
36231 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36233 }
36234 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36236 }
36237 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36239 }
36240 static void *_p_wxEventTo_p_wxObject(void *x) {
36241 return (void *)((wxObject *) ((wxEvent *) x));
36242 }
36243 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36244 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36245 }
36246 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36247 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36248 }
36249 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36250 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36251 }
36252 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36254 }
36255 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36257 }
36258 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36260 }
36261 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36262 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36263 }
36264 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36265 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36266 }
36267 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36268 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36269 }
36270 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36271 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36272 }
36273 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36274 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36275 }
36276 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36277 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36278 }
36279 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36281 }
36282 static void *_p_wxControlTo_p_wxObject(void *x) {
36283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36284 }
36285 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36287 }
36288 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36290 }
36291 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36293 }
36294 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36296 }
36297 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36299 }
36300 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36301 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36302 }
36303 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36305 }
36306 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36307 return (void *)((wxObject *) ((wxFSFile *) x));
36308 }
36309 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36310 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36311 }
36312 static void *_p_wxListViewTo_p_wxObject(void *x) {
36313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36314 }
36315 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36317 }
36318 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36320 }
36321 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36322 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36323 }
36324 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36326 }
36327 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36329 }
36330 static void *_p_wxListbookTo_p_wxObject(void *x) {
36331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36332 }
36333 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36334 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36335 }
36336 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36338 }
36339 static void *_p_wxSliderTo_p_wxObject(void *x) {
36340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36341 }
36342 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36343 return (void *)((wxObject *) ((wxMenuItem *) x));
36344 }
36345 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36346 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36347 }
36348 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36349 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36350 }
36351 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36353 }
36354 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36355 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36356 }
36357 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36358 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36359 }
36360 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36361 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36362 }
36363 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36364 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36365 }
36366 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36368 }
36369 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36371 }
36372 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36374 }
36375 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) ((wxContextHelp *) x));
36377 }
36378 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36380 }
36381 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36383 }
36384 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36386 }
36387 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36389 }
36390 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36392 }
36393 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36395 }
36396 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36398 }
36399 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36401 }
36402 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36404 }
36405 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36407 }
36408 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36409 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36410 }
36411 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36412 return (void *)((wxObject *) ((wxImageHandler *) x));
36413 }
36414 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36415 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36416 }
36417 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36418 return (void *)((wxObject *) ((wxEvtHandler *) x));
36419 }
36420 static void *_p_wxListEventTo_p_wxObject(void *x) {
36421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36422 }
36423 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36425 }
36426 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36428 }
36429 static void *_p_wxButtonTo_p_wxObject(void *x) {
36430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36431 }
36432 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36434 }
36435 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36437 }
36438 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36440 }
36441 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36443 }
36444 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36446 }
36447 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36449 }
36450 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36452 }
36453 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36455 }
36456 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36458 }
36459 static void *_p_wxListItemTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) ((wxListItem *) x));
36461 }
36462 static void *_p_wxImageTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) ((wxImage *) x));
36464 }
36465 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36467 }
36468 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36470 }
36471 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36473 }
36474 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36476 }
36477 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36479 }
36480 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36482 }
36483 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36485 }
36486 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36488 }
36489 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36491 }
36492 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36494 }
36495 static void *_p_wxWindowTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36497 }
36498 static void *_p_wxMenuTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36500 }
36501 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36503 }
36504 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) ((wxFileSystem *) x));
36506 }
36507 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36509 }
36510 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36512 }
36513 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36515 }
36516 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36518 }
36519 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36521 }
36522 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36524 }
36525 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36527 }
36528 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36530 }
36531 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36533 }
36534 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36536 }
36537 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36539 }
36540 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36542 }
36543 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36545 }
36546 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36548 }
36549 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36551 }
36552 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36554 }
36555 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36556 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36557 }
36558 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36560 }
36561 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36562 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36563 }
36564 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36565 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36566 }
36567 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36568 return (void *)((wxWindow *) ((wxMenuBar *) x));
36569 }
36570 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36571 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36572 }
36573 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36574 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36575 }
36576 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36577 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36578 }
36579 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36580 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36581 }
36582 static void *_p_wxControlTo_p_wxWindow(void *x) {
36583 return (void *)((wxWindow *) ((wxControl *) x));
36584 }
36585 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36586 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36587 }
36588 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36589 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36590 }
36591 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36592 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36593 }
36594 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36595 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36596 }
36597 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36598 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36599 }
36600 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36601 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36602 }
36603 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36604 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36605 }
36606 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36607 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36608 }
36609 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36610 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36611 }
36612 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36613 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36614 }
36615 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36616 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36617 }
36618 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36619 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36620 }
36621 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36622 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36623 }
36624 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36625 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36626 }
36627 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36628 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36629 }
36630 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36631 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36632 }
36633 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36634 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36635 }
36636 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36637 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36638 }
36639 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36640 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36641 }
36642 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36643 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36644 }
36645 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36646 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36647 }
36648 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36649 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36650 }
36651 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36652 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36653 }
36654 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36655 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36656 }
36657 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36658 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36659 }
36660 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36661 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36662 }
36663 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36664 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36665 }
36666 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36667 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36668 }
36669 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36670 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36671 }
36672 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36673 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36674 }
36675 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36676 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36677 }
36678 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36679 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36680 }
36681 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36682 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36683 }
36684 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36685 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36686 }
36687 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36688 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36689 }
36690 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36691 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36692 }
36693 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36694 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36695 }
36696 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36697 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36698 }
36699 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36700 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36701 }
36702 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36703 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36704 }
36705 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36706 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36707 }
36708 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36709 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36710 }
36711 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36712 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36713 }
36714 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36715 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36716 }
36717 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36718 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36719 }
36720 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36721 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36722 }
36723 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36724 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36725 }
36726 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36727 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36728 }
36729 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36730 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36731 }
36732 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36733 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36734 }
36735 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36736 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36737 }
36738 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36739 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36740 }
36741 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
36742 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
36743 }
36744 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36745 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36746 }
36747 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36748 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36749 }
36750 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36751 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36752 }
36753 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36754 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36755 }
36756 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36757 return (void *)((wxValidator *) ((wxPyValidator *) x));
36758 }
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_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_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_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_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854
36855 static swig_type_info *swig_types_initial[] = {
36856 _swigt__p_wxTextUrlEvent,
36857 _swigt__p_wxCheckBox,
36858 _swigt__p_wxPyTreeCtrl,
36859 _swigt__p_wxEvent,
36860 _swigt__p_wxGenericDirCtrl,
36861 _swigt__p_bool,
36862 _swigt__p_wxItemContainer,
36863 _swigt__p_wxPyListCtrl,
36864 _swigt__p_wxPyTreeItemData,
36865 _swigt__p_wxDirFilterListCtrl,
36866 _swigt__p_wxStaticLine,
36867 _swigt__p_wxControl,
36868 _swigt__p_wxPyControl,
36869 _swigt__p_wxGauge,
36870 _swigt__p_wxToolBarBase,
36871 _swigt__p_wxFont,
36872 _swigt__p_wxToggleButton,
36873 _swigt__p_wxRadioButton,
36874 _swigt__p_wxChoice,
36875 _swigt__p_wxMemoryDC,
36876 _swigt__ptrdiff_t,
36877 _swigt__std__ptrdiff_t,
36878 _swigt__p_wxListItemAttr,
36879 _swigt__p_void,
36880 _swigt__p_int,
36881 _swigt__p_wxSize,
36882 _swigt__p_wxDC,
36883 _swigt__p_wxListView,
36884 _swigt__p_wxIcon,
36885 _swigt__p_wxVisualAttributes,
36886 _swigt__p_wxTextCtrl,
36887 _swigt__p_wxNotebook,
36888 _swigt__p_wxChoicebook,
36889 _swigt__p_wxNotifyEvent,
36890 _swigt__p_wxArrayString,
36891 _swigt__p_form_ops_t,
36892 _swigt__p_wxListbook,
36893 _swigt__p_wxStaticBitmap,
36894 _swigt__p_wxSlider,
36895 _swigt__p_wxStaticBox,
36896 _swigt__p_wxArrayInt,
36897 _swigt__p_wxContextHelp,
36898 _swigt__p_long,
36899 _swigt__p_wxDuplexMode,
36900 _swigt__p_wxBookCtrlBase,
36901 _swigt__p_wxEvtHandler,
36902 _swigt__p_wxListEvent,
36903 _swigt__p_wxCheckListBox,
36904 _swigt__p_wxListBox,
36905 _swigt__p_wxSpinButton,
36906 _swigt__p_wxButton,
36907 _swigt__p_wxBitmapButton,
36908 _swigt__p_wxRect,
36909 _swigt__p_wxContextHelpButton,
36910 _swigt__p_wxRadioBox,
36911 _swigt__p_wxScrollBar,
36912 _swigt__p_char,
36913 _swigt__p_wxComboBox,
36914 _swigt__p_wxTreeItemId,
36915 _swigt__p_wxHelpEvent,
36916 _swigt__p_wxListItem,
36917 _swigt__p_wxSpinEvent,
36918 _swigt__p_wxGenericDragImage,
36919 _swigt__p_wxSpinCtrl,
36920 _swigt__p_wxPaperSize,
36921 _swigt__p_wxImageList,
36922 _swigt__p_wxHelpProvider,
36923 _swigt__p_wxTextAttr,
36924 _swigt__p_wxSimpleHelpProvider,
36925 _swigt__p_wxChoicebookEvent,
36926 _swigt__p_wxListbookEvent,
36927 _swigt__p_wxNotebookEvent,
36928 _swigt__p_wxPoint,
36929 _swigt__p_wxObject,
36930 _swigt__p_wxCursor,
36931 _swigt__p_wxDateTime,
36932 _swigt__p_wxKeyEvent,
36933 _swigt__p_unsigned_long,
36934 _swigt__p_wxWindow,
36935 _swigt__p_wxString,
36936 _swigt__p_wxBitmap,
36937 _swigt__unsigned_int,
36938 _swigt__p_unsigned_int,
36939 _swigt__p_unsigned_char,
36940 _swigt__p_wxMouseEvent,
36941 _swigt__p_wxBookCtrlBaseEvent,
36942 _swigt__p_wxTreeEvent,
36943 _swigt__p_wxCommandEvent,
36944 _swigt__p_wxStaticText,
36945 _swigt__p_wxDatePickerCtrl,
36946 _swigt__p_wxControlWithItems,
36947 _swigt__p_wxToolBarToolBase,
36948 _swigt__p_wxColour,
36949 _swigt__p_wxToolBar,
36950 _swigt__p_wxValidator,
36951 0
36952 };
36953
36954
36955 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36956
36957 static swig_const_info swig_const_table[] = {
36958 {0, 0, 0, 0.0, 0, 0}};
36959
36960 #ifdef __cplusplus
36961 }
36962 #endif
36963
36964
36965 #ifdef __cplusplus
36966 extern "C" {
36967 #endif
36968
36969 /* Python-specific SWIG API */
36970 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36971 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36972 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36973
36974 /* -----------------------------------------------------------------------------
36975 * global variable support code.
36976 * ----------------------------------------------------------------------------- */
36977
36978 typedef struct swig_globalvar {
36979 char *name; /* Name of global variable */
36980 PyObject *(*get_attr)(); /* Return the current value */
36981 int (*set_attr)(PyObject *); /* Set the value */
36982 struct swig_globalvar *next;
36983 } swig_globalvar;
36984
36985 typedef struct swig_varlinkobject {
36986 PyObject_HEAD
36987 swig_globalvar *vars;
36988 } swig_varlinkobject;
36989
36990 static PyObject *
36991 swig_varlink_repr(swig_varlinkobject *v) {
36992 v = v;
36993 return PyString_FromString("<Swig global variables>");
36994 }
36995
36996 static int
36997 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36998 swig_globalvar *var;
36999 flags = flags;
37000 fprintf(fp,"Swig global variables { ");
37001 for (var = v->vars; var; var=var->next) {
37002 fprintf(fp,"%s", var->name);
37003 if (var->next) fprintf(fp,", ");
37004 }
37005 fprintf(fp," }\n");
37006 return 0;
37007 }
37008
37009 static PyObject *
37010 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37011 swig_globalvar *var = v->vars;
37012 while (var) {
37013 if (strcmp(var->name,n) == 0) {
37014 return (*var->get_attr)();
37015 }
37016 var = var->next;
37017 }
37018 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37019 return NULL;
37020 }
37021
37022 static int
37023 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37024 swig_globalvar *var = v->vars;
37025 while (var) {
37026 if (strcmp(var->name,n) == 0) {
37027 return (*var->set_attr)(p);
37028 }
37029 var = var->next;
37030 }
37031 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37032 return 1;
37033 }
37034
37035 static PyTypeObject varlinktype = {
37036 PyObject_HEAD_INIT(0)
37037 0, /* Number of items in variable part (ob_size) */
37038 (char *)"swigvarlink", /* Type name (tp_name) */
37039 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37040 0, /* Itemsize (tp_itemsize) */
37041 0, /* Deallocator (tp_dealloc) */
37042 (printfunc) swig_varlink_print, /* Print (tp_print) */
37043 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37044 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37045 0, /* tp_compare */
37046 (reprfunc) swig_varlink_repr, /* tp_repr */
37047 0, /* tp_as_number */
37048 0, /* tp_as_sequence */
37049 0, /* tp_as_mapping */
37050 0, /* tp_hash */
37051 0, /* tp_call */
37052 0, /* tp_str */
37053 0, /* tp_getattro */
37054 0, /* tp_setattro */
37055 0, /* tp_as_buffer */
37056 0, /* tp_flags */
37057 0, /* tp_doc */
37058 #if PY_VERSION_HEX >= 0x02000000
37059 0, /* tp_traverse */
37060 0, /* tp_clear */
37061 #endif
37062 #if PY_VERSION_HEX >= 0x02010000
37063 0, /* tp_richcompare */
37064 0, /* tp_weaklistoffset */
37065 #endif
37066 #if PY_VERSION_HEX >= 0x02020000
37067 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37068 #endif
37069 #if PY_VERSION_HEX >= 0x02030000
37070 0, /* tp_del */
37071 #endif
37072 #ifdef COUNT_ALLOCS
37073 0,0,0,0 /* tp_alloc -> tp_next */
37074 #endif
37075 };
37076
37077 /* Create a variable linking object for use later */
37078 static PyObject *
37079 SWIG_Python_newvarlink(void) {
37080 swig_varlinkobject *result = 0;
37081 result = PyMem_NEW(swig_varlinkobject,1);
37082 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37083 result->ob_type = &varlinktype;
37084 result->vars = 0;
37085 result->ob_refcnt = 0;
37086 Py_XINCREF((PyObject *) result);
37087 return ((PyObject*) result);
37088 }
37089
37090 static void
37091 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37092 swig_varlinkobject *v;
37093 swig_globalvar *gv;
37094 v= (swig_varlinkobject *) p;
37095 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37096 gv->name = (char *) malloc(strlen(name)+1);
37097 strcpy(gv->name,name);
37098 gv->get_attr = get_attr;
37099 gv->set_attr = set_attr;
37100 gv->next = v->vars;
37101 v->vars = gv;
37102 }
37103
37104 /* -----------------------------------------------------------------------------
37105 * constants/methods manipulation
37106 * ----------------------------------------------------------------------------- */
37107
37108 /* Install Constants */
37109 static void
37110 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37111 PyObject *obj = 0;
37112 size_t i;
37113 for (i = 0; constants[i].type; i++) {
37114 switch(constants[i].type) {
37115 case SWIG_PY_INT:
37116 obj = PyInt_FromLong(constants[i].lvalue);
37117 break;
37118 case SWIG_PY_FLOAT:
37119 obj = PyFloat_FromDouble(constants[i].dvalue);
37120 break;
37121 case SWIG_PY_STRING:
37122 if (constants[i].pvalue) {
37123 obj = PyString_FromString((char *) constants[i].pvalue);
37124 } else {
37125 Py_INCREF(Py_None);
37126 obj = Py_None;
37127 }
37128 break;
37129 case SWIG_PY_POINTER:
37130 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37131 break;
37132 case SWIG_PY_BINARY:
37133 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37134 break;
37135 default:
37136 obj = 0;
37137 break;
37138 }
37139 if (obj) {
37140 PyDict_SetItemString(d,constants[i].name,obj);
37141 Py_DECREF(obj);
37142 }
37143 }
37144 }
37145
37146 /* -----------------------------------------------------------------------------*/
37147 /* Fix SwigMethods to carry the callback ptrs when needed */
37148 /* -----------------------------------------------------------------------------*/
37149
37150 static void
37151 SWIG_Python_FixMethods(PyMethodDef *methods,
37152 swig_const_info *const_table,
37153 swig_type_info **types,
37154 swig_type_info **types_initial) {
37155 size_t i;
37156 for (i = 0; methods[i].ml_name; ++i) {
37157 char *c = methods[i].ml_doc;
37158 if (c && (c = strstr(c, "swig_ptr: "))) {
37159 int j;
37160 swig_const_info *ci = 0;
37161 char *name = c + 10;
37162 for (j = 0; const_table[j].type; j++) {
37163 if (strncmp(const_table[j].name, name,
37164 strlen(const_table[j].name)) == 0) {
37165 ci = &(const_table[j]);
37166 break;
37167 }
37168 }
37169 if (ci) {
37170 size_t shift = (ci->ptype) - types;
37171 swig_type_info *ty = types_initial[shift];
37172 size_t ldoc = (c - methods[i].ml_doc);
37173 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37174 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37175 char *buff = ndoc;
37176 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37177 strncpy(buff, methods[i].ml_doc, ldoc);
37178 buff += ldoc;
37179 strncpy(buff, "swig_ptr: ", 10);
37180 buff += 10;
37181 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37182 methods[i].ml_doc = ndoc;
37183 }
37184 }
37185 }
37186 }
37187
37188 /* -----------------------------------------------------------------------------*
37189 * Initialize type list
37190 * -----------------------------------------------------------------------------*/
37191
37192 #if PY_MAJOR_VERSION < 2
37193 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37194 is copied out of Python/modsupport.c in python version 2.3.4 */
37195 static int
37196 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37197 {
37198 PyObject *dict;
37199 if (!PyModule_Check(m)) {
37200 PyErr_SetString(PyExc_TypeError,
37201 "PyModule_AddObject() needs module as first arg");
37202 return -1;
37203 }
37204 if (!o) {
37205 PyErr_SetString(PyExc_TypeError,
37206 "PyModule_AddObject() needs non-NULL value");
37207 return -1;
37208 }
37209
37210 dict = PyModule_GetDict(m);
37211 if (dict == NULL) {
37212 /* Internal error -- modules must have a dict! */
37213 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37214 PyModule_GetName(m));
37215 return -1;
37216 }
37217 if (PyDict_SetItemString(dict, name, o))
37218 return -1;
37219 Py_DECREF(o);
37220 return 0;
37221 }
37222 #endif
37223
37224 static swig_type_info **
37225 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37226 static PyMethodDef swig_empty_runtime_method_table[] = {
37227 {
37228 NULL, NULL, 0, NULL
37229 }
37230 };/* Sentinel */
37231
37232 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37233 swig_empty_runtime_method_table);
37234 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37235 if (pointer && module) {
37236 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37237 }
37238 return type_list_handle;
37239 }
37240
37241 static swig_type_info **
37242 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37243 swig_type_info **type_pointer;
37244
37245 /* first check if module already created */
37246 type_pointer = SWIG_Python_GetTypeListHandle();
37247 if (type_pointer) {
37248 return type_pointer;
37249 } else {
37250 /* create a new module and variable */
37251 return SWIG_Python_SetTypeListHandle(type_list_handle);
37252 }
37253 }
37254
37255 #ifdef __cplusplus
37256 }
37257 #endif
37258
37259 /* -----------------------------------------------------------------------------*
37260 * Partial Init method
37261 * -----------------------------------------------------------------------------*/
37262
37263 #ifdef SWIG_LINK_RUNTIME
37264 #ifdef __cplusplus
37265 extern "C"
37266 #endif
37267 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37268 #endif
37269
37270 #ifdef __cplusplus
37271 extern "C"
37272 #endif
37273 SWIGEXPORT(void) SWIG_init(void) {
37274 static PyObject *SWIG_globals = 0;
37275 static int typeinit = 0;
37276 PyObject *m, *d;
37277 int i;
37278 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37279
37280 /* Fix SwigMethods to carry the callback ptrs when needed */
37281 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37282
37283 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37284 d = PyModule_GetDict(m);
37285
37286 if (!typeinit) {
37287 #ifdef SWIG_LINK_RUNTIME
37288 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37289 #else
37290 # ifndef SWIG_STATIC_RUNTIME
37291 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37292 # endif
37293 #endif
37294 for (i = 0; swig_types_initial[i]; i++) {
37295 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37296 }
37297 typeinit = 1;
37298 }
37299 SWIG_InstallConstants(d,swig_const_table);
37300
37301 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37302 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37303 {
37304 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37308 }
37309 {
37310 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37311 }
37312 {
37313 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37314 }
37315 {
37316 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37317 }
37318 {
37319 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37320 }
37321 {
37322 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37323 }
37324 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37325 {
37326 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37327 }
37328 {
37329 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37330 }
37331 {
37332 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37333 }
37334 {
37335 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37336 }
37337 {
37338 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37339 }
37340 {
37341 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37342 }
37343 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37344 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37345 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37346 {
37347 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37348 }
37349 {
37350 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37351 }
37352 {
37353 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37354 }
37355 {
37356 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37357 }
37358 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37359 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37360 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37361 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37362 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37363 {
37364 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37368 }
37369 {
37370 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37371 }
37372 {
37373 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37374 }
37375 {
37376 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37377 }
37378 {
37379 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37380 }
37381 {
37382 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37383 }
37384 {
37385 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37386 }
37387 {
37388 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37392 }
37393 {
37394 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37395 }
37396 {
37397 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37398 }
37399 {
37400 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37401 }
37402 {
37403 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37404 }
37405 {
37406 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37407 }
37408 {
37409 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37410 }
37411 {
37412 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37413 }
37414 {
37415 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37416 }
37417 {
37418 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37419 }
37420 {
37421 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37425 }
37426 {
37427 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37431 }
37432 {
37433 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37434 }
37435 {
37436 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37437 }
37438 {
37439 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37440 }
37441 {
37442 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37443 }
37444 {
37445 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37446 }
37447 {
37448 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37449 }
37450 {
37451 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37452 }
37453 {
37454 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37455 }
37456 {
37457 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37458 }
37459 {
37460 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37461 }
37462 {
37463 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37464 }
37465 {
37466 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37467 }
37468 {
37469 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37470 }
37471 {
37472 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37473 }
37474 {
37475 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37476 }
37477 {
37478 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37479 }
37480 {
37481 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37482 }
37483 {
37484 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37485 }
37486 {
37487 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37488 }
37489 {
37490 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37491 }
37492 {
37493 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37494 }
37495 {
37496 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37497 }
37498 {
37499 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37500 }
37501 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37502 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37503 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37504 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37505 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37506 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37507 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37508 {
37509 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37519 }
37520 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37521 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37522 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37523 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37524 {
37525 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37535 }
37536 {
37537 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37538 }
37539 {
37540 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37541 }
37542 {
37543 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37544 }
37545 {
37546 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37547 }
37548 {
37549 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37550 }
37551 {
37552 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37553 }
37554 {
37555 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37556 }
37557 {
37558 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37559 }
37560 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37561 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37562 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37563 {
37564 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37565 }
37566 {
37567 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37568 }
37569 {
37570 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37595 }
37596 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37597 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37598 {
37599 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37606 }
37607 {
37608 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37609 }
37610 {
37611 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37615 }
37616 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37617 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37618 {
37619 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37620 }
37621 {
37622 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37623 }
37624 {
37625 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37635 }
37636 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37637 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37638 {
37639 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37679 }
37680 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37681 {
37682 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37758 }
37759 {
37760 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37764 }
37765 {
37766 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37776 }
37777 {
37778 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37779 }
37780 {
37781 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37782 }
37783 {
37784 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37785 }
37786 {
37787 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37788 }
37789 {
37790 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37791 }
37792 {
37793 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37794 }
37795 {
37796 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37797 }
37798 {
37799 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37800 }
37801 {
37802 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37803 }
37804 {
37805 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37806 }
37807 {
37808 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37809 }
37810 {
37811 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37812 }
37813 {
37814 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37815 }
37816 {
37817 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37818 }
37819 {
37820 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37821 }
37822 {
37823 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37824 }
37825 {
37826 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37827 }
37828 {
37829 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37830 }
37831 {
37832 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37833 }
37834 {
37835 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37836 }
37837 {
37838 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37839 }
37840 {
37841 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37842 }
37843 {
37844 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37845 }
37846 {
37847 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37848 }
37849 {
37850 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37851 }
37852 {
37853 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37854 }
37855 {
37856 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37857 }
37858 {
37859 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37860 }
37861 {
37862 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37863 }
37864 {
37865 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37866 }
37867 {
37868 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37869 }
37870 {
37871 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37872 }
37873 {
37874 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37875 }
37876 {
37877 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37878 }
37879 {
37880 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37881 }
37882 {
37883 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37884 }
37885 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37886 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37887 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37888 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37889 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37890 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37891 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37892 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37893 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37894 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37895 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37896 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37897 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37898 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37899 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37900 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37901 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37902 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37903 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37904 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37905
37906 // Map renamed classes back to their common name for OOR
37907 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37908
37909 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37910 {
37911 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37924 }
37925 {
37926 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37927 }
37928 {
37929 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37930 }
37931 {
37932 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37933 }
37934 {
37935 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37936 }
37937 {
37938 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37939 }
37940 {
37941 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37942 }
37943 {
37944 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37945 }
37946 {
37947 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37948 }
37949 {
37950 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37951 }
37952 {
37953 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37954 }
37955 {
37956 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37957 }
37958 {
37959 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37960 }
37961 {
37962 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37963 }
37964 {
37965 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37966 }
37967 {
37968 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37969 }
37970 {
37971 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37972 }
37973 {
37974 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37978 }
37979 {
37980 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37981 }
37982 {
37983 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37984 }
37985 {
37986 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37987 }
37988 {
37989 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37990 }
37991 {
37992 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37993 }
37994 {
37995 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37996 }
37997 {
37998 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37999 }
38000 {
38001 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38002 }
38003 {
38004 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38005 }
38006 {
38007 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38008 }
38009 {
38010 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38011 }
38012 {
38013 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38014 }
38015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38017 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38018 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38019 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38020 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38034 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38035 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38036
38037 // Map renamed classes back to their common name for OOR
38038 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38039 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38040
38041 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38042 {
38043 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38056 }
38057 {
38058 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38059 }
38060 {
38061 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38062 }
38063 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38064 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38065
38066 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38067
38068 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38069 {
38070 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38071 }
38072 {
38073 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38074 }
38075 {
38076 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38077 }
38078 {
38079 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38080 }
38081 {
38082 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38083 }
38084 }
38085