]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
Documentation fixes, patch 1179223 by Andreas Mohr
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info *swig_types[99];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1448
1449 #define SWIG_name "_controls_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyControlNameStr(wxControlNameStr);
1457
1458 const wxArrayString wxPyEmptyStringArray;
1459
1460 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1461
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1464 /*@@*/
1465
1466
1467 #include <limits.h>
1468
1469
1470 SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
1473 {
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value, errmsg, max_value);
1486 }
1487 return 0;
1488 }
1489 return 1;
1490 }
1491
1492
1493 SWIGINTERN int
1494 SWIG_AsVal_long(PyObject* obj, long* val)
1495 {
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504 }
1505
1506
1507 #if INT_MAX != LONG_MAX
1508 SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
1510 {
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
1516 return 1;
1517 } else {
1518 return 0;
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error(errmsg, obj);
1525 }
1526 return 0;
1527 }
1528 #else
1529 SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
1531 {
1532 return SWIG_AsVal_long(obj,(long*)val);
1533 }
1534 #endif
1535
1536
1537 SWIGINTERNSHORT int
1538 SWIG_As_int(PyObject* obj)
1539 {
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
1543 this is needed to make valgrind/purify happier.
1544 */
1545 memset((void*)&v, 0, sizeof(int));
1546 }
1547 return v;
1548 }
1549
1550
1551 SWIGINTERNSHORT long
1552 SWIG_As_long(PyObject* obj)
1553 {
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
1557 this is needed to make valgrind/purify happier.
1558 */
1559 memset((void*)&v, 0, sizeof(long));
1560 }
1561 return v;
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_int(PyObject* obj)
1567 {
1568 return SWIG_AsVal_int(obj, (int*)0);
1569 }
1570
1571
1572 SWIGINTERNSHORT int
1573 SWIG_Check_long(PyObject* obj)
1574 {
1575 return SWIG_AsVal_long(obj, (long*)0);
1576 }
1577
1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1579
1580 SWIGINTERN int
1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
1582 {
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
1589 return 1;
1590 }
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
1593 if (val) *val = res ? true : false;
1594 return 1;
1595 } else {
1596 PyErr_Clear();
1597 }
1598 if (val) {
1599 SWIG_type_error("bool", obj);
1600 }
1601 return 0;
1602 }
1603
1604
1605 SWIGINTERNSHORT bool
1606 SWIG_As_bool(PyObject* obj)
1607 {
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
1611 this is needed to make valgrind/purify happier.
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616 }
1617
1618
1619 SWIGINTERNSHORT int
1620 SWIG_Check_bool(PyObject* obj)
1621 {
1622 return SWIG_AsVal_bool(obj, (bool*)0);
1623 }
1624
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1627
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1630 /*@@*/
1631
1632
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
1650
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
1658
1659
1660 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1661 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1662 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1663 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1664
1665 #include <wx/checklst.h>
1666
1667
1668 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1669 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1670 if (clientData) {
1671 wxPyClientData* data = new wxPyClientData(clientData);
1672 self->Insert(item, pos, data);
1673 } else
1674 self->Insert(item, pos);
1675 }
1676 static PyObject *wxListBox_GetSelections(wxListBox *self){
1677 wxArrayInt lst;
1678 self->GetSelections(lst);
1679 PyObject *tup = PyTuple_New(lst.GetCount());
1680 for(size_t i=0; i<lst.GetCount(); i++) {
1681 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1682 }
1683 return tup;
1684 }
1685 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1686 #ifdef __WXMSW__
1687 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1688 self->GetItem(item)->SetTextColour(c);
1689 #endif
1690 }
1691 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1692 #ifdef __WXMSW__
1693 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1694 self->GetItem(item)->SetBackgroundColour(c);
1695 #endif
1696 }
1697 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1698 #ifdef __WXMSW__
1699 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1700 self->GetItem(item)->SetFont(f);
1701 #endif
1702 }
1703 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1704
1705 SWIGINTERN int
1706 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1707 {
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1710 SWIG_type_error("unsigned number", obj);
1711 }
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
1715 }
1716
1717
1718 SWIGINTERNSHORT unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject* obj)
1720 {
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
1724 this is needed to make valgrind/purify happier.
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
1727 }
1728 return v;
1729 }
1730
1731
1732 SWIGINTERNSHORT int
1733 SWIG_Check_unsigned_SS_long(PyObject* obj)
1734 {
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1736 }
1737
1738 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1739 self->AppendText(text);
1740 }
1741 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1742 return self->GetValue().Mid(from, to - from);
1743 }
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1749 static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1750 static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1751 static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
1752
1753 #include <wx/slider.h>
1754
1755
1756 static const wxString wxPySliderNameStr(wxSliderNameStr);
1757 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1758
1759 #if !wxUSE_TOGGLEBTN
1760 // implement dummy items for platforms that don't have this class
1761
1762 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1763
1764 class wxToggleButton : public wxControl
1765 {
1766 public:
1767 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1768 const wxPoint&, const wxSize&, long,
1769 const wxValidator&, const wxString&)
1770 { wxPyRaiseNotImplemented(); }
1771
1772 wxToggleButton()
1773 { wxPyRaiseNotImplemented(); }
1774 };
1775 #endif
1776
1777 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1778
1779 SWIGINTERNSHORT PyObject*
1780 SWIG_From_unsigned_SS_long(unsigned long value)
1781 {
1782 return (value > LONG_MAX) ?
1783 PyLong_FromUnsignedLong(value)
1784 : PyInt_FromLong((long)(value));
1785 }
1786
1787 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1788 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1789 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1790 if (udata) {
1791 Py_INCREF(udata->m_obj);
1792 return udata->m_obj;
1793 } else {
1794 Py_INCREF(Py_None);
1795 return Py_None;
1796 }
1797 }
1798 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1799 self->SetClientData(new wxPyUserData(clientData));
1800 }
1801 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1802 wxPyUserData* udata = NULL;
1803 if (clientData && clientData != Py_None)
1804 udata = new wxPyUserData(clientData);
1805 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1806 shortHelp, longHelp, udata);
1807 }
1808 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1809 wxPyUserData* udata = NULL;
1810 if (clientData && clientData != Py_None)
1811 udata = new wxPyUserData(clientData);
1812 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1813 shortHelp, longHelp, udata);
1814 }
1815 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1816 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1817 if (udata) {
1818 Py_INCREF(udata->m_obj);
1819 return udata->m_obj;
1820 } else {
1821 Py_INCREF(Py_None);
1822 return Py_None;
1823 }
1824 }
1825 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1826 self->SetToolClientData(id, new wxPyUserData(clientData));
1827 }
1828
1829 #include <wx/listctrl.h>
1830
1831 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1832 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1835 int retval = 0;
1836 PyObject* func = (PyObject*)funcPtr;
1837 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1838
1839 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1840 PyObject* result = PyEval_CallObject(func, args);
1841 Py_DECREF(args);
1842 if (result) {
1843 retval = PyInt_AsLong(result);
1844 Py_DECREF(result);
1845 }
1846
1847 wxPyEndBlockThreads(blocked);
1848 return retval;
1849 }
1850
1851 // C++ Version of a Python aware class
1852 class wxPyListCtrl : public wxListCtrl {
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1854 public:
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1857 const wxPoint& pos,
1858 const wxSize& size,
1859 long style,
1860 const wxValidator& validator,
1861 const wxString& name) :
1862 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1863
1864 bool Create(wxWindow* parent, wxWindowID id,
1865 const wxPoint& pos,
1866 const wxSize& size,
1867 long style,
1868 const wxValidator& validator,
1869 const wxString& name) {
1870 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1871 }
1872
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1875
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1878
1879 PYPRIVATE;
1880 };
1881
1882 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1883
1884 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1885 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1886 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1887
1888
1889 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1890 wxListItem item;
1891 item.SetMask( wxLIST_MASK_STATE |
1892 wxLIST_MASK_TEXT |
1893 wxLIST_MASK_IMAGE |
1894 wxLIST_MASK_DATA |
1895 wxLIST_SET_ITEM |
1896 wxLIST_MASK_WIDTH |
1897 wxLIST_MASK_FORMAT
1898 );
1899 if (self->GetColumn(col, item))
1900 return new wxListItem(item);
1901 else
1902 return NULL;
1903 }
1904 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1905 wxListItem* info = new wxListItem;
1906 info->m_itemId = itemId;
1907 info->m_col = col;
1908 info->m_mask = 0xFFFF;
1909 self->GetItem(*info);
1910 return info;
1911 }
1912 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1913 wxPoint pos;
1914 self->GetItemPosition(item, pos);
1915 return pos;
1916 }
1917 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1918 wxRect rect;
1919 self->GetItemRect(item, rect, code);
1920 return rect;
1921 }
1922
1923 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1924 if (!PyCallable_Check(func))
1925 return false;
1926 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1927 }
1928 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1929
1930
1931
1932 return (wxWindow*)self->m_mainWin;
1933
1934 }
1935
1936 #include <wx/treectrl.h>
1937 #include "wx/wxPython/pytree.h"
1938
1939 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1940 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1941 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1942 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1943 // C++ version of Python aware wxTreeCtrl
1944 class wxPyTreeCtrl : public wxTreeCtrl {
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1946 public:
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1949 const wxPoint& pos,
1950 const wxSize& size,
1951 long style,
1952 const wxValidator& validator,
1953 const wxString& name) :
1954 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1955
1956 bool Create(wxWindow *parent, wxWindowID id,
1957 const wxPoint& pos,
1958 const wxSize& size,
1959 long style,
1960 const wxValidator& validator,
1961 const wxString& name) {
1962 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1963 }
1964
1965
1966 int OnCompareItems(const wxTreeItemId& item1,
1967 const wxTreeItemId& item2) {
1968 int rval = 0;
1969 bool found;
1970 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1971 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1972 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1973 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1974 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1975 Py_DECREF(o1);
1976 Py_DECREF(o2);
1977 }
1978 wxPyEndBlockThreads(blocked);
1979 if (! found)
1980 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1981 return rval;
1982 }
1983 PYPRIVATE;
1984 };
1985
1986 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1987
1988
1989
1990 #if UINT_MAX < LONG_MAX
1991 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1992 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@@*/
1994 #else
1995 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1996 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 /*@@*/
1998 #endif
1999
2000
2001 SWIGINTERNSHORT int
2002 SWIG_CheckUnsignedLongInRange(unsigned long value,
2003 unsigned long max_value,
2004 const char *errmsg)
2005 {
2006 if (value > max_value) {
2007 if (errmsg) {
2008 PyErr_Format(PyExc_OverflowError,
2009 "value %lu is greater than '%s' minimum %lu",
2010 value, errmsg, max_value);
2011 }
2012 return 0;
2013 }
2014 return 1;
2015 }
2016
2017
2018 #if UINT_MAX != ULONG_MAX
2019 SWIGINTERN int
2020 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2021 {
2022 const char* errmsg = val ? "unsigned int" : (char*)0;
2023 unsigned long v;
2024 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2025 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2026 if (val) *val = (unsigned int)(v);
2027 return 1;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
2033 SWIG_type_error(errmsg, obj);
2034 }
2035 return 0;
2036 }
2037 #else
2038 SWIGINTERNSHORT unsigned int
2039 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2040 {
2041 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2042 }
2043 #endif
2044
2045
2046 SWIGINTERNSHORT unsigned int
2047 SWIG_As_unsigned_SS_int(PyObject* obj)
2048 {
2049 unsigned int v;
2050 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2051 /*
2052 this is needed to make valgrind/purify happier.
2053 */
2054 memset((void*)&v, 0, sizeof(unsigned int));
2055 }
2056 return v;
2057 }
2058
2059
2060 SWIGINTERNSHORT int
2061 SWIG_Check_unsigned_SS_int(PyObject* obj)
2062 {
2063 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2064 }
2065
2066 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2067 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2068 if (data == NULL) {
2069 data = new wxPyTreeItemData();
2070 data->SetId(item); // set the id
2071 self->SetItemData(item, data);
2072 }
2073 return data;
2074 }
2075 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2076 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2077 if (data == NULL) {
2078 data = new wxPyTreeItemData();
2079 data->SetId(item); // set the id
2080 self->SetItemData(item, data);
2081 }
2082 return data->GetData();
2083 }
2084 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2085 data->SetId(item); // set the id
2086 self->SetItemData(item, data);
2087 }
2088 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2089 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2090 if (data == NULL) {
2091 data = new wxPyTreeItemData(obj);
2092 data->SetId(item); // set the id
2093 self->SetItemData(item, data);
2094 } else
2095 data->SetData(obj);
2096 }
2097 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2099 PyObject* rval = PyList_New(0);
2100 wxArrayTreeItemIds array;
2101 size_t num, x;
2102 num = self->GetSelections(array);
2103 for (x=0; x < num; x++) {
2104 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2105 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval, item);
2107 Py_DECREF(item);
2108 }
2109 wxPyEndBlockThreads(blocked);
2110 return rval;
2111 }
2112 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2113 void* cookie = 0;
2114 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2115 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2116 PyObject* tup = PyTuple_New(2);
2117 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2118 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2119 wxPyEndBlockThreads(blocked);
2120 return tup;
2121 }
2122 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2123 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2124 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2125 PyObject* tup = PyTuple_New(2);
2126 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2127 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2128 wxPyEndBlockThreads(blocked);
2129 return tup;
2130 }
2131 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2132 wxRect rect;
2133 if (self->GetBoundingRect(item, rect, textOnly)) {
2134 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2135 wxRect* r = new wxRect(rect);
2136 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2137 wxPyEndBlockThreads(blocked);
2138 return val;
2139 }
2140 else
2141 RETURN_NONE();
2142 }
2143 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2144
2145 SWIGINTERNSHORT PyObject*
2146 SWIG_From_bool(bool value)
2147 {
2148 PyObject *obj = value ? Py_True : Py_False;
2149 Py_INCREF(obj);
2150 return obj;
2151 }
2152
2153
2154 // C++ version of Python aware wxControl
2155 class wxPyControl : public wxControl
2156 {
2157 DECLARE_DYNAMIC_CLASS(wxPyControl)
2158 public:
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow* parent, const wxWindowID id,
2161 const wxPoint& pos = wxDefaultPosition,
2162 const wxSize& size = wxDefaultSize,
2163 long style = 0,
2164 const wxValidator& validator=wxDefaultValidator,
2165 const wxString& name = wxPyControlNameStr)
2166 : wxControl(parent, id, pos, size, style, validator, name) {}
2167
2168 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2169
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2174
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2178
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2181
2182 DEC_PYCALLBACK__(InitDialog);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2185 DEC_PYCALLBACK_BOOL_(Validate);
2186
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2190
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2193
2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2195 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2197
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2199
2200 PYPRIVATE;
2201 };
2202
2203 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2204
2205 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2206 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2209
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2213
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2215 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2216
2217 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2220 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2221
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2223 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2225
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2227 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2228
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2230 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
2231 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2232
2233 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2234
2235
2236
2237 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2238
2239 #include <wx/generic/dragimgg.h>
2240
2241 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2242 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2243 wxDateTime rv;
2244 self->GetRange(&rv, NULL);
2245 return rv;
2246 }
2247 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2248 wxDateTime rv;
2249 self->GetRange(NULL, &rv);
2250 return rv;
2251 }
2252 #ifdef __cplusplus
2253 extern "C" {
2254 #endif
2255 static int _wrap_ButtonNameStr_set(PyObject *) {
2256 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2257 return 1;
2258 }
2259
2260
2261 static PyObject *_wrap_ButtonNameStr_get(void) {
2262 PyObject *pyobj;
2263
2264 {
2265 #if wxUSE_UNICODE
2266 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2267 #else
2268 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2269 #endif
2270 }
2271 return pyobj;
2272 }
2273
2274
2275 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxWindow *arg1 = (wxWindow *) 0 ;
2278 int arg2 = (int) -1 ;
2279 wxString const &arg3_defvalue = wxPyEmptyString ;
2280 wxString *arg3 = (wxString *) &arg3_defvalue ;
2281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2283 wxSize const &arg5_defvalue = wxDefaultSize ;
2284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2285 long arg6 = (long) 0 ;
2286 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2287 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2288 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2289 wxString *arg8 = (wxString *) &arg8_defvalue ;
2290 wxButton *result;
2291 bool temp3 = false ;
2292 wxPoint temp4 ;
2293 wxSize temp5 ;
2294 bool temp8 = false ;
2295 PyObject * obj0 = 0 ;
2296 PyObject * obj1 = 0 ;
2297 PyObject * obj2 = 0 ;
2298 PyObject * obj3 = 0 ;
2299 PyObject * obj4 = 0 ;
2300 PyObject * obj5 = 0 ;
2301 PyObject * obj6 = 0 ;
2302 PyObject * obj7 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2309 if (SWIG_arg_fail(1)) SWIG_fail;
2310 if (obj1) {
2311 {
2312 arg2 = (int)(SWIG_As_int(obj1));
2313 if (SWIG_arg_fail(2)) SWIG_fail;
2314 }
2315 }
2316 if (obj2) {
2317 {
2318 arg3 = wxString_in_helper(obj2);
2319 if (arg3 == NULL) SWIG_fail;
2320 temp3 = true;
2321 }
2322 }
2323 if (obj3) {
2324 {
2325 arg4 = &temp4;
2326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2327 }
2328 }
2329 if (obj4) {
2330 {
2331 arg5 = &temp5;
2332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2333 }
2334 }
2335 if (obj5) {
2336 {
2337 arg6 = (long)(SWIG_As_long(obj5));
2338 if (SWIG_arg_fail(6)) SWIG_fail;
2339 }
2340 }
2341 if (obj6) {
2342 {
2343 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 if (arg7 == NULL) {
2346 SWIG_null_ref("wxValidator");
2347 }
2348 if (SWIG_arg_fail(7)) SWIG_fail;
2349 }
2350 }
2351 if (obj7) {
2352 {
2353 arg8 = wxString_in_helper(obj7);
2354 if (arg8 == NULL) SWIG_fail;
2355 temp8 = true;
2356 }
2357 }
2358 {
2359 if (!wxPyCheckForApp()) SWIG_fail;
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 }
2366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2367 {
2368 if (temp3)
2369 delete arg3;
2370 }
2371 {
2372 if (temp8)
2373 delete arg8;
2374 }
2375 return resultobj;
2376 fail:
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return NULL;
2386 }
2387
2388
2389 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 wxButton *result;
2392 char *kwnames[] = {
2393 NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2397 {
2398 if (!wxPyCheckForApp()) SWIG_fail;
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (wxButton *)new wxButton();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxButton *arg1 = (wxButton *) 0 ;
2415 wxWindow *arg2 = (wxWindow *) 0 ;
2416 int arg3 = (int) -1 ;
2417 wxString const &arg4_defvalue = wxPyEmptyString ;
2418 wxString *arg4 = (wxString *) &arg4_defvalue ;
2419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2421 wxSize const &arg6_defvalue = wxDefaultSize ;
2422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2423 long arg7 = (long) 0 ;
2424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2426 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2427 wxString *arg9 = (wxString *) &arg9_defvalue ;
2428 bool result;
2429 bool temp4 = false ;
2430 wxPoint temp5 ;
2431 wxSize temp6 ;
2432 bool temp9 = false ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 PyObject * obj2 = 0 ;
2436 PyObject * obj3 = 0 ;
2437 PyObject * obj4 = 0 ;
2438 PyObject * obj5 = 0 ;
2439 PyObject * obj6 = 0 ;
2440 PyObject * obj7 = 0 ;
2441 PyObject * obj8 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2450 if (SWIG_arg_fail(2)) SWIG_fail;
2451 if (obj2) {
2452 {
2453 arg3 = (int)(SWIG_As_int(obj2));
2454 if (SWIG_arg_fail(3)) SWIG_fail;
2455 }
2456 }
2457 if (obj3) {
2458 {
2459 arg4 = wxString_in_helper(obj3);
2460 if (arg4 == NULL) SWIG_fail;
2461 temp4 = true;
2462 }
2463 }
2464 if (obj4) {
2465 {
2466 arg5 = &temp5;
2467 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2468 }
2469 }
2470 if (obj5) {
2471 {
2472 arg6 = &temp6;
2473 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2474 }
2475 }
2476 if (obj6) {
2477 {
2478 arg7 = (long)(SWIG_As_long(obj6));
2479 if (SWIG_arg_fail(7)) SWIG_fail;
2480 }
2481 }
2482 if (obj7) {
2483 {
2484 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 if (arg8 == NULL) {
2487 SWIG_null_ref("wxValidator");
2488 }
2489 if (SWIG_arg_fail(8)) SWIG_fail;
2490 }
2491 }
2492 if (obj8) {
2493 {
2494 arg9 = wxString_in_helper(obj8);
2495 if (arg9 == NULL) SWIG_fail;
2496 temp9 = true;
2497 }
2498 }
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 {
2507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2508 }
2509 {
2510 if (temp4)
2511 delete arg4;
2512 }
2513 {
2514 if (temp9)
2515 delete arg9;
2516 }
2517 return resultobj;
2518 fail:
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxButton *arg1 = (wxButton *) 0 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->SetDefault();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxSize result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxButton::GetDefaultSize();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 wxSize * resultptr;
2573 resultptr = new wxSize((wxSize &)(result));
2574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2575 }
2576 return resultobj;
2577 fail:
2578 return NULL;
2579 }
2580
2581
2582 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2585 wxVisualAttributes result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "variant", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2592 if (obj0) {
2593 {
2594 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 }
2597 }
2598 {
2599 if (!wxPyCheckForApp()) SWIG_fail;
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 wxVisualAttributes * resultptr;
2608 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623 }
2624 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxWindow *arg1 = (wxWindow *) 0 ;
2627 int arg2 = (int) -1 ;
2628 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2629 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 long arg6 = (long) wxBU_AUTODRAW ;
2635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2637 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2638 wxString *arg8 = (wxString *) &arg8_defvalue ;
2639 wxBitmapButton *result;
2640 wxPoint temp4 ;
2641 wxSize temp5 ;
2642 bool temp8 = false ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
2648 PyObject * obj5 = 0 ;
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail;
2658 if (obj1) {
2659 {
2660 arg2 = (int)(SWIG_As_int(obj1));
2661 if (SWIG_arg_fail(2)) SWIG_fail;
2662 }
2663 }
2664 if (obj2) {
2665 {
2666 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 if (arg3 == NULL) {
2669 SWIG_null_ref("wxBitmap");
2670 }
2671 if (SWIG_arg_fail(3)) SWIG_fail;
2672 }
2673 }
2674 if (obj3) {
2675 {
2676 arg4 = &temp4;
2677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2678 }
2679 }
2680 if (obj4) {
2681 {
2682 arg5 = &temp5;
2683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2684 }
2685 }
2686 if (obj5) {
2687 {
2688 arg6 = (long)(SWIG_As_long(obj5));
2689 if (SWIG_arg_fail(6)) SWIG_fail;
2690 }
2691 }
2692 if (obj6) {
2693 {
2694 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 if (arg7 == NULL) {
2697 SWIG_null_ref("wxValidator");
2698 }
2699 if (SWIG_arg_fail(7)) SWIG_fail;
2700 }
2701 }
2702 if (obj7) {
2703 {
2704 arg8 = wxString_in_helper(obj7);
2705 if (arg8 == NULL) SWIG_fail;
2706 temp8 = true;
2707 }
2708 }
2709 {
2710 if (!wxPyCheckForApp()) SWIG_fail;
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2718 {
2719 if (temp8)
2720 delete arg8;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxBitmapButton *result;
2735 char *kwnames[] = {
2736 NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2740 {
2741 if (!wxPyCheckForApp()) SWIG_fail;
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = (wxBitmapButton *)new wxBitmapButton();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2749 return resultobj;
2750 fail:
2751 return NULL;
2752 }
2753
2754
2755 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2758 wxWindow *arg2 = (wxWindow *) 0 ;
2759 int arg3 = (int) -1 ;
2760 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2761 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2764 wxSize const &arg6_defvalue = wxDefaultSize ;
2765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2766 long arg7 = (long) wxBU_AUTODRAW ;
2767 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2768 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2769 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2770 wxString *arg9 = (wxString *) &arg9_defvalue ;
2771 bool result;
2772 wxPoint temp5 ;
2773 wxSize temp6 ;
2774 bool temp9 = false ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 PyObject * obj2 = 0 ;
2778 PyObject * obj3 = 0 ;
2779 PyObject * obj4 = 0 ;
2780 PyObject * obj5 = 0 ;
2781 PyObject * obj6 = 0 ;
2782 PyObject * obj7 = 0 ;
2783 PyObject * obj8 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail;
2791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2792 if (SWIG_arg_fail(2)) SWIG_fail;
2793 if (obj2) {
2794 {
2795 arg3 = (int)(SWIG_As_int(obj2));
2796 if (SWIG_arg_fail(3)) SWIG_fail;
2797 }
2798 }
2799 if (obj3) {
2800 {
2801 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 if (arg4 == NULL) {
2804 SWIG_null_ref("wxBitmap");
2805 }
2806 if (SWIG_arg_fail(4)) SWIG_fail;
2807 }
2808 }
2809 if (obj4) {
2810 {
2811 arg5 = &temp5;
2812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2813 }
2814 }
2815 if (obj5) {
2816 {
2817 arg6 = &temp6;
2818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2819 }
2820 }
2821 if (obj6) {
2822 {
2823 arg7 = (long)(SWIG_As_long(obj6));
2824 if (SWIG_arg_fail(7)) SWIG_fail;
2825 }
2826 }
2827 if (obj7) {
2828 {
2829 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 if (arg8 == NULL) {
2832 SWIG_null_ref("wxValidator");
2833 }
2834 if (SWIG_arg_fail(8)) SWIG_fail;
2835 }
2836 }
2837 if (obj8) {
2838 {
2839 arg9 = wxString_in_helper(obj8);
2840 if (arg9 == NULL) SWIG_fail;
2841 temp9 = true;
2842 }
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 {
2852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2853 }
2854 {
2855 if (temp9)
2856 delete arg9;
2857 }
2858 return resultobj;
2859 fail:
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2871 wxBitmap result;
2872 PyObject * obj0 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail;
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = (arg1)->GetBitmapLabel();
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxBitmap * resultptr;
2889 resultptr = new wxBitmap((wxBitmap &)(result));
2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2901 wxBitmap result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (arg1)->GetBitmapDisabled();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 wxBitmap * resultptr;
2919 resultptr = new wxBitmap((wxBitmap &)(result));
2920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2921 }
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2931 wxBitmap result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = (arg1)->GetBitmapFocus();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948 wxBitmap * resultptr;
2949 resultptr = new wxBitmap((wxBitmap &)(result));
2950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2951 }
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj;
2960 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2961 wxBitmap result;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 result = (arg1)->GetBitmapSelected();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 wxBitmap * resultptr;
2979 resultptr = new wxBitmap((wxBitmap &)(result));
2980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2991 wxBitmap *arg2 = 0 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self",(char *) "bitmap", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail;
3001 {
3002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 if (arg2 == NULL) {
3005 SWIG_null_ref("wxBitmap");
3006 }
3007 if (SWIG_arg_fail(2)) SWIG_fail;
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3026 wxBitmap *arg2 = 0 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self",(char *) "bitmap", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail;
3036 {
3037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 if (arg2 == NULL) {
3040 SWIG_null_ref("wxBitmap");
3041 }
3042 if (SWIG_arg_fail(2)) SWIG_fail;
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3061 wxBitmap *arg2 = 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "bitmap", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(1)) SWIG_fail;
3071 {
3072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 if (arg2 == NULL) {
3075 SWIG_null_ref("wxBitmap");
3076 }
3077 if (SWIG_arg_fail(2)) SWIG_fail;
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 Py_INCREF(Py_None); resultobj = Py_None;
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3096 wxBitmap *arg2 = 0 ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 char *kwnames[] = {
3100 (char *) "self",(char *) "bitmap", NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(1)) SWIG_fail;
3106 {
3107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 if (arg2 == NULL) {
3110 SWIG_null_ref("wxBitmap");
3111 }
3112 if (SWIG_arg_fail(2)) SWIG_fail;
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->SetMargins(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 int result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185 resultobj = SWIG_From_int((int)(result));
3186 }
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3196 int result;
3197 PyObject * obj0 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail;
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 {
3213 resultobj = SWIG_From_int((int)(result));
3214 }
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3222 PyObject *obj;
3223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3225 Py_INCREF(obj);
3226 return Py_BuildValue((char *)"");
3227 }
3228 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3229 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3230 return 1;
3231 }
3232
3233
3234 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3235 PyObject *pyobj;
3236
3237 {
3238 #if wxUSE_UNICODE
3239 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3240 #else
3241 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3242 #endif
3243 }
3244 return pyobj;
3245 }
3246
3247
3248 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxWindow *arg1 = (wxWindow *) 0 ;
3251 int arg2 = (int) -1 ;
3252 wxString const &arg3_defvalue = wxPyEmptyString ;
3253 wxString *arg3 = (wxString *) &arg3_defvalue ;
3254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3256 wxSize const &arg5_defvalue = wxDefaultSize ;
3257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3258 long arg6 = (long) 0 ;
3259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3261 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3262 wxString *arg8 = (wxString *) &arg8_defvalue ;
3263 wxCheckBox *result;
3264 bool temp3 = false ;
3265 wxPoint temp4 ;
3266 wxSize temp5 ;
3267 bool temp8 = false ;
3268 PyObject * obj0 = 0 ;
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 if (obj1) {
3284 {
3285 arg2 = (int)(SWIG_As_int(obj1));
3286 if (SWIG_arg_fail(2)) SWIG_fail;
3287 }
3288 }
3289 if (obj2) {
3290 {
3291 arg3 = wxString_in_helper(obj2);
3292 if (arg3 == NULL) SWIG_fail;
3293 temp3 = true;
3294 }
3295 }
3296 if (obj3) {
3297 {
3298 arg4 = &temp4;
3299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3300 }
3301 }
3302 if (obj4) {
3303 {
3304 arg5 = &temp5;
3305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3306 }
3307 }
3308 if (obj5) {
3309 {
3310 arg6 = (long)(SWIG_As_long(obj5));
3311 if (SWIG_arg_fail(6)) SWIG_fail;
3312 }
3313 }
3314 if (obj6) {
3315 {
3316 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 if (arg7 == NULL) {
3319 SWIG_null_ref("wxValidator");
3320 }
3321 if (SWIG_arg_fail(7)) SWIG_fail;
3322 }
3323 }
3324 if (obj7) {
3325 {
3326 arg8 = wxString_in_helper(obj7);
3327 if (arg8 == NULL) SWIG_fail;
3328 temp8 = true;
3329 }
3330 }
3331 {
3332 if (!wxPyCheckForApp()) SWIG_fail;
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3340 {
3341 if (temp3)
3342 delete arg3;
3343 }
3344 {
3345 if (temp8)
3346 delete arg8;
3347 }
3348 return resultobj;
3349 fail:
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxCheckBox *result;
3365 char *kwnames[] = {
3366 NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3370 {
3371 if (!wxPyCheckForApp()) SWIG_fail;
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxCheckBox *)new wxCheckBox();
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3388 wxWindow *arg2 = (wxWindow *) 0 ;
3389 int arg3 = (int) -1 ;
3390 wxString const &arg4_defvalue = wxPyEmptyString ;
3391 wxString *arg4 = (wxString *) &arg4_defvalue ;
3392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3394 wxSize const &arg6_defvalue = wxDefaultSize ;
3395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3396 long arg7 = (long) 0 ;
3397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3399 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3400 wxString *arg9 = (wxString *) &arg9_defvalue ;
3401 bool result;
3402 bool temp4 = false ;
3403 wxPoint temp5 ;
3404 wxSize temp6 ;
3405 bool temp9 = false ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 PyObject * obj2 = 0 ;
3409 PyObject * obj3 = 0 ;
3410 PyObject * obj4 = 0 ;
3411 PyObject * obj5 = 0 ;
3412 PyObject * obj6 = 0 ;
3413 PyObject * obj7 = 0 ;
3414 PyObject * obj8 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
3422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3423 if (SWIG_arg_fail(2)) SWIG_fail;
3424 if (obj2) {
3425 {
3426 arg3 = (int)(SWIG_As_int(obj2));
3427 if (SWIG_arg_fail(3)) SWIG_fail;
3428 }
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = wxString_in_helper(obj3);
3433 if (arg4 == NULL) SWIG_fail;
3434 temp4 = true;
3435 }
3436 }
3437 if (obj4) {
3438 {
3439 arg5 = &temp5;
3440 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3441 }
3442 }
3443 if (obj5) {
3444 {
3445 arg6 = &temp6;
3446 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3447 }
3448 }
3449 if (obj6) {
3450 {
3451 arg7 = (long)(SWIG_As_long(obj6));
3452 if (SWIG_arg_fail(7)) SWIG_fail;
3453 }
3454 }
3455 if (obj7) {
3456 {
3457 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 if (arg8 == NULL) {
3460 SWIG_null_ref("wxValidator");
3461 }
3462 if (SWIG_arg_fail(8)) SWIG_fail;
3463 }
3464 }
3465 if (obj8) {
3466 {
3467 arg9 = wxString_in_helper(obj8);
3468 if (arg9 == NULL) SWIG_fail;
3469 temp9 = true;
3470 }
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3481 }
3482 {
3483 if (temp4)
3484 delete arg4;
3485 }
3486 {
3487 if (temp9)
3488 delete arg9;
3489 }
3490 return resultobj;
3491 fail:
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3507 bool result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail;
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (bool)(arg1)->GetValue();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 {
3524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3525 }
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3543 if (SWIG_arg_fail(1)) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (bool)(arg1)->IsChecked();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3553 }
3554 return resultobj;
3555 fail:
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 bool arg2 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "state", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (bool const)(SWIG_As_bool(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetValue(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3594 wxCheckBoxState result;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 resultobj = SWIG_From_int((result));
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3620 wxCheckBoxState arg2 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "state", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail;
3630 {
3631 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3632 if (SWIG_arg_fail(2)) SWIG_fail;
3633 }
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3651 bool result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3669 }
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3679 bool result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3707 wxVisualAttributes result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "variant", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3714 if (obj0) {
3715 {
3716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3717 if (SWIG_arg_fail(1)) SWIG_fail;
3718 }
3719 }
3720 {
3721 if (!wxPyCheckForApp()) SWIG_fail;
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 {
3729 wxVisualAttributes * resultptr;
3730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3740 PyObject *obj;
3741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3742 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3743 Py_INCREF(obj);
3744 return Py_BuildValue((char *)"");
3745 }
3746 static int _wrap_ChoiceNameStr_set(PyObject *) {
3747 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3748 return 1;
3749 }
3750
3751
3752 static PyObject *_wrap_ChoiceNameStr_get(void) {
3753 PyObject *pyobj;
3754
3755 {
3756 #if wxUSE_UNICODE
3757 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3758 #else
3759 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3760 #endif
3761 }
3762 return pyobj;
3763 }
3764
3765
3766 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) -1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3775 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3776 long arg6 = (long) 0 ;
3777 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3778 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3779 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3780 wxString *arg8 = (wxString *) &arg8_defvalue ;
3781 wxChoice *result;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 bool temp5 = false ;
3785 bool temp8 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 PyObject * obj6 = 0 ;
3793 PyObject * obj7 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail;
3801 if (obj1) {
3802 {
3803 arg2 = (int)(SWIG_As_int(obj1));
3804 if (SWIG_arg_fail(2)) SWIG_fail;
3805 }
3806 }
3807 if (obj2) {
3808 {
3809 arg3 = &temp3;
3810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3811 }
3812 }
3813 if (obj3) {
3814 {
3815 arg4 = &temp4;
3816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3817 }
3818 }
3819 if (obj4) {
3820 {
3821 if (! PySequence_Check(obj4)) {
3822 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3823 SWIG_fail;
3824 }
3825 arg5 = new wxArrayString;
3826 temp5 = true;
3827 int i, len=PySequence_Length(obj4);
3828 for (i=0; i<len; i++) {
3829 PyObject* item = PySequence_GetItem(obj4, i);
3830 #if wxUSE_UNICODE
3831 PyObject* str = PyObject_Unicode(item);
3832 #else
3833 PyObject* str = PyObject_Str(item);
3834 #endif
3835 if (PyErr_Occurred()) SWIG_fail;
3836 arg5->Add(Py2wxString(str));
3837 Py_DECREF(item);
3838 Py_DECREF(str);
3839 }
3840 }
3841 }
3842 if (obj5) {
3843 {
3844 arg6 = (long)(SWIG_As_long(obj5));
3845 if (SWIG_arg_fail(6)) SWIG_fail;
3846 }
3847 }
3848 if (obj6) {
3849 {
3850 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3851 if (SWIG_arg_fail(7)) SWIG_fail;
3852 if (arg7 == NULL) {
3853 SWIG_null_ref("wxValidator");
3854 }
3855 if (SWIG_arg_fail(7)) SWIG_fail;
3856 }
3857 }
3858 if (obj7) {
3859 {
3860 arg8 = wxString_in_helper(obj7);
3861 if (arg8 == NULL) SWIG_fail;
3862 temp8 = true;
3863 }
3864 }
3865 {
3866 if (!wxPyCheckForApp()) SWIG_fail;
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3874 {
3875 if (temp5) delete arg5;
3876 }
3877 {
3878 if (temp8)
3879 delete arg8;
3880 }
3881 return resultobj;
3882 fail:
3883 {
3884 if (temp5) delete arg5;
3885 }
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxChoice *result;
3897 char *kwnames[] = {
3898 NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3902 {
3903 if (!wxPyCheckForApp()) SWIG_fail;
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxChoice *)new wxChoice();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxChoice *arg1 = (wxChoice *) 0 ;
3920 wxWindow *arg2 = (wxWindow *) 0 ;
3921 int arg3 = (int) -1 ;
3922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3924 wxSize const &arg5_defvalue = wxDefaultSize ;
3925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3926 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3927 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3928 long arg7 = (long) 0 ;
3929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3931 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3932 wxString *arg9 = (wxString *) &arg9_defvalue ;
3933 bool result;
3934 wxPoint temp4 ;
3935 wxSize temp5 ;
3936 bool temp6 = false ;
3937 bool temp9 = false ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 PyObject * obj2 = 0 ;
3941 PyObject * obj3 = 0 ;
3942 PyObject * obj4 = 0 ;
3943 PyObject * obj5 = 0 ;
3944 PyObject * obj6 = 0 ;
3945 PyObject * obj7 = 0 ;
3946 PyObject * obj8 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(2)) SWIG_fail;
3956 if (obj2) {
3957 {
3958 arg3 = (int)(SWIG_As_int(obj2));
3959 if (SWIG_arg_fail(3)) SWIG_fail;
3960 }
3961 }
3962 if (obj3) {
3963 {
3964 arg4 = &temp4;
3965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3966 }
3967 }
3968 if (obj4) {
3969 {
3970 arg5 = &temp5;
3971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3972 }
3973 }
3974 if (obj5) {
3975 {
3976 if (! PySequence_Check(obj5)) {
3977 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3978 SWIG_fail;
3979 }
3980 arg6 = new wxArrayString;
3981 temp6 = true;
3982 int i, len=PySequence_Length(obj5);
3983 for (i=0; i<len; i++) {
3984 PyObject* item = PySequence_GetItem(obj5, i);
3985 #if wxUSE_UNICODE
3986 PyObject* str = PyObject_Unicode(item);
3987 #else
3988 PyObject* str = PyObject_Str(item);
3989 #endif
3990 if (PyErr_Occurred()) SWIG_fail;
3991 arg6->Add(Py2wxString(str));
3992 Py_DECREF(item);
3993 Py_DECREF(str);
3994 }
3995 }
3996 }
3997 if (obj6) {
3998 {
3999 arg7 = (long)(SWIG_As_long(obj6));
4000 if (SWIG_arg_fail(7)) SWIG_fail;
4001 }
4002 }
4003 if (obj7) {
4004 {
4005 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(8)) SWIG_fail;
4007 if (arg8 == NULL) {
4008 SWIG_null_ref("wxValidator");
4009 }
4010 if (SWIG_arg_fail(8)) SWIG_fail;
4011 }
4012 }
4013 if (obj8) {
4014 {
4015 arg9 = wxString_in_helper(obj8);
4016 if (arg9 == NULL) SWIG_fail;
4017 temp9 = true;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4029 }
4030 {
4031 if (temp6) delete arg6;
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp6) delete arg6;
4041 }
4042 {
4043 if (temp9)
4044 delete arg9;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4053 wxVisualAttributes result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "variant", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4060 if (obj0) {
4061 {
4062 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4063 if (SWIG_arg_fail(1)) SWIG_fail;
4064 }
4065 }
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
4075 wxVisualAttributes * resultptr;
4076 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4086 PyObject *obj;
4087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4089 Py_INCREF(obj);
4090 return Py_BuildValue((char *)"");
4091 }
4092 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4093 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4094 return 1;
4095 }
4096
4097
4098 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4099 PyObject *pyobj;
4100
4101 {
4102 #if wxUSE_UNICODE
4103 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104 #else
4105 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106 #endif
4107 }
4108 return pyobj;
4109 }
4110
4111
4112 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxWindow *arg1 = (wxWindow *) 0 ;
4115 int arg2 = (int) -1 ;
4116 wxString const &arg3_defvalue = wxPyEmptyString ;
4117 wxString *arg3 = (wxString *) &arg3_defvalue ;
4118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4120 wxSize const &arg5_defvalue = wxDefaultSize ;
4121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4122 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4123 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4124 long arg7 = (long) 0 ;
4125 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4126 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4127 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4128 wxString *arg9 = (wxString *) &arg9_defvalue ;
4129 wxComboBox *result;
4130 bool temp3 = false ;
4131 wxPoint temp4 ;
4132 wxSize temp5 ;
4133 bool temp6 = false ;
4134 bool temp9 = false ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 PyObject * obj2 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 PyObject * obj4 = 0 ;
4140 PyObject * obj5 = 0 ;
4141 PyObject * obj6 = 0 ;
4142 PyObject * obj7 = 0 ;
4143 PyObject * obj8 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail;
4151 if (obj1) {
4152 {
4153 arg2 = (int)(SWIG_As_int(obj1));
4154 if (SWIG_arg_fail(2)) SWIG_fail;
4155 }
4156 }
4157 if (obj2) {
4158 {
4159 arg3 = wxString_in_helper(obj2);
4160 if (arg3 == NULL) SWIG_fail;
4161 temp3 = true;
4162 }
4163 }
4164 if (obj3) {
4165 {
4166 arg4 = &temp4;
4167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4168 }
4169 }
4170 if (obj4) {
4171 {
4172 arg5 = &temp5;
4173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4174 }
4175 }
4176 if (obj5) {
4177 {
4178 if (! PySequence_Check(obj5)) {
4179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4180 SWIG_fail;
4181 }
4182 arg6 = new wxArrayString;
4183 temp6 = true;
4184 int i, len=PySequence_Length(obj5);
4185 for (i=0; i<len; i++) {
4186 PyObject* item = PySequence_GetItem(obj5, i);
4187 #if wxUSE_UNICODE
4188 PyObject* str = PyObject_Unicode(item);
4189 #else
4190 PyObject* str = PyObject_Str(item);
4191 #endif
4192 if (PyErr_Occurred()) SWIG_fail;
4193 arg6->Add(Py2wxString(str));
4194 Py_DECREF(item);
4195 Py_DECREF(str);
4196 }
4197 }
4198 }
4199 if (obj6) {
4200 {
4201 arg7 = (long)(SWIG_As_long(obj6));
4202 if (SWIG_arg_fail(7)) SWIG_fail;
4203 }
4204 }
4205 if (obj7) {
4206 {
4207 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(8)) SWIG_fail;
4209 if (arg8 == NULL) {
4210 SWIG_null_ref("wxValidator");
4211 }
4212 if (SWIG_arg_fail(8)) SWIG_fail;
4213 }
4214 }
4215 if (obj8) {
4216 {
4217 arg9 = wxString_in_helper(obj8);
4218 if (arg9 == NULL) SWIG_fail;
4219 temp9 = true;
4220 }
4221 }
4222 {
4223 if (!wxPyCheckForApp()) SWIG_fail;
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4231 {
4232 if (temp3)
4233 delete arg3;
4234 }
4235 {
4236 if (temp6) delete arg6;
4237 }
4238 {
4239 if (temp9)
4240 delete arg9;
4241 }
4242 return resultobj;
4243 fail:
4244 {
4245 if (temp3)
4246 delete arg3;
4247 }
4248 {
4249 if (temp6) delete arg6;
4250 }
4251 {
4252 if (temp9)
4253 delete arg9;
4254 }
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxComboBox *result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4267 {
4268 if (!wxPyCheckForApp()) SWIG_fail;
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxComboBox *)new wxComboBox();
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxComboBox *arg1 = (wxComboBox *) 0 ;
4285 wxWindow *arg2 = (wxWindow *) 0 ;
4286 int arg3 = (int) -1 ;
4287 wxString const &arg4_defvalue = wxPyEmptyString ;
4288 wxString *arg4 = (wxString *) &arg4_defvalue ;
4289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4291 wxSize const &arg6_defvalue = wxDefaultSize ;
4292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4293 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4294 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4295 long arg8 = (long) 0 ;
4296 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4297 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4298 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4299 wxString *arg10 = (wxString *) &arg10_defvalue ;
4300 bool result;
4301 bool temp4 = false ;
4302 wxPoint temp5 ;
4303 wxSize temp6 ;
4304 bool temp7 = false ;
4305 bool temp10 = false ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 PyObject * obj2 = 0 ;
4309 PyObject * obj3 = 0 ;
4310 PyObject * obj4 = 0 ;
4311 PyObject * obj5 = 0 ;
4312 PyObject * obj6 = 0 ;
4313 PyObject * obj7 = 0 ;
4314 PyObject * obj8 = 0 ;
4315 PyObject * obj9 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4324 if (SWIG_arg_fail(2)) SWIG_fail;
4325 if (obj2) {
4326 {
4327 arg3 = (int)(SWIG_As_int(obj2));
4328 if (SWIG_arg_fail(3)) SWIG_fail;
4329 }
4330 }
4331 if (obj3) {
4332 {
4333 arg4 = wxString_in_helper(obj3);
4334 if (arg4 == NULL) SWIG_fail;
4335 temp4 = true;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj5) {
4345 {
4346 arg6 = &temp6;
4347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4348 }
4349 }
4350 if (obj6) {
4351 {
4352 if (! PySequence_Check(obj6)) {
4353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4354 SWIG_fail;
4355 }
4356 arg7 = new wxArrayString;
4357 temp7 = true;
4358 int i, len=PySequence_Length(obj6);
4359 for (i=0; i<len; i++) {
4360 PyObject* item = PySequence_GetItem(obj6, i);
4361 #if wxUSE_UNICODE
4362 PyObject* str = PyObject_Unicode(item);
4363 #else
4364 PyObject* str = PyObject_Str(item);
4365 #endif
4366 if (PyErr_Occurred()) SWIG_fail;
4367 arg7->Add(Py2wxString(str));
4368 Py_DECREF(item);
4369 Py_DECREF(str);
4370 }
4371 }
4372 }
4373 if (obj7) {
4374 {
4375 arg8 = (long)(SWIG_As_long(obj7));
4376 if (SWIG_arg_fail(8)) SWIG_fail;
4377 }
4378 }
4379 if (obj8) {
4380 {
4381 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(9)) SWIG_fail;
4383 if (arg9 == NULL) {
4384 SWIG_null_ref("wxValidator");
4385 }
4386 if (SWIG_arg_fail(9)) SWIG_fail;
4387 }
4388 }
4389 if (obj9) {
4390 {
4391 arg10 = wxString_in_helper(obj9);
4392 if (arg10 == NULL) SWIG_fail;
4393 temp10 = true;
4394 }
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
4406 {
4407 if (temp4)
4408 delete arg4;
4409 }
4410 {
4411 if (temp7) delete arg7;
4412 }
4413 {
4414 if (temp10)
4415 delete arg10;
4416 }
4417 return resultobj;
4418 fail:
4419 {
4420 if (temp4)
4421 delete arg4;
4422 }
4423 {
4424 if (temp7) delete arg7;
4425 }
4426 {
4427 if (temp10)
4428 delete arg10;
4429 }
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxComboBox *arg1 = (wxComboBox *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxComboBox const *)arg1)->GetValue();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 #if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456 #else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458 #endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463 }
4464
4465
4466 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxString *arg2 = 0 ;
4470 bool temp2 = false ;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "value", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
4480 {
4481 arg2 = wxString_in_helper(obj1);
4482 if (arg2 == NULL) SWIG_fail;
4483 temp2 = true;
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->SetValue((wxString const &)*arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 Py_INCREF(Py_None); resultobj = Py_None;
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp2)
4501 delete arg2;
4502 }
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxComboBox *arg1 = (wxComboBox *) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail;
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 (arg1)->Copy();
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529 }
4530
4531
4532 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 wxComboBox *arg1 = (wxComboBox *) 0 ;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 (arg1)->Cut();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxComboBox *arg1 = (wxComboBox *) 0 ;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail;
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 (arg1)->Paste();
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxComboBox *arg1 = (wxComboBox *) 0 ;
4585 long arg2 ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "pos", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
4595 {
4596 arg2 = (long)(SWIG_As_long(obj1));
4597 if (SWIG_arg_fail(2)) SWIG_fail;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetInsertionPoint(arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 long result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 {
4633 resultobj = SWIG_From_long((long)(result));
4634 }
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxComboBox *arg1 = (wxComboBox *) 0 ;
4644 long result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661 resultobj = SWIG_From_long((long)(result));
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxComboBox *arg1 = (wxComboBox *) 0 ;
4672 long arg2 ;
4673 long arg3 ;
4674 wxString *arg4 = 0 ;
4675 bool temp4 = false ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
4687 {
4688 arg2 = (long)(SWIG_As_long(obj1));
4689 if (SWIG_arg_fail(2)) SWIG_fail;
4690 }
4691 {
4692 arg3 = (long)(SWIG_As_long(obj2));
4693 if (SWIG_arg_fail(3)) SWIG_fail;
4694 }
4695 {
4696 arg4 = wxString_in_helper(obj3);
4697 if (arg4 == NULL) SWIG_fail;
4698 temp4 = true;
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return resultobj;
4713 fail:
4714 {
4715 if (temp4)
4716 delete arg4;
4717 }
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxComboBox *arg1 = (wxComboBox *) 0 ;
4725 int arg2 ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "n", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail;
4735 {
4736 arg2 = (int)(SWIG_As_int(obj1));
4737 if (SWIG_arg_fail(2)) SWIG_fail;
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetSelection(arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxComboBox *arg1 = (wxComboBox *) 0 ;
4756 long arg2 ;
4757 long arg3 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "from",(char *) "to", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
4768 {
4769 arg2 = (long)(SWIG_As_long(obj1));
4770 if (SWIG_arg_fail(2)) SWIG_fail;
4771 }
4772 {
4773 arg3 = (long)(SWIG_As_long(obj2));
4774 if (SWIG_arg_fail(3)) SWIG_fail;
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetSelection(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxComboBox *arg1 = (wxComboBox *) 0 ;
4793 long *arg2 = (long *) 0 ;
4794 long *arg3 = (long *) 0 ;
4795 long temp2 ;
4796 int res2 = 0 ;
4797 long temp3 ;
4798 int res3 = 0 ;
4799 PyObject * obj0 = 0 ;
4800 char *kwnames[] = {
4801 (char *) "self", NULL
4802 };
4803
4804 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4805 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 (arg1)->GetSelection(arg2,arg3);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4818 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4819 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4820 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxComboBox *arg1 = (wxComboBox *) 0 ;
4830 wxString *arg2 = 0 ;
4831 bool result;
4832 bool temp2 = false ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "string", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(1)) SWIG_fail;
4842 {
4843 arg2 = wxString_in_helper(obj1);
4844 if (arg2 == NULL) SWIG_fail;
4845 temp2 = true;
4846 }
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4856 }
4857 {
4858 if (temp2)
4859 delete arg2;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp2)
4865 delete arg2;
4866 }
4867 return NULL;
4868 }
4869
4870
4871 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxComboBox *arg1 = (wxComboBox *) 0 ;
4874 int arg2 ;
4875 wxString *arg3 = 0 ;
4876 bool temp3 = false ;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "n",(char *) "string", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail;
4887 {
4888 arg2 = (int)(SWIG_As_int(obj1));
4889 if (SWIG_arg_fail(2)) SWIG_fail;
4890 }
4891 {
4892 arg3 = wxString_in_helper(obj2);
4893 if (arg3 == NULL) SWIG_fail;
4894 temp3 = true;
4895 }
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->SetString(arg2,(wxString const &)*arg3);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 Py_INCREF(Py_None); resultobj = Py_None;
4904 {
4905 if (temp3)
4906 delete arg3;
4907 }
4908 return resultobj;
4909 fail:
4910 {
4911 if (temp3)
4912 delete arg3;
4913 }
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxComboBox *arg1 = (wxComboBox *) 0 ;
4921 bool arg2 ;
4922 PyObject * obj0 = 0 ;
4923 PyObject * obj1 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self",(char *) "editable", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail;
4931 {
4932 arg2 = (bool)(SWIG_As_bool(obj1));
4933 if (SWIG_arg_fail(2)) SWIG_fail;
4934 }
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->SetEditable(arg2);
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxComboBox *arg1 = (wxComboBox *) 0 ;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 (arg1)->SetInsertionPointEnd();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxComboBox *arg1 = (wxComboBox *) 0 ;
4977 long arg2 ;
4978 long arg3 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 PyObject * obj2 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "from",(char *) "to", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 arg2 = (long)(SWIG_As_long(obj1));
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 }
4993 {
4994 arg3 = (long)(SWIG_As_long(obj2));
4995 if (SWIG_arg_fail(3)) SWIG_fail;
4996 }
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->Remove(arg2,arg3);
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 Py_INCREF(Py_None); resultobj = Py_None;
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxComboBox *arg1 = (wxComboBox *) 0 ;
5014 bool result;
5015 PyObject * obj0 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "self", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5022 if (SWIG_arg_fail(1)) SWIG_fail;
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5032 }
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxComboBox *arg1 = (wxComboBox *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->Undo();
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxComboBox *arg1 = (wxComboBox *) 0 ;
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->Redo();
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 Py_INCREF(Py_None); resultobj = Py_None;
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxComboBox *arg1 = (wxComboBox *) 0 ;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail;
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SelectAll();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 return resultobj;
5109 fail:
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxComboBox *arg1 = (wxComboBox *) 0 ;
5117 bool result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail;
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5135 }
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxComboBox *arg1 = (wxComboBox *) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail;
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (bool)((wxComboBox const *)arg1)->CanCut();
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 {
5162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5163 }
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxComboBox *arg1 = (wxComboBox *) 0 ;
5173 bool result;
5174 PyObject * obj0 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5191 }
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxComboBox *arg1 = (wxComboBox *) 0 ;
5201 bool result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 {
5218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxComboBox *arg1 = (wxComboBox *) 0 ;
5229 bool result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail;
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5257 wxVisualAttributes result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "variant", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5264 if (obj0) {
5265 {
5266 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5267 if (SWIG_arg_fail(1)) SWIG_fail;
5268 }
5269 }
5270 {
5271 if (!wxPyCheckForApp()) SWIG_fail;
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 {
5279 wxVisualAttributes * resultptr;
5280 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5282 }
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5290 PyObject *obj;
5291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5292 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5293 Py_INCREF(obj);
5294 return Py_BuildValue((char *)"");
5295 }
5296 static int _wrap_GaugeNameStr_set(PyObject *) {
5297 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5298 return 1;
5299 }
5300
5301
5302 static PyObject *_wrap_GaugeNameStr_get(void) {
5303 PyObject *pyobj;
5304
5305 {
5306 #if wxUSE_UNICODE
5307 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5308 #else
5309 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5310 #endif
5311 }
5312 return pyobj;
5313 }
5314
5315
5316 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxWindow *arg1 = (wxWindow *) 0 ;
5319 int arg2 = (int) -1 ;
5320 int arg3 = (int) 100 ;
5321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5323 wxSize const &arg5_defvalue = wxDefaultSize ;
5324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5325 long arg6 = (long) wxGA_HORIZONTAL ;
5326 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5327 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5328 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5329 wxString *arg8 = (wxString *) &arg8_defvalue ;
5330 wxGauge *result;
5331 wxPoint temp4 ;
5332 wxSize temp5 ;
5333 bool temp8 = false ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
5337 PyObject * obj3 = 0 ;
5338 PyObject * obj4 = 0 ;
5339 PyObject * obj5 = 0 ;
5340 PyObject * obj6 = 0 ;
5341 PyObject * obj7 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
5349 if (obj1) {
5350 {
5351 arg2 = (int)(SWIG_As_int(obj1));
5352 if (SWIG_arg_fail(2)) SWIG_fail;
5353 }
5354 }
5355 if (obj2) {
5356 {
5357 arg3 = (int)(SWIG_As_int(obj2));
5358 if (SWIG_arg_fail(3)) SWIG_fail;
5359 }
5360 }
5361 if (obj3) {
5362 {
5363 arg4 = &temp4;
5364 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5365 }
5366 }
5367 if (obj4) {
5368 {
5369 arg5 = &temp5;
5370 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5371 }
5372 }
5373 if (obj5) {
5374 {
5375 arg6 = (long)(SWIG_As_long(obj5));
5376 if (SWIG_arg_fail(6)) SWIG_fail;
5377 }
5378 }
5379 if (obj6) {
5380 {
5381 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5382 if (SWIG_arg_fail(7)) SWIG_fail;
5383 if (arg7 == NULL) {
5384 SWIG_null_ref("wxValidator");
5385 }
5386 if (SWIG_arg_fail(7)) SWIG_fail;
5387 }
5388 }
5389 if (obj7) {
5390 {
5391 arg8 = wxString_in_helper(obj7);
5392 if (arg8 == NULL) SWIG_fail;
5393 temp8 = true;
5394 }
5395 }
5396 {
5397 if (!wxPyCheckForApp()) SWIG_fail;
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5405 {
5406 if (temp8)
5407 delete arg8;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp8)
5413 delete arg8;
5414 }
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxGauge *result;
5422 char *kwnames[] = {
5423 NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5427 {
5428 if (!wxPyCheckForApp()) SWIG_fail;
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (wxGauge *)new wxGauge();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5436 return resultobj;
5437 fail:
5438 return NULL;
5439 }
5440
5441
5442 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj;
5444 wxGauge *arg1 = (wxGauge *) 0 ;
5445 wxWindow *arg2 = (wxWindow *) 0 ;
5446 int arg3 = (int) -1 ;
5447 int arg4 = (int) 100 ;
5448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5450 wxSize const &arg6_defvalue = wxDefaultSize ;
5451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5452 long arg7 = (long) wxGA_HORIZONTAL ;
5453 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5454 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5455 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5456 wxString *arg9 = (wxString *) &arg9_defvalue ;
5457 bool result;
5458 wxPoint temp5 ;
5459 wxSize temp6 ;
5460 bool temp9 = false ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 PyObject * obj2 = 0 ;
5464 PyObject * obj3 = 0 ;
5465 PyObject * obj4 = 0 ;
5466 PyObject * obj5 = 0 ;
5467 PyObject * obj6 = 0 ;
5468 PyObject * obj7 = 0 ;
5469 PyObject * obj8 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5476 if (SWIG_arg_fail(1)) SWIG_fail;
5477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(2)) SWIG_fail;
5479 if (obj2) {
5480 {
5481 arg3 = (int)(SWIG_As_int(obj2));
5482 if (SWIG_arg_fail(3)) SWIG_fail;
5483 }
5484 }
5485 if (obj3) {
5486 {
5487 arg4 = (int)(SWIG_As_int(obj3));
5488 if (SWIG_arg_fail(4)) SWIG_fail;
5489 }
5490 }
5491 if (obj4) {
5492 {
5493 arg5 = &temp5;
5494 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5495 }
5496 }
5497 if (obj5) {
5498 {
5499 arg6 = &temp6;
5500 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5501 }
5502 }
5503 if (obj6) {
5504 {
5505 arg7 = (long)(SWIG_As_long(obj6));
5506 if (SWIG_arg_fail(7)) SWIG_fail;
5507 }
5508 }
5509 if (obj7) {
5510 {
5511 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5512 if (SWIG_arg_fail(8)) SWIG_fail;
5513 if (arg8 == NULL) {
5514 SWIG_null_ref("wxValidator");
5515 }
5516 if (SWIG_arg_fail(8)) SWIG_fail;
5517 }
5518 }
5519 if (obj8) {
5520 {
5521 arg9 = wxString_in_helper(obj8);
5522 if (arg9 == NULL) SWIG_fail;
5523 temp9 = true;
5524 }
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5535 }
5536 {
5537 if (temp9)
5538 delete arg9;
5539 }
5540 return resultobj;
5541 fail:
5542 {
5543 if (temp9)
5544 delete arg9;
5545 }
5546 return NULL;
5547 }
5548
5549
5550 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxGauge *arg1 = (wxGauge *) 0 ;
5553 int arg2 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "range", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail;
5563 {
5564 arg2 = (int)(SWIG_As_int(obj1));
5565 if (SWIG_arg_fail(2)) SWIG_fail;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetRange(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxGauge *arg1 = (wxGauge *) 0 ;
5584 int result;
5585 PyObject * obj0 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (int)((wxGauge const *)arg1)->GetRange();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 resultobj = SWIG_From_int((int)(result));
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxGauge *arg1 = (wxGauge *) 0 ;
5612 int arg2 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "pos", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail;
5622 {
5623 arg2 = (int)(SWIG_As_int(obj1));
5624 if (SWIG_arg_fail(2)) SWIG_fail;
5625 }
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 (arg1)->SetValue(arg2);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxGauge *arg1 = (wxGauge *) 0 ;
5643 int result;
5644 PyObject * obj0 = 0 ;
5645 char *kwnames[] = {
5646 (char *) "self", NULL
5647 };
5648
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail;
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (int)((wxGauge const *)arg1)->GetValue();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 resultobj = SWIG_From_int((int)(result));
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj;
5670 wxGauge *arg1 = (wxGauge *) 0 ;
5671 bool result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail;
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (bool)((wxGauge const *)arg1)->IsVertical();
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 {
5688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5689 }
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxGauge *arg1 = (wxGauge *) 0 ;
5699 int arg2 ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self",(char *) "w", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5708 if (SWIG_arg_fail(1)) SWIG_fail;
5709 {
5710 arg2 = (int)(SWIG_As_int(obj1));
5711 if (SWIG_arg_fail(2)) SWIG_fail;
5712 }
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetShadowWidth(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxGauge *arg1 = (wxGauge *) 0 ;
5730 int result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5738 if (SWIG_arg_fail(1)) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 {
5747 resultobj = SWIG_From_int((int)(result));
5748 }
5749 return resultobj;
5750 fail:
5751 return NULL;
5752 }
5753
5754
5755 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5756 PyObject *resultobj;
5757 wxGauge *arg1 = (wxGauge *) 0 ;
5758 int arg2 ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "w", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail;
5768 {
5769 arg2 = (int)(SWIG_As_int(obj1));
5770 if (SWIG_arg_fail(2)) SWIG_fail;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetBezelFace(arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 Py_INCREF(Py_None); resultobj = Py_None;
5780 return resultobj;
5781 fail:
5782 return NULL;
5783 }
5784
5785
5786 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxGauge *arg1 = (wxGauge *) 0 ;
5789 int result;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail;
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 {
5806 resultobj = SWIG_From_int((int)(result));
5807 }
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5817 wxVisualAttributes result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "variant", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5824 if (obj0) {
5825 {
5826 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5827 if (SWIG_arg_fail(1)) SWIG_fail;
5828 }
5829 }
5830 {
5831 if (!wxPyCheckForApp()) SWIG_fail;
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 {
5839 wxVisualAttributes * resultptr;
5840 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5850 PyObject *obj;
5851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5852 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5853 Py_INCREF(obj);
5854 return Py_BuildValue((char *)"");
5855 }
5856 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5857 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5858 return 1;
5859 }
5860
5861
5862 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5863 PyObject *pyobj;
5864
5865 {
5866 #if wxUSE_UNICODE
5867 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5868 #else
5869 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5870 #endif
5871 }
5872 return pyobj;
5873 }
5874
5875
5876 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5877 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5878 return 1;
5879 }
5880
5881
5882 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5883 PyObject *pyobj;
5884
5885 {
5886 #if wxUSE_UNICODE
5887 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5888 #else
5889 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5890 #endif
5891 }
5892 return pyobj;
5893 }
5894
5895
5896 static int _wrap_StaticTextNameStr_set(PyObject *) {
5897 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5898 return 1;
5899 }
5900
5901
5902 static PyObject *_wrap_StaticTextNameStr_get(void) {
5903 PyObject *pyobj;
5904
5905 {
5906 #if wxUSE_UNICODE
5907 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5908 #else
5909 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5910 #endif
5911 }
5912 return pyobj;
5913 }
5914
5915
5916 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxWindow *arg1 = (wxWindow *) 0 ;
5919 int arg2 = (int) -1 ;
5920 wxString const &arg3_defvalue = wxPyEmptyString ;
5921 wxString *arg3 = (wxString *) &arg3_defvalue ;
5922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5924 wxSize const &arg5_defvalue = wxDefaultSize ;
5925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5926 long arg6 = (long) 0 ;
5927 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5928 wxString *arg7 = (wxString *) &arg7_defvalue ;
5929 wxStaticBox *result;
5930 bool temp3 = false ;
5931 wxPoint temp4 ;
5932 wxSize temp5 ;
5933 bool temp7 = false ;
5934 PyObject * obj0 = 0 ;
5935 PyObject * obj1 = 0 ;
5936 PyObject * obj2 = 0 ;
5937 PyObject * obj3 = 0 ;
5938 PyObject * obj4 = 0 ;
5939 PyObject * obj5 = 0 ;
5940 PyObject * obj6 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
5948 if (obj1) {
5949 {
5950 arg2 = (int)(SWIG_As_int(obj1));
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 }
5953 }
5954 if (obj2) {
5955 {
5956 arg3 = wxString_in_helper(obj2);
5957 if (arg3 == NULL) SWIG_fail;
5958 temp3 = true;
5959 }
5960 }
5961 if (obj3) {
5962 {
5963 arg4 = &temp4;
5964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5965 }
5966 }
5967 if (obj4) {
5968 {
5969 arg5 = &temp5;
5970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5971 }
5972 }
5973 if (obj5) {
5974 {
5975 arg6 = (long)(SWIG_As_long(obj5));
5976 if (SWIG_arg_fail(6)) SWIG_fail;
5977 }
5978 }
5979 if (obj6) {
5980 {
5981 arg7 = wxString_in_helper(obj6);
5982 if (arg7 == NULL) SWIG_fail;
5983 temp7 = true;
5984 }
5985 }
5986 {
5987 if (!wxPyCheckForApp()) SWIG_fail;
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5995 {
5996 if (temp3)
5997 delete arg3;
5998 }
5999 {
6000 if (temp7)
6001 delete arg7;
6002 }
6003 return resultobj;
6004 fail:
6005 {
6006 if (temp3)
6007 delete arg3;
6008 }
6009 {
6010 if (temp7)
6011 delete arg7;
6012 }
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxStaticBox *result;
6020 char *kwnames[] = {
6021 NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6025 {
6026 if (!wxPyCheckForApp()) SWIG_fail;
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (wxStaticBox *)new wxStaticBox();
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6043 wxWindow *arg2 = (wxWindow *) 0 ;
6044 int arg3 = (int) -1 ;
6045 wxString const &arg4_defvalue = wxPyEmptyString ;
6046 wxString *arg4 = (wxString *) &arg4_defvalue ;
6047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6049 wxSize const &arg6_defvalue = wxDefaultSize ;
6050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6051 long arg7 = (long) 0 ;
6052 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6053 wxString *arg8 = (wxString *) &arg8_defvalue ;
6054 bool result;
6055 bool temp4 = false ;
6056 wxPoint temp5 ;
6057 wxSize temp6 ;
6058 bool temp8 = false ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 PyObject * obj2 = 0 ;
6062 PyObject * obj3 = 0 ;
6063 PyObject * obj4 = 0 ;
6064 PyObject * obj5 = 0 ;
6065 PyObject * obj6 = 0 ;
6066 PyObject * obj7 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail;
6074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6075 if (SWIG_arg_fail(2)) SWIG_fail;
6076 if (obj2) {
6077 {
6078 arg3 = (int)(SWIG_As_int(obj2));
6079 if (SWIG_arg_fail(3)) SWIG_fail;
6080 }
6081 }
6082 if (obj3) {
6083 {
6084 arg4 = wxString_in_helper(obj3);
6085 if (arg4 == NULL) SWIG_fail;
6086 temp4 = true;
6087 }
6088 }
6089 if (obj4) {
6090 {
6091 arg5 = &temp5;
6092 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6093 }
6094 }
6095 if (obj5) {
6096 {
6097 arg6 = &temp6;
6098 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6099 }
6100 }
6101 if (obj6) {
6102 {
6103 arg7 = (long)(SWIG_As_long(obj6));
6104 if (SWIG_arg_fail(7)) SWIG_fail;
6105 }
6106 }
6107 if (obj7) {
6108 {
6109 arg8 = wxString_in_helper(obj7);
6110 if (arg8 == NULL) SWIG_fail;
6111 temp8 = true;
6112 }
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6123 }
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 {
6129 if (temp8)
6130 delete arg8;
6131 }
6132 return resultobj;
6133 fail:
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 {
6139 if (temp8)
6140 delete arg8;
6141 }
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6149 wxVisualAttributes result;
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "variant", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6156 if (obj0) {
6157 {
6158 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6159 if (SWIG_arg_fail(1)) SWIG_fail;
6160 }
6161 }
6162 {
6163 if (!wxPyCheckForApp()) SWIG_fail;
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 wxVisualAttributes * resultptr;
6172 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6174 }
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6182 PyObject *obj;
6183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6185 Py_INCREF(obj);
6186 return Py_BuildValue((char *)"");
6187 }
6188 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxWindow *arg1 = (wxWindow *) 0 ;
6191 int arg2 = (int) -1 ;
6192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6194 wxSize const &arg4_defvalue = wxDefaultSize ;
6195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6196 long arg5 = (long) wxLI_HORIZONTAL ;
6197 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6198 wxString *arg6 = (wxString *) &arg6_defvalue ;
6199 wxStaticLine *result;
6200 wxPoint temp3 ;
6201 wxSize temp4 ;
6202 bool temp6 = false ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 PyObject * obj2 = 0 ;
6206 PyObject * obj3 = 0 ;
6207 PyObject * obj4 = 0 ;
6208 PyObject * obj5 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail;
6216 if (obj1) {
6217 {
6218 arg2 = (int)(SWIG_As_int(obj1));
6219 if (SWIG_arg_fail(2)) SWIG_fail;
6220 }
6221 }
6222 if (obj2) {
6223 {
6224 arg3 = &temp3;
6225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6226 }
6227 }
6228 if (obj3) {
6229 {
6230 arg4 = &temp4;
6231 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6232 }
6233 }
6234 if (obj4) {
6235 {
6236 arg5 = (long)(SWIG_As_long(obj4));
6237 if (SWIG_arg_fail(5)) SWIG_fail;
6238 }
6239 }
6240 if (obj5) {
6241 {
6242 arg6 = wxString_in_helper(obj5);
6243 if (arg6 == NULL) SWIG_fail;
6244 temp6 = true;
6245 }
6246 }
6247 {
6248 if (!wxPyCheckForApp()) SWIG_fail;
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6256 {
6257 if (temp6)
6258 delete arg6;
6259 }
6260 return resultobj;
6261 fail:
6262 {
6263 if (temp6)
6264 delete arg6;
6265 }
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxStaticLine *result;
6273 char *kwnames[] = {
6274 NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6278 {
6279 if (!wxPyCheckForApp()) SWIG_fail;
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (wxStaticLine *)new wxStaticLine();
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6296 wxWindow *arg2 = (wxWindow *) 0 ;
6297 int arg3 = (int) -1 ;
6298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6300 wxSize const &arg5_defvalue = wxDefaultSize ;
6301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6302 long arg6 = (long) wxLI_HORIZONTAL ;
6303 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6304 wxString *arg7 = (wxString *) &arg7_defvalue ;
6305 bool result;
6306 wxPoint temp4 ;
6307 wxSize temp5 ;
6308 bool temp7 = false ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 PyObject * obj2 = 0 ;
6312 PyObject * obj3 = 0 ;
6313 PyObject * obj4 = 0 ;
6314 PyObject * obj5 = 0 ;
6315 PyObject * obj6 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6324 if (SWIG_arg_fail(2)) SWIG_fail;
6325 if (obj2) {
6326 {
6327 arg3 = (int)(SWIG_As_int(obj2));
6328 if (SWIG_arg_fail(3)) SWIG_fail;
6329 }
6330 }
6331 if (obj3) {
6332 {
6333 arg4 = &temp4;
6334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6335 }
6336 }
6337 if (obj4) {
6338 {
6339 arg5 = &temp5;
6340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6341 }
6342 }
6343 if (obj5) {
6344 {
6345 arg6 = (long)(SWIG_As_long(obj5));
6346 if (SWIG_arg_fail(6)) SWIG_fail;
6347 }
6348 }
6349 if (obj6) {
6350 {
6351 arg7 = wxString_in_helper(obj6);
6352 if (arg7 == NULL) SWIG_fail;
6353 temp7 = true;
6354 }
6355 }
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 {
6364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6365 }
6366 {
6367 if (temp7)
6368 delete arg7;
6369 }
6370 return resultobj;
6371 fail:
6372 {
6373 if (temp7)
6374 delete arg7;
6375 }
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj;
6382 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6383 bool result;
6384 PyObject * obj0 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 int result;
6411 char *kwnames[] = {
6412 NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (int)wxStaticLine::GetDefaultSize();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = SWIG_From_int((int)(result));
6425 }
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6435 wxVisualAttributes result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "variant", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6442 if (obj0) {
6443 {
6444 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6445 if (SWIG_arg_fail(1)) SWIG_fail;
6446 }
6447 }
6448 {
6449 if (!wxPyCheckForApp()) SWIG_fail;
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 {
6457 wxVisualAttributes * resultptr;
6458 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6460 }
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6468 PyObject *obj;
6469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6471 Py_INCREF(obj);
6472 return Py_BuildValue((char *)"");
6473 }
6474 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxWindow *arg1 = (wxWindow *) 0 ;
6477 int arg2 = (int) -1 ;
6478 wxString const &arg3_defvalue = wxPyEmptyString ;
6479 wxString *arg3 = (wxString *) &arg3_defvalue ;
6480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6482 wxSize const &arg5_defvalue = wxDefaultSize ;
6483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6484 long arg6 = (long) 0 ;
6485 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6486 wxString *arg7 = (wxString *) &arg7_defvalue ;
6487 wxStaticText *result;
6488 bool temp3 = false ;
6489 wxPoint temp4 ;
6490 wxSize temp5 ;
6491 bool temp7 = false ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 PyObject * obj3 = 0 ;
6496 PyObject * obj4 = 0 ;
6497 PyObject * obj5 = 0 ;
6498 PyObject * obj6 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6505 if (SWIG_arg_fail(1)) SWIG_fail;
6506 if (obj1) {
6507 {
6508 arg2 = (int)(SWIG_As_int(obj1));
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 }
6511 }
6512 if (obj2) {
6513 {
6514 arg3 = wxString_in_helper(obj2);
6515 if (arg3 == NULL) SWIG_fail;
6516 temp3 = true;
6517 }
6518 }
6519 if (obj3) {
6520 {
6521 arg4 = &temp4;
6522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6523 }
6524 }
6525 if (obj4) {
6526 {
6527 arg5 = &temp5;
6528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6529 }
6530 }
6531 if (obj5) {
6532 {
6533 arg6 = (long)(SWIG_As_long(obj5));
6534 if (SWIG_arg_fail(6)) SWIG_fail;
6535 }
6536 }
6537 if (obj6) {
6538 {
6539 arg7 = wxString_in_helper(obj6);
6540 if (arg7 == NULL) SWIG_fail;
6541 temp7 = true;
6542 }
6543 }
6544 {
6545 if (!wxPyCheckForApp()) SWIG_fail;
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6553 {
6554 if (temp3)
6555 delete arg3;
6556 }
6557 {
6558 if (temp7)
6559 delete arg7;
6560 }
6561 return resultobj;
6562 fail:
6563 {
6564 if (temp3)
6565 delete arg3;
6566 }
6567 {
6568 if (temp7)
6569 delete arg7;
6570 }
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxStaticText *result;
6578 char *kwnames[] = {
6579 NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6583 {
6584 if (!wxPyCheckForApp()) SWIG_fail;
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxStaticText *)new wxStaticText();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6592 return resultobj;
6593 fail:
6594 return NULL;
6595 }
6596
6597
6598 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 wxStaticText *arg1 = (wxStaticText *) 0 ;
6601 wxWindow *arg2 = (wxWindow *) 0 ;
6602 int arg3 = (int) -1 ;
6603 wxString const &arg4_defvalue = wxPyEmptyString ;
6604 wxString *arg4 = (wxString *) &arg4_defvalue ;
6605 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6606 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6607 wxSize const &arg6_defvalue = wxDefaultSize ;
6608 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6609 long arg7 = (long) 0 ;
6610 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6611 wxString *arg8 = (wxString *) &arg8_defvalue ;
6612 bool result;
6613 bool temp4 = false ;
6614 wxPoint temp5 ;
6615 wxSize temp6 ;
6616 bool temp8 = false ;
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
6619 PyObject * obj2 = 0 ;
6620 PyObject * obj3 = 0 ;
6621 PyObject * obj4 = 0 ;
6622 PyObject * obj5 = 0 ;
6623 PyObject * obj6 = 0 ;
6624 PyObject * obj7 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail;
6632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail;
6634 if (obj2) {
6635 {
6636 arg3 = (int)(SWIG_As_int(obj2));
6637 if (SWIG_arg_fail(3)) SWIG_fail;
6638 }
6639 }
6640 if (obj3) {
6641 {
6642 arg4 = wxString_in_helper(obj3);
6643 if (arg4 == NULL) SWIG_fail;
6644 temp4 = true;
6645 }
6646 }
6647 if (obj4) {
6648 {
6649 arg5 = &temp5;
6650 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6651 }
6652 }
6653 if (obj5) {
6654 {
6655 arg6 = &temp6;
6656 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6657 }
6658 }
6659 if (obj6) {
6660 {
6661 arg7 = (long)(SWIG_As_long(obj6));
6662 if (SWIG_arg_fail(7)) SWIG_fail;
6663 }
6664 }
6665 if (obj7) {
6666 {
6667 arg8 = wxString_in_helper(obj7);
6668 if (arg8 == NULL) SWIG_fail;
6669 temp8 = true;
6670 }
6671 }
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 {
6680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6681 }
6682 {
6683 if (temp4)
6684 delete arg4;
6685 }
6686 {
6687 if (temp8)
6688 delete arg8;
6689 }
6690 return resultobj;
6691 fail:
6692 {
6693 if (temp4)
6694 delete arg4;
6695 }
6696 {
6697 if (temp8)
6698 delete arg8;
6699 }
6700 return NULL;
6701 }
6702
6703
6704 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6705 PyObject *resultobj;
6706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6707 wxVisualAttributes result;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "variant", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6714 if (obj0) {
6715 {
6716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 }
6719 }
6720 {
6721 if (!wxPyCheckForApp()) SWIG_fail;
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 wxVisualAttributes * resultptr;
6730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6740 PyObject *obj;
6741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6743 Py_INCREF(obj);
6744 return Py_BuildValue((char *)"");
6745 }
6746 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxWindow *arg1 = (wxWindow *) 0 ;
6749 int arg2 = (int) -1 ;
6750 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6751 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6754 wxSize const &arg5_defvalue = wxDefaultSize ;
6755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6756 long arg6 = (long) 0 ;
6757 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6758 wxString *arg7 = (wxString *) &arg7_defvalue ;
6759 wxStaticBitmap *result;
6760 wxPoint temp4 ;
6761 wxSize temp5 ;
6762 bool temp7 = false ;
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
6767 PyObject * obj4 = 0 ;
6768 PyObject * obj5 = 0 ;
6769 PyObject * obj6 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 if (obj1) {
6778 {
6779 arg2 = (int)(SWIG_As_int(obj1));
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 }
6782 }
6783 if (obj2) {
6784 {
6785 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6786 if (SWIG_arg_fail(3)) SWIG_fail;
6787 if (arg3 == NULL) {
6788 SWIG_null_ref("wxBitmap");
6789 }
6790 if (SWIG_arg_fail(3)) SWIG_fail;
6791 }
6792 }
6793 if (obj3) {
6794 {
6795 arg4 = &temp4;
6796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6797 }
6798 }
6799 if (obj4) {
6800 {
6801 arg5 = &temp5;
6802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6803 }
6804 }
6805 if (obj5) {
6806 {
6807 arg6 = (long)(SWIG_As_long(obj5));
6808 if (SWIG_arg_fail(6)) SWIG_fail;
6809 }
6810 }
6811 if (obj6) {
6812 {
6813 arg7 = wxString_in_helper(obj6);
6814 if (arg7 == NULL) SWIG_fail;
6815 temp7 = true;
6816 }
6817 }
6818 {
6819 if (!wxPyCheckForApp()) SWIG_fail;
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6827 {
6828 if (temp7)
6829 delete arg7;
6830 }
6831 return resultobj;
6832 fail:
6833 {
6834 if (temp7)
6835 delete arg7;
6836 }
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxStaticBitmap *result;
6844 char *kwnames[] = {
6845 NULL
6846 };
6847
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6849 {
6850 if (!wxPyCheckForApp()) SWIG_fail;
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (wxStaticBitmap *)new wxStaticBitmap();
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj;
6866 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6867 wxWindow *arg2 = (wxWindow *) 0 ;
6868 int arg3 = (int) -1 ;
6869 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6870 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6873 wxSize const &arg6_defvalue = wxDefaultSize ;
6874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6875 long arg7 = (long) 0 ;
6876 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6877 wxString *arg8 = (wxString *) &arg8_defvalue ;
6878 bool result;
6879 wxPoint temp5 ;
6880 wxSize temp6 ;
6881 bool temp8 = false ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885 PyObject * obj3 = 0 ;
6886 PyObject * obj4 = 0 ;
6887 PyObject * obj5 = 0 ;
6888 PyObject * obj6 = 0 ;
6889 PyObject * obj7 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
6897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6898 if (SWIG_arg_fail(2)) SWIG_fail;
6899 if (obj2) {
6900 {
6901 arg3 = (int)(SWIG_As_int(obj2));
6902 if (SWIG_arg_fail(3)) SWIG_fail;
6903 }
6904 }
6905 if (obj3) {
6906 {
6907 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6908 if (SWIG_arg_fail(4)) SWIG_fail;
6909 if (arg4 == NULL) {
6910 SWIG_null_ref("wxBitmap");
6911 }
6912 if (SWIG_arg_fail(4)) SWIG_fail;
6913 }
6914 }
6915 if (obj4) {
6916 {
6917 arg5 = &temp5;
6918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6919 }
6920 }
6921 if (obj5) {
6922 {
6923 arg6 = &temp6;
6924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6925 }
6926 }
6927 if (obj6) {
6928 {
6929 arg7 = (long)(SWIG_As_long(obj6));
6930 if (SWIG_arg_fail(7)) SWIG_fail;
6931 }
6932 }
6933 if (obj7) {
6934 {
6935 arg8 = wxString_in_helper(obj7);
6936 if (arg8 == NULL) SWIG_fail;
6937 temp8 = true;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 {
6948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6949 }
6950 {
6951 if (temp8)
6952 delete arg8;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (temp8)
6958 delete arg8;
6959 }
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6967 wxBitmap result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (arg1)->GetBitmap();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984 wxBitmap * resultptr;
6985 resultptr = new wxBitmap((wxBitmap &)(result));
6986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6987 }
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6997 wxBitmap *arg2 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "bitmap", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail;
7007 {
7008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7009 if (SWIG_arg_fail(2)) SWIG_fail;
7010 if (arg2 == NULL) {
7011 SWIG_null_ref("wxBitmap");
7012 }
7013 if (SWIG_arg_fail(2)) SWIG_fail;
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7032 wxIcon *arg2 = 0 ;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "icon", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail;
7042 {
7043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(2)) SWIG_fail;
7045 if (arg2 == NULL) {
7046 SWIG_null_ref("wxIcon");
7047 }
7048 if (SWIG_arg_fail(2)) SWIG_fail;
7049 }
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 (arg1)->SetIcon((wxIcon const &)*arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061 }
7062
7063
7064 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7067 wxVisualAttributes result;
7068 PyObject * obj0 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "variant", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7074 if (obj0) {
7075 {
7076 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7077 if (SWIG_arg_fail(1)) SWIG_fail;
7078 }
7079 }
7080 {
7081 if (!wxPyCheckForApp()) SWIG_fail;
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 {
7089 wxVisualAttributes * resultptr;
7090 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7092 }
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7100 PyObject *obj;
7101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7103 Py_INCREF(obj);
7104 return Py_BuildValue((char *)"");
7105 }
7106 static int _wrap_ListBoxNameStr_set(PyObject *) {
7107 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7108 return 1;
7109 }
7110
7111
7112 static PyObject *_wrap_ListBoxNameStr_get(void) {
7113 PyObject *pyobj;
7114
7115 {
7116 #if wxUSE_UNICODE
7117 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7118 #else
7119 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7120 #endif
7121 }
7122 return pyobj;
7123 }
7124
7125
7126 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxWindow *arg1 = (wxWindow *) 0 ;
7129 int arg2 = (int) -1 ;
7130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7132 wxSize const &arg4_defvalue = wxDefaultSize ;
7133 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7134 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7135 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7136 long arg6 = (long) 0 ;
7137 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7138 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7139 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7140 wxString *arg8 = (wxString *) &arg8_defvalue ;
7141 wxListBox *result;
7142 wxPoint temp3 ;
7143 wxSize temp4 ;
7144 bool temp5 = false ;
7145 bool temp8 = false ;
7146 PyObject * obj0 = 0 ;
7147 PyObject * obj1 = 0 ;
7148 PyObject * obj2 = 0 ;
7149 PyObject * obj3 = 0 ;
7150 PyObject * obj4 = 0 ;
7151 PyObject * obj5 = 0 ;
7152 PyObject * obj6 = 0 ;
7153 PyObject * obj7 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail;
7161 if (obj1) {
7162 {
7163 arg2 = (int)(SWIG_As_int(obj1));
7164 if (SWIG_arg_fail(2)) SWIG_fail;
7165 }
7166 }
7167 if (obj2) {
7168 {
7169 arg3 = &temp3;
7170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7171 }
7172 }
7173 if (obj3) {
7174 {
7175 arg4 = &temp4;
7176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7177 }
7178 }
7179 if (obj4) {
7180 {
7181 if (! PySequence_Check(obj4)) {
7182 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7183 SWIG_fail;
7184 }
7185 arg5 = new wxArrayString;
7186 temp5 = true;
7187 int i, len=PySequence_Length(obj4);
7188 for (i=0; i<len; i++) {
7189 PyObject* item = PySequence_GetItem(obj4, i);
7190 #if wxUSE_UNICODE
7191 PyObject* str = PyObject_Unicode(item);
7192 #else
7193 PyObject* str = PyObject_Str(item);
7194 #endif
7195 if (PyErr_Occurred()) SWIG_fail;
7196 arg5->Add(Py2wxString(str));
7197 Py_DECREF(item);
7198 Py_DECREF(str);
7199 }
7200 }
7201 }
7202 if (obj5) {
7203 {
7204 arg6 = (long)(SWIG_As_long(obj5));
7205 if (SWIG_arg_fail(6)) SWIG_fail;
7206 }
7207 }
7208 if (obj6) {
7209 {
7210 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(7)) SWIG_fail;
7212 if (arg7 == NULL) {
7213 SWIG_null_ref("wxValidator");
7214 }
7215 if (SWIG_arg_fail(7)) SWIG_fail;
7216 }
7217 }
7218 if (obj7) {
7219 {
7220 arg8 = wxString_in_helper(obj7);
7221 if (arg8 == NULL) SWIG_fail;
7222 temp8 = true;
7223 }
7224 }
7225 {
7226 if (!wxPyCheckForApp()) SWIG_fail;
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7234 {
7235 if (temp5) delete arg5;
7236 }
7237 {
7238 if (temp8)
7239 delete arg8;
7240 }
7241 return resultobj;
7242 fail:
7243 {
7244 if (temp5) delete arg5;
7245 }
7246 {
7247 if (temp8)
7248 delete arg8;
7249 }
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxListBox *result;
7257 char *kwnames[] = {
7258 NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7262 {
7263 if (!wxPyCheckForApp()) SWIG_fail;
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxListBox *)new wxListBox();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxListBox *arg1 = (wxListBox *) 0 ;
7280 wxWindow *arg2 = (wxWindow *) 0 ;
7281 int arg3 = (int) -1 ;
7282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7284 wxSize const &arg5_defvalue = wxDefaultSize ;
7285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7286 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7287 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7288 long arg7 = (long) 0 ;
7289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7291 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7292 wxString *arg9 = (wxString *) &arg9_defvalue ;
7293 bool result;
7294 wxPoint temp4 ;
7295 wxSize temp5 ;
7296 bool temp6 = false ;
7297 bool temp9 = false ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 PyObject * obj2 = 0 ;
7301 PyObject * obj3 = 0 ;
7302 PyObject * obj4 = 0 ;
7303 PyObject * obj5 = 0 ;
7304 PyObject * obj6 = 0 ;
7305 PyObject * obj7 = 0 ;
7306 PyObject * obj8 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail;
7314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7315 if (SWIG_arg_fail(2)) SWIG_fail;
7316 if (obj2) {
7317 {
7318 arg3 = (int)(SWIG_As_int(obj2));
7319 if (SWIG_arg_fail(3)) SWIG_fail;
7320 }
7321 }
7322 if (obj3) {
7323 {
7324 arg4 = &temp4;
7325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7326 }
7327 }
7328 if (obj4) {
7329 {
7330 arg5 = &temp5;
7331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7332 }
7333 }
7334 if (obj5) {
7335 {
7336 if (! PySequence_Check(obj5)) {
7337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7338 SWIG_fail;
7339 }
7340 arg6 = new wxArrayString;
7341 temp6 = true;
7342 int i, len=PySequence_Length(obj5);
7343 for (i=0; i<len; i++) {
7344 PyObject* item = PySequence_GetItem(obj5, i);
7345 #if wxUSE_UNICODE
7346 PyObject* str = PyObject_Unicode(item);
7347 #else
7348 PyObject* str = PyObject_Str(item);
7349 #endif
7350 if (PyErr_Occurred()) SWIG_fail;
7351 arg6->Add(Py2wxString(str));
7352 Py_DECREF(item);
7353 Py_DECREF(str);
7354 }
7355 }
7356 }
7357 if (obj6) {
7358 {
7359 arg7 = (long)(SWIG_As_long(obj6));
7360 if (SWIG_arg_fail(7)) SWIG_fail;
7361 }
7362 }
7363 if (obj7) {
7364 {
7365 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7366 if (SWIG_arg_fail(8)) SWIG_fail;
7367 if (arg8 == NULL) {
7368 SWIG_null_ref("wxValidator");
7369 }
7370 if (SWIG_arg_fail(8)) SWIG_fail;
7371 }
7372 }
7373 if (obj8) {
7374 {
7375 arg9 = wxString_in_helper(obj8);
7376 if (arg9 == NULL) SWIG_fail;
7377 temp9 = true;
7378 }
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 {
7388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7389 }
7390 {
7391 if (temp6) delete arg6;
7392 }
7393 {
7394 if (temp9)
7395 delete arg9;
7396 }
7397 return resultobj;
7398 fail:
7399 {
7400 if (temp6) delete arg6;
7401 }
7402 {
7403 if (temp9)
7404 delete arg9;
7405 }
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxListBox *arg1 = (wxListBox *) 0 ;
7413 wxString *arg2 = 0 ;
7414 int arg3 ;
7415 PyObject *arg4 = (PyObject *) NULL ;
7416 bool temp2 = false ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 PyObject * obj2 = 0 ;
7420 PyObject * obj3 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail;
7428 {
7429 arg2 = wxString_in_helper(obj1);
7430 if (arg2 == NULL) SWIG_fail;
7431 temp2 = true;
7432 }
7433 {
7434 arg3 = (int)(SWIG_As_int(obj2));
7435 if (SWIG_arg_fail(3)) SWIG_fail;
7436 }
7437 if (obj3) {
7438 arg4 = obj3;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxListBox *arg1 = (wxListBox *) 0 ;
7465 wxArrayString *arg2 = 0 ;
7466 int arg3 ;
7467 bool temp2 = false ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 PyObject * obj2 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "items",(char *) "pos", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail;
7478 {
7479 if (! PySequence_Check(obj1)) {
7480 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7481 SWIG_fail;
7482 }
7483 arg2 = new wxArrayString;
7484 temp2 = true;
7485 int i, len=PySequence_Length(obj1);
7486 for (i=0; i<len; i++) {
7487 PyObject* item = PySequence_GetItem(obj1, i);
7488 #if wxUSE_UNICODE
7489 PyObject* str = PyObject_Unicode(item);
7490 #else
7491 PyObject* str = PyObject_Str(item);
7492 #endif
7493 if (PyErr_Occurred()) SWIG_fail;
7494 arg2->Add(Py2wxString(str));
7495 Py_DECREF(item);
7496 Py_DECREF(str);
7497 }
7498 }
7499 {
7500 arg3 = (int)(SWIG_As_int(obj2));
7501 if (SWIG_arg_fail(3)) SWIG_fail;
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 Py_INCREF(Py_None); resultobj = Py_None;
7511 {
7512 if (temp2) delete arg2;
7513 }
7514 return resultobj;
7515 fail:
7516 {
7517 if (temp2) delete arg2;
7518 }
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxListBox *arg1 = (wxListBox *) 0 ;
7526 wxArrayString *arg2 = 0 ;
7527 bool temp2 = false ;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "items", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail;
7537 {
7538 if (! PySequence_Check(obj1)) {
7539 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7540 SWIG_fail;
7541 }
7542 arg2 = new wxArrayString;
7543 temp2 = true;
7544 int i, len=PySequence_Length(obj1);
7545 for (i=0; i<len; i++) {
7546 PyObject* item = PySequence_GetItem(obj1, i);
7547 #if wxUSE_UNICODE
7548 PyObject* str = PyObject_Unicode(item);
7549 #else
7550 PyObject* str = PyObject_Str(item);
7551 #endif
7552 if (PyErr_Occurred()) SWIG_fail;
7553 arg2->Add(Py2wxString(str));
7554 Py_DECREF(item);
7555 Py_DECREF(str);
7556 }
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 (arg1)->Set((wxArrayString const &)*arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 {
7567 if (temp2) delete arg2;
7568 }
7569 return resultobj;
7570 fail:
7571 {
7572 if (temp2) delete arg2;
7573 }
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxListBox *arg1 = (wxListBox *) 0 ;
7581 int arg2 ;
7582 bool result;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "n", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail;
7592 {
7593 arg2 = (int)(SWIG_As_int(obj1));
7594 if (SWIG_arg_fail(2)) SWIG_fail;
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 {
7604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7605 }
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxListBox *arg1 = (wxListBox *) 0 ;
7615 int arg2 ;
7616 bool arg3 = (bool) true ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "n",(char *) "select", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail;
7627 {
7628 arg2 = (int)(SWIG_As_int(obj1));
7629 if (SWIG_arg_fail(2)) SWIG_fail;
7630 }
7631 if (obj2) {
7632 {
7633 arg3 = (bool)(SWIG_As_bool(obj2));
7634 if (SWIG_arg_fail(3)) SWIG_fail;
7635 }
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 (arg1)->SetSelection(arg2,arg3);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxListBox *arg1 = (wxListBox *) 0 ;
7654 int arg2 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "n", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail;
7664 {
7665 arg2 = (int)(SWIG_As_int(obj1));
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 }
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->Select(arg2);
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxListBox *arg1 = (wxListBox *) 0 ;
7685 int arg2 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "n", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail;
7695 {
7696 arg2 = (int)(SWIG_As_int(obj1));
7697 if (SWIG_arg_fail(2)) SWIG_fail;
7698 }
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->Deselect(arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxListBox *arg1 = (wxListBox *) 0 ;
7716 int arg2 = (int) -1 ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self",(char *) "itemToLeaveSelected", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail;
7726 if (obj1) {
7727 {
7728 arg2 = (int)(SWIG_As_int(obj1));
7729 if (SWIG_arg_fail(2)) SWIG_fail;
7730 }
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->DeselectAll(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxListBox *arg1 = (wxListBox *) 0 ;
7749 wxString *arg2 = 0 ;
7750 bool arg3 = (bool) true ;
7751 bool result;
7752 bool temp2 = false ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "s",(char *) "select", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
7763 {
7764 arg2 = wxString_in_helper(obj1);
7765 if (arg2 == NULL) SWIG_fail;
7766 temp2 = true;
7767 }
7768 if (obj2) {
7769 {
7770 arg3 = (bool)(SWIG_As_bool(obj2));
7771 if (SWIG_arg_fail(3)) SWIG_fail;
7772 }
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 {
7782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7783 }
7784 {
7785 if (temp2)
7786 delete arg2;
7787 }
7788 return resultobj;
7789 fail:
7790 {
7791 if (temp2)
7792 delete arg2;
7793 }
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxListBox *arg1 = (wxListBox *) 0 ;
7801 PyObject *result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (PyObject *)wxListBox_GetSelections(arg1);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = result;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxListBox *arg1 = (wxListBox *) 0 ;
7827 int arg2 ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "n", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
7837 {
7838 arg2 = (int)(SWIG_As_int(obj1));
7839 if (SWIG_arg_fail(2)) SWIG_fail;
7840 }
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetFirstItem(arg2);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 wxListBox *arg1 = (wxListBox *) 0 ;
7858 wxString *arg2 = 0 ;
7859 bool temp2 = false ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "s", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail;
7869 {
7870 arg2 = wxString_in_helper(obj1);
7871 if (arg2 == NULL) SWIG_fail;
7872 temp2 = true;
7873 }
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 (arg1)->SetFirstItem((wxString const &)*arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 {
7883 if (temp2)
7884 delete arg2;
7885 }
7886 return resultobj;
7887 fail:
7888 {
7889 if (temp2)
7890 delete arg2;
7891 }
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxListBox *arg1 = (wxListBox *) 0 ;
7899 int arg2 ;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self",(char *) "n", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail;
7909 {
7910 arg2 = (int)(SWIG_As_int(obj1));
7911 if (SWIG_arg_fail(2)) SWIG_fail;
7912 }
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 (arg1)->EnsureVisible(arg2);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 Py_INCREF(Py_None); resultobj = Py_None;
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxListBox *arg1 = (wxListBox *) 0 ;
7930 wxString *arg2 = 0 ;
7931 bool temp2 = false ;
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self",(char *) "s", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail;
7941 {
7942 arg2 = wxString_in_helper(obj1);
7943 if (arg2 == NULL) SWIG_fail;
7944 temp2 = true;
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 {
7955 if (temp2)
7956 delete arg2;
7957 }
7958 return resultobj;
7959 fail:
7960 {
7961 if (temp2)
7962 delete arg2;
7963 }
7964 return NULL;
7965 }
7966
7967
7968 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj;
7970 wxListBox *arg1 = (wxListBox *) 0 ;
7971 bool result;
7972 PyObject * obj0 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)((wxListBox const *)arg1)->IsSorted();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxListBox *arg1 = (wxListBox *) 0 ;
7999 int arg2 ;
8000 wxColour *arg3 = 0 ;
8001 wxColour temp3 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 PyObject * obj2 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "item",(char *) "c", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail;
8012 {
8013 arg2 = (int)(SWIG_As_int(obj1));
8014 if (SWIG_arg_fail(2)) SWIG_fail;
8015 }
8016 {
8017 arg3 = &temp3;
8018 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxListBox *arg1 = (wxListBox *) 0 ;
8037 int arg2 ;
8038 wxColour *arg3 = 0 ;
8039 wxColour temp3 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 PyObject * obj2 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "item",(char *) "c", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail;
8050 {
8051 arg2 = (int)(SWIG_As_int(obj1));
8052 if (SWIG_arg_fail(2)) SWIG_fail;
8053 }
8054 {
8055 arg3 = &temp3;
8056 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxListBox *arg1 = (wxListBox *) 0 ;
8075 int arg2 ;
8076 wxFont *arg3 = 0 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "item",(char *) "f", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail;
8087 {
8088 arg2 = (int)(SWIG_As_int(obj1));
8089 if (SWIG_arg_fail(2)) SWIG_fail;
8090 }
8091 {
8092 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(3)) SWIG_fail;
8094 if (arg3 == NULL) {
8095 SWIG_null_ref("wxFont");
8096 }
8097 if (SWIG_arg_fail(3)) SWIG_fail;
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 Py_INCREF(Py_None); resultobj = Py_None;
8107 return resultobj;
8108 fail:
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj;
8115 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8116 wxVisualAttributes result;
8117 PyObject * obj0 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "variant", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8123 if (obj0) {
8124 {
8125 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8126 if (SWIG_arg_fail(1)) SWIG_fail;
8127 }
8128 }
8129 {
8130 if (!wxPyCheckForApp()) SWIG_fail;
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 {
8138 wxVisualAttributes * resultptr;
8139 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8141 }
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8149 PyObject *obj;
8150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8152 Py_INCREF(obj);
8153 return Py_BuildValue((char *)"");
8154 }
8155 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxWindow *arg1 = (wxWindow *) 0 ;
8158 int arg2 = (int) -1 ;
8159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8161 wxSize const &arg4_defvalue = wxDefaultSize ;
8162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8163 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8164 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8165 long arg6 = (long) 0 ;
8166 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8167 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8168 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8169 wxString *arg8 = (wxString *) &arg8_defvalue ;
8170 wxCheckListBox *result;
8171 wxPoint temp3 ;
8172 wxSize temp4 ;
8173 bool temp5 = false ;
8174 bool temp8 = false ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 PyObject * obj2 = 0 ;
8178 PyObject * obj3 = 0 ;
8179 PyObject * obj4 = 0 ;
8180 PyObject * obj5 = 0 ;
8181 PyObject * obj6 = 0 ;
8182 PyObject * obj7 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail;
8190 if (obj1) {
8191 {
8192 arg2 = (int)(SWIG_As_int(obj1));
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
8195 }
8196 if (obj2) {
8197 {
8198 arg3 = &temp3;
8199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8200 }
8201 }
8202 if (obj3) {
8203 {
8204 arg4 = &temp4;
8205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8206 }
8207 }
8208 if (obj4) {
8209 {
8210 if (! PySequence_Check(obj4)) {
8211 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8212 SWIG_fail;
8213 }
8214 arg5 = new wxArrayString;
8215 temp5 = true;
8216 int i, len=PySequence_Length(obj4);
8217 for (i=0; i<len; i++) {
8218 PyObject* item = PySequence_GetItem(obj4, i);
8219 #if wxUSE_UNICODE
8220 PyObject* str = PyObject_Unicode(item);
8221 #else
8222 PyObject* str = PyObject_Str(item);
8223 #endif
8224 if (PyErr_Occurred()) SWIG_fail;
8225 arg5->Add(Py2wxString(str));
8226 Py_DECREF(item);
8227 Py_DECREF(str);
8228 }
8229 }
8230 }
8231 if (obj5) {
8232 {
8233 arg6 = (long)(SWIG_As_long(obj5));
8234 if (SWIG_arg_fail(6)) SWIG_fail;
8235 }
8236 }
8237 if (obj6) {
8238 {
8239 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(7)) SWIG_fail;
8241 if (arg7 == NULL) {
8242 SWIG_null_ref("wxValidator");
8243 }
8244 if (SWIG_arg_fail(7)) SWIG_fail;
8245 }
8246 }
8247 if (obj7) {
8248 {
8249 arg8 = wxString_in_helper(obj7);
8250 if (arg8 == NULL) SWIG_fail;
8251 temp8 = true;
8252 }
8253 }
8254 {
8255 if (!wxPyCheckForApp()) SWIG_fail;
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8263 {
8264 if (temp5) delete arg5;
8265 }
8266 {
8267 if (temp8)
8268 delete arg8;
8269 }
8270 return resultobj;
8271 fail:
8272 {
8273 if (temp5) delete arg5;
8274 }
8275 {
8276 if (temp8)
8277 delete arg8;
8278 }
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxCheckListBox *result;
8286 char *kwnames[] = {
8287 NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8291 {
8292 if (!wxPyCheckForApp()) SWIG_fail;
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (wxCheckListBox *)new wxCheckListBox();
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8309 wxWindow *arg2 = (wxWindow *) 0 ;
8310 int arg3 = (int) -1 ;
8311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8313 wxSize const &arg5_defvalue = wxDefaultSize ;
8314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8315 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8316 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8317 long arg7 = (long) 0 ;
8318 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8319 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8320 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8321 wxString *arg9 = (wxString *) &arg9_defvalue ;
8322 bool result;
8323 wxPoint temp4 ;
8324 wxSize temp5 ;
8325 bool temp6 = false ;
8326 bool temp9 = false ;
8327 PyObject * obj0 = 0 ;
8328 PyObject * obj1 = 0 ;
8329 PyObject * obj2 = 0 ;
8330 PyObject * obj3 = 0 ;
8331 PyObject * obj4 = 0 ;
8332 PyObject * obj5 = 0 ;
8333 PyObject * obj6 = 0 ;
8334 PyObject * obj7 = 0 ;
8335 PyObject * obj8 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail;
8345 if (obj2) {
8346 {
8347 arg3 = (int)(SWIG_As_int(obj2));
8348 if (SWIG_arg_fail(3)) SWIG_fail;
8349 }
8350 }
8351 if (obj3) {
8352 {
8353 arg4 = &temp4;
8354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8355 }
8356 }
8357 if (obj4) {
8358 {
8359 arg5 = &temp5;
8360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8361 }
8362 }
8363 if (obj5) {
8364 {
8365 if (! PySequence_Check(obj5)) {
8366 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8367 SWIG_fail;
8368 }
8369 arg6 = new wxArrayString;
8370 temp6 = true;
8371 int i, len=PySequence_Length(obj5);
8372 for (i=0; i<len; i++) {
8373 PyObject* item = PySequence_GetItem(obj5, i);
8374 #if wxUSE_UNICODE
8375 PyObject* str = PyObject_Unicode(item);
8376 #else
8377 PyObject* str = PyObject_Str(item);
8378 #endif
8379 if (PyErr_Occurred()) SWIG_fail;
8380 arg6->Add(Py2wxString(str));
8381 Py_DECREF(item);
8382 Py_DECREF(str);
8383 }
8384 }
8385 }
8386 if (obj6) {
8387 {
8388 arg7 = (long)(SWIG_As_long(obj6));
8389 if (SWIG_arg_fail(7)) SWIG_fail;
8390 }
8391 }
8392 if (obj7) {
8393 {
8394 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8395 if (SWIG_arg_fail(8)) SWIG_fail;
8396 if (arg8 == NULL) {
8397 SWIG_null_ref("wxValidator");
8398 }
8399 if (SWIG_arg_fail(8)) SWIG_fail;
8400 }
8401 }
8402 if (obj8) {
8403 {
8404 arg9 = wxString_in_helper(obj8);
8405 if (arg9 == NULL) SWIG_fail;
8406 temp9 = true;
8407 }
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
8419 {
8420 if (temp6) delete arg6;
8421 }
8422 {
8423 if (temp9)
8424 delete arg9;
8425 }
8426 return resultobj;
8427 fail:
8428 {
8429 if (temp6) delete arg6;
8430 }
8431 {
8432 if (temp9)
8433 delete arg9;
8434 }
8435 return NULL;
8436 }
8437
8438
8439 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8442 int arg2 ;
8443 bool result;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self",(char *) "index", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail;
8453 {
8454 arg2 = (int)(SWIG_As_int(obj1));
8455 if (SWIG_arg_fail(2)) SWIG_fail;
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (bool)(arg1)->IsChecked(arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 {
8465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8466 }
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8476 int arg2 ;
8477 int arg3 = (int) true ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "index",(char *) "check", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail;
8488 {
8489 arg2 = (int)(SWIG_As_int(obj1));
8490 if (SWIG_arg_fail(2)) SWIG_fail;
8491 }
8492 if (obj2) {
8493 {
8494 arg3 = (int)(SWIG_As_int(obj2));
8495 if (SWIG_arg_fail(3)) SWIG_fail;
8496 }
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 (arg1)->Check(arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail;
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (int)(arg1)->GetItemHeight();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 {
8532 resultobj = SWIG_From_int((int)(result));
8533 }
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8543 wxPoint *arg2 = 0 ;
8544 int result;
8545 wxPoint temp2 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "pt", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
8555 {
8556 arg2 = &temp2;
8557 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8558 }
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 resultobj = SWIG_From_int((int)(result));
8568 }
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8578 int arg2 ;
8579 int arg3 ;
8580 int result;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 PyObject * obj2 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "x",(char *) "y", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
8591 {
8592 arg2 = (int)(SWIG_As_int(obj1));
8593 if (SWIG_arg_fail(2)) SWIG_fail;
8594 }
8595 {
8596 arg3 = (int)(SWIG_As_int(obj2));
8597 if (SWIG_arg_fail(3)) SWIG_fail;
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 resultobj = SWIG_From_int((int)(result));
8608 }
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8616 PyObject *obj;
8617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8618 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8619 Py_INCREF(obj);
8620 return Py_BuildValue((char *)"");
8621 }
8622 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8623 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8624 return 1;
8625 }
8626
8627
8628 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8629 PyObject *pyobj;
8630
8631 {
8632 #if wxUSE_UNICODE
8633 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8634 #else
8635 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8636 #endif
8637 }
8638 return pyobj;
8639 }
8640
8641
8642 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxColour const &arg1_defvalue = wxNullColour ;
8645 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8646 wxColour const &arg2_defvalue = wxNullColour ;
8647 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8648 wxFont const &arg3_defvalue = wxNullFont ;
8649 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8650 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8651 wxTextAttr *result;
8652 wxColour temp1 ;
8653 wxColour temp2 ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 PyObject * obj3 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8663 if (obj0) {
8664 {
8665 arg1 = &temp1;
8666 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8667 }
8668 }
8669 if (obj1) {
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 }
8675 if (obj2) {
8676 {
8677 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8678 if (SWIG_arg_fail(3)) SWIG_fail;
8679 if (arg3 == NULL) {
8680 SWIG_null_ref("wxFont");
8681 }
8682 if (SWIG_arg_fail(3)) SWIG_fail;
8683 }
8684 }
8685 if (obj3) {
8686 {
8687 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8688 if (SWIG_arg_fail(4)) SWIG_fail;
8689 }
8690 }
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj;
8707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 delete arg1;
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 Py_INCREF(Py_None); resultobj = Py_None;
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->Init();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8758 wxColour *arg2 = 0 ;
8759 wxColour temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "colText", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail;
8769 {
8770 arg2 = &temp2;
8771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetTextColour((wxColour const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8790 wxColour *arg2 = 0 ;
8791 wxColour temp2 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "colBack", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
8803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 Py_INCREF(Py_None); resultobj = Py_None;
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8822 wxFont *arg2 = 0 ;
8823 long arg3 = (long) wxTEXT_ATTR_FONT ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 PyObject * obj2 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "font",(char *) "flags", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8833 if (SWIG_arg_fail(1)) SWIG_fail;
8834 {
8835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8836 if (SWIG_arg_fail(2)) SWIG_fail;
8837 if (arg2 == NULL) {
8838 SWIG_null_ref("wxFont");
8839 }
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
8842 if (obj2) {
8843 {
8844 arg3 = (long)(SWIG_As_long(obj2));
8845 if (SWIG_arg_fail(3)) SWIG_fail;
8846 }
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8865 wxTextAttrAlignment arg2 ;
8866 PyObject * obj0 = 0 ;
8867 PyObject * obj1 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "alignment", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8896 wxArrayInt *arg2 = 0 ;
8897 bool temp2 = false ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self",(char *) "tabs", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail;
8907 {
8908 if (! PySequence_Check(obj1)) {
8909 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8910 SWIG_fail;
8911 }
8912 arg2 = new wxArrayInt;
8913 temp2 = true;
8914 int i, len=PySequence_Length(obj1);
8915 for (i=0; i<len; i++) {
8916 PyObject* item = PySequence_GetItem(obj1, i);
8917 PyObject* number = PyNumber_Int(item);
8918 arg2->Add(PyInt_AS_LONG(number));
8919 Py_DECREF(item);
8920 Py_DECREF(number);
8921 }
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 {
8932 if (temp2) delete arg2;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp2) delete arg2;
8938 }
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8946 int arg2 ;
8947 int arg3 = (int) 0 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 PyObject * obj2 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = (int)(SWIG_As_int(obj1));
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 }
8962 if (obj2) {
8963 {
8964 arg3 = (int)(SWIG_As_int(obj2));
8965 if (SWIG_arg_fail(3)) SWIG_fail;
8966 }
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->SetLeftIndent(arg2,arg3);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8985 int arg2 ;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "indent", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
8996 arg2 = (int)(SWIG_As_int(obj1));
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->SetRightIndent(arg2);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9016 long arg2 ;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "flags", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail;
9026 {
9027 arg2 = (long)(SWIG_As_long(obj1));
9028 if (SWIG_arg_fail(2)) SWIG_fail;
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->SetFlags(arg2);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9047 bool result;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 {
9064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9065 }
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9075 bool result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 {
9092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9093 }
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9103 bool result;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9111 if (SWIG_arg_fail(1)) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9131 bool result;
9132 PyObject * obj0 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 {
9148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9149 }
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9159 bool result;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 {
9176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9177 }
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9187 bool result;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 {
9204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9205 }
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9215 bool result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9243 long arg2 ;
9244 bool result;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "flag", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = (long)(SWIG_As_long(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 {
9266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9267 }
9268 return resultobj;
9269 fail:
9270 return NULL;
9271 }
9272
9273
9274 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9275 PyObject *resultobj;
9276 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9277 wxColour *result;
9278 PyObject * obj0 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9285 if (SWIG_arg_fail(1)) SWIG_fail;
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 {
9289 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9290 result = (wxColour *) &_result_ref;
9291 }
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9306 wxColour *result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 {
9318 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9319 result = (wxColour *) &_result_ref;
9320 }
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9335 wxFont *result;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 {
9347 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9348 result = (wxFont *) &_result_ref;
9349 }
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 {
9355 wxFont* resultptr = new wxFont(*result);
9356 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9357 }
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9367 wxTextAttrAlignment result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_From_int((result));
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9393 wxArrayInt *result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 {
9405 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9406 result = (wxArrayInt *) &_result_ref;
9407 }
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = PyList_New(0);
9414 size_t idx;
9415 for (idx = 0; idx < result->GetCount(); idx += 1) {
9416 PyObject* val = PyInt_FromLong( result->Item(idx) );
9417 PyList_Append(resultobj, val);
9418 Py_DECREF(val);
9419 }
9420 }
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9430 long result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 {
9447 resultobj = SWIG_From_long((long)(result));
9448 }
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9458 long result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 {
9475 resultobj = SWIG_From_long((long)(result));
9476 }
9477 return resultobj;
9478 fail:
9479 return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9486 long result;
9487 PyObject * obj0 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9494 if (SWIG_arg_fail(1)) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 {
9503 resultobj = SWIG_From_long((long)(result));
9504 }
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9514 long result;
9515 PyObject * obj0 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9522 if (SWIG_arg_fail(1)) SWIG_fail;
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 {
9531 resultobj = SWIG_From_long((long)(result));
9532 }
9533 return resultobj;
9534 fail:
9535 return NULL;
9536 }
9537
9538
9539 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9542 bool result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 {
9559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9560 }
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxTextAttr *arg1 = 0 ;
9570 wxTextAttr *arg2 = 0 ;
9571 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9572 wxTextAttr result;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 PyObject * obj2 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9581 {
9582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9583 if (SWIG_arg_fail(1)) SWIG_fail;
9584 if (arg1 == NULL) {
9585 SWIG_null_ref("wxTextAttr");
9586 }
9587 if (SWIG_arg_fail(1)) SWIG_fail;
9588 }
9589 {
9590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9591 if (SWIG_arg_fail(2)) SWIG_fail;
9592 if (arg2 == NULL) {
9593 SWIG_null_ref("wxTextAttr");
9594 }
9595 if (SWIG_arg_fail(2)) SWIG_fail;
9596 }
9597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(3)) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 wxTextAttr * resultptr;
9608 resultptr = new wxTextAttr((wxTextAttr &)(result));
9609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9610 }
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9618 PyObject *obj;
9619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9620 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9621 Py_INCREF(obj);
9622 return Py_BuildValue((char *)"");
9623 }
9624 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxWindow *arg1 = (wxWindow *) 0 ;
9627 int arg2 = (int) -1 ;
9628 wxString const &arg3_defvalue = wxPyEmptyString ;
9629 wxString *arg3 = (wxString *) &arg3_defvalue ;
9630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9632 wxSize const &arg5_defvalue = wxDefaultSize ;
9633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9634 long arg6 = (long) 0 ;
9635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9637 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9638 wxString *arg8 = (wxString *) &arg8_defvalue ;
9639 wxTextCtrl *result;
9640 bool temp3 = false ;
9641 wxPoint temp4 ;
9642 wxSize temp5 ;
9643 bool temp8 = false ;
9644 PyObject * obj0 = 0 ;
9645 PyObject * obj1 = 0 ;
9646 PyObject * obj2 = 0 ;
9647 PyObject * obj3 = 0 ;
9648 PyObject * obj4 = 0 ;
9649 PyObject * obj5 = 0 ;
9650 PyObject * obj6 = 0 ;
9651 PyObject * obj7 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail;
9659 if (obj1) {
9660 {
9661 arg2 = (int)(SWIG_As_int(obj1));
9662 if (SWIG_arg_fail(2)) SWIG_fail;
9663 }
9664 }
9665 if (obj2) {
9666 {
9667 arg3 = wxString_in_helper(obj2);
9668 if (arg3 == NULL) SWIG_fail;
9669 temp3 = true;
9670 }
9671 }
9672 if (obj3) {
9673 {
9674 arg4 = &temp4;
9675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9676 }
9677 }
9678 if (obj4) {
9679 {
9680 arg5 = &temp5;
9681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9682 }
9683 }
9684 if (obj5) {
9685 {
9686 arg6 = (long)(SWIG_As_long(obj5));
9687 if (SWIG_arg_fail(6)) SWIG_fail;
9688 }
9689 }
9690 if (obj6) {
9691 {
9692 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9693 if (SWIG_arg_fail(7)) SWIG_fail;
9694 if (arg7 == NULL) {
9695 SWIG_null_ref("wxValidator");
9696 }
9697 if (SWIG_arg_fail(7)) SWIG_fail;
9698 }
9699 }
9700 if (obj7) {
9701 {
9702 arg8 = wxString_in_helper(obj7);
9703 if (arg8 == NULL) SWIG_fail;
9704 temp8 = true;
9705 }
9706 }
9707 {
9708 if (!wxPyCheckForApp()) SWIG_fail;
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9716 {
9717 if (temp3)
9718 delete arg3;
9719 }
9720 {
9721 if (temp8)
9722 delete arg8;
9723 }
9724 return resultobj;
9725 fail:
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 {
9731 if (temp8)
9732 delete arg8;
9733 }
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxTextCtrl *result;
9741 char *kwnames[] = {
9742 NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9746 {
9747 if (!wxPyCheckForApp()) SWIG_fail;
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (wxTextCtrl *)new wxTextCtrl();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9764 wxWindow *arg2 = (wxWindow *) 0 ;
9765 int arg3 = (int) -1 ;
9766 wxString const &arg4_defvalue = wxPyEmptyString ;
9767 wxString *arg4 = (wxString *) &arg4_defvalue ;
9768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9770 wxSize const &arg6_defvalue = wxDefaultSize ;
9771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9772 long arg7 = (long) 0 ;
9773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9775 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9776 wxString *arg9 = (wxString *) &arg9_defvalue ;
9777 bool result;
9778 bool temp4 = false ;
9779 wxPoint temp5 ;
9780 wxSize temp6 ;
9781 bool temp9 = false ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 PyObject * obj2 = 0 ;
9785 PyObject * obj3 = 0 ;
9786 PyObject * obj4 = 0 ;
9787 PyObject * obj5 = 0 ;
9788 PyObject * obj6 = 0 ;
9789 PyObject * obj7 = 0 ;
9790 PyObject * obj8 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail;
9798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(2)) SWIG_fail;
9800 if (obj2) {
9801 {
9802 arg3 = (int)(SWIG_As_int(obj2));
9803 if (SWIG_arg_fail(3)) SWIG_fail;
9804 }
9805 }
9806 if (obj3) {
9807 {
9808 arg4 = wxString_in_helper(obj3);
9809 if (arg4 == NULL) SWIG_fail;
9810 temp4 = true;
9811 }
9812 }
9813 if (obj4) {
9814 {
9815 arg5 = &temp5;
9816 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9817 }
9818 }
9819 if (obj5) {
9820 {
9821 arg6 = &temp6;
9822 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9823 }
9824 }
9825 if (obj6) {
9826 {
9827 arg7 = (long)(SWIG_As_long(obj6));
9828 if (SWIG_arg_fail(7)) SWIG_fail;
9829 }
9830 }
9831 if (obj7) {
9832 {
9833 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9834 if (SWIG_arg_fail(8)) SWIG_fail;
9835 if (arg8 == NULL) {
9836 SWIG_null_ref("wxValidator");
9837 }
9838 if (SWIG_arg_fail(8)) SWIG_fail;
9839 }
9840 }
9841 if (obj8) {
9842 {
9843 arg9 = wxString_in_helper(obj8);
9844 if (arg9 == NULL) SWIG_fail;
9845 temp9 = true;
9846 }
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 {
9859 if (temp4)
9860 delete arg4;
9861 }
9862 {
9863 if (temp9)
9864 delete arg9;
9865 }
9866 return resultobj;
9867 fail:
9868 {
9869 if (temp4)
9870 delete arg4;
9871 }
9872 {
9873 if (temp9)
9874 delete arg9;
9875 }
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9883 wxString result;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail;
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = ((wxTextCtrl const *)arg1)->GetValue();
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 {
9900 #if wxUSE_UNICODE
9901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9902 #else
9903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9904 #endif
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9915 wxString *arg2 = 0 ;
9916 bool temp2 = false ;
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "value", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 arg2 = wxString_in_helper(obj1);
9928 if (arg2 == NULL) SWIG_fail;
9929 temp2 = true;
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->SetValue((wxString const &)*arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 {
9940 if (temp2)
9941 delete arg2;
9942 }
9943 return resultobj;
9944 fail:
9945 {
9946 if (temp2)
9947 delete arg2;
9948 }
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 long arg2 ;
9957 long arg3 ;
9958 wxString result;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 PyObject * obj2 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "from",(char *) "to", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail;
9969 {
9970 arg2 = (long)(SWIG_As_long(obj1));
9971 if (SWIG_arg_fail(2)) SWIG_fail;
9972 }
9973 {
9974 arg3 = (long)(SWIG_As_long(obj2));
9975 if (SWIG_arg_fail(3)) SWIG_fail;
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 #if wxUSE_UNICODE
9986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9987 #else
9988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9989 #endif
9990 }
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10000 long arg2 ;
10001 int result;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail;
10011 {
10012 arg2 = (long)(SWIG_As_long(obj1));
10013 if (SWIG_arg_fail(2)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 {
10023 resultobj = SWIG_From_int((int)(result));
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10034 long arg2 ;
10035 wxString result;
10036 PyObject * obj0 = 0 ;
10037 PyObject * obj1 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "lineNo", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail;
10045 {
10046 arg2 = (long)(SWIG_As_long(obj1));
10047 if (SWIG_arg_fail(2)) SWIG_fail;
10048 }
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 {
10057 #if wxUSE_UNICODE
10058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10059 #else
10060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10061 #endif
10062 }
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10072 int result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 {
10089 resultobj = SWIG_From_int((int)(result));
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10100 bool result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10118 }
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10128 bool result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10136 if (SWIG_arg_fail(1)) SWIG_fail;
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 {
10145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10146 }
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10156 bool result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10164 if (SWIG_arg_fail(1)) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 {
10173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10174 }
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10184 bool result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10192 if (SWIG_arg_fail(1)) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 {
10201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10202 }
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10212 long *arg2 = (long *) 0 ;
10213 long *arg3 = (long *) 0 ;
10214 long temp2 ;
10215 int res2 = 0 ;
10216 long temp3 ;
10217 int res3 = 0 ;
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
10223 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10224 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
10236 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10237 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10238 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10239 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10249 wxString result;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 {
10266 #if wxUSE_UNICODE
10267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10268 #else
10269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10270 #endif
10271 }
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 (arg1)->Clear();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 Py_INCREF(Py_None); resultobj = Py_None;
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10306 long arg2 ;
10307 long arg3 ;
10308 wxString *arg4 = 0 ;
10309 bool temp4 = false ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 PyObject * obj2 = 0 ;
10313 PyObject * obj3 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10320 if (SWIG_arg_fail(1)) SWIG_fail;
10321 {
10322 arg2 = (long)(SWIG_As_long(obj1));
10323 if (SWIG_arg_fail(2)) SWIG_fail;
10324 }
10325 {
10326 arg3 = (long)(SWIG_As_long(obj2));
10327 if (SWIG_arg_fail(3)) SWIG_fail;
10328 }
10329 {
10330 arg4 = wxString_in_helper(obj3);
10331 if (arg4 == NULL) SWIG_fail;
10332 temp4 = true;
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
10342 {
10343 if (temp4)
10344 delete arg4;
10345 }
10346 return resultobj;
10347 fail:
10348 {
10349 if (temp4)
10350 delete arg4;
10351 }
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10359 long arg2 ;
10360 long arg3 ;
10361 PyObject * obj0 = 0 ;
10362 PyObject * obj1 = 0 ;
10363 PyObject * obj2 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "from",(char *) "to", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail;
10371 {
10372 arg2 = (long)(SWIG_As_long(obj1));
10373 if (SWIG_arg_fail(2)) SWIG_fail;
10374 }
10375 {
10376 arg3 = (long)(SWIG_As_long(obj2));
10377 if (SWIG_arg_fail(3)) SWIG_fail;
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->Remove(arg2,arg3);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10396 wxString *arg2 = 0 ;
10397 bool result;
10398 bool temp2 = false ;
10399 PyObject * obj0 = 0 ;
10400 PyObject * obj1 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "file", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
10408 {
10409 arg2 = wxString_in_helper(obj1);
10410 if (arg2 == NULL) SWIG_fail;
10411 temp2 = true;
10412 }
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 {
10421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10422 }
10423 {
10424 if (temp2)
10425 delete arg2;
10426 }
10427 return resultobj;
10428 fail:
10429 {
10430 if (temp2)
10431 delete arg2;
10432 }
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10440 wxString const &arg2_defvalue = wxPyEmptyString ;
10441 wxString *arg2 = (wxString *) &arg2_defvalue ;
10442 bool result;
10443 bool temp2 = false ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "file", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail;
10453 if (obj1) {
10454 {
10455 arg2 = wxString_in_helper(obj1);
10456 if (arg2 == NULL) SWIG_fail;
10457 temp2 = true;
10458 }
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 }
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp2)
10478 delete arg2;
10479 }
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->MarkDirty();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->DiscardEdits();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10537 unsigned long arg2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "len", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
10547 {
10548 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10549 if (SWIG_arg_fail(2)) SWIG_fail;
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetMaxLength(arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10568 wxString *arg2 = 0 ;
10569 bool temp2 = false ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "text", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail;
10579 {
10580 arg2 = wxString_in_helper(obj1);
10581 if (arg2 == NULL) SWIG_fail;
10582 temp2 = true;
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->WriteText((wxString const &)*arg2);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 {
10593 if (temp2)
10594 delete arg2;
10595 }
10596 return resultobj;
10597 fail:
10598 {
10599 if (temp2)
10600 delete arg2;
10601 }
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10609 wxString *arg2 = 0 ;
10610 bool temp2 = false ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "text", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
10620 {
10621 arg2 = wxString_in_helper(obj1);
10622 if (arg2 == NULL) SWIG_fail;
10623 temp2 = true;
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->AppendText((wxString const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return resultobj;
10638 fail:
10639 {
10640 if (temp2)
10641 delete arg2;
10642 }
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10650 wxKeyEvent *arg2 = 0 ;
10651 bool result;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "event", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
10661 {
10662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10663 if (SWIG_arg_fail(2)) SWIG_fail;
10664 if (arg2 == NULL) {
10665 SWIG_null_ref("wxKeyEvent");
10666 }
10667 if (SWIG_arg_fail(2)) SWIG_fail;
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 {
10677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10678 }
10679 return resultobj;
10680 fail:
10681 return NULL;
10682 }
10683
10684
10685 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj;
10687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10688 long arg2 ;
10689 long arg3 ;
10690 wxTextAttr *arg4 = 0 ;
10691 bool result;
10692 PyObject * obj0 = 0 ;
10693 PyObject * obj1 = 0 ;
10694 PyObject * obj2 = 0 ;
10695 PyObject * obj3 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10702 if (SWIG_arg_fail(1)) SWIG_fail;
10703 {
10704 arg2 = (long)(SWIG_As_long(obj1));
10705 if (SWIG_arg_fail(2)) SWIG_fail;
10706 }
10707 {
10708 arg3 = (long)(SWIG_As_long(obj2));
10709 if (SWIG_arg_fail(3)) SWIG_fail;
10710 }
10711 {
10712 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10713 if (SWIG_arg_fail(4)) SWIG_fail;
10714 if (arg4 == NULL) {
10715 SWIG_null_ref("wxTextAttr");
10716 }
10717 if (SWIG_arg_fail(4)) SWIG_fail;
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 {
10727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10728 }
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10738 long arg2 ;
10739 wxTextAttr *arg3 = 0 ;
10740 bool result;
10741 PyObject * obj0 = 0 ;
10742 PyObject * obj1 = 0 ;
10743 PyObject * obj2 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "position",(char *) "style", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail;
10751 {
10752 arg2 = (long)(SWIG_As_long(obj1));
10753 if (SWIG_arg_fail(2)) SWIG_fail;
10754 }
10755 {
10756 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(3)) SWIG_fail;
10758 if (arg3 == NULL) {
10759 SWIG_null_ref("wxTextAttr");
10760 }
10761 if (SWIG_arg_fail(3)) SWIG_fail;
10762 }
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 {
10771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10782 wxTextAttr *arg2 = 0 ;
10783 bool result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "style", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail;
10793 {
10794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 if (arg2 == NULL) {
10797 SWIG_null_ref("wxTextAttr");
10798 }
10799 if (SWIG_arg_fail(2)) SWIG_fail;
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 {
10809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10810 }
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10820 wxTextAttr *result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 {
10832 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10833 result = (wxTextAttr *) &_result_ref;
10834 }
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10849 long arg2 ;
10850 long arg3 ;
10851 long result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "x",(char *) "y", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail;
10862 {
10863 arg2 = (long)(SWIG_As_long(obj1));
10864 if (SWIG_arg_fail(2)) SWIG_fail;
10865 }
10866 {
10867 arg3 = (long)(SWIG_As_long(obj2));
10868 if (SWIG_arg_fail(3)) SWIG_fail;
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 {
10878 resultobj = SWIG_From_long((long)(result));
10879 }
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10889 long arg2 ;
10890 long *arg3 = (long *) 0 ;
10891 long *arg4 = (long *) 0 ;
10892 long temp3 ;
10893 int res3 = 0 ;
10894 long temp4 ;
10895 int res4 = 0 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "pos", NULL
10900 };
10901
10902 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10903 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
10907 {
10908 arg2 = (long)(SWIG_As_long(obj1));
10909 if (SWIG_arg_fail(2)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10920 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10921 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10922 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10932 long arg2 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "pos", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail;
10942 {
10943 arg2 = (long)(SWIG_As_long(obj1));
10944 if (SWIG_arg_fail(2)) SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->ShowPosition(arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10963 wxPoint *arg2 = 0 ;
10964 long *arg3 = (long *) 0 ;
10965 long *arg4 = (long *) 0 ;
10966 wxTextCtrlHitTestResult result;
10967 wxPoint temp2 ;
10968 long temp3 ;
10969 int res3 = 0 ;
10970 long temp4 ;
10971 int res4 = 0 ;
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "pt", NULL
10976 };
10977
10978 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10979 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
10983 {
10984 arg2 = &temp2;
10985 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_From_int((result));
10995 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10996 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10997 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10998 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11008 wxPoint *arg2 = 0 ;
11009 long *arg3 = (long *) 0 ;
11010 wxTextCtrlHitTestResult result;
11011 wxPoint temp2 ;
11012 long temp3 ;
11013 int res3 = 0 ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "pt", NULL
11018 };
11019
11020 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
11024 {
11025 arg2 = &temp2;
11026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_From_int((result));
11036 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11037 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11038 return resultobj;
11039 fail:
11040 return NULL;
11041 }
11042
11043
11044 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail;
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 (arg1)->Copy();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 Py_INCREF(Py_None); resultobj = Py_None;
11063 return resultobj;
11064 fail:
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->Cut();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->Paste();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11122 bool result;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail;
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11150 bool result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11168 }
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "self", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail;
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 (arg1)->Undo();
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 Py_INCREF(Py_None); resultobj = Py_None;
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11231 PyObject * obj0 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 (arg1)->Redo();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 Py_INCREF(Py_None); resultobj = Py_None;
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11256 bool result;
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail;
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11274 }
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11284 bool result;
11285 PyObject * obj0 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail;
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11312 long arg2 ;
11313 PyObject * obj0 = 0 ;
11314 PyObject * obj1 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self",(char *) "pos", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail;
11322 {
11323 arg2 = (long)(SWIG_As_long(obj1));
11324 if (SWIG_arg_fail(2)) SWIG_fail;
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->SetInsertionPoint(arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetInsertionPointEnd();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11368 long result;
11369 PyObject * obj0 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail;
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 {
11385 resultobj = SWIG_From_long((long)(result));
11386 }
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11396 long result;
11397 PyObject * obj0 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail;
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 resultobj = SWIG_From_long((long)(result));
11414 }
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11424 long arg2 ;
11425 long arg3 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "from",(char *) "to", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (long)(SWIG_As_long(obj1));
11438 if (SWIG_arg_fail(2)) SWIG_fail;
11439 }
11440 {
11441 arg3 = (long)(SWIG_As_long(obj2));
11442 if (SWIG_arg_fail(3)) SWIG_fail;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetSelection(arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SelectAll();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11486 bool arg2 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "self",(char *) "editable", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail;
11496 {
11497 arg2 = (bool)(SWIG_As_bool(obj1));
11498 if (SWIG_arg_fail(2)) SWIG_fail;
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetEditable(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11517 wxString *arg2 = 0 ;
11518 bool temp2 = false ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "text", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
11529 arg2 = wxString_in_helper(obj1);
11530 if (arg2 == NULL) SWIG_fail;
11531 temp2 = true;
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 {
11542 if (temp2)
11543 delete arg2;
11544 }
11545 return resultobj;
11546 fail:
11547 {
11548 if (temp2)
11549 delete arg2;
11550 }
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 long arg2 ;
11559 long arg3 ;
11560 wxString result;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 PyObject * obj2 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "from",(char *) "to", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail;
11571 {
11572 arg2 = (long)(SWIG_As_long(obj1));
11573 if (SWIG_arg_fail(2)) SWIG_fail;
11574 }
11575 {
11576 arg3 = (long)(SWIG_As_long(obj2));
11577 if (SWIG_arg_fail(3)) SWIG_fail;
11578 }
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 #if wxUSE_UNICODE
11588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11589 #else
11590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11591 #endif
11592 }
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11602 wxVisualAttributes result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "variant", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11609 if (obj0) {
11610 {
11611 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 }
11614 }
11615 {
11616 if (!wxPyCheckForApp()) SWIG_fail;
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 {
11624 wxVisualAttributes * resultptr;
11625 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11627 }
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11635 PyObject *obj;
11636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11637 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11638 Py_INCREF(obj);
11639 return Py_BuildValue((char *)"");
11640 }
11641 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 int arg1 ;
11644 wxMouseEvent *arg2 = 0 ;
11645 long arg3 ;
11646 long arg4 ;
11647 wxTextUrlEvent *result;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 PyObject * obj2 = 0 ;
11651 PyObject * obj3 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11657 {
11658 arg1 = (int)(SWIG_As_int(obj0));
11659 if (SWIG_arg_fail(1)) SWIG_fail;
11660 }
11661 {
11662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(2)) SWIG_fail;
11664 if (arg2 == NULL) {
11665 SWIG_null_ref("wxMouseEvent");
11666 }
11667 if (SWIG_arg_fail(2)) SWIG_fail;
11668 }
11669 {
11670 arg3 = (long)(SWIG_As_long(obj2));
11671 if (SWIG_arg_fail(3)) SWIG_fail;
11672 }
11673 {
11674 arg4 = (long)(SWIG_As_long(obj3));
11675 if (SWIG_arg_fail(4)) SWIG_fail;
11676 }
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11694 wxMouseEvent *result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail;
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 {
11706 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11707 result = (wxMouseEvent *) &_result_ref;
11708 }
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11721 PyObject *resultobj;
11722 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11723 long result;
11724 PyObject * obj0 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail;
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 {
11740 resultobj = SWIG_From_long((long)(result));
11741 }
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11751 long result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 resultobj = SWIG_From_long((long)(result));
11769 }
11770 return resultobj;
11771 fail:
11772 return NULL;
11773 }
11774
11775
11776 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11777 PyObject *obj;
11778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11780 Py_INCREF(obj);
11781 return Py_BuildValue((char *)"");
11782 }
11783 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11784 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11785 return 1;
11786 }
11787
11788
11789 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11790 PyObject *pyobj;
11791
11792 {
11793 #if wxUSE_UNICODE
11794 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11795 #else
11796 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11797 #endif
11798 }
11799 return pyobj;
11800 }
11801
11802
11803 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxWindow *arg1 = (wxWindow *) 0 ;
11806 int arg2 = (int) -1 ;
11807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11809 wxSize const &arg4_defvalue = wxDefaultSize ;
11810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11811 long arg5 = (long) wxSB_HORIZONTAL ;
11812 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11813 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11814 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11815 wxString *arg7 = (wxString *) &arg7_defvalue ;
11816 wxScrollBar *result;
11817 wxPoint temp3 ;
11818 wxSize temp4 ;
11819 bool temp7 = false ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 PyObject * obj2 = 0 ;
11823 PyObject * obj3 = 0 ;
11824 PyObject * obj4 = 0 ;
11825 PyObject * obj5 = 0 ;
11826 PyObject * obj6 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11833 if (SWIG_arg_fail(1)) SWIG_fail;
11834 if (obj1) {
11835 {
11836 arg2 = (int)(SWIG_As_int(obj1));
11837 if (SWIG_arg_fail(2)) SWIG_fail;
11838 }
11839 }
11840 if (obj2) {
11841 {
11842 arg3 = &temp3;
11843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11844 }
11845 }
11846 if (obj3) {
11847 {
11848 arg4 = &temp4;
11849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11850 }
11851 }
11852 if (obj4) {
11853 {
11854 arg5 = (long)(SWIG_As_long(obj4));
11855 if (SWIG_arg_fail(5)) SWIG_fail;
11856 }
11857 }
11858 if (obj5) {
11859 {
11860 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11861 if (SWIG_arg_fail(6)) SWIG_fail;
11862 if (arg6 == NULL) {
11863 SWIG_null_ref("wxValidator");
11864 }
11865 if (SWIG_arg_fail(6)) SWIG_fail;
11866 }
11867 }
11868 if (obj6) {
11869 {
11870 arg7 = wxString_in_helper(obj6);
11871 if (arg7 == NULL) SWIG_fail;
11872 temp7 = true;
11873 }
11874 }
11875 {
11876 if (!wxPyCheckForApp()) SWIG_fail;
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11884 {
11885 if (temp7)
11886 delete arg7;
11887 }
11888 return resultobj;
11889 fail:
11890 {
11891 if (temp7)
11892 delete arg7;
11893 }
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxScrollBar *result;
11901 char *kwnames[] = {
11902 NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11906 {
11907 if (!wxPyCheckForApp()) SWIG_fail;
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (wxScrollBar *)new wxScrollBar();
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11924 wxWindow *arg2 = (wxWindow *) 0 ;
11925 int arg3 = (int) -1 ;
11926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11928 wxSize const &arg5_defvalue = wxDefaultSize ;
11929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11930 long arg6 = (long) wxSB_HORIZONTAL ;
11931 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11932 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11933 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11934 wxString *arg8 = (wxString *) &arg8_defvalue ;
11935 bool result;
11936 wxPoint temp4 ;
11937 wxSize temp5 ;
11938 bool temp8 = false ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 PyObject * obj2 = 0 ;
11942 PyObject * obj3 = 0 ;
11943 PyObject * obj4 = 0 ;
11944 PyObject * obj5 = 0 ;
11945 PyObject * obj6 = 0 ;
11946 PyObject * obj7 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail;
11954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(2)) SWIG_fail;
11956 if (obj2) {
11957 {
11958 arg3 = (int)(SWIG_As_int(obj2));
11959 if (SWIG_arg_fail(3)) SWIG_fail;
11960 }
11961 }
11962 if (obj3) {
11963 {
11964 arg4 = &temp4;
11965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11966 }
11967 }
11968 if (obj4) {
11969 {
11970 arg5 = &temp5;
11971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11972 }
11973 }
11974 if (obj5) {
11975 {
11976 arg6 = (long)(SWIG_As_long(obj5));
11977 if (SWIG_arg_fail(6)) SWIG_fail;
11978 }
11979 }
11980 if (obj6) {
11981 {
11982 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(7)) SWIG_fail;
11984 if (arg7 == NULL) {
11985 SWIG_null_ref("wxValidator");
11986 }
11987 if (SWIG_arg_fail(7)) SWIG_fail;
11988 }
11989 }
11990 if (obj7) {
11991 {
11992 arg8 = wxString_in_helper(obj7);
11993 if (arg8 == NULL) SWIG_fail;
11994 temp8 = true;
11995 }
11996 }
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 {
12005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12006 }
12007 {
12008 if (temp8)
12009 delete arg8;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp8)
12015 delete arg8;
12016 }
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12024 int result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 {
12041 resultobj = SWIG_From_int((int)(result));
12042 }
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj;
12051 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12052 int result;
12053 PyObject * obj0 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail;
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 {
12069 resultobj = SWIG_From_int((int)(result));
12070 }
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12080 int result;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 {
12097 resultobj = SWIG_From_int((int)(result));
12098 }
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12108 int result;
12109 PyObject * obj0 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxScrollBar const *)arg1)->GetRange();
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 {
12125 resultobj = SWIG_From_int((int)(result));
12126 }
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12136 bool result;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 {
12153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12154 }
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj;
12163 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12164 int arg2 ;
12165 PyObject * obj0 = 0 ;
12166 PyObject * obj1 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "viewStart", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
12174 {
12175 arg2 = (int)(SWIG_As_int(obj1));
12176 if (SWIG_arg_fail(2)) SWIG_fail;
12177 }
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 (arg1)->SetThumbPosition(arg2);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 Py_INCREF(Py_None); resultobj = Py_None;
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12195 int arg2 ;
12196 int arg3 ;
12197 int arg4 ;
12198 int arg5 ;
12199 bool arg6 = (bool) true ;
12200 PyObject * obj0 = 0 ;
12201 PyObject * obj1 = 0 ;
12202 PyObject * obj2 = 0 ;
12203 PyObject * obj3 = 0 ;
12204 PyObject * obj4 = 0 ;
12205 PyObject * obj5 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
12213 {
12214 arg2 = (int)(SWIG_As_int(obj1));
12215 if (SWIG_arg_fail(2)) SWIG_fail;
12216 }
12217 {
12218 arg3 = (int)(SWIG_As_int(obj2));
12219 if (SWIG_arg_fail(3)) SWIG_fail;
12220 }
12221 {
12222 arg4 = (int)(SWIG_As_int(obj3));
12223 if (SWIG_arg_fail(4)) SWIG_fail;
12224 }
12225 {
12226 arg5 = (int)(SWIG_As_int(obj4));
12227 if (SWIG_arg_fail(5)) SWIG_fail;
12228 }
12229 if (obj5) {
12230 {
12231 arg6 = (bool)(SWIG_As_bool(obj5));
12232 if (SWIG_arg_fail(6)) SWIG_fail;
12233 }
12234 }
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 Py_INCREF(Py_None); resultobj = Py_None;
12243 return resultobj;
12244 fail:
12245 return NULL;
12246 }
12247
12248
12249 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12250 PyObject *resultobj;
12251 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12252 wxVisualAttributes result;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "variant", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12259 if (obj0) {
12260 {
12261 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12262 if (SWIG_arg_fail(1)) SWIG_fail;
12263 }
12264 }
12265 {
12266 if (!wxPyCheckForApp()) SWIG_fail;
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 wxVisualAttributes * resultptr;
12275 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12277 }
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12285 PyObject *obj;
12286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12287 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12288 Py_INCREF(obj);
12289 return Py_BuildValue((char *)"");
12290 }
12291 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12292 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12293 return 1;
12294 }
12295
12296
12297 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12298 PyObject *pyobj;
12299
12300 {
12301 #if wxUSE_UNICODE
12302 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12303 #else
12304 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12305 #endif
12306 }
12307 return pyobj;
12308 }
12309
12310
12311 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12312 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12313 return 1;
12314 }
12315
12316
12317 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12318 PyObject *pyobj;
12319
12320 {
12321 #if wxUSE_UNICODE
12322 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12323 #else
12324 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12325 #endif
12326 }
12327 return pyobj;
12328 }
12329
12330
12331 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj;
12333 wxWindow *arg1 = (wxWindow *) 0 ;
12334 int arg2 = (int) -1 ;
12335 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12336 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12337 wxSize const &arg4_defvalue = wxDefaultSize ;
12338 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12339 long arg5 = (long) wxSP_HORIZONTAL ;
12340 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12341 wxString *arg6 = (wxString *) &arg6_defvalue ;
12342 wxSpinButton *result;
12343 wxPoint temp3 ;
12344 wxSize temp4 ;
12345 bool temp6 = false ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
12350 PyObject * obj4 = 0 ;
12351 PyObject * obj5 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail;
12359 if (obj1) {
12360 {
12361 arg2 = (int)(SWIG_As_int(obj1));
12362 if (SWIG_arg_fail(2)) SWIG_fail;
12363 }
12364 }
12365 if (obj2) {
12366 {
12367 arg3 = &temp3;
12368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12369 }
12370 }
12371 if (obj3) {
12372 {
12373 arg4 = &temp4;
12374 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12375 }
12376 }
12377 if (obj4) {
12378 {
12379 arg5 = (long)(SWIG_As_long(obj4));
12380 if (SWIG_arg_fail(5)) SWIG_fail;
12381 }
12382 }
12383 if (obj5) {
12384 {
12385 arg6 = wxString_in_helper(obj5);
12386 if (arg6 == NULL) SWIG_fail;
12387 temp6 = true;
12388 }
12389 }
12390 {
12391 if (!wxPyCheckForApp()) SWIG_fail;
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12399 {
12400 if (temp6)
12401 delete arg6;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp6)
12407 delete arg6;
12408 }
12409 return NULL;
12410 }
12411
12412
12413 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxSpinButton *result;
12416 char *kwnames[] = {
12417 NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12421 {
12422 if (!wxPyCheckForApp()) SWIG_fail;
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxSpinButton *)new wxSpinButton();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12439 wxWindow *arg2 = (wxWindow *) 0 ;
12440 int arg3 = (int) -1 ;
12441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12443 wxSize const &arg5_defvalue = wxDefaultSize ;
12444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12445 long arg6 = (long) wxSP_HORIZONTAL ;
12446 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12447 wxString *arg7 = (wxString *) &arg7_defvalue ;
12448 bool result;
12449 wxPoint temp4 ;
12450 wxSize temp5 ;
12451 bool temp7 = false ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 PyObject * obj2 = 0 ;
12455 PyObject * obj3 = 0 ;
12456 PyObject * obj4 = 0 ;
12457 PyObject * obj5 = 0 ;
12458 PyObject * obj6 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail;
12466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12467 if (SWIG_arg_fail(2)) SWIG_fail;
12468 if (obj2) {
12469 {
12470 arg3 = (int)(SWIG_As_int(obj2));
12471 if (SWIG_arg_fail(3)) SWIG_fail;
12472 }
12473 }
12474 if (obj3) {
12475 {
12476 arg4 = &temp4;
12477 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12478 }
12479 }
12480 if (obj4) {
12481 {
12482 arg5 = &temp5;
12483 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12484 }
12485 }
12486 if (obj5) {
12487 {
12488 arg6 = (long)(SWIG_As_long(obj5));
12489 if (SWIG_arg_fail(6)) SWIG_fail;
12490 }
12491 }
12492 if (obj6) {
12493 {
12494 arg7 = wxString_in_helper(obj6);
12495 if (arg7 == NULL) SWIG_fail;
12496 temp7 = true;
12497 }
12498 }
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 {
12507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12508 }
12509 {
12510 if (temp7)
12511 delete arg7;
12512 }
12513 return resultobj;
12514 fail:
12515 {
12516 if (temp7)
12517 delete arg7;
12518 }
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxSpinButton const *)arg1)->GetValue();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 {
12543 resultobj = SWIG_From_int((int)(result));
12544 }
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12554 int result;
12555 PyObject * obj0 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail;
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (int)((wxSpinButton const *)arg1)->GetMin();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 {
12571 resultobj = SWIG_From_int((int)(result));
12572 }
12573 return resultobj;
12574 fail:
12575 return NULL;
12576 }
12577
12578
12579 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12582 int result;
12583 PyObject * obj0 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail;
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 result = (int)((wxSpinButton const *)arg1)->GetMax();
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 resultobj = SWIG_From_int((int)(result));
12600 }
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12610 int arg2 ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "val", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail;
12620 {
12621 arg2 = (int)(SWIG_As_int(obj1));
12622 if (SWIG_arg_fail(2)) SWIG_fail;
12623 }
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetValue(arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_SpinButton_SetMin(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 *) "minVal", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",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)->SetMin(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_SetMax(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 *) "maxVal", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",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)->SetMax(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_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12703 int arg2 ;
12704 int arg3 ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 PyObject * obj2 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail;
12715 {
12716 arg2 = (int)(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 {
12720 arg3 = (int)(SWIG_As_int(obj2));
12721 if (SWIG_arg_fail(3)) SWIG_fail;
12722 }
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetRange(arg2,arg3);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12740 bool result;
12741 PyObject * obj0 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail;
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12758 }
12759 return resultobj;
12760 fail:
12761 return NULL;
12762 }
12763
12764
12765 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12768 wxVisualAttributes result;
12769 PyObject * obj0 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "variant", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12775 if (obj0) {
12776 {
12777 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12778 if (SWIG_arg_fail(1)) SWIG_fail;
12779 }
12780 }
12781 {
12782 if (!wxPyCheckForApp()) SWIG_fail;
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 {
12790 wxVisualAttributes * resultptr;
12791 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12793 }
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806 }
12807 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxWindow *arg1 = (wxWindow *) 0 ;
12810 int arg2 = (int) -1 ;
12811 wxString const &arg3_defvalue = wxPyEmptyString ;
12812 wxString *arg3 = (wxString *) &arg3_defvalue ;
12813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12815 wxSize const &arg5_defvalue = wxDefaultSize ;
12816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12817 long arg6 = (long) wxSP_ARROW_KEYS ;
12818 int arg7 = (int) 0 ;
12819 int arg8 = (int) 100 ;
12820 int arg9 = (int) 0 ;
12821 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12822 wxString *arg10 = (wxString *) &arg10_defvalue ;
12823 wxSpinCtrl *result;
12824 bool temp3 = false ;
12825 wxPoint temp4 ;
12826 wxSize temp5 ;
12827 bool temp10 = false ;
12828 PyObject * obj0 = 0 ;
12829 PyObject * obj1 = 0 ;
12830 PyObject * obj2 = 0 ;
12831 PyObject * obj3 = 0 ;
12832 PyObject * obj4 = 0 ;
12833 PyObject * obj5 = 0 ;
12834 PyObject * obj6 = 0 ;
12835 PyObject * obj7 = 0 ;
12836 PyObject * obj8 = 0 ;
12837 PyObject * obj9 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
12845 if (obj1) {
12846 {
12847 arg2 = (int)(SWIG_As_int(obj1));
12848 if (SWIG_arg_fail(2)) SWIG_fail;
12849 }
12850 }
12851 if (obj2) {
12852 {
12853 arg3 = wxString_in_helper(obj2);
12854 if (arg3 == NULL) SWIG_fail;
12855 temp3 = true;
12856 }
12857 }
12858 if (obj3) {
12859 {
12860 arg4 = &temp4;
12861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12862 }
12863 }
12864 if (obj4) {
12865 {
12866 arg5 = &temp5;
12867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12868 }
12869 }
12870 if (obj5) {
12871 {
12872 arg6 = (long)(SWIG_As_long(obj5));
12873 if (SWIG_arg_fail(6)) SWIG_fail;
12874 }
12875 }
12876 if (obj6) {
12877 {
12878 arg7 = (int)(SWIG_As_int(obj6));
12879 if (SWIG_arg_fail(7)) SWIG_fail;
12880 }
12881 }
12882 if (obj7) {
12883 {
12884 arg8 = (int)(SWIG_As_int(obj7));
12885 if (SWIG_arg_fail(8)) SWIG_fail;
12886 }
12887 }
12888 if (obj8) {
12889 {
12890 arg9 = (int)(SWIG_As_int(obj8));
12891 if (SWIG_arg_fail(9)) SWIG_fail;
12892 }
12893 }
12894 if (obj9) {
12895 {
12896 arg10 = wxString_in_helper(obj9);
12897 if (arg10 == NULL) SWIG_fail;
12898 temp10 = true;
12899 }
12900 }
12901 {
12902 if (!wxPyCheckForApp()) SWIG_fail;
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12910 {
12911 if (temp3)
12912 delete arg3;
12913 }
12914 {
12915 if (temp10)
12916 delete arg10;
12917 }
12918 return resultobj;
12919 fail:
12920 {
12921 if (temp3)
12922 delete arg3;
12923 }
12924 {
12925 if (temp10)
12926 delete arg10;
12927 }
12928 return NULL;
12929 }
12930
12931
12932 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12933 PyObject *resultobj;
12934 wxSpinCtrl *result;
12935 char *kwnames[] = {
12936 NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12940 {
12941 if (!wxPyCheckForApp()) SWIG_fail;
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxSpinCtrl *)new wxSpinCtrl();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12958 wxWindow *arg2 = (wxWindow *) 0 ;
12959 int arg3 = (int) -1 ;
12960 wxString const &arg4_defvalue = wxPyEmptyString ;
12961 wxString *arg4 = (wxString *) &arg4_defvalue ;
12962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12964 wxSize const &arg6_defvalue = wxDefaultSize ;
12965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12966 long arg7 = (long) wxSP_ARROW_KEYS ;
12967 int arg8 = (int) 0 ;
12968 int arg9 = (int) 100 ;
12969 int arg10 = (int) 0 ;
12970 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12971 wxString *arg11 = (wxString *) &arg11_defvalue ;
12972 bool result;
12973 bool temp4 = false ;
12974 wxPoint temp5 ;
12975 wxSize temp6 ;
12976 bool temp11 = false ;
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 PyObject * obj2 = 0 ;
12980 PyObject * obj3 = 0 ;
12981 PyObject * obj4 = 0 ;
12982 PyObject * obj5 = 0 ;
12983 PyObject * obj6 = 0 ;
12984 PyObject * obj7 = 0 ;
12985 PyObject * obj8 = 0 ;
12986 PyObject * obj9 = 0 ;
12987 PyObject * obj10 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail;
12997 if (obj2) {
12998 {
12999 arg3 = (int)(SWIG_As_int(obj2));
13000 if (SWIG_arg_fail(3)) SWIG_fail;
13001 }
13002 }
13003 if (obj3) {
13004 {
13005 arg4 = wxString_in_helper(obj3);
13006 if (arg4 == NULL) SWIG_fail;
13007 temp4 = true;
13008 }
13009 }
13010 if (obj4) {
13011 {
13012 arg5 = &temp5;
13013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13014 }
13015 }
13016 if (obj5) {
13017 {
13018 arg6 = &temp6;
13019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13020 }
13021 }
13022 if (obj6) {
13023 {
13024 arg7 = (long)(SWIG_As_long(obj6));
13025 if (SWIG_arg_fail(7)) SWIG_fail;
13026 }
13027 }
13028 if (obj7) {
13029 {
13030 arg8 = (int)(SWIG_As_int(obj7));
13031 if (SWIG_arg_fail(8)) SWIG_fail;
13032 }
13033 }
13034 if (obj8) {
13035 {
13036 arg9 = (int)(SWIG_As_int(obj8));
13037 if (SWIG_arg_fail(9)) SWIG_fail;
13038 }
13039 }
13040 if (obj9) {
13041 {
13042 arg10 = (int)(SWIG_As_int(obj9));
13043 if (SWIG_arg_fail(10)) SWIG_fail;
13044 }
13045 }
13046 if (obj10) {
13047 {
13048 arg11 = wxString_in_helper(obj10);
13049 if (arg11 == NULL) SWIG_fail;
13050 temp11 = true;
13051 }
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 {
13061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13062 }
13063 {
13064 if (temp4)
13065 delete arg4;
13066 }
13067 {
13068 if (temp11)
13069 delete arg11;
13070 }
13071 return resultobj;
13072 fail:
13073 {
13074 if (temp4)
13075 delete arg4;
13076 }
13077 {
13078 if (temp11)
13079 delete arg11;
13080 }
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13088 int result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 {
13105 resultobj = SWIG_From_int((int)(result));
13106 }
13107 return resultobj;
13108 fail:
13109 return NULL;
13110 }
13111
13112
13113 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13116 int arg2 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "value", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 arg2 = (int)(SWIG_As_int(obj1));
13128 if (SWIG_arg_fail(2)) SWIG_fail;
13129 }
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 (arg1)->SetValue(arg2);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13147 wxString *arg2 = 0 ;
13148 bool temp2 = false ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "text", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail;
13158 {
13159 arg2 = wxString_in_helper(obj1);
13160 if (arg2 == NULL) SWIG_fail;
13161 temp2 = true;
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->SetValue((wxString const &)*arg2);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 {
13172 if (temp2)
13173 delete arg2;
13174 }
13175 return resultobj;
13176 fail:
13177 {
13178 if (temp2)
13179 delete arg2;
13180 }
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 int arg2 ;
13189 int arg3 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail;
13200 {
13201 arg2 = (int)(SWIG_As_int(obj1));
13202 if (SWIG_arg_fail(2)) SWIG_fail;
13203 }
13204 {
13205 arg3 = (int)(SWIG_As_int(obj2));
13206 if (SWIG_arg_fail(3)) SWIG_fail;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->SetRange(arg2,arg3);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13225 int result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 {
13242 resultobj = SWIG_From_int((int)(result));
13243 }
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13253 int result;
13254 PyObject * obj0 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail;
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 {
13270 resultobj = SWIG_From_int((int)(result));
13271 }
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13281 long arg2 ;
13282 long arg3 ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 PyObject * obj2 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "from",(char *) "to", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (long)(SWIG_As_long(obj1));
13295 if (SWIG_arg_fail(2)) SWIG_fail;
13296 }
13297 {
13298 arg3 = (long)(SWIG_As_long(obj2));
13299 if (SWIG_arg_fail(3)) SWIG_fail;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 (arg1)->SetSelection(arg2,arg3);
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 Py_INCREF(Py_None); resultobj = Py_None;
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13318 wxVisualAttributes result;
13319 PyObject * obj0 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "variant", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13325 if (obj0) {
13326 {
13327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13328 if (SWIG_arg_fail(1)) SWIG_fail;
13329 }
13330 }
13331 {
13332 if (!wxPyCheckForApp()) SWIG_fail;
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 wxVisualAttributes * resultptr;
13341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13343 }
13344 return resultobj;
13345 fail:
13346 return NULL;
13347 }
13348
13349
13350 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13351 PyObject *obj;
13352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13353 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13354 Py_INCREF(obj);
13355 return Py_BuildValue((char *)"");
13356 }
13357 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13360 int arg2 = (int) 0 ;
13361 wxSpinEvent *result;
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "commandType",(char *) "winid", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13369 if (obj0) {
13370 {
13371 arg1 = (wxEventType)(SWIG_As_int(obj0));
13372 if (SWIG_arg_fail(1)) SWIG_fail;
13373 }
13374 }
13375 if (obj1) {
13376 {
13377 arg2 = (int)(SWIG_As_int(obj1));
13378 if (SWIG_arg_fail(2)) SWIG_fail;
13379 }
13380 }
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13389 return resultobj;
13390 fail:
13391 return NULL;
13392 }
13393
13394
13395 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13398 int result;
13399 PyObject * obj0 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail;
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13410
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 {
13415 resultobj = SWIG_From_int((int)(result));
13416 }
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13424 PyObject *resultobj;
13425 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13426 int arg2 ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "pos", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail;
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetPosition(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13455 PyObject *obj;
13456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13458 Py_INCREF(obj);
13459 return Py_BuildValue((char *)"");
13460 }
13461 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13462 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13463 return 1;
13464 }
13465
13466
13467 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13468 PyObject *pyobj;
13469
13470 {
13471 #if wxUSE_UNICODE
13472 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13473 #else
13474 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13475 #endif
13476 }
13477 return pyobj;
13478 }
13479
13480
13481 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13482 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13483 return 1;
13484 }
13485
13486
13487 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13488 PyObject *pyobj;
13489
13490 {
13491 #if wxUSE_UNICODE
13492 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13493 #else
13494 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13495 #endif
13496 }
13497 return pyobj;
13498 }
13499
13500
13501 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj;
13503 wxWindow *arg1 = (wxWindow *) 0 ;
13504 int arg2 = (int) -1 ;
13505 wxString const &arg3_defvalue = wxPyEmptyString ;
13506 wxString *arg3 = (wxString *) &arg3_defvalue ;
13507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13509 wxSize const &arg5_defvalue = wxDefaultSize ;
13510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13511 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13512 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13513 int arg7 = (int) 0 ;
13514 long arg8 = (long) wxRA_HORIZONTAL ;
13515 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13516 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13517 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13518 wxString *arg10 = (wxString *) &arg10_defvalue ;
13519 wxRadioBox *result;
13520 bool temp3 = false ;
13521 wxPoint temp4 ;
13522 wxSize temp5 ;
13523 bool temp6 = false ;
13524 bool temp10 = false ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 PyObject * obj2 = 0 ;
13528 PyObject * obj3 = 0 ;
13529 PyObject * obj4 = 0 ;
13530 PyObject * obj5 = 0 ;
13531 PyObject * obj6 = 0 ;
13532 PyObject * obj7 = 0 ;
13533 PyObject * obj8 = 0 ;
13534 PyObject * obj9 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail;
13542 if (obj1) {
13543 {
13544 arg2 = (int)(SWIG_As_int(obj1));
13545 if (SWIG_arg_fail(2)) SWIG_fail;
13546 }
13547 }
13548 if (obj2) {
13549 {
13550 arg3 = wxString_in_helper(obj2);
13551 if (arg3 == NULL) SWIG_fail;
13552 temp3 = true;
13553 }
13554 }
13555 if (obj3) {
13556 {
13557 arg4 = &temp4;
13558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13559 }
13560 }
13561 if (obj4) {
13562 {
13563 arg5 = &temp5;
13564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13565 }
13566 }
13567 if (obj5) {
13568 {
13569 if (! PySequence_Check(obj5)) {
13570 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13571 SWIG_fail;
13572 }
13573 arg6 = new wxArrayString;
13574 temp6 = true;
13575 int i, len=PySequence_Length(obj5);
13576 for (i=0; i<len; i++) {
13577 PyObject* item = PySequence_GetItem(obj5, i);
13578 #if wxUSE_UNICODE
13579 PyObject* str = PyObject_Unicode(item);
13580 #else
13581 PyObject* str = PyObject_Str(item);
13582 #endif
13583 if (PyErr_Occurred()) SWIG_fail;
13584 arg6->Add(Py2wxString(str));
13585 Py_DECREF(item);
13586 Py_DECREF(str);
13587 }
13588 }
13589 }
13590 if (obj6) {
13591 {
13592 arg7 = (int)(SWIG_As_int(obj6));
13593 if (SWIG_arg_fail(7)) SWIG_fail;
13594 }
13595 }
13596 if (obj7) {
13597 {
13598 arg8 = (long)(SWIG_As_long(obj7));
13599 if (SWIG_arg_fail(8)) SWIG_fail;
13600 }
13601 }
13602 if (obj8) {
13603 {
13604 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13605 if (SWIG_arg_fail(9)) SWIG_fail;
13606 if (arg9 == NULL) {
13607 SWIG_null_ref("wxValidator");
13608 }
13609 if (SWIG_arg_fail(9)) SWIG_fail;
13610 }
13611 }
13612 if (obj9) {
13613 {
13614 arg10 = wxString_in_helper(obj9);
13615 if (arg10 == NULL) SWIG_fail;
13616 temp10 = true;
13617 }
13618 }
13619 {
13620 if (!wxPyCheckForApp()) SWIG_fail;
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 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);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13628 {
13629 if (temp3)
13630 delete arg3;
13631 }
13632 {
13633 if (temp6) delete arg6;
13634 }
13635 {
13636 if (temp10)
13637 delete arg10;
13638 }
13639 return resultobj;
13640 fail:
13641 {
13642 if (temp3)
13643 delete arg3;
13644 }
13645 {
13646 if (temp6) delete arg6;
13647 }
13648 {
13649 if (temp10)
13650 delete arg10;
13651 }
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxRadioBox *result;
13659 char *kwnames[] = {
13660 NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13664 {
13665 if (!wxPyCheckForApp()) SWIG_fail;
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (wxRadioBox *)new wxRadioBox();
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13682 wxWindow *arg2 = (wxWindow *) 0 ;
13683 int arg3 = (int) -1 ;
13684 wxString const &arg4_defvalue = wxPyEmptyString ;
13685 wxString *arg4 = (wxString *) &arg4_defvalue ;
13686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13688 wxSize const &arg6_defvalue = wxDefaultSize ;
13689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13690 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13691 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13692 int arg8 = (int) 0 ;
13693 long arg9 = (long) wxRA_HORIZONTAL ;
13694 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13695 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13696 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13697 wxString *arg11 = (wxString *) &arg11_defvalue ;
13698 bool result;
13699 bool temp4 = false ;
13700 wxPoint temp5 ;
13701 wxSize temp6 ;
13702 bool temp7 = false ;
13703 bool temp11 = false ;
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
13706 PyObject * obj2 = 0 ;
13707 PyObject * obj3 = 0 ;
13708 PyObject * obj4 = 0 ;
13709 PyObject * obj5 = 0 ;
13710 PyObject * obj6 = 0 ;
13711 PyObject * obj7 = 0 ;
13712 PyObject * obj8 = 0 ;
13713 PyObject * obj9 = 0 ;
13714 PyObject * obj10 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail;
13722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13723 if (SWIG_arg_fail(2)) SWIG_fail;
13724 if (obj2) {
13725 {
13726 arg3 = (int)(SWIG_As_int(obj2));
13727 if (SWIG_arg_fail(3)) SWIG_fail;
13728 }
13729 }
13730 if (obj3) {
13731 {
13732 arg4 = wxString_in_helper(obj3);
13733 if (arg4 == NULL) SWIG_fail;
13734 temp4 = true;
13735 }
13736 }
13737 if (obj4) {
13738 {
13739 arg5 = &temp5;
13740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13741 }
13742 }
13743 if (obj5) {
13744 {
13745 arg6 = &temp6;
13746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13747 }
13748 }
13749 if (obj6) {
13750 {
13751 if (! PySequence_Check(obj6)) {
13752 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13753 SWIG_fail;
13754 }
13755 arg7 = new wxArrayString;
13756 temp7 = true;
13757 int i, len=PySequence_Length(obj6);
13758 for (i=0; i<len; i++) {
13759 PyObject* item = PySequence_GetItem(obj6, i);
13760 #if wxUSE_UNICODE
13761 PyObject* str = PyObject_Unicode(item);
13762 #else
13763 PyObject* str = PyObject_Str(item);
13764 #endif
13765 if (PyErr_Occurred()) SWIG_fail;
13766 arg7->Add(Py2wxString(str));
13767 Py_DECREF(item);
13768 Py_DECREF(str);
13769 }
13770 }
13771 }
13772 if (obj7) {
13773 {
13774 arg8 = (int)(SWIG_As_int(obj7));
13775 if (SWIG_arg_fail(8)) SWIG_fail;
13776 }
13777 }
13778 if (obj8) {
13779 {
13780 arg9 = (long)(SWIG_As_long(obj8));
13781 if (SWIG_arg_fail(9)) SWIG_fail;
13782 }
13783 }
13784 if (obj9) {
13785 {
13786 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13787 if (SWIG_arg_fail(10)) SWIG_fail;
13788 if (arg10 == NULL) {
13789 SWIG_null_ref("wxValidator");
13790 }
13791 if (SWIG_arg_fail(10)) SWIG_fail;
13792 }
13793 }
13794 if (obj10) {
13795 {
13796 arg11 = wxString_in_helper(obj10);
13797 if (arg11 == NULL) SWIG_fail;
13798 temp11 = true;
13799 }
13800 }
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 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);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13810 }
13811 {
13812 if (temp4)
13813 delete arg4;
13814 }
13815 {
13816 if (temp7) delete arg7;
13817 }
13818 {
13819 if (temp11)
13820 delete arg11;
13821 }
13822 return resultobj;
13823 fail:
13824 {
13825 if (temp4)
13826 delete arg4;
13827 }
13828 {
13829 if (temp7) delete arg7;
13830 }
13831 {
13832 if (temp11)
13833 delete arg11;
13834 }
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13842 int arg2 ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "n", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail;
13852 {
13853 arg2 = (int)(SWIG_As_int(obj1));
13854 if (SWIG_arg_fail(2)) SWIG_fail;
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->SetSelection(arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 return resultobj;
13865 fail:
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13873 int result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 resultobj = SWIG_From_int((int)(result));
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13901 wxString result;
13902 PyObject * obj0 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail;
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 {
13918 #if wxUSE_UNICODE
13919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13920 #else
13921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13922 #endif
13923 }
13924 return resultobj;
13925 fail:
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13933 wxString *arg2 = 0 ;
13934 bool result;
13935 bool temp2 = false ;
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "s", NULL
13940 };
13941
13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail;
13945 {
13946 arg2 = wxString_in_helper(obj1);
13947 if (arg2 == NULL) SWIG_fail;
13948 temp2 = true;
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp2)
13968 delete arg2;
13969 }
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13977 int result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (int)((wxRadioBox const *)arg1)->GetCount();
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 resultobj = SWIG_From_int((int)(result));
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14005 wxString *arg2 = 0 ;
14006 int result;
14007 bool temp2 = false ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "s", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
14017 {
14018 arg2 = wxString_in_helper(obj1);
14019 if (arg2 == NULL) SWIG_fail;
14020 temp2 = true;
14021 }
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 {
14030 resultobj = SWIG_From_int((int)(result));
14031 }
14032 {
14033 if (temp2)
14034 delete arg2;
14035 }
14036 return resultobj;
14037 fail:
14038 {
14039 if (temp2)
14040 delete arg2;
14041 }
14042 return NULL;
14043 }
14044
14045
14046 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14049 int arg2 ;
14050 wxString result;
14051 PyObject * obj0 = 0 ;
14052 PyObject * obj1 = 0 ;
14053 char *kwnames[] = {
14054 (char *) "self",(char *) "n", NULL
14055 };
14056
14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14059 if (SWIG_arg_fail(1)) SWIG_fail;
14060 {
14061 arg2 = (int)(SWIG_As_int(obj1));
14062 if (SWIG_arg_fail(2)) SWIG_fail;
14063 }
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 #if wxUSE_UNICODE
14073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14074 #else
14075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14076 #endif
14077 }
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj;
14086 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14087 int arg2 ;
14088 wxString *arg3 = 0 ;
14089 bool temp3 = false ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self",(char *) "n",(char *) "label", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail;
14100 {
14101 arg2 = (int)(SWIG_As_int(obj1));
14102 if (SWIG_arg_fail(2)) SWIG_fail;
14103 }
14104 {
14105 arg3 = wxString_in_helper(obj2);
14106 if (arg3 == NULL) SWIG_fail;
14107 temp3 = true;
14108 }
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetString(arg2,(wxString const &)*arg3);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 {
14118 if (temp3)
14119 delete arg3;
14120 }
14121 return resultobj;
14122 fail:
14123 {
14124 if (temp3)
14125 delete arg3;
14126 }
14127 return NULL;
14128 }
14129
14130
14131 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj;
14133 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14134 int arg2 ;
14135 bool arg3 = (bool) true ;
14136 PyObject * obj0 = 0 ;
14137 PyObject * obj1 = 0 ;
14138 PyObject * obj2 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self",(char *) "n",(char *) "enable", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail;
14146 {
14147 arg2 = (int)(SWIG_As_int(obj1));
14148 if (SWIG_arg_fail(2)) SWIG_fail;
14149 }
14150 if (obj2) {
14151 {
14152 arg3 = (bool)(SWIG_As_bool(obj2));
14153 if (SWIG_arg_fail(3)) SWIG_fail;
14154 }
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->Enable(arg2,arg3);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14173 int arg2 ;
14174 bool arg3 = (bool) true ;
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 PyObject * obj2 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "n",(char *) "show", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail;
14185 {
14186 arg2 = (int)(SWIG_As_int(obj1));
14187 if (SWIG_arg_fail(2)) SWIG_fail;
14188 }
14189 if (obj2) {
14190 {
14191 arg3 = (bool)(SWIG_As_bool(obj2));
14192 if (SWIG_arg_fail(3)) SWIG_fail;
14193 }
14194 }
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 (arg1)->Show(arg2,arg3);
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 Py_INCREF(Py_None); resultobj = Py_None;
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14212 int result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 {
14229 resultobj = SWIG_From_int((int)(result));
14230 }
14231 return resultobj;
14232 fail:
14233 return NULL;
14234 }
14235
14236
14237 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14240 int result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 {
14257 resultobj = SWIG_From_int((int)(result));
14258 }
14259 return resultobj;
14260 fail:
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14268 int arg2 ;
14269 wxDirection arg3 ;
14270 long arg4 ;
14271 int result;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 PyObject * obj2 = 0 ;
14275 PyObject * obj3 = 0 ;
14276 char *kwnames[] = {
14277 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14278 };
14279
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail;
14283 {
14284 arg2 = (int)(SWIG_As_int(obj1));
14285 if (SWIG_arg_fail(2)) SWIG_fail;
14286 }
14287 {
14288 arg3 = (wxDirection)(SWIG_As_int(obj2));
14289 if (SWIG_arg_fail(3)) SWIG_fail;
14290 }
14291 {
14292 arg4 = (long)(SWIG_As_long(obj3));
14293 if (SWIG_arg_fail(4)) SWIG_fail;
14294 }
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 {
14303 resultobj = SWIG_From_int((int)(result));
14304 }
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14314 wxVisualAttributes result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "variant", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14321 if (obj0) {
14322 {
14323 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14324 if (SWIG_arg_fail(1)) SWIG_fail;
14325 }
14326 }
14327 {
14328 if (!wxPyCheckForApp()) SWIG_fail;
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 wxVisualAttributes * resultptr;
14337 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343 }
14344
14345
14346 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14347 PyObject *obj;
14348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14350 Py_INCREF(obj);
14351 return Py_BuildValue((char *)"");
14352 }
14353 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxWindow *arg1 = (wxWindow *) 0 ;
14356 int arg2 = (int) -1 ;
14357 wxString const &arg3_defvalue = wxPyEmptyString ;
14358 wxString *arg3 = (wxString *) &arg3_defvalue ;
14359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14361 wxSize const &arg5_defvalue = wxDefaultSize ;
14362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14363 long arg6 = (long) 0 ;
14364 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14365 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14366 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14367 wxString *arg8 = (wxString *) &arg8_defvalue ;
14368 wxRadioButton *result;
14369 bool temp3 = false ;
14370 wxPoint temp4 ;
14371 wxSize temp5 ;
14372 bool temp8 = false ;
14373 PyObject * obj0 = 0 ;
14374 PyObject * obj1 = 0 ;
14375 PyObject * obj2 = 0 ;
14376 PyObject * obj3 = 0 ;
14377 PyObject * obj4 = 0 ;
14378 PyObject * obj5 = 0 ;
14379 PyObject * obj6 = 0 ;
14380 PyObject * obj7 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail;
14388 if (obj1) {
14389 {
14390 arg2 = (int)(SWIG_As_int(obj1));
14391 if (SWIG_arg_fail(2)) SWIG_fail;
14392 }
14393 }
14394 if (obj2) {
14395 {
14396 arg3 = wxString_in_helper(obj2);
14397 if (arg3 == NULL) SWIG_fail;
14398 temp3 = true;
14399 }
14400 }
14401 if (obj3) {
14402 {
14403 arg4 = &temp4;
14404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14405 }
14406 }
14407 if (obj4) {
14408 {
14409 arg5 = &temp5;
14410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14411 }
14412 }
14413 if (obj5) {
14414 {
14415 arg6 = (long)(SWIG_As_long(obj5));
14416 if (SWIG_arg_fail(6)) SWIG_fail;
14417 }
14418 }
14419 if (obj6) {
14420 {
14421 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14422 if (SWIG_arg_fail(7)) SWIG_fail;
14423 if (arg7 == NULL) {
14424 SWIG_null_ref("wxValidator");
14425 }
14426 if (SWIG_arg_fail(7)) SWIG_fail;
14427 }
14428 }
14429 if (obj7) {
14430 {
14431 arg8 = wxString_in_helper(obj7);
14432 if (arg8 == NULL) SWIG_fail;
14433 temp8 = true;
14434 }
14435 }
14436 {
14437 if (!wxPyCheckForApp()) SWIG_fail;
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14445 {
14446 if (temp3)
14447 delete arg3;
14448 }
14449 {
14450 if (temp8)
14451 delete arg8;
14452 }
14453 return resultobj;
14454 fail:
14455 {
14456 if (temp3)
14457 delete arg3;
14458 }
14459 {
14460 if (temp8)
14461 delete arg8;
14462 }
14463 return NULL;
14464 }
14465
14466
14467 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxRadioButton *result;
14470 char *kwnames[] = {
14471 NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14475 {
14476 if (!wxPyCheckForApp()) SWIG_fail;
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (wxRadioButton *)new wxRadioButton();
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14493 wxWindow *arg2 = (wxWindow *) 0 ;
14494 int arg3 = (int) -1 ;
14495 wxString const &arg4_defvalue = wxPyEmptyString ;
14496 wxString *arg4 = (wxString *) &arg4_defvalue ;
14497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14499 wxSize const &arg6_defvalue = wxDefaultSize ;
14500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14501 long arg7 = (long) 0 ;
14502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14504 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14505 wxString *arg9 = (wxString *) &arg9_defvalue ;
14506 bool result;
14507 bool temp4 = false ;
14508 wxPoint temp5 ;
14509 wxSize temp6 ;
14510 bool temp9 = false ;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 PyObject * obj2 = 0 ;
14514 PyObject * obj3 = 0 ;
14515 PyObject * obj4 = 0 ;
14516 PyObject * obj5 = 0 ;
14517 PyObject * obj6 = 0 ;
14518 PyObject * obj7 = 0 ;
14519 PyObject * obj8 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
14527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(2)) SWIG_fail;
14529 if (obj2) {
14530 {
14531 arg3 = (int)(SWIG_As_int(obj2));
14532 if (SWIG_arg_fail(3)) SWIG_fail;
14533 }
14534 }
14535 if (obj3) {
14536 {
14537 arg4 = wxString_in_helper(obj3);
14538 if (arg4 == NULL) SWIG_fail;
14539 temp4 = true;
14540 }
14541 }
14542 if (obj4) {
14543 {
14544 arg5 = &temp5;
14545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14546 }
14547 }
14548 if (obj5) {
14549 {
14550 arg6 = &temp6;
14551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14552 }
14553 }
14554 if (obj6) {
14555 {
14556 arg7 = (long)(SWIG_As_long(obj6));
14557 if (SWIG_arg_fail(7)) SWIG_fail;
14558 }
14559 }
14560 if (obj7) {
14561 {
14562 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(8)) SWIG_fail;
14564 if (arg8 == NULL) {
14565 SWIG_null_ref("wxValidator");
14566 }
14567 if (SWIG_arg_fail(8)) SWIG_fail;
14568 }
14569 }
14570 if (obj8) {
14571 {
14572 arg9 = wxString_in_helper(obj8);
14573 if (arg9 == NULL) SWIG_fail;
14574 temp9 = true;
14575 }
14576 }
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 {
14585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14586 }
14587 {
14588 if (temp4)
14589 delete arg4;
14590 }
14591 {
14592 if (temp9)
14593 delete arg9;
14594 }
14595 return resultobj;
14596 fail:
14597 {
14598 if (temp4)
14599 delete arg4;
14600 }
14601 {
14602 if (temp9)
14603 delete arg9;
14604 }
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14612 bool result;
14613 PyObject * obj0 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "self", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail;
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (bool)(arg1)->GetValue();
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
14628 {
14629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14630 }
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14640 bool arg2 ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self",(char *) "value", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail;
14650 {
14651 arg2 = (bool)(SWIG_As_bool(obj1));
14652 if (SWIG_arg_fail(2)) SWIG_fail;
14653 }
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->SetValue(arg2);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 Py_INCREF(Py_None); resultobj = Py_None;
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14671 wxVisualAttributes result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "variant", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14678 if (obj0) {
14679 {
14680 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14681 if (SWIG_arg_fail(1)) SWIG_fail;
14682 }
14683 }
14684 {
14685 if (!wxPyCheckForApp()) SWIG_fail;
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 {
14693 wxVisualAttributes * resultptr;
14694 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14704 PyObject *obj;
14705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14707 Py_INCREF(obj);
14708 return Py_BuildValue((char *)"");
14709 }
14710 static int _wrap_SliderNameStr_set(PyObject *) {
14711 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14712 return 1;
14713 }
14714
14715
14716 static PyObject *_wrap_SliderNameStr_get(void) {
14717 PyObject *pyobj;
14718
14719 {
14720 #if wxUSE_UNICODE
14721 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14722 #else
14723 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14724 #endif
14725 }
14726 return pyobj;
14727 }
14728
14729
14730 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxWindow *arg1 = (wxWindow *) 0 ;
14733 int arg2 = (int) -1 ;
14734 int arg3 = (int) 0 ;
14735 int arg4 = (int) 0 ;
14736 int arg5 = (int) 100 ;
14737 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14738 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14739 wxSize const &arg7_defvalue = wxDefaultSize ;
14740 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14741 long arg8 = (long) wxSL_HORIZONTAL ;
14742 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14743 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14744 wxString const &arg10_defvalue = wxPySliderNameStr ;
14745 wxString *arg10 = (wxString *) &arg10_defvalue ;
14746 wxSlider *result;
14747 wxPoint temp6 ;
14748 wxSize temp7 ;
14749 bool temp10 = false ;
14750 PyObject * obj0 = 0 ;
14751 PyObject * obj1 = 0 ;
14752 PyObject * obj2 = 0 ;
14753 PyObject * obj3 = 0 ;
14754 PyObject * obj4 = 0 ;
14755 PyObject * obj5 = 0 ;
14756 PyObject * obj6 = 0 ;
14757 PyObject * obj7 = 0 ;
14758 PyObject * obj8 = 0 ;
14759 PyObject * obj9 = 0 ;
14760 char *kwnames[] = {
14761 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14762 };
14763
14764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14766 if (SWIG_arg_fail(1)) SWIG_fail;
14767 if (obj1) {
14768 {
14769 arg2 = (int)(SWIG_As_int(obj1));
14770 if (SWIG_arg_fail(2)) SWIG_fail;
14771 }
14772 }
14773 if (obj2) {
14774 {
14775 arg3 = (int)(SWIG_As_int(obj2));
14776 if (SWIG_arg_fail(3)) SWIG_fail;
14777 }
14778 }
14779 if (obj3) {
14780 {
14781 arg4 = (int)(SWIG_As_int(obj3));
14782 if (SWIG_arg_fail(4)) SWIG_fail;
14783 }
14784 }
14785 if (obj4) {
14786 {
14787 arg5 = (int)(SWIG_As_int(obj4));
14788 if (SWIG_arg_fail(5)) SWIG_fail;
14789 }
14790 }
14791 if (obj5) {
14792 {
14793 arg6 = &temp6;
14794 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14795 }
14796 }
14797 if (obj6) {
14798 {
14799 arg7 = &temp7;
14800 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14801 }
14802 }
14803 if (obj7) {
14804 {
14805 arg8 = (long)(SWIG_As_long(obj7));
14806 if (SWIG_arg_fail(8)) SWIG_fail;
14807 }
14808 }
14809 if (obj8) {
14810 {
14811 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14812 if (SWIG_arg_fail(9)) SWIG_fail;
14813 if (arg9 == NULL) {
14814 SWIG_null_ref("wxValidator");
14815 }
14816 if (SWIG_arg_fail(9)) SWIG_fail;
14817 }
14818 }
14819 if (obj9) {
14820 {
14821 arg10 = wxString_in_helper(obj9);
14822 if (arg10 == NULL) SWIG_fail;
14823 temp10 = true;
14824 }
14825 }
14826 {
14827 if (!wxPyCheckForApp()) SWIG_fail;
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14835 {
14836 if (temp10)
14837 delete arg10;
14838 }
14839 return resultobj;
14840 fail:
14841 {
14842 if (temp10)
14843 delete arg10;
14844 }
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxSlider *result;
14852 char *kwnames[] = {
14853 NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14857 {
14858 if (!wxPyCheckForApp()) SWIG_fail;
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (wxSlider *)new wxSlider();
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxSlider *arg1 = (wxSlider *) 0 ;
14875 wxWindow *arg2 = (wxWindow *) 0 ;
14876 int arg3 = (int) -1 ;
14877 int arg4 = (int) 0 ;
14878 int arg5 = (int) 0 ;
14879 int arg6 = (int) 100 ;
14880 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14881 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14882 wxSize const &arg8_defvalue = wxDefaultSize ;
14883 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14884 long arg9 = (long) wxSL_HORIZONTAL ;
14885 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14886 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14887 wxString const &arg11_defvalue = wxPySliderNameStr ;
14888 wxString *arg11 = (wxString *) &arg11_defvalue ;
14889 bool result;
14890 wxPoint temp7 ;
14891 wxSize temp8 ;
14892 bool temp11 = false ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 PyObject * obj2 = 0 ;
14896 PyObject * obj3 = 0 ;
14897 PyObject * obj4 = 0 ;
14898 PyObject * obj5 = 0 ;
14899 PyObject * obj6 = 0 ;
14900 PyObject * obj7 = 0 ;
14901 PyObject * obj8 = 0 ;
14902 PyObject * obj9 = 0 ;
14903 PyObject * obj10 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail;
14911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14912 if (SWIG_arg_fail(2)) SWIG_fail;
14913 if (obj2) {
14914 {
14915 arg3 = (int)(SWIG_As_int(obj2));
14916 if (SWIG_arg_fail(3)) SWIG_fail;
14917 }
14918 }
14919 if (obj3) {
14920 {
14921 arg4 = (int)(SWIG_As_int(obj3));
14922 if (SWIG_arg_fail(4)) SWIG_fail;
14923 }
14924 }
14925 if (obj4) {
14926 {
14927 arg5 = (int)(SWIG_As_int(obj4));
14928 if (SWIG_arg_fail(5)) SWIG_fail;
14929 }
14930 }
14931 if (obj5) {
14932 {
14933 arg6 = (int)(SWIG_As_int(obj5));
14934 if (SWIG_arg_fail(6)) SWIG_fail;
14935 }
14936 }
14937 if (obj6) {
14938 {
14939 arg7 = &temp7;
14940 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14941 }
14942 }
14943 if (obj7) {
14944 {
14945 arg8 = &temp8;
14946 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14947 }
14948 }
14949 if (obj8) {
14950 {
14951 arg9 = (long)(SWIG_As_long(obj8));
14952 if (SWIG_arg_fail(9)) SWIG_fail;
14953 }
14954 }
14955 if (obj9) {
14956 {
14957 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14958 if (SWIG_arg_fail(10)) SWIG_fail;
14959 if (arg10 == NULL) {
14960 SWIG_null_ref("wxValidator");
14961 }
14962 if (SWIG_arg_fail(10)) SWIG_fail;
14963 }
14964 }
14965 if (obj10) {
14966 {
14967 arg11 = wxString_in_helper(obj10);
14968 if (arg11 == NULL) SWIG_fail;
14969 temp11 = true;
14970 }
14971 }
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 {
14980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14981 }
14982 {
14983 if (temp11)
14984 delete arg11;
14985 }
14986 return resultobj;
14987 fail:
14988 {
14989 if (temp11)
14990 delete arg11;
14991 }
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxSlider *arg1 = (wxSlider *) 0 ;
14999 int result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (int)((wxSlider const *)arg1)->GetValue();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 resultobj = SWIG_From_int((int)(result));
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxSlider *arg1 = (wxSlider *) 0 ;
15027 int arg2 ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "value", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
15037 {
15038 arg2 = (int)(SWIG_As_int(obj1));
15039 if (SWIG_arg_fail(2)) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetValue(arg2);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxSlider *arg1 = (wxSlider *) 0 ;
15058 int arg2 ;
15059 int arg3 ;
15060 PyObject * obj0 = 0 ;
15061 PyObject * obj1 = 0 ;
15062 PyObject * obj2 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail;
15070 {
15071 arg2 = (int)(SWIG_As_int(obj1));
15072 if (SWIG_arg_fail(2)) SWIG_fail;
15073 }
15074 {
15075 arg3 = (int)(SWIG_As_int(obj2));
15076 if (SWIG_arg_fail(3)) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetRange(arg2,arg3);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxSlider *arg1 = (wxSlider *) 0 ;
15095 int result;
15096 PyObject * obj0 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (int)((wxSlider const *)arg1)->GetMin();
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 {
15112 resultobj = SWIG_From_int((int)(result));
15113 }
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxSlider *arg1 = (wxSlider *) 0 ;
15123 int result;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (int)((wxSlider const *)arg1)->GetMax();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 {
15140 resultobj = SWIG_From_int((int)(result));
15141 }
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxSlider *arg1 = (wxSlider *) 0 ;
15151 int arg2 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "minValue", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail;
15161 {
15162 arg2 = (int)(SWIG_As_int(obj1));
15163 if (SWIG_arg_fail(2)) SWIG_fail;
15164 }
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->SetMin(arg2);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 wxSlider *arg1 = (wxSlider *) 0 ;
15182 int arg2 ;
15183 PyObject * obj0 = 0 ;
15184 PyObject * obj1 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "maxValue", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail;
15192 {
15193 arg2 = (int)(SWIG_As_int(obj1));
15194 if (SWIG_arg_fail(2)) SWIG_fail;
15195 }
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetMax(arg2);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxSlider *arg1 = (wxSlider *) 0 ;
15213 int arg2 ;
15214 PyObject * obj0 = 0 ;
15215 PyObject * obj1 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self",(char *) "lineSize", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail;
15223 {
15224 arg2 = (int)(SWIG_As_int(obj1));
15225 if (SWIG_arg_fail(2)) SWIG_fail;
15226 }
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->SetLineSize(arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj;
15243 wxSlider *arg1 = (wxSlider *) 0 ;
15244 int arg2 ;
15245 PyObject * obj0 = 0 ;
15246 PyObject * obj1 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "pageSize", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail;
15254 {
15255 arg2 = (int)(SWIG_As_int(obj1));
15256 if (SWIG_arg_fail(2)) SWIG_fail;
15257 }
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetPageSize(arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxSlider *arg1 = (wxSlider *) 0 ;
15275 int result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (int)((wxSlider const *)arg1)->GetLineSize();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292 resultobj = SWIG_From_int((int)(result));
15293 }
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxSlider *arg1 = (wxSlider *) 0 ;
15303 int result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail;
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (int)((wxSlider const *)arg1)->GetPageSize();
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 {
15320 resultobj = SWIG_From_int((int)(result));
15321 }
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxSlider *arg1 = (wxSlider *) 0 ;
15331 int arg2 ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "lenPixels", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail;
15341 {
15342 arg2 = (int)(SWIG_As_int(obj1));
15343 if (SWIG_arg_fail(2)) SWIG_fail;
15344 }
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 (arg1)->SetThumbLength(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 Py_INCREF(Py_None); resultobj = Py_None;
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxSlider *arg1 = (wxSlider *) 0 ;
15362 int result;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail;
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 {
15379 resultobj = SWIG_From_int((int)(result));
15380 }
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxSlider *arg1 = (wxSlider *) 0 ;
15390 int arg2 ;
15391 int arg3 = (int) 1 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "n",(char *) "pos", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 {
15403 arg2 = (int)(SWIG_As_int(obj1));
15404 if (SWIG_arg_fail(2)) SWIG_fail;
15405 }
15406 if (obj2) {
15407 {
15408 arg3 = (int)(SWIG_As_int(obj2));
15409 if (SWIG_arg_fail(3)) SWIG_fail;
15410 }
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->SetTickFreq(arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxSlider *arg1 = (wxSlider *) 0 ;
15429 int result;
15430 PyObject * obj0 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 {
15446 resultobj = SWIG_From_int((int)(result));
15447 }
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxSlider *arg1 = (wxSlider *) 0 ;
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail;
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->ClearTicks();
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxSlider *arg1 = (wxSlider *) 0 ;
15482 int arg2 ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "tickPos", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
15492 {
15493 arg2 = (int)(SWIG_As_int(obj1));
15494 if (SWIG_arg_fail(2)) SWIG_fail;
15495 }
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->SetTick(arg2);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxSlider *arg1 = (wxSlider *) 0 ;
15513 PyObject * obj0 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail;
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 (arg1)->ClearSel();
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 Py_INCREF(Py_None); resultobj = Py_None;
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxSlider *arg1 = (wxSlider *) 0 ;
15538 int result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 resultobj = SWIG_From_int((int)(result));
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxSlider *arg1 = (wxSlider *) 0 ;
15566 int result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (int)((wxSlider const *)arg1)->GetSelStart();
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = SWIG_From_int((int)(result));
15584 }
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxSlider *arg1 = (wxSlider *) 0 ;
15594 int arg2 ;
15595 int arg3 ;
15596 PyObject * obj0 = 0 ;
15597 PyObject * obj1 = 0 ;
15598 PyObject * obj2 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "min",(char *) "max", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail;
15606 {
15607 arg2 = (int)(SWIG_As_int(obj1));
15608 if (SWIG_arg_fail(2)) SWIG_fail;
15609 }
15610 {
15611 arg3 = (int)(SWIG_As_int(obj2));
15612 if (SWIG_arg_fail(3)) SWIG_fail;
15613 }
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->SetSelection(arg2,arg3);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15631 wxVisualAttributes result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "variant", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15638 if (obj0) {
15639 {
15640 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15641 if (SWIG_arg_fail(1)) SWIG_fail;
15642 }
15643 }
15644 {
15645 if (!wxPyCheckForApp()) SWIG_fail;
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15648
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 {
15653 wxVisualAttributes * resultptr;
15654 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15656 }
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15664 PyObject *obj;
15665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15667 Py_INCREF(obj);
15668 return Py_BuildValue((char *)"");
15669 }
15670 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15671 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15672 return 1;
15673 }
15674
15675
15676 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15677 PyObject *pyobj;
15678
15679 {
15680 #if wxUSE_UNICODE
15681 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15682 #else
15683 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15684 #endif
15685 }
15686 return pyobj;
15687 }
15688
15689
15690 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxWindow *arg1 = (wxWindow *) 0 ;
15693 int arg2 = (int) -1 ;
15694 wxString const &arg3_defvalue = wxPyEmptyString ;
15695 wxString *arg3 = (wxString *) &arg3_defvalue ;
15696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15698 wxSize const &arg5_defvalue = wxDefaultSize ;
15699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15700 long arg6 = (long) 0 ;
15701 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15702 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15703 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15704 wxString *arg8 = (wxString *) &arg8_defvalue ;
15705 wxToggleButton *result;
15706 bool temp3 = false ;
15707 wxPoint temp4 ;
15708 wxSize temp5 ;
15709 bool temp8 = false ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 PyObject * obj2 = 0 ;
15713 PyObject * obj3 = 0 ;
15714 PyObject * obj4 = 0 ;
15715 PyObject * obj5 = 0 ;
15716 PyObject * obj6 = 0 ;
15717 PyObject * obj7 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail;
15725 if (obj1) {
15726 {
15727 arg2 = (int)(SWIG_As_int(obj1));
15728 if (SWIG_arg_fail(2)) SWIG_fail;
15729 }
15730 }
15731 if (obj2) {
15732 {
15733 arg3 = wxString_in_helper(obj2);
15734 if (arg3 == NULL) SWIG_fail;
15735 temp3 = true;
15736 }
15737 }
15738 if (obj3) {
15739 {
15740 arg4 = &temp4;
15741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15742 }
15743 }
15744 if (obj4) {
15745 {
15746 arg5 = &temp5;
15747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15748 }
15749 }
15750 if (obj5) {
15751 {
15752 arg6 = (long)(SWIG_As_long(obj5));
15753 if (SWIG_arg_fail(6)) SWIG_fail;
15754 }
15755 }
15756 if (obj6) {
15757 {
15758 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15759 if (SWIG_arg_fail(7)) SWIG_fail;
15760 if (arg7 == NULL) {
15761 SWIG_null_ref("wxValidator");
15762 }
15763 if (SWIG_arg_fail(7)) SWIG_fail;
15764 }
15765 }
15766 if (obj7) {
15767 {
15768 arg8 = wxString_in_helper(obj7);
15769 if (arg8 == NULL) SWIG_fail;
15770 temp8 = true;
15771 }
15772 }
15773 {
15774 if (!wxPyCheckForApp()) SWIG_fail;
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 {
15787 if (temp8)
15788 delete arg8;
15789 }
15790 return resultobj;
15791 fail:
15792 {
15793 if (temp3)
15794 delete arg3;
15795 }
15796 {
15797 if (temp8)
15798 delete arg8;
15799 }
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxToggleButton *result;
15807 char *kwnames[] = {
15808 NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15812 {
15813 if (!wxPyCheckForApp()) SWIG_fail;
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (wxToggleButton *)new wxToggleButton();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15830 wxWindow *arg2 = (wxWindow *) 0 ;
15831 int arg3 = (int) -1 ;
15832 wxString const &arg4_defvalue = wxPyEmptyString ;
15833 wxString *arg4 = (wxString *) &arg4_defvalue ;
15834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15836 wxSize const &arg6_defvalue = wxDefaultSize ;
15837 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15838 long arg7 = (long) 0 ;
15839 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15840 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15841 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15842 wxString *arg9 = (wxString *) &arg9_defvalue ;
15843 bool result;
15844 bool temp4 = false ;
15845 wxPoint temp5 ;
15846 wxSize temp6 ;
15847 bool temp9 = false ;
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
15850 PyObject * obj2 = 0 ;
15851 PyObject * obj3 = 0 ;
15852 PyObject * obj4 = 0 ;
15853 PyObject * obj5 = 0 ;
15854 PyObject * obj6 = 0 ;
15855 PyObject * obj7 = 0 ;
15856 PyObject * obj8 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15865 if (SWIG_arg_fail(2)) SWIG_fail;
15866 if (obj2) {
15867 {
15868 arg3 = (int)(SWIG_As_int(obj2));
15869 if (SWIG_arg_fail(3)) SWIG_fail;
15870 }
15871 }
15872 if (obj3) {
15873 {
15874 arg4 = wxString_in_helper(obj3);
15875 if (arg4 == NULL) SWIG_fail;
15876 temp4 = true;
15877 }
15878 }
15879 if (obj4) {
15880 {
15881 arg5 = &temp5;
15882 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15883 }
15884 }
15885 if (obj5) {
15886 {
15887 arg6 = &temp6;
15888 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15889 }
15890 }
15891 if (obj6) {
15892 {
15893 arg7 = (long)(SWIG_As_long(obj6));
15894 if (SWIG_arg_fail(7)) SWIG_fail;
15895 }
15896 }
15897 if (obj7) {
15898 {
15899 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15900 if (SWIG_arg_fail(8)) SWIG_fail;
15901 if (arg8 == NULL) {
15902 SWIG_null_ref("wxValidator");
15903 }
15904 if (SWIG_arg_fail(8)) SWIG_fail;
15905 }
15906 }
15907 if (obj8) {
15908 {
15909 arg9 = wxString_in_helper(obj8);
15910 if (arg9 == NULL) SWIG_fail;
15911 temp9 = true;
15912 }
15913 }
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 {
15922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15923 }
15924 {
15925 if (temp4)
15926 delete arg4;
15927 }
15928 {
15929 if (temp9)
15930 delete arg9;
15931 }
15932 return resultobj;
15933 fail:
15934 {
15935 if (temp4)
15936 delete arg4;
15937 }
15938 {
15939 if (temp9)
15940 delete arg9;
15941 }
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15949 bool arg2 ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "value", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail;
15959 {
15960 arg2 = (bool)(SWIG_As_bool(obj1));
15961 if (SWIG_arg_fail(2)) SWIG_fail;
15962 }
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 (arg1)->SetValue(arg2);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 Py_INCREF(Py_None); resultobj = Py_None;
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15980 bool result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15988 if (SWIG_arg_fail(1)) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 {
15997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15998 }
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16008 wxString *arg2 = 0 ;
16009 bool temp2 = false ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "label", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
16019 {
16020 arg2 = wxString_in_helper(obj1);
16021 if (arg2 == NULL) SWIG_fail;
16022 temp2 = true;
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetLabel((wxString const &)*arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 {
16033 if (temp2)
16034 delete arg2;
16035 }
16036 return resultobj;
16037 fail:
16038 {
16039 if (temp2)
16040 delete arg2;
16041 }
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16049 wxVisualAttributes result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "variant", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16056 if (obj0) {
16057 {
16058 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16059 if (SWIG_arg_fail(1)) SWIG_fail;
16060 }
16061 }
16062 {
16063 if (!wxPyCheckForApp()) SWIG_fail;
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 wxVisualAttributes * resultptr;
16072 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16074 }
16075 return resultobj;
16076 fail:
16077 return NULL;
16078 }
16079
16080
16081 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16082 PyObject *obj;
16083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16085 Py_INCREF(obj);
16086 return Py_BuildValue((char *)"");
16087 }
16088 static int _wrap_NotebookNameStr_set(PyObject *) {
16089 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16090 return 1;
16091 }
16092
16093
16094 static PyObject *_wrap_NotebookNameStr_get(void) {
16095 PyObject *pyobj;
16096
16097 {
16098 #if wxUSE_UNICODE
16099 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16100 #else
16101 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16102 #endif
16103 }
16104 return pyobj;
16105 }
16106
16107
16108 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16111 size_t result;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16119 if (SWIG_arg_fail(1)) SWIG_fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16129 }
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16139 size_t arg2 ;
16140 wxWindow *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "n", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail;
16150 {
16151 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16152 if (SWIG_arg_fail(2)) SWIG_fail;
16153 }
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (wxWindow *)(arg1)->GetPage(arg2);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 resultobj = wxPyMake_wxObject(result, 0);
16163 }
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16173 wxWindow *result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16181 if (SWIG_arg_fail(1)) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 resultobj = wxPyMake_wxObject(result, 0);
16191 }
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16201 int result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 resultobj = SWIG_From_int((int)(result));
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16229 size_t arg2 ;
16230 wxString *arg3 = 0 ;
16231 bool result;
16232 bool temp3 = false ;
16233 PyObject * obj0 = 0 ;
16234 PyObject * obj1 = 0 ;
16235 PyObject * obj2 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self",(char *) "n",(char *) "strText", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail;
16243 {
16244 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16245 if (SWIG_arg_fail(2)) SWIG_fail;
16246 }
16247 {
16248 arg3 = wxString_in_helper(obj2);
16249 if (arg3 == NULL) SWIG_fail;
16250 temp3 = true;
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 {
16260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16261 }
16262 {
16263 if (temp3)
16264 delete arg3;
16265 }
16266 return resultobj;
16267 fail:
16268 {
16269 if (temp3)
16270 delete arg3;
16271 }
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16279 size_t arg2 ;
16280 wxString result;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "n", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
16291 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 #if wxUSE_UNICODE
16303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16304 #else
16305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16306 #endif
16307 }
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16317 wxImageList *arg2 = (wxImageList *) 0 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "imageList", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16328 if (SWIG_arg_fail(2)) SWIG_fail;
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetImageList(arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16346 wxImageList *arg2 = (wxImageList *) 0 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "imageList", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16355 if (SWIG_arg_fail(1)) SWIG_fail;
16356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16357 if (SWIG_arg_fail(2)) SWIG_fail;
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 (arg1)->AssignImageList(arg2);
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 Py_INCREF(Py_None); resultobj = Py_None;
16366 return resultobj;
16367 fail:
16368 return NULL;
16369 }
16370
16371
16372 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16375 wxImageList *result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392 resultobj = wxPyMake_wxObject(result, 0);
16393 }
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16403 size_t arg2 ;
16404 int result;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "n", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail;
16414 {
16415 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16416 if (SWIG_arg_fail(2)) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 {
16426 resultobj = SWIG_From_int((int)(result));
16427 }
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16437 size_t arg2 ;
16438 int arg3 ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 PyObject * obj2 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "n",(char *) "imageId", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
16451 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
16454 {
16455 arg3 = (int)(SWIG_As_int(obj2));
16456 if (SWIG_arg_fail(3)) SWIG_fail;
16457 }
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 {
16466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16477 wxSize *arg2 = 0 ;
16478 wxSize temp2 ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "size", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 arg2 = &temp2;
16490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetPageSize((wxSize const &)*arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16509 wxSize *arg2 = 0 ;
16510 wxSize result;
16511 wxSize temp2 ;
16512 PyObject * obj0 = 0 ;
16513 PyObject * obj1 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self",(char *) "sizePage", NULL
16516 };
16517
16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
16521 {
16522 arg2 = &temp2;
16523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16524 }
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533 wxSize * resultptr;
16534 resultptr = new wxSize((wxSize &)(result));
16535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj;
16545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16546 size_t arg2 ;
16547 bool result;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "n", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail;
16557 {
16558 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16559 if (SWIG_arg_fail(2)) SWIG_fail;
16560 }
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (bool)(arg1)->DeletePage(arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 {
16569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16570 }
16571 return resultobj;
16572 fail:
16573 return NULL;
16574 }
16575
16576
16577 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16578 PyObject *resultobj;
16579 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16580 size_t arg2 ;
16581 bool result;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "n", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
16591 {
16592 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16593 if (SWIG_arg_fail(2)) SWIG_fail;
16594 }
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (bool)(arg1)->RemovePage(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 {
16603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16614 bool result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (bool)(arg1)->DeleteAllPages();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16632 }
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16642 wxWindow *arg2 = (wxWindow *) 0 ;
16643 wxString *arg3 = 0 ;
16644 bool arg4 = (bool) false ;
16645 int arg5 = (int) -1 ;
16646 bool result;
16647 bool temp3 = false ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 PyObject * obj2 = 0 ;
16651 PyObject * obj3 = 0 ;
16652 PyObject * obj4 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail;
16660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(2)) SWIG_fail;
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 if (obj3) {
16668 {
16669 arg4 = (bool)(SWIG_As_bool(obj3));
16670 if (SWIG_arg_fail(4)) SWIG_fail;
16671 }
16672 }
16673 if (obj4) {
16674 {
16675 arg5 = (int)(SWIG_As_int(obj4));
16676 if (SWIG_arg_fail(5)) SWIG_fail;
16677 }
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16688 }
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 return resultobj;
16694 fail:
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return NULL;
16700 }
16701
16702
16703 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16706 size_t arg2 ;
16707 wxWindow *arg3 = (wxWindow *) 0 ;
16708 wxString *arg4 = 0 ;
16709 bool arg5 = (bool) false ;
16710 int arg6 = (int) -1 ;
16711 bool result;
16712 bool temp4 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail;
16726 {
16727 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16728 if (SWIG_arg_fail(2)) SWIG_fail;
16729 }
16730 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16731 if (SWIG_arg_fail(3)) SWIG_fail;
16732 {
16733 arg4 = wxString_in_helper(obj3);
16734 if (arg4 == NULL) SWIG_fail;
16735 temp4 = true;
16736 }
16737 if (obj4) {
16738 {
16739 arg5 = (bool)(SWIG_As_bool(obj4));
16740 if (SWIG_arg_fail(5)) SWIG_fail;
16741 }
16742 }
16743 if (obj5) {
16744 {
16745 arg6 = (int)(SWIG_As_int(obj5));
16746 if (SWIG_arg_fail(6)) SWIG_fail;
16747 }
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16758 }
16759 {
16760 if (temp4)
16761 delete arg4;
16762 }
16763 return resultobj;
16764 fail:
16765 {
16766 if (temp4)
16767 delete arg4;
16768 }
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16776 size_t arg2 ;
16777 int result;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "n", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail;
16787 {
16788 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16789 if (SWIG_arg_fail(2)) SWIG_fail;
16790 }
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (int)(arg1)->SetSelection(arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 {
16799 resultobj = SWIG_From_int((int)(result));
16800 }
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16810 bool arg2 = (bool) true ;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self",(char *) "forward", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail;
16820 if (obj1) {
16821 {
16822 arg2 = (bool)(SWIG_As_bool(obj1));
16823 if (SWIG_arg_fail(2)) SWIG_fail;
16824 }
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 (arg1)->AdvanceSelection(arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 Py_INCREF(Py_None); resultobj = Py_None;
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16843 wxVisualAttributes result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "variant", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16850 if (obj0) {
16851 {
16852 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16853 if (SWIG_arg_fail(1)) SWIG_fail;
16854 }
16855 }
16856 {
16857 if (!wxPyCheckForApp()) SWIG_fail;
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 {
16865 wxVisualAttributes * resultptr;
16866 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16876 PyObject *obj;
16877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16878 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16879 Py_INCREF(obj);
16880 return Py_BuildValue((char *)"");
16881 }
16882 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16885 int arg2 = (int) 0 ;
16886 int arg3 = (int) -1 ;
16887 int arg4 = (int) -1 ;
16888 wxBookCtrlBaseEvent *result;
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 PyObject * obj2 = 0 ;
16892 PyObject * obj3 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16898 if (obj0) {
16899 {
16900 arg1 = (wxEventType)(SWIG_As_int(obj0));
16901 if (SWIG_arg_fail(1)) SWIG_fail;
16902 }
16903 }
16904 if (obj1) {
16905 {
16906 arg2 = (int)(SWIG_As_int(obj1));
16907 if (SWIG_arg_fail(2)) SWIG_fail;
16908 }
16909 }
16910 if (obj2) {
16911 {
16912 arg3 = (int)(SWIG_As_int(obj2));
16913 if (SWIG_arg_fail(3)) SWIG_fail;
16914 }
16915 }
16916 if (obj3) {
16917 {
16918 arg4 = (int)(SWIG_As_int(obj3));
16919 if (SWIG_arg_fail(4)) SWIG_fail;
16920 }
16921 }
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16930 return resultobj;
16931 fail:
16932 return NULL;
16933 }
16934
16935
16936 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj;
16938 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16939 int result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail;
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
16955 {
16956 resultobj = SWIG_From_int((int)(result));
16957 }
16958 return resultobj;
16959 fail:
16960 return NULL;
16961 }
16962
16963
16964 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16967 int arg2 ;
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "nSel", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail;
16977 {
16978 arg2 = (int)(SWIG_As_int(obj1));
16979 if (SWIG_arg_fail(2)) SWIG_fail;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetSelection(arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16998 int result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015 resultobj = SWIG_From_int((int)(result));
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17026 int arg2 ;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "nOldSel", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail;
17036 {
17037 arg2 = (int)(SWIG_As_int(obj1));
17038 if (SWIG_arg_fail(2)) SWIG_fail;
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetOldSelection(arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051 }
17052
17053
17054 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17055 PyObject *obj;
17056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17057 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17058 Py_INCREF(obj);
17059 return Py_BuildValue((char *)"");
17060 }
17061 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17062 PyObject *resultobj;
17063 wxWindow *arg1 = (wxWindow *) 0 ;
17064 int arg2 = (int) -1 ;
17065 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17066 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17067 wxSize const &arg4_defvalue = wxDefaultSize ;
17068 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17069 long arg5 = (long) 0 ;
17070 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17071 wxString *arg6 = (wxString *) &arg6_defvalue ;
17072 wxNotebook *result;
17073 wxPoint temp3 ;
17074 wxSize temp4 ;
17075 bool temp6 = false ;
17076 PyObject * obj0 = 0 ;
17077 PyObject * obj1 = 0 ;
17078 PyObject * obj2 = 0 ;
17079 PyObject * obj3 = 0 ;
17080 PyObject * obj4 = 0 ;
17081 PyObject * obj5 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail;
17089 if (obj1) {
17090 {
17091 arg2 = (int)(SWIG_As_int(obj1));
17092 if (SWIG_arg_fail(2)) SWIG_fail;
17093 }
17094 }
17095 if (obj2) {
17096 {
17097 arg3 = &temp3;
17098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17099 }
17100 }
17101 if (obj3) {
17102 {
17103 arg4 = &temp4;
17104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17105 }
17106 }
17107 if (obj4) {
17108 {
17109 arg5 = (long)(SWIG_As_long(obj4));
17110 if (SWIG_arg_fail(5)) SWIG_fail;
17111 }
17112 }
17113 if (obj5) {
17114 {
17115 arg6 = wxString_in_helper(obj5);
17116 if (arg6 == NULL) SWIG_fail;
17117 temp6 = true;
17118 }
17119 }
17120 {
17121 if (!wxPyCheckForApp()) SWIG_fail;
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17129 {
17130 if (temp6)
17131 delete arg6;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp6)
17137 delete arg6;
17138 }
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxNotebook *result;
17146 char *kwnames[] = {
17147 NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17151 {
17152 if (!wxPyCheckForApp()) SWIG_fail;
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (wxNotebook *)new wxNotebook();
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17160 return resultobj;
17161 fail:
17162 return NULL;
17163 }
17164
17165
17166 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxNotebook *arg1 = (wxNotebook *) 0 ;
17169 wxWindow *arg2 = (wxWindow *) 0 ;
17170 int arg3 = (int) -1 ;
17171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17173 wxSize const &arg5_defvalue = wxDefaultSize ;
17174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17175 long arg6 = (long) 0 ;
17176 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17177 wxString *arg7 = (wxString *) &arg7_defvalue ;
17178 bool result;
17179 wxPoint temp4 ;
17180 wxSize temp5 ;
17181 bool temp7 = false ;
17182 PyObject * obj0 = 0 ;
17183 PyObject * obj1 = 0 ;
17184 PyObject * obj2 = 0 ;
17185 PyObject * obj3 = 0 ;
17186 PyObject * obj4 = 0 ;
17187 PyObject * obj5 = 0 ;
17188 PyObject * obj6 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
17196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17197 if (SWIG_arg_fail(2)) SWIG_fail;
17198 if (obj2) {
17199 {
17200 arg3 = (int)(SWIG_As_int(obj2));
17201 if (SWIG_arg_fail(3)) SWIG_fail;
17202 }
17203 }
17204 if (obj3) {
17205 {
17206 arg4 = &temp4;
17207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17208 }
17209 }
17210 if (obj4) {
17211 {
17212 arg5 = &temp5;
17213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17214 }
17215 }
17216 if (obj5) {
17217 {
17218 arg6 = (long)(SWIG_As_long(obj5));
17219 if (SWIG_arg_fail(6)) SWIG_fail;
17220 }
17221 }
17222 if (obj6) {
17223 {
17224 arg7 = wxString_in_helper(obj6);
17225 if (arg7 == NULL) SWIG_fail;
17226 temp7 = true;
17227 }
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17238 }
17239 {
17240 if (temp7)
17241 delete arg7;
17242 }
17243 return resultobj;
17244 fail:
17245 {
17246 if (temp7)
17247 delete arg7;
17248 }
17249 return NULL;
17250 }
17251
17252
17253 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxNotebook *arg1 = (wxNotebook *) 0 ;
17256 int result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 resultobj = SWIG_From_int((int)(result));
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxNotebook *arg1 = (wxNotebook *) 0 ;
17284 wxSize *arg2 = 0 ;
17285 wxSize temp2 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "padding", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail;
17295 {
17296 arg2 = &temp2;
17297 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17298 }
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetPadding((wxSize const &)*arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxNotebook *arg1 = (wxNotebook *) 0 ;
17316 wxSize *arg2 = 0 ;
17317 wxSize temp2 ;
17318 PyObject * obj0 = 0 ;
17319 PyObject * obj1 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "sz", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail;
17327 {
17328 arg2 = &temp2;
17329 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->SetTabSize((wxSize const &)*arg2);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxNotebook *arg1 = (wxNotebook *) 0 ;
17348 wxPoint *arg2 = 0 ;
17349 long *arg3 = (long *) 0 ;
17350 int result;
17351 wxPoint temp2 ;
17352 long temp3 ;
17353 int res3 = 0 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "pt", NULL
17358 };
17359
17360 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376 resultobj = SWIG_From_int((int)(result));
17377 }
17378 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17379 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxSize *arg2 = 0 ;
17390 wxSize result;
17391 wxSize temp2 ;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "sizePage", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
17401 {
17402 arg2 = &temp2;
17403 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 wxSize * resultptr;
17414 resultptr = new wxSize((wxSize &)(result));
17415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 wxColour result;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 wxColour * resultptr;
17444 resultptr = new wxColour((wxColour &)(result));
17445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17446 }
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17456 wxVisualAttributes result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "variant", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17463 if (obj0) {
17464 {
17465 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17466 if (SWIG_arg_fail(1)) SWIG_fail;
17467 }
17468 }
17469 {
17470 if (!wxPyCheckForApp()) SWIG_fail;
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 {
17478 wxVisualAttributes * resultptr;
17479 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17481 }
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17489 PyObject *obj;
17490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17492 Py_INCREF(obj);
17493 return Py_BuildValue((char *)"");
17494 }
17495 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17498 int arg2 = (int) 0 ;
17499 int arg3 = (int) -1 ;
17500 int arg4 = (int) -1 ;
17501 wxNotebookEvent *result;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17511 if (obj0) {
17512 {
17513 arg1 = (wxEventType)(SWIG_As_int(obj0));
17514 if (SWIG_arg_fail(1)) SWIG_fail;
17515 }
17516 }
17517 if (obj1) {
17518 {
17519 arg2 = (int)(SWIG_As_int(obj1));
17520 if (SWIG_arg_fail(2)) SWIG_fail;
17521 }
17522 }
17523 if (obj2) {
17524 {
17525 arg3 = (int)(SWIG_As_int(obj2));
17526 if (SWIG_arg_fail(3)) SWIG_fail;
17527 }
17528 }
17529 if (obj3) {
17530 {
17531 arg4 = (int)(SWIG_As_int(obj3));
17532 if (SWIG_arg_fail(4)) SWIG_fail;
17533 }
17534 }
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17543 return resultobj;
17544 fail:
17545 return NULL;
17546 }
17547
17548
17549 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17550 PyObject *obj;
17551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17553 Py_INCREF(obj);
17554 return Py_BuildValue((char *)"");
17555 }
17556 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17557 PyObject *resultobj;
17558 wxWindow *arg1 = (wxWindow *) 0 ;
17559 int arg2 = (int) -1 ;
17560 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17561 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17562 wxSize const &arg4_defvalue = wxDefaultSize ;
17563 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17564 long arg5 = (long) 0 ;
17565 wxString const &arg6_defvalue = wxPyEmptyString ;
17566 wxString *arg6 = (wxString *) &arg6_defvalue ;
17567 wxListbook *result;
17568 wxPoint temp3 ;
17569 wxSize temp4 ;
17570 bool temp6 = false ;
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 PyObject * obj2 = 0 ;
17574 PyObject * obj3 = 0 ;
17575 PyObject * obj4 = 0 ;
17576 PyObject * obj5 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail;
17584 if (obj1) {
17585 {
17586 arg2 = (int)(SWIG_As_int(obj1));
17587 if (SWIG_arg_fail(2)) SWIG_fail;
17588 }
17589 }
17590 if (obj2) {
17591 {
17592 arg3 = &temp3;
17593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17594 }
17595 }
17596 if (obj3) {
17597 {
17598 arg4 = &temp4;
17599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17600 }
17601 }
17602 if (obj4) {
17603 {
17604 arg5 = (long)(SWIG_As_long(obj4));
17605 if (SWIG_arg_fail(5)) SWIG_fail;
17606 }
17607 }
17608 if (obj5) {
17609 {
17610 arg6 = wxString_in_helper(obj5);
17611 if (arg6 == NULL) SWIG_fail;
17612 temp6 = true;
17613 }
17614 }
17615 {
17616 if (!wxPyCheckForApp()) SWIG_fail;
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17624 {
17625 if (temp6)
17626 delete arg6;
17627 }
17628 return resultobj;
17629 fail:
17630 {
17631 if (temp6)
17632 delete arg6;
17633 }
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxListbook *result;
17641 char *kwnames[] = {
17642 NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17646 {
17647 if (!wxPyCheckForApp()) SWIG_fail;
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (wxListbook *)new wxListbook();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxListbook *arg1 = (wxListbook *) 0 ;
17664 wxWindow *arg2 = (wxWindow *) 0 ;
17665 int arg3 = (int) -1 ;
17666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17668 wxSize const &arg5_defvalue = wxDefaultSize ;
17669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17670 long arg6 = (long) 0 ;
17671 wxString const &arg7_defvalue = wxPyEmptyString ;
17672 wxString *arg7 = (wxString *) &arg7_defvalue ;
17673 bool result;
17674 wxPoint temp4 ;
17675 wxSize temp5 ;
17676 bool temp7 = false ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 PyObject * obj2 = 0 ;
17680 PyObject * obj3 = 0 ;
17681 PyObject * obj4 = 0 ;
17682 PyObject * obj5 = 0 ;
17683 PyObject * obj6 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
17691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail;
17693 if (obj2) {
17694 {
17695 arg3 = (int)(SWIG_As_int(obj2));
17696 if (SWIG_arg_fail(3)) SWIG_fail;
17697 }
17698 }
17699 if (obj3) {
17700 {
17701 arg4 = &temp4;
17702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17703 }
17704 }
17705 if (obj4) {
17706 {
17707 arg5 = &temp5;
17708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17709 }
17710 }
17711 if (obj5) {
17712 {
17713 arg6 = (long)(SWIG_As_long(obj5));
17714 if (SWIG_arg_fail(6)) SWIG_fail;
17715 }
17716 }
17717 if (obj6) {
17718 {
17719 arg7 = wxString_in_helper(obj6);
17720 if (arg7 == NULL) SWIG_fail;
17721 temp7 = true;
17722 }
17723 }
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17733 }
17734 {
17735 if (temp7)
17736 delete arg7;
17737 }
17738 return resultobj;
17739 fail:
17740 {
17741 if (temp7)
17742 delete arg7;
17743 }
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxListbook *arg1 = (wxListbook *) 0 ;
17751 bool result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (bool)((wxListbook const *)arg1)->IsVertical();
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17769 }
17770 return resultobj;
17771 fail:
17772 return NULL;
17773 }
17774
17775
17776 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxListbook *arg1 = (wxListbook *) 0 ;
17779 wxListView *result;
17780 PyObject * obj0 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (wxListView *)(arg1)->GetListView();
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799 }
17800
17801
17802 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17803 PyObject *obj;
17804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17806 Py_INCREF(obj);
17807 return Py_BuildValue((char *)"");
17808 }
17809 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17812 int arg2 = (int) 0 ;
17813 int arg3 = (int) -1 ;
17814 int arg4 = (int) -1 ;
17815 wxListbookEvent *result;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 PyObject * obj2 = 0 ;
17819 PyObject * obj3 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17825 if (obj0) {
17826 {
17827 arg1 = (wxEventType)(SWIG_As_int(obj0));
17828 if (SWIG_arg_fail(1)) SWIG_fail;
17829 }
17830 }
17831 if (obj1) {
17832 {
17833 arg2 = (int)(SWIG_As_int(obj1));
17834 if (SWIG_arg_fail(2)) SWIG_fail;
17835 }
17836 }
17837 if (obj2) {
17838 {
17839 arg3 = (int)(SWIG_As_int(obj2));
17840 if (SWIG_arg_fail(3)) SWIG_fail;
17841 }
17842 }
17843 if (obj3) {
17844 {
17845 arg4 = (int)(SWIG_As_int(obj3));
17846 if (SWIG_arg_fail(4)) SWIG_fail;
17847 }
17848 }
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869 }
17870 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxWindow *arg1 = (wxWindow *) 0 ;
17873 int arg2 ;
17874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17876 wxSize const &arg4_defvalue = wxDefaultSize ;
17877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17878 long arg5 = (long) 0 ;
17879 wxString const &arg6_defvalue = wxPyEmptyString ;
17880 wxString *arg6 = (wxString *) &arg6_defvalue ;
17881 wxChoicebook *result;
17882 wxPoint temp3 ;
17883 wxSize temp4 ;
17884 bool temp6 = false ;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 PyObject * obj4 = 0 ;
17890 PyObject * obj5 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 {
17899 arg2 = (int)(SWIG_As_int(obj1));
17900 if (SWIG_arg_fail(2)) SWIG_fail;
17901 }
17902 if (obj2) {
17903 {
17904 arg3 = &temp3;
17905 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17906 }
17907 }
17908 if (obj3) {
17909 {
17910 arg4 = &temp4;
17911 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17912 }
17913 }
17914 if (obj4) {
17915 {
17916 arg5 = (long)(SWIG_As_long(obj4));
17917 if (SWIG_arg_fail(5)) SWIG_fail;
17918 }
17919 }
17920 if (obj5) {
17921 {
17922 arg6 = wxString_in_helper(obj5);
17923 if (arg6 == NULL) SWIG_fail;
17924 temp6 = true;
17925 }
17926 }
17927 {
17928 if (!wxPyCheckForApp()) SWIG_fail;
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17936 {
17937 if (temp6)
17938 delete arg6;
17939 }
17940 return resultobj;
17941 fail:
17942 {
17943 if (temp6)
17944 delete arg6;
17945 }
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxChoicebook *result;
17953 char *kwnames[] = {
17954 NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17958 {
17959 if (!wxPyCheckForApp()) SWIG_fail;
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (wxChoicebook *)new wxChoicebook();
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17976 wxWindow *arg2 = (wxWindow *) 0 ;
17977 int arg3 ;
17978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17980 wxSize const &arg5_defvalue = wxDefaultSize ;
17981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17982 long arg6 = (long) 0 ;
17983 wxString const &arg7_defvalue = wxPyEmptyString ;
17984 wxString *arg7 = (wxString *) &arg7_defvalue ;
17985 bool result;
17986 wxPoint temp4 ;
17987 wxSize temp5 ;
17988 bool temp7 = false ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 PyObject * obj2 = 0 ;
17992 PyObject * obj3 = 0 ;
17993 PyObject * obj4 = 0 ;
17994 PyObject * obj5 = 0 ;
17995 PyObject * obj6 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail;
18003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18004 if (SWIG_arg_fail(2)) SWIG_fail;
18005 {
18006 arg3 = (int)(SWIG_As_int(obj2));
18007 if (SWIG_arg_fail(3)) SWIG_fail;
18008 }
18009 if (obj3) {
18010 {
18011 arg4 = &temp4;
18012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18013 }
18014 }
18015 if (obj4) {
18016 {
18017 arg5 = &temp5;
18018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18019 }
18020 }
18021 if (obj5) {
18022 {
18023 arg6 = (long)(SWIG_As_long(obj5));
18024 if (SWIG_arg_fail(6)) SWIG_fail;
18025 }
18026 }
18027 if (obj6) {
18028 {
18029 arg7 = wxString_in_helper(obj6);
18030 if (arg7 == NULL) SWIG_fail;
18031 temp7 = true;
18032 }
18033 }
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
18044 {
18045 if (temp7)
18046 delete arg7;
18047 }
18048 return resultobj;
18049 fail:
18050 {
18051 if (temp7)
18052 delete arg7;
18053 }
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18061 bool result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->DeleteAllPages();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18115 PyObject *obj;
18116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18118 Py_INCREF(obj);
18119 return Py_BuildValue((char *)"");
18120 }
18121 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18124 int arg2 = (int) 0 ;
18125 int arg3 = (int) -1 ;
18126 int arg4 = (int) -1 ;
18127 wxChoicebookEvent *result;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 PyObject * obj2 = 0 ;
18131 PyObject * obj3 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18137 if (obj0) {
18138 {
18139 arg1 = (wxEventType)(SWIG_As_int(obj0));
18140 if (SWIG_arg_fail(1)) SWIG_fail;
18141 }
18142 }
18143 if (obj1) {
18144 {
18145 arg2 = (int)(SWIG_As_int(obj1));
18146 if (SWIG_arg_fail(2)) SWIG_fail;
18147 }
18148 }
18149 if (obj2) {
18150 {
18151 arg3 = (int)(SWIG_As_int(obj2));
18152 if (SWIG_arg_fail(3)) SWIG_fail;
18153 }
18154 }
18155 if (obj3) {
18156 {
18157 arg4 = (int)(SWIG_As_int(obj3));
18158 if (SWIG_arg_fail(4)) SWIG_fail;
18159 }
18160 }
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18176 PyObject *obj;
18177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18179 Py_INCREF(obj);
18180 return Py_BuildValue((char *)"");
18181 }
18182 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18185 wxBookCtrlSizer *result;
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "nb", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail;
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18211 PyObject * obj0 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 (arg1)->RecalcSizes();
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18236 wxSize result;
18237 PyObject * obj0 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (arg1)->CalcMin();
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 wxSize * resultptr;
18254 resultptr = new wxSize((wxSize &)(result));
18255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18266 wxBookCtrlBase *result;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (wxBookCtrlBase *)(arg1)->GetControl();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18290 PyObject *obj;
18291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18293 Py_INCREF(obj);
18294 return Py_BuildValue((char *)"");
18295 }
18296 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxNotebook *arg1 = (wxNotebook *) 0 ;
18299 wxNotebookSizer *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "nb", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18316 return resultobj;
18317 fail:
18318 return NULL;
18319 }
18320
18321
18322 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->RecalcSizes();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18350 wxSize result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (arg1)->CalcMin();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 wxSize * resultptr;
18368 resultptr = new wxSize((wxSize &)(result));
18369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18370 }
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18380 wxNotebook *result;
18381 PyObject * obj0 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (wxNotebook *)(arg1)->GetNotebook();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 {
18397 resultobj = wxPyMake_wxObject(result, 0);
18398 }
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18406 PyObject *obj;
18407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18408 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18409 Py_INCREF(obj);
18410 return Py_BuildValue((char *)"");
18411 }
18412 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18415 int result;
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18423 if (SWIG_arg_fail(1)) SWIG_fail;
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 result = (int)(arg1)->GetId();
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 {
18432 resultobj = SWIG_From_int((int)(result));
18433 }
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18443 wxControl *result;
18444 PyObject * obj0 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (wxControl *)(arg1)->GetControl();
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
18460 resultobj = wxPyMake_wxObject(result, 0);
18461 }
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18471 wxToolBarBase *result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (wxToolBarBase *)(arg1)->GetToolBar();
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 resultobj = wxPyMake_wxObject(result, 0);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj;
18498 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18499 int result;
18500 PyObject * obj0 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 result = (int)(arg1)->IsButton();
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 {
18516 resultobj = SWIG_From_int((int)(result));
18517 }
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18527 int result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (int)(arg1)->IsControl();
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 {
18544 resultobj = SWIG_From_int((int)(result));
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549 }
18550
18551
18552 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18555 int result;
18556 PyObject * obj0 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (int)(arg1)->IsSeparator();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 {
18572 resultobj = SWIG_From_int((int)(result));
18573 }
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18583 int result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (int)(arg1)->GetStyle();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
18600 resultobj = SWIG_From_int((int)(result));
18601 }
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18611 wxItemKind result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (wxItemKind)(arg1)->GetKind();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 resultobj = SWIG_From_int((result));
18628 return resultobj;
18629 fail:
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18637 bool result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail;
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (bool)(arg1)->IsEnabled();
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 {
18654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18655 }
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18665 bool result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (bool)(arg1)->IsToggled();
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18683 }
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18693 bool result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (bool)(arg1)->CanBeToggled();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18711 }
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18721 wxBitmap *result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail;
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 {
18733 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18734 result = (wxBitmap *) &_result_ref;
18735 }
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 {
18741 wxBitmap* resultptr = new wxBitmap(*result);
18742 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18753 wxBitmap *result;
18754 PyObject * obj0 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 {
18765 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18766 result = (wxBitmap *) &_result_ref;
18767 }
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 {
18773 wxBitmap* resultptr = new wxBitmap(*result);
18774 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18775 }
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj;
18784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18785 wxBitmap result;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (arg1)->GetBitmap();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 wxBitmap * resultptr;
18803 resultptr = new wxBitmap((wxBitmap &)(result));
18804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18805 }
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18815 wxString result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (arg1)->GetLabel();
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 {
18832 #if wxUSE_UNICODE
18833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18834 #else
18835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18836 #endif
18837 }
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18847 wxString result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (arg1)->GetShortHelp();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 #if wxUSE_UNICODE
18865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18866 #else
18867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18868 #endif
18869 }
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18879 wxString result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (arg1)->GetLongHelp();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 {
18896 #if wxUSE_UNICODE
18897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18898 #else
18899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18900 #endif
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18911 bool arg2 ;
18912 bool result;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self",(char *) "enable", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail;
18922 {
18923 arg2 = (bool)(SWIG_As_bool(obj1));
18924 if (SWIG_arg_fail(2)) SWIG_fail;
18925 }
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (bool)(arg1)->Enable(arg2);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18935 }
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->Toggle();
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18970 bool arg2 ;
18971 bool result;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "toggle", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail;
18981 {
18982 arg2 = (bool)(SWIG_As_bool(obj1));
18983 if (SWIG_arg_fail(2)) SWIG_fail;
18984 }
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = (bool)(arg1)->SetToggle(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19004 wxString *arg2 = 0 ;
19005 bool result;
19006 bool temp2 = false ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "help", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail;
19016 {
19017 arg2 = wxString_in_helper(obj1);
19018 if (arg2 == NULL) SWIG_fail;
19019 temp2 = true;
19020 }
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 {
19029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19030 }
19031 {
19032 if (temp2)
19033 delete arg2;
19034 }
19035 return resultobj;
19036 fail:
19037 {
19038 if (temp2)
19039 delete arg2;
19040 }
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19048 wxString *arg2 = 0 ;
19049 bool result;
19050 bool temp2 = false ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "help", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail;
19060 {
19061 arg2 = wxString_in_helper(obj1);
19062 if (arg2 == NULL) SWIG_fail;
19063 temp2 = true;
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19074 }
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return resultobj;
19080 fail:
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 return NULL;
19086 }
19087
19088
19089 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19092 wxBitmap *arg2 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "bmp", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail;
19102 {
19103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(2)) SWIG_fail;
19105 if (arg2 == NULL) {
19106 SWIG_null_ref("wxBitmap");
19107 }
19108 if (SWIG_arg_fail(2)) SWIG_fail;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19127 wxBitmap *arg2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "bmp", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail;
19137 {
19138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 if (arg2 == NULL) {
19141 SWIG_null_ref("wxBitmap");
19142 }
19143 if (SWIG_arg_fail(2)) SWIG_fail;
19144 }
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 Py_INCREF(Py_None); resultobj = Py_None;
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19162 wxString *arg2 = 0 ;
19163 bool temp2 = false ;
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "label", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail;
19173 {
19174 arg2 = wxString_in_helper(obj1);
19175 if (arg2 == NULL) SWIG_fail;
19176 temp2 = true;
19177 }
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->SetLabel((wxString const &)*arg2);
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 {
19187 if (temp2)
19188 delete arg2;
19189 }
19190 return resultobj;
19191 fail:
19192 {
19193 if (temp2)
19194 delete arg2;
19195 }
19196 return NULL;
19197 }
19198
19199
19200 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19201 PyObject *resultobj;
19202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19203 PyObject * obj0 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->Detach();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19228 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "tbar", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19237 if (SWIG_arg_fail(1)) SWIG_fail;
19238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19239 if (SWIG_arg_fail(2)) SWIG_fail;
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->Attach(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19257 PyObject *result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail;
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 resultobj = result;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19283 PyObject *arg2 = (PyObject *) 0 ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self",(char *) "clientData", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19292 if (SWIG_arg_fail(1)) SWIG_fail;
19293 arg2 = obj1;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 wxToolBarToolBase_SetClientData(arg1,arg2);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 Py_INCREF(Py_None); resultobj = Py_None;
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19309 PyObject *obj;
19310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19311 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19312 Py_INCREF(obj);
19313 return Py_BuildValue((char *)"");
19314 }
19315 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19318 int arg2 ;
19319 wxString *arg3 = 0 ;
19320 wxBitmap *arg4 = 0 ;
19321 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19322 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19323 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19324 wxString const &arg7_defvalue = wxPyEmptyString ;
19325 wxString *arg7 = (wxString *) &arg7_defvalue ;
19326 wxString const &arg8_defvalue = wxPyEmptyString ;
19327 wxString *arg8 = (wxString *) &arg8_defvalue ;
19328 PyObject *arg9 = (PyObject *) NULL ;
19329 wxToolBarToolBase *result;
19330 bool temp3 = false ;
19331 bool temp7 = false ;
19332 bool temp8 = false ;
19333 PyObject * obj0 = 0 ;
19334 PyObject * obj1 = 0 ;
19335 PyObject * obj2 = 0 ;
19336 PyObject * obj3 = 0 ;
19337 PyObject * obj4 = 0 ;
19338 PyObject * obj5 = 0 ;
19339 PyObject * obj6 = 0 ;
19340 PyObject * obj7 = 0 ;
19341 PyObject * obj8 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19348 if (SWIG_arg_fail(1)) SWIG_fail;
19349 {
19350 arg2 = (int)(SWIG_As_int(obj1));
19351 if (SWIG_arg_fail(2)) SWIG_fail;
19352 }
19353 {
19354 arg3 = wxString_in_helper(obj2);
19355 if (arg3 == NULL) SWIG_fail;
19356 temp3 = true;
19357 }
19358 {
19359 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(4)) SWIG_fail;
19361 if (arg4 == NULL) {
19362 SWIG_null_ref("wxBitmap");
19363 }
19364 if (SWIG_arg_fail(4)) SWIG_fail;
19365 }
19366 if (obj4) {
19367 {
19368 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(5)) SWIG_fail;
19370 if (arg5 == NULL) {
19371 SWIG_null_ref("wxBitmap");
19372 }
19373 if (SWIG_arg_fail(5)) SWIG_fail;
19374 }
19375 }
19376 if (obj5) {
19377 {
19378 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19379 if (SWIG_arg_fail(6)) SWIG_fail;
19380 }
19381 }
19382 if (obj6) {
19383 {
19384 arg7 = wxString_in_helper(obj6);
19385 if (arg7 == NULL) SWIG_fail;
19386 temp7 = true;
19387 }
19388 }
19389 if (obj7) {
19390 {
19391 arg8 = wxString_in_helper(obj7);
19392 if (arg8 == NULL) SWIG_fail;
19393 temp8 = true;
19394 }
19395 }
19396 if (obj8) {
19397 arg9 = obj8;
19398 }
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 resultobj = wxPyMake_wxObject(result, 0);
19408 }
19409 {
19410 if (temp3)
19411 delete arg3;
19412 }
19413 {
19414 if (temp7)
19415 delete arg7;
19416 }
19417 {
19418 if (temp8)
19419 delete arg8;
19420 }
19421 return resultobj;
19422 fail:
19423 {
19424 if (temp3)
19425 delete arg3;
19426 }
19427 {
19428 if (temp7)
19429 delete arg7;
19430 }
19431 {
19432 if (temp8)
19433 delete arg8;
19434 }
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19442 size_t arg2 ;
19443 int arg3 ;
19444 wxString *arg4 = 0 ;
19445 wxBitmap *arg5 = 0 ;
19446 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19447 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19448 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19449 wxString const &arg8_defvalue = wxPyEmptyString ;
19450 wxString *arg8 = (wxString *) &arg8_defvalue ;
19451 wxString const &arg9_defvalue = wxPyEmptyString ;
19452 wxString *arg9 = (wxString *) &arg9_defvalue ;
19453 PyObject *arg10 = (PyObject *) NULL ;
19454 wxToolBarToolBase *result;
19455 bool temp4 = false ;
19456 bool temp8 = false ;
19457 bool temp9 = false ;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 PyObject * obj2 = 0 ;
19461 PyObject * obj3 = 0 ;
19462 PyObject * obj4 = 0 ;
19463 PyObject * obj5 = 0 ;
19464 PyObject * obj6 = 0 ;
19465 PyObject * obj7 = 0 ;
19466 PyObject * obj8 = 0 ;
19467 PyObject * obj9 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
19475 {
19476 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19477 if (SWIG_arg_fail(2)) SWIG_fail;
19478 }
19479 {
19480 arg3 = (int)(SWIG_As_int(obj2));
19481 if (SWIG_arg_fail(3)) SWIG_fail;
19482 }
19483 {
19484 arg4 = wxString_in_helper(obj3);
19485 if (arg4 == NULL) SWIG_fail;
19486 temp4 = true;
19487 }
19488 {
19489 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19490 if (SWIG_arg_fail(5)) SWIG_fail;
19491 if (arg5 == NULL) {
19492 SWIG_null_ref("wxBitmap");
19493 }
19494 if (SWIG_arg_fail(5)) SWIG_fail;
19495 }
19496 if (obj5) {
19497 {
19498 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19499 if (SWIG_arg_fail(6)) SWIG_fail;
19500 if (arg6 == NULL) {
19501 SWIG_null_ref("wxBitmap");
19502 }
19503 if (SWIG_arg_fail(6)) SWIG_fail;
19504 }
19505 }
19506 if (obj6) {
19507 {
19508 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19509 if (SWIG_arg_fail(7)) SWIG_fail;
19510 }
19511 }
19512 if (obj7) {
19513 {
19514 arg8 = wxString_in_helper(obj7);
19515 if (arg8 == NULL) SWIG_fail;
19516 temp8 = true;
19517 }
19518 }
19519 if (obj8) {
19520 {
19521 arg9 = wxString_in_helper(obj8);
19522 if (arg9 == NULL) SWIG_fail;
19523 temp9 = true;
19524 }
19525 }
19526 if (obj9) {
19527 arg10 = obj9;
19528 }
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 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);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 {
19537 resultobj = wxPyMake_wxObject(result, 0);
19538 }
19539 {
19540 if (temp4)
19541 delete arg4;
19542 }
19543 {
19544 if (temp8)
19545 delete arg8;
19546 }
19547 {
19548 if (temp9)
19549 delete arg9;
19550 }
19551 return resultobj;
19552 fail:
19553 {
19554 if (temp4)
19555 delete arg4;
19556 }
19557 {
19558 if (temp8)
19559 delete arg8;
19560 }
19561 {
19562 if (temp9)
19563 delete arg9;
19564 }
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19572 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19573 wxToolBarToolBase *result;
19574 PyObject * obj0 = 0 ;
19575 PyObject * obj1 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self",(char *) "tool", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19582 if (SWIG_arg_fail(1)) SWIG_fail;
19583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19584 if (SWIG_arg_fail(2)) SWIG_fail;
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593 resultobj = wxPyMake_wxObject(result, 0);
19594 }
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19604 size_t arg2 ;
19605 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19606 wxToolBarToolBase *result;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 PyObject * obj2 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "pos",(char *) "tool", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail;
19617 {
19618 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19619 if (SWIG_arg_fail(2)) SWIG_fail;
19620 }
19621 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(3)) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 resultobj = wxPyMake_wxObject(result, 0);
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19642 wxControl *arg2 = (wxControl *) 0 ;
19643 wxToolBarToolBase *result;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "control", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail;
19653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(2)) SWIG_fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 {
19663 resultobj = wxPyMake_wxObject(result, 0);
19664 }
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19674 size_t arg2 ;
19675 wxControl *arg3 = (wxControl *) 0 ;
19676 wxToolBarToolBase *result;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 PyObject * obj2 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "pos",(char *) "control", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
19687 {
19688 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19689 if (SWIG_arg_fail(2)) SWIG_fail;
19690 }
19691 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(3)) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = wxPyMake_wxObject(result, 0);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 int arg2 ;
19713 wxControl *result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "id", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 {
19724 arg2 = (int)(SWIG_As_int(obj1));
19725 if (SWIG_arg_fail(2)) SWIG_fail;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (wxControl *)(arg1)->FindControl(arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 resultobj = wxPyMake_wxObject(result, 0);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19746 wxToolBarToolBase *result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 resultobj = wxPyMake_wxObject(result, 0);
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19774 size_t arg2 ;
19775 wxToolBarToolBase *result;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pos", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail;
19785 {
19786 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19787 if (SWIG_arg_fail(2)) SWIG_fail;
19788 }
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
19797 resultobj = wxPyMake_wxObject(result, 0);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19808 int arg2 ;
19809 wxToolBarToolBase *result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "id", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 arg2 = (int)(SWIG_As_int(obj1));
19821 if (SWIG_arg_fail(2)) SWIG_fail;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 resultobj = wxPyMake_wxObject(result, 0);
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19842 size_t arg2 ;
19843 bool result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "pos", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail;
19853 {
19854 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19855 if (SWIG_arg_fail(2)) SWIG_fail;
19856 }
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (bool)(arg1)->DeleteToolByPos(arg2);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 {
19865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19866 }
19867 return resultobj;
19868 fail:
19869 return NULL;
19870 }
19871
19872
19873 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19876 int arg2 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
19879 PyObject * obj1 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "id", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail;
19887 {
19888 arg2 = (int)(SWIG_As_int(obj1));
19889 if (SWIG_arg_fail(2)) SWIG_fail;
19890 }
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)(arg1)->DeleteTool(arg2);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 {
19899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19900 }
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail;
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 (arg1)->ClearTools();
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 Py_INCREF(Py_None); resultobj = Py_None;
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)(arg1)->Realize();
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 {
19952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19963 int arg2 ;
19964 bool arg3 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "id",(char *) "enable", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail;
19975 {
19976 arg2 = (int)(SWIG_As_int(obj1));
19977 if (SWIG_arg_fail(2)) SWIG_fail;
19978 }
19979 {
19980 arg3 = (bool)(SWIG_As_bool(obj2));
19981 if (SWIG_arg_fail(3)) SWIG_fail;
19982 }
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->EnableTool(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20000 int arg2 ;
20001 bool arg3 ;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 PyObject * obj2 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "id",(char *) "toggle", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail;
20012 {
20013 arg2 = (int)(SWIG_As_int(obj1));
20014 if (SWIG_arg_fail(2)) SWIG_fail;
20015 }
20016 {
20017 arg3 = (bool)(SWIG_As_bool(obj2));
20018 if (SWIG_arg_fail(3)) SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->ToggleTool(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20037 int arg2 ;
20038 bool arg3 ;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "id",(char *) "toggle", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail;
20049 {
20050 arg2 = (int)(SWIG_As_int(obj1));
20051 if (SWIG_arg_fail(2)) SWIG_fail;
20052 }
20053 {
20054 arg3 = (bool)(SWIG_As_bool(obj2));
20055 if (SWIG_arg_fail(3)) SWIG_fail;
20056 }
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 (arg1)->SetToggle(arg2,arg3);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20074 int arg2 ;
20075 PyObject *result;
20076 PyObject * obj0 = 0 ;
20077 PyObject * obj1 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "id", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail;
20085 {
20086 arg2 = (int)(SWIG_As_int(obj1));
20087 if (SWIG_arg_fail(2)) SWIG_fail;
20088 }
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = result;
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20106 int arg2 ;
20107 PyObject *arg3 = (PyObject *) 0 ;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 PyObject * obj2 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self",(char *) "id",(char *) "clientData", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20117 if (SWIG_arg_fail(1)) SWIG_fail;
20118 {
20119 arg2 = (int)(SWIG_As_int(obj1));
20120 if (SWIG_arg_fail(2)) SWIG_fail;
20121 }
20122 arg3 = obj2;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20140 int arg2 ;
20141 int result;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "id", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
20151 {
20152 arg2 = (int)(SWIG_As_int(obj1));
20153 if (SWIG_arg_fail(2)) SWIG_fail;
20154 }
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = SWIG_From_int((int)(result));
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20174 int arg2 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "id", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 {
20186 arg2 = (int)(SWIG_As_int(obj1));
20187 if (SWIG_arg_fail(2)) SWIG_fail;
20188 }
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)(arg1)->GetToolState(arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 {
20197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20198 }
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20208 int arg2 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "id", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
20219 {
20220 arg2 = (int)(SWIG_As_int(obj1));
20221 if (SWIG_arg_fail(2)) SWIG_fail;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (bool)(arg1)->GetToolEnabled(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 {
20231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20232 }
20233 return resultobj;
20234 fail:
20235 return NULL;
20236 }
20237
20238
20239 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20242 int arg2 ;
20243 wxString *arg3 = 0 ;
20244 bool temp3 = false ;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247 PyObject * obj2 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "id",(char *) "helpString", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
20255 {
20256 arg2 = (int)(SWIG_As_int(obj1));
20257 if (SWIG_arg_fail(2)) SWIG_fail;
20258 }
20259 {
20260 arg3 = wxString_in_helper(obj2);
20261 if (arg3 == NULL) SWIG_fail;
20262 temp3 = true;
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 {
20273 if (temp3)
20274 delete arg3;
20275 }
20276 return resultobj;
20277 fail:
20278 {
20279 if (temp3)
20280 delete arg3;
20281 }
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20289 int arg2 ;
20290 wxString result;
20291 PyObject * obj0 = 0 ;
20292 PyObject * obj1 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self",(char *) "id", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail;
20300 {
20301 arg2 = (int)(SWIG_As_int(obj1));
20302 if (SWIG_arg_fail(2)) SWIG_fail;
20303 }
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 result = (arg1)->GetToolShortHelp(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 {
20312 #if wxUSE_UNICODE
20313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20314 #else
20315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20316 #endif
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20327 int arg2 ;
20328 wxString *arg3 = 0 ;
20329 bool temp3 = false ;
20330 PyObject * obj0 = 0 ;
20331 PyObject * obj1 = 0 ;
20332 PyObject * obj2 = 0 ;
20333 char *kwnames[] = {
20334 (char *) "self",(char *) "id",(char *) "helpString", NULL
20335 };
20336
20337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail;
20340 {
20341 arg2 = (int)(SWIG_As_int(obj1));
20342 if (SWIG_arg_fail(2)) SWIG_fail;
20343 }
20344 {
20345 arg3 = wxString_in_helper(obj2);
20346 if (arg3 == NULL) SWIG_fail;
20347 temp3 = true;
20348 }
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 Py_INCREF(Py_None); resultobj = Py_None;
20357 {
20358 if (temp3)
20359 delete arg3;
20360 }
20361 return resultobj;
20362 fail:
20363 {
20364 if (temp3)
20365 delete arg3;
20366 }
20367 return NULL;
20368 }
20369
20370
20371 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20372 PyObject *resultobj;
20373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20374 int arg2 ;
20375 wxString result;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "id", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail;
20385 {
20386 arg2 = (int)(SWIG_As_int(obj1));
20387 if (SWIG_arg_fail(2)) SWIG_fail;
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (arg1)->GetToolLongHelp(arg2);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 {
20397 #if wxUSE_UNICODE
20398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20399 #else
20400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20401 #endif
20402 }
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 int arg2 ;
20413 int arg3 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self",(char *) "x",(char *) "y", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20423 if (SWIG_arg_fail(1)) SWIG_fail;
20424 {
20425 arg2 = (int)(SWIG_As_int(obj1));
20426 if (SWIG_arg_fail(2)) SWIG_fail;
20427 }
20428 {
20429 arg3 = (int)(SWIG_As_int(obj2));
20430 if (SWIG_arg_fail(3)) SWIG_fail;
20431 }
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 (arg1)->SetMargins(arg2,arg3);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20449 wxSize *arg2 = 0 ;
20450 wxSize temp2 ;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "size", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail;
20460 {
20461 arg2 = &temp2;
20462 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetMargins((wxSize const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20481 int arg2 ;
20482 PyObject * obj0 = 0 ;
20483 PyObject * obj1 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "packing", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
20491 {
20492 arg2 = (int)(SWIG_As_int(obj1));
20493 if (SWIG_arg_fail(2)) SWIG_fail;
20494 }
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 (arg1)->SetToolPacking(arg2);
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 Py_INCREF(Py_None); resultobj = Py_None;
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20512 int arg2 ;
20513 PyObject * obj0 = 0 ;
20514 PyObject * obj1 = 0 ;
20515 char *kwnames[] = {
20516 (char *) "self",(char *) "separation", NULL
20517 };
20518
20519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail;
20522 {
20523 arg2 = (int)(SWIG_As_int(obj1));
20524 if (SWIG_arg_fail(2)) SWIG_fail;
20525 }
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->SetToolSeparation(arg2);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20543 wxSize result;
20544 PyObject * obj0 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail;
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 result = (arg1)->GetToolMargins();
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 {
20560 wxSize * resultptr;
20561 resultptr = new wxSize((wxSize &)(result));
20562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20573 wxSize result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (arg1)->GetMargins();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxSize * resultptr;
20591 resultptr = new wxSize((wxSize &)(result));
20592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20603 int result;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (int)(arg1)->GetToolPacking();
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 {
20620 resultobj = SWIG_From_int((int)(result));
20621 }
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20631 int result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (int)(arg1)->GetToolSeparation();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 {
20648 resultobj = SWIG_From_int((int)(result));
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20659 int arg2 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "nRows", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail;
20669 {
20670 arg2 = (int)(SWIG_As_int(obj1));
20671 if (SWIG_arg_fail(2)) SWIG_fail;
20672 }
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetRows(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20690 int arg2 ;
20691 int arg3 ;
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 PyObject * obj2 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self",(char *) "rows",(char *) "cols", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 arg2 = (int)(SWIG_As_int(obj1));
20704 if (SWIG_arg_fail(2)) SWIG_fail;
20705 }
20706 {
20707 arg3 = (int)(SWIG_As_int(obj2));
20708 if (SWIG_arg_fail(3)) SWIG_fail;
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetMaxRowsCols(arg2,arg3);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20727 int result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (int)(arg1)->GetMaxRows();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 {
20744 resultobj = SWIG_From_int((int)(result));
20745 }
20746 return resultobj;
20747 fail:
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20755 int result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20763 if (SWIG_arg_fail(1)) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (int)(arg1)->GetMaxCols();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 resultobj = SWIG_From_int((int)(result));
20773 }
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20783 wxSize *arg2 = 0 ;
20784 wxSize temp2 ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "size", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 arg2 = &temp2;
20796 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20797 }
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 Py_INCREF(Py_None); resultobj = Py_None;
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20815 wxSize result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (arg1)->GetToolBitmapSize();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 {
20832 wxSize * resultptr;
20833 resultptr = new wxSize((wxSize &)(result));
20834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20845 wxSize result;
20846 PyObject * obj0 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (arg1)->GetToolSize();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 wxSize * resultptr;
20863 resultptr = new wxSize((wxSize &)(result));
20864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20865 }
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20875 int arg2 ;
20876 int arg3 ;
20877 wxToolBarToolBase *result;
20878 PyObject * obj0 = 0 ;
20879 PyObject * obj1 = 0 ;
20880 PyObject * obj2 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self",(char *) "x",(char *) "y", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail;
20888 {
20889 arg2 = (int)(SWIG_As_int(obj1));
20890 if (SWIG_arg_fail(2)) SWIG_fail;
20891 }
20892 {
20893 arg3 = (int)(SWIG_As_int(obj2));
20894 if (SWIG_arg_fail(3)) SWIG_fail;
20895 }
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = wxPyMake_wxObject(result, 0);
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj;
20914 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20915 int arg2 ;
20916 wxToolBarToolBase *result;
20917 PyObject * obj0 = 0 ;
20918 PyObject * obj1 = 0 ;
20919 char *kwnames[] = {
20920 (char *) "self",(char *) "toolid", NULL
20921 };
20922
20923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail;
20926 {
20927 arg2 = (int)(SWIG_As_int(obj1));
20928 if (SWIG_arg_fail(2)) SWIG_fail;
20929 }
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 resultobj = wxPyMake_wxObject(result, 0);
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20949 bool result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (bool)(arg1)->IsVertical();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 {
20966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20967 }
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20975 PyObject *obj;
20976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20977 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20978 Py_INCREF(obj);
20979 return Py_BuildValue((char *)"");
20980 }
20981 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxWindow *arg1 = (wxWindow *) 0 ;
20984 int arg2 = (int) -1 ;
20985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20987 wxSize const &arg4_defvalue = wxDefaultSize ;
20988 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20989 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20990 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20991 wxString *arg6 = (wxString *) &arg6_defvalue ;
20992 wxToolBar *result;
20993 wxPoint temp3 ;
20994 wxSize temp4 ;
20995 bool temp6 = false ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 PyObject * obj2 = 0 ;
20999 PyObject * obj3 = 0 ;
21000 PyObject * obj4 = 0 ;
21001 PyObject * obj5 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail;
21009 if (obj1) {
21010 {
21011 arg2 = (int)(SWIG_As_int(obj1));
21012 if (SWIG_arg_fail(2)) SWIG_fail;
21013 }
21014 }
21015 if (obj2) {
21016 {
21017 arg3 = &temp3;
21018 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21019 }
21020 }
21021 if (obj3) {
21022 {
21023 arg4 = &temp4;
21024 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21025 }
21026 }
21027 if (obj4) {
21028 {
21029 arg5 = (long)(SWIG_As_long(obj4));
21030 if (SWIG_arg_fail(5)) SWIG_fail;
21031 }
21032 }
21033 if (obj5) {
21034 {
21035 arg6 = wxString_in_helper(obj5);
21036 if (arg6 == NULL) SWIG_fail;
21037 temp6 = true;
21038 }
21039 }
21040 {
21041 if (!wxPyCheckForApp()) SWIG_fail;
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21049 {
21050 if (temp6)
21051 delete arg6;
21052 }
21053 return resultobj;
21054 fail:
21055 {
21056 if (temp6)
21057 delete arg6;
21058 }
21059 return NULL;
21060 }
21061
21062
21063 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxToolBar *result;
21066 char *kwnames[] = {
21067 NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21071 {
21072 if (!wxPyCheckForApp()) SWIG_fail;
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxToolBar *)new wxToolBar();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21080 return resultobj;
21081 fail:
21082 return NULL;
21083 }
21084
21085
21086 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 wxToolBar *arg1 = (wxToolBar *) 0 ;
21089 wxWindow *arg2 = (wxWindow *) 0 ;
21090 int arg3 = (int) -1 ;
21091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21093 wxSize const &arg5_defvalue = wxDefaultSize ;
21094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21095 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21096 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21097 wxString *arg7 = (wxString *) &arg7_defvalue ;
21098 bool result;
21099 wxPoint temp4 ;
21100 wxSize temp5 ;
21101 bool temp7 = false ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 PyObject * obj2 = 0 ;
21105 PyObject * obj3 = 0 ;
21106 PyObject * obj4 = 0 ;
21107 PyObject * obj5 = 0 ;
21108 PyObject * obj6 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail;
21116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21117 if (SWIG_arg_fail(2)) SWIG_fail;
21118 if (obj2) {
21119 {
21120 arg3 = (int)(SWIG_As_int(obj2));
21121 if (SWIG_arg_fail(3)) SWIG_fail;
21122 }
21123 }
21124 if (obj3) {
21125 {
21126 arg4 = &temp4;
21127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21128 }
21129 }
21130 if (obj4) {
21131 {
21132 arg5 = &temp5;
21133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21134 }
21135 }
21136 if (obj5) {
21137 {
21138 arg6 = (long)(SWIG_As_long(obj5));
21139 if (SWIG_arg_fail(6)) SWIG_fail;
21140 }
21141 }
21142 if (obj6) {
21143 {
21144 arg7 = wxString_in_helper(obj6);
21145 if (arg7 == NULL) SWIG_fail;
21146 temp7 = true;
21147 }
21148 }
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 {
21157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21158 }
21159 {
21160 if (temp7)
21161 delete arg7;
21162 }
21163 return resultobj;
21164 fail:
21165 {
21166 if (temp7)
21167 delete arg7;
21168 }
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxToolBar *arg1 = (wxToolBar *) 0 ;
21176 int arg2 ;
21177 int arg3 ;
21178 wxToolBarToolBase *result;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "x",(char *) "y", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail;
21189 {
21190 arg2 = (int)(SWIG_As_int(obj1));
21191 if (SWIG_arg_fail(2)) SWIG_fail;
21192 }
21193 {
21194 arg3 = (int)(SWIG_As_int(obj2));
21195 if (SWIG_arg_fail(3)) SWIG_fail;
21196 }
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 {
21205 resultobj = wxPyMake_wxObject(result, 0);
21206 }
21207 return resultobj;
21208 fail:
21209 return NULL;
21210 }
21211
21212
21213 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21216 wxVisualAttributes result;
21217 PyObject * obj0 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "variant", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21223 if (obj0) {
21224 {
21225 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21226 if (SWIG_arg_fail(1)) SWIG_fail;
21227 }
21228 }
21229 {
21230 if (!wxPyCheckForApp()) SWIG_fail;
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 {
21238 wxVisualAttributes * resultptr;
21239 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21241 }
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21249 PyObject *obj;
21250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21251 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21252 Py_INCREF(obj);
21253 return Py_BuildValue((char *)"");
21254 }
21255 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21256 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21257 return 1;
21258 }
21259
21260
21261 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21262 PyObject *pyobj;
21263
21264 {
21265 #if wxUSE_UNICODE
21266 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21267 #else
21268 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21269 #endif
21270 }
21271 return pyobj;
21272 }
21273
21274
21275 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxColour const &arg1_defvalue = wxNullColour ;
21278 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21279 wxColour const &arg2_defvalue = wxNullColour ;
21280 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21281 wxFont const &arg3_defvalue = wxNullFont ;
21282 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21283 wxListItemAttr *result;
21284 wxColour temp1 ;
21285 wxColour temp2 ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 PyObject * obj2 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21294 if (obj0) {
21295 {
21296 arg1 = &temp1;
21297 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21298 }
21299 }
21300 if (obj1) {
21301 {
21302 arg2 = &temp2;
21303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21304 }
21305 }
21306 if (obj2) {
21307 {
21308 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21309 if (SWIG_arg_fail(3)) SWIG_fail;
21310 if (arg3 == NULL) {
21311 SWIG_null_ref("wxFont");
21312 }
21313 if (SWIG_arg_fail(3)) SWIG_fail;
21314 }
21315 }
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21333 wxColour *arg2 = 0 ;
21334 wxColour temp2 ;
21335 PyObject * obj0 = 0 ;
21336 PyObject * obj1 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self",(char *) "colText", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
21346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21347 }
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 (arg1)->SetTextColour((wxColour const &)*arg2);
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 Py_INCREF(Py_None); resultobj = Py_None;
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21365 wxColour *arg2 = 0 ;
21366 wxColour temp2 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "colBack", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail;
21376 {
21377 arg2 = &temp2;
21378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21397 wxFont *arg2 = 0 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "font", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(2)) SWIG_fail;
21410 if (arg2 == NULL) {
21411 SWIG_null_ref("wxFont");
21412 }
21413 if (SWIG_arg_fail(2)) SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetFont((wxFont const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21432 bool result;
21433 PyObject * obj0 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21440 if (SWIG_arg_fail(1)) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)(arg1)->HasTextColour();
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21460 bool result;
21461 PyObject * obj0 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->HasBackgroundColour();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 {
21477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21478 }
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21488 bool result;
21489 PyObject * obj0 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail;
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (bool)(arg1)->HasFont();
21500
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
21504 {
21505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21506 }
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21516 wxColour result;
21517 PyObject * obj0 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (arg1)->GetTextColour();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 wxColour * resultptr;
21534 resultptr = new wxColour((wxColour &)(result));
21535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21546 wxColour result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail;
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (arg1)->GetBackgroundColour();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 wxColour * resultptr;
21564 resultptr = new wxColour((wxColour &)(result));
21565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21566 }
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21576 wxFont result;
21577 PyObject * obj0 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail;
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 result = (arg1)->GetFont();
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 {
21593 wxFont * resultptr;
21594 resultptr = new wxFont((wxFont &)(result));
21595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21596 }
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21606 PyObject * obj0 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 wxListItemAttr_Destroy(arg1);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21629 PyObject *obj;
21630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21631 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21632 Py_INCREF(obj);
21633 return Py_BuildValue((char *)"");
21634 }
21635 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxListItem *result;
21638 char *kwnames[] = {
21639 NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 result = (wxListItem *)new wxListItem();
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
21651 resultobj = wxPyMake_wxObject(result, 1);
21652 }
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxListItem *arg1 = (wxListItem *) 0 ;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail;
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 delete arg1;
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 Py_INCREF(Py_None); resultobj = Py_None;
21678 return resultobj;
21679 fail:
21680 return NULL;
21681 }
21682
21683
21684 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj;
21686 wxListItem *arg1 = (wxListItem *) 0 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->Clear();
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxListItem *arg1 = (wxListItem *) 0 ;
21712 PyObject * obj0 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 (arg1)->ClearAttributes();
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxListItem *arg1 = (wxListItem *) 0 ;
21737 long arg2 ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "mask", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
21747 {
21748 arg2 = (long)(SWIG_As_long(obj1));
21749 if (SWIG_arg_fail(2)) SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->SetMask(arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxListItem *arg1 = (wxListItem *) 0 ;
21768 long arg2 ;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "id", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail;
21778 {
21779 arg2 = (long)(SWIG_As_long(obj1));
21780 if (SWIG_arg_fail(2)) SWIG_fail;
21781 }
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->SetId(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxListItem *arg1 = (wxListItem *) 0 ;
21799 int arg2 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "col", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail;
21809 {
21810 arg2 = (int)(SWIG_As_int(obj1));
21811 if (SWIG_arg_fail(2)) SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->SetColumn(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxListItem *arg1 = (wxListItem *) 0 ;
21830 long arg2 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "state", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail;
21840 {
21841 arg2 = (long)(SWIG_As_long(obj1));
21842 if (SWIG_arg_fail(2)) SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->SetState(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxListItem *arg1 = (wxListItem *) 0 ;
21861 long arg2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "stateMask", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
21872 arg2 = (long)(SWIG_As_long(obj1));
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetStateMask(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxListItem *arg1 = (wxListItem *) 0 ;
21892 wxString *arg2 = 0 ;
21893 bool temp2 = false ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "text", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail;
21903 {
21904 arg2 = wxString_in_helper(obj1);
21905 if (arg2 == NULL) SWIG_fail;
21906 temp2 = true;
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->SetText((wxString const &)*arg2);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 {
21917 if (temp2)
21918 delete arg2;
21919 }
21920 return resultobj;
21921 fail:
21922 {
21923 if (temp2)
21924 delete arg2;
21925 }
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj;
21932 wxListItem *arg1 = (wxListItem *) 0 ;
21933 int arg2 ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "image", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail;
21943 {
21944 arg2 = (int)(SWIG_As_int(obj1));
21945 if (SWIG_arg_fail(2)) SWIG_fail;
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->SetImage(arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxListItem *arg1 = (wxListItem *) 0 ;
21964 long arg2 ;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "data", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail;
21974 {
21975 arg2 = (long)(SWIG_As_long(obj1));
21976 if (SWIG_arg_fail(2)) SWIG_fail;
21977 }
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetData(arg2);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxListItem *arg1 = (wxListItem *) 0 ;
21995 int arg2 ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "width", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail;
22005 {
22006 arg2 = (int)(SWIG_As_int(obj1));
22007 if (SWIG_arg_fail(2)) SWIG_fail;
22008 }
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 (arg1)->SetWidth(arg2);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 return resultobj;
22018 fail:
22019 return NULL;
22020 }
22021
22022
22023 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22024 PyObject *resultobj;
22025 wxListItem *arg1 = (wxListItem *) 0 ;
22026 wxListColumnFormat arg2 ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "align", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail;
22036 {
22037 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22038 if (SWIG_arg_fail(2)) SWIG_fail;
22039 }
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->SetAlign((wxListColumnFormat )arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 Py_INCREF(Py_None); resultobj = Py_None;
22048 return resultobj;
22049 fail:
22050 return NULL;
22051 }
22052
22053
22054 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj;
22056 wxListItem *arg1 = (wxListItem *) 0 ;
22057 wxColour *arg2 = 0 ;
22058 wxColour temp2 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "colText", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
22070 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 (arg1)->SetTextColour((wxColour const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxListItem *arg1 = (wxListItem *) 0 ;
22089 wxColour *arg2 = 0 ;
22090 wxColour temp2 ;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "colBack", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail;
22100 {
22101 arg2 = &temp2;
22102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22103 }
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 Py_INCREF(Py_None); resultobj = Py_None;
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxListItem *arg1 = (wxListItem *) 0 ;
22121 wxFont *arg2 = 0 ;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self",(char *) "font", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(2)) SWIG_fail;
22134 if (arg2 == NULL) {
22135 SWIG_null_ref("wxFont");
22136 }
22137 if (SWIG_arg_fail(2)) SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->SetFont((wxFont const &)*arg2);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxListItem *arg1 = (wxListItem *) 0 ;
22156 long result;
22157 PyObject * obj0 = 0 ;
22158 char *kwnames[] = {
22159 (char *) "self", NULL
22160 };
22161
22162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22164 if (SWIG_arg_fail(1)) SWIG_fail;
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 result = (long)(arg1)->GetMask();
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 {
22173 resultobj = SWIG_From_long((long)(result));
22174 }
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj;
22183 wxListItem *arg1 = (wxListItem *) 0 ;
22184 long result;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22192 if (SWIG_arg_fail(1)) SWIG_fail;
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (long)(arg1)->GetId();
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 {
22201 resultobj = SWIG_From_long((long)(result));
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206 }
22207
22208
22209 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxListItem *arg1 = (wxListItem *) 0 ;
22212 int result;
22213 PyObject * obj0 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail;
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (int)(arg1)->GetColumn();
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 resultobj = SWIG_From_int((int)(result));
22230 }
22231 return resultobj;
22232 fail:
22233 return NULL;
22234 }
22235
22236
22237 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22238 PyObject *resultobj;
22239 wxListItem *arg1 = (wxListItem *) 0 ;
22240 long result;
22241 PyObject * obj0 = 0 ;
22242 char *kwnames[] = {
22243 (char *) "self", NULL
22244 };
22245
22246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (long)(arg1)->GetState();
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 resultobj = SWIG_From_long((long)(result));
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxListItem *arg1 = (wxListItem *) 0 ;
22268 wxString *result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 {
22280 wxString const &_result_ref = (arg1)->GetText();
22281 result = (wxString *) &_result_ref;
22282 }
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 #if wxUSE_UNICODE
22289 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22290 #else
22291 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22292 #endif
22293 }
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxListItem *arg1 = (wxListItem *) 0 ;
22303 int result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail;
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (int)(arg1)->GetImage();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 {
22320 resultobj = SWIG_From_int((int)(result));
22321 }
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxListItem *arg1 = (wxListItem *) 0 ;
22331 long result;
22332 PyObject * obj0 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail;
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 result = (long)(arg1)->GetData();
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 {
22348 resultobj = SWIG_From_long((long)(result));
22349 }
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxListItem *arg1 = (wxListItem *) 0 ;
22359 int result;
22360 PyObject * obj0 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22367 if (SWIG_arg_fail(1)) SWIG_fail;
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (int)(arg1)->GetWidth();
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 resultobj = SWIG_From_int((int)(result));
22377 }
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxListItem *arg1 = (wxListItem *) 0 ;
22387 wxListColumnFormat result;
22388 PyObject * obj0 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22395 if (SWIG_arg_fail(1)) SWIG_fail;
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (wxListColumnFormat)(arg1)->GetAlign();
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 resultobj = SWIG_From_int((result));
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxListItem *arg1 = (wxListItem *) 0 ;
22413 wxListItemAttr *result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail;
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 result = (wxListItemAttr *)(arg1)->GetAttributes();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxListItem *arg1 = (wxListItem *) 0 ;
22439 bool result;
22440 PyObject * obj0 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail;
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (bool)(arg1)->HasAttributes();
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 {
22456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22457 }
22458 return resultobj;
22459 fail:
22460 return NULL;
22461 }
22462
22463
22464 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxListItem *arg1 = (wxListItem *) 0 ;
22467 wxColour result;
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail;
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = ((wxListItem const *)arg1)->GetTextColour();
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 {
22484 wxColour * resultptr;
22485 resultptr = new wxColour((wxColour &)(result));
22486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22487 }
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxListItem *arg1 = (wxListItem *) 0 ;
22497 wxColour result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514 wxColour * resultptr;
22515 resultptr = new wxColour((wxColour &)(result));
22516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22517 }
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj;
22526 wxListItem *arg1 = (wxListItem *) 0 ;
22527 wxFont result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = ((wxListItem const *)arg1)->GetFont();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 wxFont * resultptr;
22545 resultptr = new wxFont((wxFont &)(result));
22546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxListItem *arg1 = (wxListItem *) 0 ;
22557 long arg2 ;
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "m_mask", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail;
22567 {
22568 arg2 = (long)(SWIG_As_long(obj1));
22569 if (SWIG_arg_fail(2)) SWIG_fail;
22570 }
22571 if (arg1) (arg1)->m_mask = arg2;
22572
22573 Py_INCREF(Py_None); resultobj = Py_None;
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxListItem *arg1 = (wxListItem *) 0 ;
22583 long result;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
22592 result = (long) ((arg1)->m_mask);
22593
22594 {
22595 resultobj = SWIG_From_long((long)(result));
22596 }
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxListItem *arg1 = (wxListItem *) 0 ;
22606 long arg2 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "m_itemId", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
22616 {
22617 arg2 = (long)(SWIG_As_long(obj1));
22618 if (SWIG_arg_fail(2)) SWIG_fail;
22619 }
22620 if (arg1) (arg1)->m_itemId = arg2;
22621
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxListItem *arg1 = (wxListItem *) 0 ;
22632 long result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail;
22641 result = (long) ((arg1)->m_itemId);
22642
22643 {
22644 resultobj = SWIG_From_long((long)(result));
22645 }
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxListItem *arg1 = (wxListItem *) 0 ;
22655 int arg2 ;
22656 PyObject * obj0 = 0 ;
22657 PyObject * obj1 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self",(char *) "m_col", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
22665 {
22666 arg2 = (int)(SWIG_As_int(obj1));
22667 if (SWIG_arg_fail(2)) SWIG_fail;
22668 }
22669 if (arg1) (arg1)->m_col = arg2;
22670
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675 }
22676
22677
22678 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxListItem *arg1 = (wxListItem *) 0 ;
22681 int result;
22682 PyObject * obj0 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail;
22690 result = (int) ((arg1)->m_col);
22691
22692 {
22693 resultobj = SWIG_From_int((int)(result));
22694 }
22695 return resultobj;
22696 fail:
22697 return NULL;
22698 }
22699
22700
22701 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22702 PyObject *resultobj;
22703 wxListItem *arg1 = (wxListItem *) 0 ;
22704 long arg2 ;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self",(char *) "m_state", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail;
22714 {
22715 arg2 = (long)(SWIG_As_long(obj1));
22716 if (SWIG_arg_fail(2)) SWIG_fail;
22717 }
22718 if (arg1) (arg1)->m_state = arg2;
22719
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxListItem *arg1 = (wxListItem *) 0 ;
22730 long result;
22731 PyObject * obj0 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail;
22739 result = (long) ((arg1)->m_state);
22740
22741 {
22742 resultobj = SWIG_From_long((long)(result));
22743 }
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxListItem *arg1 = (wxListItem *) 0 ;
22753 long arg2 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "m_stateMask", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail;
22763 {
22764 arg2 = (long)(SWIG_As_long(obj1));
22765 if (SWIG_arg_fail(2)) SWIG_fail;
22766 }
22767 if (arg1) (arg1)->m_stateMask = arg2;
22768
22769 Py_INCREF(Py_None); resultobj = Py_None;
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxListItem *arg1 = (wxListItem *) 0 ;
22779 long result;
22780 PyObject * obj0 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22787 if (SWIG_arg_fail(1)) SWIG_fail;
22788 result = (long) ((arg1)->m_stateMask);
22789
22790 {
22791 resultobj = SWIG_From_long((long)(result));
22792 }
22793 return resultobj;
22794 fail:
22795 return NULL;
22796 }
22797
22798
22799 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxListItem *arg1 = (wxListItem *) 0 ;
22802 wxString *arg2 = (wxString *) 0 ;
22803 bool temp2 = false ;
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "m_text", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
22813 {
22814 arg2 = wxString_in_helper(obj1);
22815 if (arg2 == NULL) SWIG_fail;
22816 temp2 = true;
22817 }
22818 if (arg1) (arg1)->m_text = *arg2;
22819
22820 Py_INCREF(Py_None); resultobj = Py_None;
22821 {
22822 if (temp2)
22823 delete arg2;
22824 }
22825 return resultobj;
22826 fail:
22827 {
22828 if (temp2)
22829 delete arg2;
22830 }
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxListItem *arg1 = (wxListItem *) 0 ;
22838 wxString *result;
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail;
22847 result = (wxString *)& ((arg1)->m_text);
22848
22849 {
22850 #if wxUSE_UNICODE
22851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22852 #else
22853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22854 #endif
22855 }
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxListItem *arg1 = (wxListItem *) 0 ;
22865 int arg2 ;
22866 PyObject * obj0 = 0 ;
22867 PyObject * obj1 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self",(char *) "m_image", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail;
22875 {
22876 arg2 = (int)(SWIG_As_int(obj1));
22877 if (SWIG_arg_fail(2)) SWIG_fail;
22878 }
22879 if (arg1) (arg1)->m_image = arg2;
22880
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxListItem *arg1 = (wxListItem *) 0 ;
22891 int result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
22900 result = (int) ((arg1)->m_image);
22901
22902 {
22903 resultobj = SWIG_From_int((int)(result));
22904 }
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj;
22913 wxListItem *arg1 = (wxListItem *) 0 ;
22914 long arg2 ;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "m_data", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail;
22924 {
22925 arg2 = (long)(SWIG_As_long(obj1));
22926 if (SWIG_arg_fail(2)) SWIG_fail;
22927 }
22928 if (arg1) (arg1)->m_data = arg2;
22929
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxListItem *arg1 = (wxListItem *) 0 ;
22940 long result;
22941 PyObject * obj0 = 0 ;
22942 char *kwnames[] = {
22943 (char *) "self", NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail;
22949 result = (long) ((arg1)->m_data);
22950
22951 {
22952 resultobj = SWIG_From_long((long)(result));
22953 }
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxListItem *arg1 = (wxListItem *) 0 ;
22963 int arg2 ;
22964 PyObject * obj0 = 0 ;
22965 PyObject * obj1 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self",(char *) "m_format", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 {
22974 arg2 = (int)(SWIG_As_int(obj1));
22975 if (SWIG_arg_fail(2)) SWIG_fail;
22976 }
22977 if (arg1) (arg1)->m_format = arg2;
22978
22979 Py_INCREF(Py_None); resultobj = Py_None;
22980 return resultobj;
22981 fail:
22982 return NULL;
22983 }
22984
22985
22986 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22987 PyObject *resultobj;
22988 wxListItem *arg1 = (wxListItem *) 0 ;
22989 int result;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "self", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail;
22998 result = (int) ((arg1)->m_format);
22999
23000 {
23001 resultobj = SWIG_From_int((int)(result));
23002 }
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxListItem *arg1 = (wxListItem *) 0 ;
23012 int arg2 ;
23013 PyObject * obj0 = 0 ;
23014 PyObject * obj1 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self",(char *) "m_width", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail;
23022 {
23023 arg2 = (int)(SWIG_As_int(obj1));
23024 if (SWIG_arg_fail(2)) SWIG_fail;
23025 }
23026 if (arg1) (arg1)->m_width = arg2;
23027
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxListItem *arg1 = (wxListItem *) 0 ;
23038 int result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
23047 result = (int) ((arg1)->m_width);
23048
23049 {
23050 resultobj = SWIG_From_int((int)(result));
23051 }
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23059 PyObject *obj;
23060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23062 Py_INCREF(obj);
23063 return Py_BuildValue((char *)"");
23064 }
23065 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj;
23067 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23068 int arg2 = (int) 0 ;
23069 wxListEvent *result;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "commandType",(char *) "id", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23077 if (obj0) {
23078 {
23079 arg1 = (wxEventType)(SWIG_As_int(obj0));
23080 if (SWIG_arg_fail(1)) SWIG_fail;
23081 }
23082 }
23083 if (obj1) {
23084 {
23085 arg2 = (int)(SWIG_As_int(obj1));
23086 if (SWIG_arg_fail(2)) SWIG_fail;
23087 }
23088 }
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxListEvent *arg1 = (wxListEvent *) 0 ;
23106 int arg2 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "m_code", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
23116 {
23117 arg2 = (int)(SWIG_As_int(obj1));
23118 if (SWIG_arg_fail(2)) SWIG_fail;
23119 }
23120 if (arg1) (arg1)->m_code = arg2;
23121
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxListEvent *arg1 = (wxListEvent *) 0 ;
23132 int result;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail;
23141 result = (int) ((arg1)->m_code);
23142
23143 {
23144 resultobj = SWIG_From_int((int)(result));
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxListEvent *arg1 = (wxListEvent *) 0 ;
23155 long arg2 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "m_oldItemIndex", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail;
23165 {
23166 arg2 = (long)(SWIG_As_long(obj1));
23167 if (SWIG_arg_fail(2)) SWIG_fail;
23168 }
23169 if (arg1) (arg1)->m_oldItemIndex = arg2;
23170
23171 Py_INCREF(Py_None); resultobj = Py_None;
23172 return resultobj;
23173 fail:
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxListEvent *arg1 = (wxListEvent *) 0 ;
23181 long result;
23182 PyObject * obj0 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail;
23190 result = (long) ((arg1)->m_oldItemIndex);
23191
23192 {
23193 resultobj = SWIG_From_long((long)(result));
23194 }
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxListEvent *arg1 = (wxListEvent *) 0 ;
23204 long arg2 ;
23205 PyObject * obj0 = 0 ;
23206 PyObject * obj1 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self",(char *) "m_itemIndex", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail;
23214 {
23215 arg2 = (long)(SWIG_As_long(obj1));
23216 if (SWIG_arg_fail(2)) SWIG_fail;
23217 }
23218 if (arg1) (arg1)->m_itemIndex = arg2;
23219
23220 Py_INCREF(Py_None); resultobj = Py_None;
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj;
23229 wxListEvent *arg1 = (wxListEvent *) 0 ;
23230 long result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail;
23239 result = (long) ((arg1)->m_itemIndex);
23240
23241 {
23242 resultobj = SWIG_From_long((long)(result));
23243 }
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxListEvent *arg1 = (wxListEvent *) 0 ;
23253 int arg2 ;
23254 PyObject * obj0 = 0 ;
23255 PyObject * obj1 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "m_col", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail;
23263 {
23264 arg2 = (int)(SWIG_As_int(obj1));
23265 if (SWIG_arg_fail(2)) SWIG_fail;
23266 }
23267 if (arg1) (arg1)->m_col = arg2;
23268
23269 Py_INCREF(Py_None); resultobj = Py_None;
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxListEvent *arg1 = (wxListEvent *) 0 ;
23279 int result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
23288 result = (int) ((arg1)->m_col);
23289
23290 {
23291 resultobj = SWIG_From_int((int)(result));
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxListEvent *arg1 = (wxListEvent *) 0 ;
23302 wxPoint *arg2 = (wxPoint *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "m_pointDrag", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 if (arg1) (arg1)->m_pointDrag = *arg2;
23315
23316 Py_INCREF(Py_None); resultobj = Py_None;
23317 return resultobj;
23318 fail:
23319 return NULL;
23320 }
23321
23322
23323 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxListEvent *arg1 = (wxListEvent *) 0 ;
23326 wxPoint *result;
23327 PyObject * obj0 = 0 ;
23328 char *kwnames[] = {
23329 (char *) "self", NULL
23330 };
23331
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail;
23335 result = (wxPoint *)& ((arg1)->m_pointDrag);
23336
23337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxListEvent *arg1 = (wxListEvent *) 0 ;
23347 wxListItem *result;
23348 PyObject * obj0 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail;
23356 result = (wxListItem *)& ((arg1)->m_item);
23357
23358 {
23359 resultobj = wxPyMake_wxObject(result, 0);
23360 }
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23368 PyObject *resultobj;
23369 wxListEvent *arg1 = (wxListEvent *) 0 ;
23370 int result;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (int)(arg1)->GetKeyCode();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 {
23387 resultobj = SWIG_From_int((int)(result));
23388 }
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxListEvent *arg1 = (wxListEvent *) 0 ;
23398 long result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (long)(arg1)->GetIndex();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 resultobj = SWIG_From_long((long)(result));
23416 }
23417 return resultobj;
23418 fail:
23419 return NULL;
23420 }
23421
23422
23423 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxListEvent *arg1 = (wxListEvent *) 0 ;
23426 int result;
23427 PyObject * obj0 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail;
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = (int)(arg1)->GetColumn();
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 resultobj = SWIG_From_int((int)(result));
23444 }
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23452 PyObject *resultobj;
23453 wxListEvent *arg1 = (wxListEvent *) 0 ;
23454 wxPoint result;
23455 PyObject * obj0 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (arg1)->GetPoint();
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 wxPoint * resultptr;
23472 resultptr = new wxPoint((wxPoint &)(result));
23473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23474 }
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxListEvent *arg1 = (wxListEvent *) 0 ;
23484 wxString *result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 {
23496 wxString const &_result_ref = (arg1)->GetLabel();
23497 result = (wxString *) &_result_ref;
23498 }
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 {
23504 #if wxUSE_UNICODE
23505 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23506 #else
23507 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23508 #endif
23509 }
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxListEvent *arg1 = (wxListEvent *) 0 ;
23519 wxString *result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 {
23531 wxString const &_result_ref = (arg1)->GetText();
23532 result = (wxString *) &_result_ref;
23533 }
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 {
23539 #if wxUSE_UNICODE
23540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23541 #else
23542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23543 #endif
23544 }
23545 return resultobj;
23546 fail:
23547 return NULL;
23548 }
23549
23550
23551 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23552 PyObject *resultobj;
23553 wxListEvent *arg1 = (wxListEvent *) 0 ;
23554 int result;
23555 PyObject * obj0 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail;
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 result = (int)(arg1)->GetImage();
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 {
23571 resultobj = SWIG_From_int((int)(result));
23572 }
23573 return resultobj;
23574 fail:
23575 return NULL;
23576 }
23577
23578
23579 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxListEvent *arg1 = (wxListEvent *) 0 ;
23582 long result;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (long)(arg1)->GetData();
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 resultobj = SWIG_From_long((long)(result));
23600 }
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxListEvent *arg1 = (wxListEvent *) 0 ;
23610 long result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23618 if (SWIG_arg_fail(1)) SWIG_fail;
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (long)(arg1)->GetMask();
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 {
23627 resultobj = SWIG_From_long((long)(result));
23628 }
23629 return resultobj;
23630 fail:
23631 return NULL;
23632 }
23633
23634
23635 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj;
23637 wxListEvent *arg1 = (wxListEvent *) 0 ;
23638 wxListItem *result;
23639 PyObject * obj0 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23646 if (SWIG_arg_fail(1)) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 {
23650 wxListItem const &_result_ref = (arg1)->GetItem();
23651 result = (wxListItem *) &_result_ref;
23652 }
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxListEvent *arg1 = (wxListEvent *) 0 ;
23667 long result;
23668 PyObject * obj0 = 0 ;
23669 char *kwnames[] = {
23670 (char *) "self", NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail;
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (long)(arg1)->GetCacheFrom();
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 {
23684 resultobj = SWIG_From_long((long)(result));
23685 }
23686 return resultobj;
23687 fail:
23688 return NULL;
23689 }
23690
23691
23692 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxListEvent *arg1 = (wxListEvent *) 0 ;
23695 long result;
23696 PyObject * obj0 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23703 if (SWIG_arg_fail(1)) SWIG_fail;
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (long)(arg1)->GetCacheTo();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 {
23712 resultobj = SWIG_From_long((long)(result));
23713 }
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxListEvent *arg1 = (wxListEvent *) 0 ;
23723 bool result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 {
23740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxListEvent *arg1 = (wxListEvent *) 0 ;
23751 bool arg2 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "editCancelled", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
23761 {
23762 arg2 = (bool)(SWIG_As_bool(obj1));
23763 if (SWIG_arg_fail(2)) SWIG_fail;
23764 }
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 (arg1)->SetEditCanceled(arg2);
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 Py_INCREF(Py_None); resultobj = Py_None;
23773 return resultobj;
23774 fail:
23775 return NULL;
23776 }
23777
23778
23779 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23780 PyObject *obj;
23781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23782 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23783 Py_INCREF(obj);
23784 return Py_BuildValue((char *)"");
23785 }
23786 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxWindow *arg1 = (wxWindow *) 0 ;
23789 int arg2 = (int) -1 ;
23790 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23791 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23792 wxSize const &arg4_defvalue = wxDefaultSize ;
23793 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23794 long arg5 = (long) wxLC_ICON ;
23795 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23796 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23797 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23798 wxString *arg7 = (wxString *) &arg7_defvalue ;
23799 wxPyListCtrl *result;
23800 wxPoint temp3 ;
23801 wxSize temp4 ;
23802 bool temp7 = false ;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 PyObject * obj2 = 0 ;
23806 PyObject * obj3 = 0 ;
23807 PyObject * obj4 = 0 ;
23808 PyObject * obj5 = 0 ;
23809 PyObject * obj6 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail;
23817 if (obj1) {
23818 {
23819 arg2 = (int)(SWIG_As_int(obj1));
23820 if (SWIG_arg_fail(2)) SWIG_fail;
23821 }
23822 }
23823 if (obj2) {
23824 {
23825 arg3 = &temp3;
23826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23827 }
23828 }
23829 if (obj3) {
23830 {
23831 arg4 = &temp4;
23832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23833 }
23834 }
23835 if (obj4) {
23836 {
23837 arg5 = (long)(SWIG_As_long(obj4));
23838 if (SWIG_arg_fail(5)) SWIG_fail;
23839 }
23840 }
23841 if (obj5) {
23842 {
23843 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23844 if (SWIG_arg_fail(6)) SWIG_fail;
23845 if (arg6 == NULL) {
23846 SWIG_null_ref("wxValidator");
23847 }
23848 if (SWIG_arg_fail(6)) SWIG_fail;
23849 }
23850 }
23851 if (obj6) {
23852 {
23853 arg7 = wxString_in_helper(obj6);
23854 if (arg7 == NULL) SWIG_fail;
23855 temp7 = true;
23856 }
23857 }
23858 {
23859 if (!wxPyCheckForApp()) SWIG_fail;
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23867 {
23868 if (temp7)
23869 delete arg7;
23870 }
23871 return resultobj;
23872 fail:
23873 {
23874 if (temp7)
23875 delete arg7;
23876 }
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPyListCtrl *result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23889 {
23890 if (!wxPyCheckForApp()) SWIG_fail;
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (wxPyListCtrl *)new wxPyListCtrl();
23893
23894 wxPyEndAllowThreads(__tstate);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23898 return resultobj;
23899 fail:
23900 return NULL;
23901 }
23902
23903
23904 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23905 PyObject *resultobj;
23906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23907 wxWindow *arg2 = (wxWindow *) 0 ;
23908 int arg3 = (int) -1 ;
23909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23911 wxSize const &arg5_defvalue = wxDefaultSize ;
23912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23913 long arg6 = (long) wxLC_ICON ;
23914 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23915 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23916 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23917 wxString *arg8 = (wxString *) &arg8_defvalue ;
23918 bool result;
23919 wxPoint temp4 ;
23920 wxSize temp5 ;
23921 bool temp8 = false ;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 PyObject * obj2 = 0 ;
23925 PyObject * obj3 = 0 ;
23926 PyObject * obj4 = 0 ;
23927 PyObject * obj5 = 0 ;
23928 PyObject * obj6 = 0 ;
23929 PyObject * obj7 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23936 if (SWIG_arg_fail(1)) SWIG_fail;
23937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23938 if (SWIG_arg_fail(2)) SWIG_fail;
23939 if (obj2) {
23940 {
23941 arg3 = (int)(SWIG_As_int(obj2));
23942 if (SWIG_arg_fail(3)) SWIG_fail;
23943 }
23944 }
23945 if (obj3) {
23946 {
23947 arg4 = &temp4;
23948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23949 }
23950 }
23951 if (obj4) {
23952 {
23953 arg5 = &temp5;
23954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23955 }
23956 }
23957 if (obj5) {
23958 {
23959 arg6 = (long)(SWIG_As_long(obj5));
23960 if (SWIG_arg_fail(6)) SWIG_fail;
23961 }
23962 }
23963 if (obj6) {
23964 {
23965 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(7)) SWIG_fail;
23967 if (arg7 == NULL) {
23968 SWIG_null_ref("wxValidator");
23969 }
23970 if (SWIG_arg_fail(7)) SWIG_fail;
23971 }
23972 }
23973 if (obj7) {
23974 {
23975 arg8 = wxString_in_helper(obj7);
23976 if (arg8 == NULL) SWIG_fail;
23977 temp8 = true;
23978 }
23979 }
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 {
23988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23989 }
23990 {
23991 if (temp8)
23992 delete arg8;
23993 }
23994 return resultobj;
23995 fail:
23996 {
23997 if (temp8)
23998 delete arg8;
23999 }
24000 return NULL;
24001 }
24002
24003
24004 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24007 PyObject *arg2 = (PyObject *) 0 ;
24008 PyObject *arg3 = (PyObject *) 0 ;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 PyObject * obj2 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "self",(char *) "_class", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail;
24019 arg2 = obj1;
24020 arg3 = obj2;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->_setCallbackInfo(arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24038 wxColour *arg2 = 0 ;
24039 bool result;
24040 wxColour temp2 ;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "col", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
24050 {
24051 arg2 = &temp2;
24052 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24053 }
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 {
24062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24063 }
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj;
24072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24073 wxColour *arg2 = 0 ;
24074 bool result;
24075 wxColour temp2 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "col", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24084 if (SWIG_arg_fail(1)) SWIG_fail;
24085 {
24086 arg2 = &temp2;
24087 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24088 }
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 {
24097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24098 }
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj;
24107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24108 int arg2 ;
24109 wxListItem *result;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "col", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail;
24119 {
24120 arg2 = (int)(SWIG_As_int(obj1));
24121 if (SWIG_arg_fail(2)) SWIG_fail;
24122 }
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = wxPyMake_wxObject(result, 0);
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24142 int arg2 ;
24143 wxListItem *arg3 = 0 ;
24144 bool result;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 PyObject * obj2 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self",(char *) "col",(char *) "item", NULL
24150 };
24151
24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24154 if (SWIG_arg_fail(1)) SWIG_fail;
24155 {
24156 arg2 = (int)(SWIG_As_int(obj1));
24157 if (SWIG_arg_fail(2)) SWIG_fail;
24158 }
24159 {
24160 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(3)) SWIG_fail;
24162 if (arg3 == NULL) {
24163 SWIG_null_ref("wxListItem");
24164 }
24165 if (SWIG_arg_fail(3)) SWIG_fail;
24166 }
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 {
24175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24176 }
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24186 int arg2 ;
24187 int result;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj1 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "col", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail;
24197 {
24198 arg2 = (int)(SWIG_As_int(obj1));
24199 if (SWIG_arg_fail(2)) SWIG_fail;
24200 }
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 {
24209 resultobj = SWIG_From_int((int)(result));
24210 }
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24220 int arg2 ;
24221 int arg3 ;
24222 bool result;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 PyObject * obj2 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "col",(char *) "width", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24232 if (SWIG_arg_fail(1)) SWIG_fail;
24233 {
24234 arg2 = (int)(SWIG_As_int(obj1));
24235 if (SWIG_arg_fail(2)) SWIG_fail;
24236 }
24237 {
24238 arg3 = (int)(SWIG_As_int(obj2));
24239 if (SWIG_arg_fail(3)) SWIG_fail;
24240 }
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 {
24249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24250 }
24251 return resultobj;
24252 fail:
24253 return NULL;
24254 }
24255
24256
24257 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24260 int result;
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 resultobj = SWIG_From_int((int)(result));
24278 }
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24288 wxRect result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24296 if (SWIG_arg_fail(1)) SWIG_fail;
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 {
24305 wxRect * resultptr;
24306 resultptr = new wxRect((wxRect &)(result));
24307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24308 }
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24318 long arg2 ;
24319 int arg3 = (int) 0 ;
24320 wxListItem *result;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 PyObject * obj2 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "itemId",(char *) "col", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail;
24331 {
24332 arg2 = (long)(SWIG_As_long(obj1));
24333 if (SWIG_arg_fail(2)) SWIG_fail;
24334 }
24335 if (obj2) {
24336 {
24337 arg3 = (int)(SWIG_As_int(obj2));
24338 if (SWIG_arg_fail(3)) SWIG_fail;
24339 }
24340 }
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 {
24349 resultobj = wxPyMake_wxObject(result, 0);
24350 }
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24360 wxListItem *arg2 = 0 ;
24361 bool result;
24362 PyObject * obj0 = 0 ;
24363 PyObject * obj1 = 0 ;
24364 char *kwnames[] = {
24365 (char *) "self",(char *) "info", NULL
24366 };
24367
24368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail;
24371 {
24372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail;
24374 if (arg2 == NULL) {
24375 SWIG_null_ref("wxListItem");
24376 }
24377 if (SWIG_arg_fail(2)) SWIG_fail;
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (bool)(arg1)->SetItem(*arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
24387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24388 }
24389 return resultobj;
24390 fail:
24391 return NULL;
24392 }
24393
24394
24395 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj;
24397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24398 long arg2 ;
24399 int arg3 ;
24400 wxString *arg4 = 0 ;
24401 int arg5 = (int) -1 ;
24402 long result;
24403 bool temp4 = false ;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 PyObject * obj2 = 0 ;
24407 PyObject * obj3 = 0 ;
24408 PyObject * obj4 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24415 if (SWIG_arg_fail(1)) SWIG_fail;
24416 {
24417 arg2 = (long)(SWIG_As_long(obj1));
24418 if (SWIG_arg_fail(2)) SWIG_fail;
24419 }
24420 {
24421 arg3 = (int)(SWIG_As_int(obj2));
24422 if (SWIG_arg_fail(3)) SWIG_fail;
24423 }
24424 {
24425 arg4 = wxString_in_helper(obj3);
24426 if (arg4 == NULL) SWIG_fail;
24427 temp4 = true;
24428 }
24429 if (obj4) {
24430 {
24431 arg5 = (int)(SWIG_As_int(obj4));
24432 if (SWIG_arg_fail(5)) SWIG_fail;
24433 }
24434 }
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 {
24443 resultobj = SWIG_From_long((long)(result));
24444 }
24445 {
24446 if (temp4)
24447 delete arg4;
24448 }
24449 return resultobj;
24450 fail:
24451 {
24452 if (temp4)
24453 delete arg4;
24454 }
24455 return NULL;
24456 }
24457
24458
24459 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24462 long arg2 ;
24463 long arg3 ;
24464 int result;
24465 PyObject * obj0 = 0 ;
24466 PyObject * obj1 = 0 ;
24467 PyObject * obj2 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail;
24475 {
24476 arg2 = (long)(SWIG_As_long(obj1));
24477 if (SWIG_arg_fail(2)) SWIG_fail;
24478 }
24479 {
24480 arg3 = (long)(SWIG_As_long(obj2));
24481 if (SWIG_arg_fail(3)) SWIG_fail;
24482 }
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 {
24491 resultobj = SWIG_From_int((int)(result));
24492 }
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24502 long arg2 ;
24503 long arg3 ;
24504 long arg4 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
24507 PyObject * obj1 = 0 ;
24508 PyObject * obj2 = 0 ;
24509 PyObject * obj3 = 0 ;
24510 char *kwnames[] = {
24511 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24512 };
24513
24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail;
24517 {
24518 arg2 = (long)(SWIG_As_long(obj1));
24519 if (SWIG_arg_fail(2)) SWIG_fail;
24520 }
24521 {
24522 arg3 = (long)(SWIG_As_long(obj2));
24523 if (SWIG_arg_fail(3)) SWIG_fail;
24524 }
24525 {
24526 arg4 = (long)(SWIG_As_long(obj3));
24527 if (SWIG_arg_fail(4)) SWIG_fail;
24528 }
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24538 }
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj;
24547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24548 long arg2 ;
24549 int arg3 ;
24550 int arg4 = (int) -1 ;
24551 bool result;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 PyObject * obj3 = 0 ;
24556 char *kwnames[] = {
24557 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24558 };
24559
24560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24562 if (SWIG_arg_fail(1)) SWIG_fail;
24563 {
24564 arg2 = (long)(SWIG_As_long(obj1));
24565 if (SWIG_arg_fail(2)) SWIG_fail;
24566 }
24567 {
24568 arg3 = (int)(SWIG_As_int(obj2));
24569 if (SWIG_arg_fail(3)) SWIG_fail;
24570 }
24571 if (obj3) {
24572 {
24573 arg4 = (int)(SWIG_As_int(obj3));
24574 if (SWIG_arg_fail(4)) SWIG_fail;
24575 }
24576 }
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24586 }
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj;
24595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24596 long arg2 ;
24597 wxString result;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "item", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24606 if (SWIG_arg_fail(1)) SWIG_fail;
24607 {
24608 arg2 = (long)(SWIG_As_long(obj1));
24609 if (SWIG_arg_fail(2)) SWIG_fail;
24610 }
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 {
24619 #if wxUSE_UNICODE
24620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24621 #else
24622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24623 #endif
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj;
24633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24634 long arg2 ;
24635 wxString *arg3 = 0 ;
24636 bool temp3 = false ;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "item",(char *) "str", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail;
24647 {
24648 arg2 = (long)(SWIG_As_long(obj1));
24649 if (SWIG_arg_fail(2)) SWIG_fail;
24650 }
24651 {
24652 arg3 = wxString_in_helper(obj2);
24653 if (arg3 == NULL) SWIG_fail;
24654 temp3 = true;
24655 }
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 Py_INCREF(Py_None); resultobj = Py_None;
24664 {
24665 if (temp3)
24666 delete arg3;
24667 }
24668 return resultobj;
24669 fail:
24670 {
24671 if (temp3)
24672 delete arg3;
24673 }
24674 return NULL;
24675 }
24676
24677
24678 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24681 long arg2 ;
24682 long result;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "item", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail;
24692 {
24693 arg2 = (long)(SWIG_As_long(obj1));
24694 if (SWIG_arg_fail(2)) SWIG_fail;
24695 }
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 {
24704 resultobj = SWIG_From_long((long)(result));
24705 }
24706 return resultobj;
24707 fail:
24708 return NULL;
24709 }
24710
24711
24712 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24715 long arg2 ;
24716 long arg3 ;
24717 bool result;
24718 PyObject * obj0 = 0 ;
24719 PyObject * obj1 = 0 ;
24720 PyObject * obj2 = 0 ;
24721 char *kwnames[] = {
24722 (char *) "self",(char *) "item",(char *) "data", NULL
24723 };
24724
24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24727 if (SWIG_arg_fail(1)) SWIG_fail;
24728 {
24729 arg2 = (long)(SWIG_As_long(obj1));
24730 if (SWIG_arg_fail(2)) SWIG_fail;
24731 }
24732 {
24733 arg3 = (long)(SWIG_As_long(obj2));
24734 if (SWIG_arg_fail(3)) SWIG_fail;
24735 }
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 result = (bool)(arg1)->SetItemData(arg2,arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 {
24744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24745 }
24746 return resultobj;
24747 fail:
24748 return NULL;
24749 }
24750
24751
24752 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24753 PyObject *resultobj;
24754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24755 long arg2 ;
24756 wxPoint result;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "item", NULL
24761 };
24762
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail;
24766 {
24767 arg2 = (long)(SWIG_As_long(obj1));
24768 if (SWIG_arg_fail(2)) SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 wxPoint * resultptr;
24779 resultptr = new wxPoint((wxPoint &)(result));
24780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24791 long arg2 ;
24792 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24793 wxRect result;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 PyObject * obj2 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item",(char *) "code", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail;
24804 {
24805 arg2 = (long)(SWIG_As_long(obj1));
24806 if (SWIG_arg_fail(2)) SWIG_fail;
24807 }
24808 if (obj2) {
24809 {
24810 arg3 = (int)(SWIG_As_int(obj2));
24811 if (SWIG_arg_fail(3)) SWIG_fail;
24812 }
24813 }
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 wxRect * resultptr;
24823 resultptr = new wxRect((wxRect &)(result));
24824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24825 }
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24835 long arg2 ;
24836 wxPoint *arg3 = 0 ;
24837 bool result;
24838 wxPoint temp3 ;
24839 PyObject * obj0 = 0 ;
24840 PyObject * obj1 = 0 ;
24841 PyObject * obj2 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "item",(char *) "pos", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail;
24849 {
24850 arg2 = (long)(SWIG_As_long(obj1));
24851 if (SWIG_arg_fail(2)) SWIG_fail;
24852 }
24853 {
24854 arg3 = &temp3;
24855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24856 }
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
24864 {
24865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24866 }
24867 return resultobj;
24868 fail:
24869 return NULL;
24870 }
24871
24872
24873 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj;
24875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24876 int result;
24877 PyObject * obj0 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail;
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24888
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
24892 {
24893 resultobj = SWIG_From_int((int)(result));
24894 }
24895 return resultobj;
24896 fail:
24897 return NULL;
24898 }
24899
24900
24901 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj;
24903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24904 int result;
24905 PyObject * obj0 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "self", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail;
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 resultobj = SWIG_From_int((int)(result));
24922 }
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24932 wxSize result;
24933 PyObject * obj0 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail;
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 {
24949 wxSize * resultptr;
24950 resultptr = new wxSize((wxSize &)(result));
24951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24952 }
24953 return resultobj;
24954 fail:
24955 return NULL;
24956 }
24957
24958
24959 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj;
24961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24962 int arg2 ;
24963 bool arg3 = (bool) false ;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 PyObject * obj2 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail;
24974 {
24975 arg2 = (int)(SWIG_As_int(obj1));
24976 if (SWIG_arg_fail(2)) SWIG_fail;
24977 }
24978 if (obj2) {
24979 {
24980 arg3 = (bool)(SWIG_As_bool(obj2));
24981 if (SWIG_arg_fail(3)) SWIG_fail;
24982 }
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->SetItemSpacing(arg2,arg3);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25001 int result;
25002 PyObject * obj0 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25009 if (SWIG_arg_fail(1)) SWIG_fail;
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 {
25018 resultobj = SWIG_From_int((int)(result));
25019 }
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25027 PyObject *resultobj;
25028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25029 wxColour result;
25030 PyObject * obj0 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "self", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail;
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25041
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046 wxColour * resultptr;
25047 resultptr = new wxColour((wxColour &)(result));
25048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25059 wxColour *arg2 = 0 ;
25060 wxColour temp2 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "col", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25069 if (SWIG_arg_fail(1)) SWIG_fail;
25070 {
25071 arg2 = &temp2;
25072 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25073 }
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 (arg1)->SetTextColour((wxColour const &)*arg2);
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 Py_INCREF(Py_None); resultobj = Py_None;
25082 return resultobj;
25083 fail:
25084 return NULL;
25085 }
25086
25087
25088 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj;
25090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25091 long result;
25092 PyObject * obj0 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail;
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 {
25108 resultobj = SWIG_From_long((long)(result));
25109 }
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25119 long arg2 ;
25120 bool arg3 = (bool) true ;
25121 PyObject * obj0 = 0 ;
25122 PyObject * obj1 = 0 ;
25123 PyObject * obj2 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "style",(char *) "add", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 {
25132 arg2 = (long)(SWIG_As_long(obj1));
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 }
25135 if (obj2) {
25136 {
25137 arg3 = (bool)(SWIG_As_bool(obj2));
25138 if (SWIG_arg_fail(3)) SWIG_fail;
25139 }
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 (arg1)->SetSingleStyle(arg2,arg3);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 Py_INCREF(Py_None); resultobj = Py_None;
25149 return resultobj;
25150 fail:
25151 return NULL;
25152 }
25153
25154
25155 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25156 PyObject *resultobj;
25157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25158 long arg2 ;
25159 PyObject * obj0 = 0 ;
25160 PyObject * obj1 = 0 ;
25161 char *kwnames[] = {
25162 (char *) "self",(char *) "style", NULL
25163 };
25164
25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail;
25168 {
25169 arg2 = (long)(SWIG_As_long(obj1));
25170 if (SWIG_arg_fail(2)) SWIG_fail;
25171 }
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetWindowStyleFlag(arg2);
25175
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 Py_INCREF(Py_None); resultobj = Py_None;
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25189 long arg2 ;
25190 int arg3 = (int) wxLIST_NEXT_ALL ;
25191 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25192 long result;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 PyObject * obj2 = 0 ;
25196 PyObject * obj3 = 0 ;
25197 char *kwnames[] = {
25198 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25199 };
25200
25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail;
25204 {
25205 arg2 = (long)(SWIG_As_long(obj1));
25206 if (SWIG_arg_fail(2)) SWIG_fail;
25207 }
25208 if (obj2) {
25209 {
25210 arg3 = (int)(SWIG_As_int(obj2));
25211 if (SWIG_arg_fail(3)) SWIG_fail;
25212 }
25213 }
25214 if (obj3) {
25215 {
25216 arg4 = (int)(SWIG_As_int(obj3));
25217 if (SWIG_arg_fail(4)) SWIG_fail;
25218 }
25219 }
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 {
25228 resultobj = SWIG_From_long((long)(result));
25229 }
25230 return resultobj;
25231 fail:
25232 return NULL;
25233 }
25234
25235
25236 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25237 PyObject *resultobj;
25238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25239 int arg2 ;
25240 wxImageList *result;
25241 PyObject * obj0 = 0 ;
25242 PyObject * obj1 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "which", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) 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 = (int)(SWIG_As_int(obj1));
25252 if (SWIG_arg_fail(2)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
25262 resultobj = wxPyMake_wxObject(result, 0);
25263 }
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj;
25272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25273 wxImageList *arg2 = (wxImageList *) 0 ;
25274 int arg3 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 PyObject * obj2 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "imageList",(char *) "which", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail;
25285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25286 if (SWIG_arg_fail(2)) SWIG_fail;
25287 {
25288 arg3 = (int)(SWIG_As_int(obj2));
25289 if (SWIG_arg_fail(3)) SWIG_fail;
25290 }
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 (arg1)->SetImageList(arg2,arg3);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 Py_INCREF(Py_None); resultobj = Py_None;
25299 return resultobj;
25300 fail:
25301 return NULL;
25302 }
25303
25304
25305 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj;
25307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25308 wxImageList *arg2 = (wxImageList *) 0 ;
25309 int arg3 ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
25312 PyObject * obj2 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "imageList",(char *) "which", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25319 if (SWIG_arg_fail(1)) SWIG_fail;
25320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25321 if (SWIG_arg_fail(2)) SWIG_fail;
25322 {
25323 arg3 = (int)(SWIG_As_int(obj2));
25324 if (SWIG_arg_fail(3)) SWIG_fail;
25325 }
25326 {
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 (arg1)->AssignImageList(arg2,arg3);
25329
25330 wxPyEndAllowThreads(__tstate);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 Py_INCREF(Py_None); resultobj = Py_None;
25334 return resultobj;
25335 fail:
25336 return NULL;
25337 }
25338
25339
25340 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25341 PyObject *resultobj;
25342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25343 bool result;
25344 PyObject * obj0 = 0 ;
25345 char *kwnames[] = {
25346 (char *) "self", NULL
25347 };
25348
25349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25351 if (SWIG_arg_fail(1)) SWIG_fail;
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 {
25360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25361 }
25362 return resultobj;
25363 fail:
25364 return NULL;
25365 }
25366
25367
25368 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25371 bool result;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 {
25388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25389 }
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj;
25398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25399 long arg2 ;
25400 PyObject * obj0 = 0 ;
25401 PyObject * obj1 = 0 ;
25402 char *kwnames[] = {
25403 (char *) "self",(char *) "item", NULL
25404 };
25405
25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail;
25409 {
25410 arg2 = (long)(SWIG_As_long(obj1));
25411 if (SWIG_arg_fail(2)) SWIG_fail;
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->RefreshItem(arg2);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 Py_INCREF(Py_None); resultobj = Py_None;
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25430 long arg2 ;
25431 long arg3 ;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 PyObject * obj2 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail;
25442 {
25443 arg2 = (long)(SWIG_As_long(obj1));
25444 if (SWIG_arg_fail(2)) SWIG_fail;
25445 }
25446 {
25447 arg3 = (long)(SWIG_As_long(obj2));
25448 if (SWIG_arg_fail(3)) SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->RefreshItems(arg2,arg3);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj;
25466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25467 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25468 bool result;
25469 PyObject * obj0 = 0 ;
25470 PyObject * obj1 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self",(char *) "flag", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail;
25478 if (obj1) {
25479 {
25480 arg2 = (int)(SWIG_As_int(obj1));
25481 if (SWIG_arg_fail(2)) SWIG_fail;
25482 }
25483 }
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 result = (bool)(arg1)->Arrange(arg2);
25487
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 {
25492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25493 }
25494 return resultobj;
25495 fail:
25496 return NULL;
25497 }
25498
25499
25500 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj;
25502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25503 long arg2 ;
25504 bool result;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self",(char *) "item", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
25514 {
25515 arg2 = (long)(SWIG_As_long(obj1));
25516 if (SWIG_arg_fail(2)) SWIG_fail;
25517 }
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (bool)(arg1)->DeleteItem(arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 {
25526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25527 }
25528 return resultobj;
25529 fail:
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj;
25536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25537 bool result;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (bool)(arg1)->DeleteAllItems();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 {
25554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25555 }
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25565 int arg2 ;
25566 bool result;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "col", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail;
25576 {
25577 arg2 = (int)(SWIG_As_int(obj1));
25578 if (SWIG_arg_fail(2)) SWIG_fail;
25579 }
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (bool)(arg1)->DeleteColumn(arg2);
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 {
25588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25589 }
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25599 bool result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = (bool)(arg1)->DeleteAllColumns();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 {
25616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25617 }
25618 return resultobj;
25619 fail:
25620 return NULL;
25621 }
25622
25623
25624 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25625 PyObject *resultobj;
25626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25627 PyObject * obj0 = 0 ;
25628 char *kwnames[] = {
25629 (char *) "self", NULL
25630 };
25631
25632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail;
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->ClearAll();
25638
25639 wxPyEndAllowThreads(__tstate);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 Py_INCREF(Py_None); resultobj = Py_None;
25643 return resultobj;
25644 fail:
25645 return NULL;
25646 }
25647
25648
25649 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25650 PyObject *resultobj;
25651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25652 long arg2 ;
25653 PyObject * obj0 = 0 ;
25654 PyObject * obj1 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self",(char *) "item", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
25662 {
25663 arg2 = (long)(SWIG_As_long(obj1));
25664 if (SWIG_arg_fail(2)) SWIG_fail;
25665 }
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 (arg1)->EditLabel(arg2);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 Py_INCREF(Py_None); resultobj = Py_None;
25674 return resultobj;
25675 fail:
25676 return NULL;
25677 }
25678
25679
25680 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25681 PyObject *resultobj;
25682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25683 long arg2 ;
25684 bool result;
25685 PyObject * obj0 = 0 ;
25686 PyObject * obj1 = 0 ;
25687 char *kwnames[] = {
25688 (char *) "self",(char *) "item", NULL
25689 };
25690
25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail;
25694 {
25695 arg2 = (long)(SWIG_As_long(obj1));
25696 if (SWIG_arg_fail(2)) SWIG_fail;
25697 }
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (bool)(arg1)->EnsureVisible(arg2);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 {
25706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25707 }
25708 return resultobj;
25709 fail:
25710 return NULL;
25711 }
25712
25713
25714 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25715 PyObject *resultobj;
25716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25717 long arg2 ;
25718 wxString *arg3 = 0 ;
25719 bool arg4 = (bool) false ;
25720 long result;
25721 bool temp3 = false ;
25722 PyObject * obj0 = 0 ;
25723 PyObject * obj1 = 0 ;
25724 PyObject * obj2 = 0 ;
25725 PyObject * obj3 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail;
25733 {
25734 arg2 = (long)(SWIG_As_long(obj1));
25735 if (SWIG_arg_fail(2)) SWIG_fail;
25736 }
25737 {
25738 arg3 = wxString_in_helper(obj2);
25739 if (arg3 == NULL) SWIG_fail;
25740 temp3 = true;
25741 }
25742 if (obj3) {
25743 {
25744 arg4 = (bool)(SWIG_As_bool(obj3));
25745 if (SWIG_arg_fail(4)) SWIG_fail;
25746 }
25747 }
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25751
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 {
25756 resultobj = SWIG_From_long((long)(result));
25757 }
25758 {
25759 if (temp3)
25760 delete arg3;
25761 }
25762 return resultobj;
25763 fail:
25764 {
25765 if (temp3)
25766 delete arg3;
25767 }
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25775 long arg2 ;
25776 long arg3 ;
25777 long result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 PyObject * obj2 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "start",(char *) "data", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
25788 {
25789 arg2 = (long)(SWIG_As_long(obj1));
25790 if (SWIG_arg_fail(2)) SWIG_fail;
25791 }
25792 {
25793 arg3 = (long)(SWIG_As_long(obj2));
25794 if (SWIG_arg_fail(3)) SWIG_fail;
25795 }
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (long)(arg1)->FindItem(arg2,arg3);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 {
25804 resultobj = SWIG_From_long((long)(result));
25805 }
25806 return resultobj;
25807 fail:
25808 return NULL;
25809 }
25810
25811
25812 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25813 PyObject *resultobj;
25814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25815 long arg2 ;
25816 wxPoint *arg3 = 0 ;
25817 int arg4 ;
25818 long result;
25819 wxPoint temp3 ;
25820 PyObject * obj0 = 0 ;
25821 PyObject * obj1 = 0 ;
25822 PyObject * obj2 = 0 ;
25823 PyObject * obj3 = 0 ;
25824 char *kwnames[] = {
25825 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25826 };
25827
25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25830 if (SWIG_arg_fail(1)) SWIG_fail;
25831 {
25832 arg2 = (long)(SWIG_As_long(obj1));
25833 if (SWIG_arg_fail(2)) SWIG_fail;
25834 }
25835 {
25836 arg3 = &temp3;
25837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25838 }
25839 {
25840 arg4 = (int)(SWIG_As_int(obj3));
25841 if (SWIG_arg_fail(4)) SWIG_fail;
25842 }
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 {
25851 resultobj = SWIG_From_long((long)(result));
25852 }
25853 return resultobj;
25854 fail:
25855 return NULL;
25856 }
25857
25858
25859 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25860 PyObject *resultobj;
25861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25862 wxPoint *arg2 = 0 ;
25863 int *arg3 = 0 ;
25864 long result;
25865 wxPoint temp2 ;
25866 int temp3 ;
25867 int res3 = 0 ;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "point", NULL
25872 };
25873
25874 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail;
25878 {
25879 arg2 = &temp2;
25880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25881 }
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 {
25890 resultobj = SWIG_From_long((long)(result));
25891 }
25892 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25893 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj;
25902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25903 wxListItem *arg2 = 0 ;
25904 long result;
25905 PyObject * obj0 = 0 ;
25906 PyObject * obj1 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "info", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
25915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25916 if (SWIG_arg_fail(2)) SWIG_fail;
25917 if (arg2 == NULL) {
25918 SWIG_null_ref("wxListItem");
25919 }
25920 if (SWIG_arg_fail(2)) SWIG_fail;
25921 }
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (long)(arg1)->InsertItem(*arg2);
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 {
25930 resultobj = SWIG_From_long((long)(result));
25931 }
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj;
25940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25941 long arg2 ;
25942 wxString *arg3 = 0 ;
25943 long result;
25944 bool temp3 = false ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "index",(char *) "label", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail;
25955 {
25956 arg2 = (long)(SWIG_As_long(obj1));
25957 if (SWIG_arg_fail(2)) SWIG_fail;
25958 }
25959 {
25960 arg3 = wxString_in_helper(obj2);
25961 if (arg3 == NULL) SWIG_fail;
25962 temp3 = true;
25963 }
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 {
25972 resultobj = SWIG_From_long((long)(result));
25973 }
25974 {
25975 if (temp3)
25976 delete arg3;
25977 }
25978 return resultobj;
25979 fail:
25980 {
25981 if (temp3)
25982 delete arg3;
25983 }
25984 return NULL;
25985 }
25986
25987
25988 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25991 long arg2 ;
25992 int arg3 ;
25993 long result;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
26004 {
26005 arg2 = (long)(SWIG_As_long(obj1));
26006 if (SWIG_arg_fail(2)) SWIG_fail;
26007 }
26008 {
26009 arg3 = (int)(SWIG_As_int(obj2));
26010 if (SWIG_arg_fail(3)) SWIG_fail;
26011 }
26012 {
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 result = (long)(arg1)->InsertItem(arg2,arg3);
26015
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 {
26020 resultobj = SWIG_From_long((long)(result));
26021 }
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26031 long arg2 ;
26032 wxString *arg3 = 0 ;
26033 int arg4 ;
26034 long result;
26035 bool temp3 = false ;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 PyObject * obj2 = 0 ;
26039 PyObject * obj3 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail;
26047 {
26048 arg2 = (long)(SWIG_As_long(obj1));
26049 if (SWIG_arg_fail(2)) SWIG_fail;
26050 }
26051 {
26052 arg3 = wxString_in_helper(obj2);
26053 if (arg3 == NULL) SWIG_fail;
26054 temp3 = true;
26055 }
26056 {
26057 arg4 = (int)(SWIG_As_int(obj3));
26058 if (SWIG_arg_fail(4)) SWIG_fail;
26059 }
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26063
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 {
26068 resultobj = SWIG_From_long((long)(result));
26069 }
26070 {
26071 if (temp3)
26072 delete arg3;
26073 }
26074 return resultobj;
26075 fail:
26076 {
26077 if (temp3)
26078 delete arg3;
26079 }
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26087 long arg2 ;
26088 wxListItem *arg3 = 0 ;
26089 long result;
26090 PyObject * obj0 = 0 ;
26091 PyObject * obj1 = 0 ;
26092 PyObject * obj2 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "col",(char *) "info", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail;
26100 {
26101 arg2 = (long)(SWIG_As_long(obj1));
26102 if (SWIG_arg_fail(2)) SWIG_fail;
26103 }
26104 {
26105 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(3)) SWIG_fail;
26107 if (arg3 == NULL) {
26108 SWIG_null_ref("wxListItem");
26109 }
26110 if (SWIG_arg_fail(3)) SWIG_fail;
26111 }
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26115
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 {
26120 resultobj = SWIG_From_long((long)(result));
26121 }
26122 return resultobj;
26123 fail:
26124 return NULL;
26125 }
26126
26127
26128 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj;
26130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26131 long arg2 ;
26132 wxString *arg3 = 0 ;
26133 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26134 int arg5 = (int) -1 ;
26135 long result;
26136 bool temp3 = false ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 PyObject * obj2 = 0 ;
26140 PyObject * obj3 = 0 ;
26141 PyObject * obj4 = 0 ;
26142 char *kwnames[] = {
26143 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26144 };
26145
26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail;
26149 {
26150 arg2 = (long)(SWIG_As_long(obj1));
26151 if (SWIG_arg_fail(2)) SWIG_fail;
26152 }
26153 {
26154 arg3 = wxString_in_helper(obj2);
26155 if (arg3 == NULL) SWIG_fail;
26156 temp3 = true;
26157 }
26158 if (obj3) {
26159 {
26160 arg4 = (int)(SWIG_As_int(obj3));
26161 if (SWIG_arg_fail(4)) SWIG_fail;
26162 }
26163 }
26164 if (obj4) {
26165 {
26166 arg5 = (int)(SWIG_As_int(obj4));
26167 if (SWIG_arg_fail(5)) SWIG_fail;
26168 }
26169 }
26170 {
26171 PyThreadState* __tstate = wxPyBeginAllowThreads();
26172 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26173
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 {
26178 resultobj = SWIG_From_long((long)(result));
26179 }
26180 {
26181 if (temp3)
26182 delete arg3;
26183 }
26184 return resultobj;
26185 fail:
26186 {
26187 if (temp3)
26188 delete arg3;
26189 }
26190 return NULL;
26191 }
26192
26193
26194 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26197 long arg2 ;
26198 PyObject * obj0 = 0 ;
26199 PyObject * obj1 = 0 ;
26200 char *kwnames[] = {
26201 (char *) "self",(char *) "count", NULL
26202 };
26203
26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail;
26207 {
26208 arg2 = (long)(SWIG_As_long(obj1));
26209 if (SWIG_arg_fail(2)) SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 (arg1)->SetItemCount(arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 Py_INCREF(Py_None); resultobj = Py_None;
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26226 PyObject *resultobj;
26227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26228 int arg2 ;
26229 int arg3 ;
26230 bool result;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 PyObject * obj2 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "dx",(char *) "dy", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26240 if (SWIG_arg_fail(1)) SWIG_fail;
26241 {
26242 arg2 = (int)(SWIG_As_int(obj1));
26243 if (SWIG_arg_fail(2)) SWIG_fail;
26244 }
26245 {
26246 arg3 = (int)(SWIG_As_int(obj2));
26247 if (SWIG_arg_fail(3)) SWIG_fail;
26248 }
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (bool)(arg1)->ScrollList(arg2,arg3);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 {
26257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26258 }
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26268 long arg2 ;
26269 wxColour *arg3 = 0 ;
26270 wxColour temp3 ;
26271 PyObject * obj0 = 0 ;
26272 PyObject * obj1 = 0 ;
26273 PyObject * obj2 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "item",(char *) "col", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 arg2 = (long)(SWIG_As_long(obj1));
26283 if (SWIG_arg_fail(2)) SWIG_fail;
26284 }
26285 {
26286 arg3 = &temp3;
26287 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26288 }
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 Py_INCREF(Py_None); resultobj = Py_None;
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj;
26305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26306 long arg2 ;
26307 wxColour result;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "item", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 {
26318 arg2 = (long)(SWIG_As_long(obj1));
26319 if (SWIG_arg_fail(2)) SWIG_fail;
26320 }
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 {
26329 wxColour * resultptr;
26330 resultptr = new wxColour((wxColour &)(result));
26331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26332 }
26333 return resultobj;
26334 fail:
26335 return NULL;
26336 }
26337
26338
26339 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26340 PyObject *resultobj;
26341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26342 long arg2 ;
26343 wxColour *arg3 = 0 ;
26344 wxColour temp3 ;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 PyObject * obj2 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
26355 {
26356 arg2 = (long)(SWIG_As_long(obj1));
26357 if (SWIG_arg_fail(2)) SWIG_fail;
26358 }
26359 {
26360 arg3 = &temp3;
26361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 Py_INCREF(Py_None); resultobj = Py_None;
26371 return resultobj;
26372 fail:
26373 return NULL;
26374 }
26375
26376
26377 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour result;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "item", NULL
26386 };
26387
26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail;
26391 {
26392 arg2 = (long)(SWIG_As_long(obj1));
26393 if (SWIG_arg_fail(2)) SWIG_fail;
26394 }
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 {
26403 wxColour * resultptr;
26404 resultptr = new wxColour((wxColour &)(result));
26405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26416 PyObject *arg2 = (PyObject *) 0 ;
26417 bool result;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "func", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail;
26427 arg2 = obj1;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 {
26436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26437 }
26438 return resultobj;
26439 fail:
26440 return NULL;
26441 }
26442
26443
26444 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26445 PyObject *resultobj;
26446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26447 wxWindow *result;
26448 PyObject * obj0 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail;
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 {
26464 resultobj = wxPyMake_wxObject(result, 0);
26465 }
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26475 wxVisualAttributes result;
26476 PyObject * obj0 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "variant", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26482 if (obj0) {
26483 {
26484 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26485 if (SWIG_arg_fail(1)) SWIG_fail;
26486 }
26487 }
26488 {
26489 if (!wxPyCheckForApp()) SWIG_fail;
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 {
26497 wxVisualAttributes * resultptr;
26498 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26508 PyObject *obj;
26509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26510 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26511 Py_INCREF(obj);
26512 return Py_BuildValue((char *)"");
26513 }
26514 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj;
26516 wxWindow *arg1 = (wxWindow *) 0 ;
26517 int arg2 = (int) -1 ;
26518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26520 wxSize const &arg4_defvalue = wxDefaultSize ;
26521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26522 long arg5 = (long) wxLC_REPORT ;
26523 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26524 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26525 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26526 wxString *arg7 = (wxString *) &arg7_defvalue ;
26527 wxListView *result;
26528 wxPoint temp3 ;
26529 wxSize temp4 ;
26530 bool temp7 = false ;
26531 PyObject * obj0 = 0 ;
26532 PyObject * obj1 = 0 ;
26533 PyObject * obj2 = 0 ;
26534 PyObject * obj3 = 0 ;
26535 PyObject * obj4 = 0 ;
26536 PyObject * obj5 = 0 ;
26537 PyObject * obj6 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26540 };
26541
26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail;
26545 if (obj1) {
26546 {
26547 arg2 = (int)(SWIG_As_int(obj1));
26548 if (SWIG_arg_fail(2)) SWIG_fail;
26549 }
26550 }
26551 if (obj2) {
26552 {
26553 arg3 = &temp3;
26554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26555 }
26556 }
26557 if (obj3) {
26558 {
26559 arg4 = &temp4;
26560 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26561 }
26562 }
26563 if (obj4) {
26564 {
26565 arg5 = (long)(SWIG_As_long(obj4));
26566 if (SWIG_arg_fail(5)) SWIG_fail;
26567 }
26568 }
26569 if (obj5) {
26570 {
26571 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26572 if (SWIG_arg_fail(6)) SWIG_fail;
26573 if (arg6 == NULL) {
26574 SWIG_null_ref("wxValidator");
26575 }
26576 if (SWIG_arg_fail(6)) SWIG_fail;
26577 }
26578 }
26579 if (obj6) {
26580 {
26581 arg7 = wxString_in_helper(obj6);
26582 if (arg7 == NULL) SWIG_fail;
26583 temp7 = true;
26584 }
26585 }
26586 {
26587 if (!wxPyCheckForApp()) SWIG_fail;
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26595 {
26596 if (temp7)
26597 delete arg7;
26598 }
26599 return resultobj;
26600 fail:
26601 {
26602 if (temp7)
26603 delete arg7;
26604 }
26605 return NULL;
26606 }
26607
26608
26609 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj;
26611 wxListView *result;
26612 char *kwnames[] = {
26613 NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26617 {
26618 if (!wxPyCheckForApp()) SWIG_fail;
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 result = (wxListView *)new wxListView();
26621
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26626 return resultobj;
26627 fail:
26628 return NULL;
26629 }
26630
26631
26632 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj;
26634 wxListView *arg1 = (wxListView *) 0 ;
26635 wxWindow *arg2 = (wxWindow *) 0 ;
26636 int arg3 = (int) -1 ;
26637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26639 wxSize const &arg5_defvalue = wxDefaultSize ;
26640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26641 long arg6 = (long) wxLC_REPORT ;
26642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26644 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26645 wxString *arg8 = (wxString *) &arg8_defvalue ;
26646 bool result;
26647 wxPoint temp4 ;
26648 wxSize temp5 ;
26649 bool temp8 = false ;
26650 PyObject * obj0 = 0 ;
26651 PyObject * obj1 = 0 ;
26652 PyObject * obj2 = 0 ;
26653 PyObject * obj3 = 0 ;
26654 PyObject * obj4 = 0 ;
26655 PyObject * obj5 = 0 ;
26656 PyObject * obj6 = 0 ;
26657 PyObject * obj7 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26660 };
26661
26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail;
26665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26666 if (SWIG_arg_fail(2)) SWIG_fail;
26667 if (obj2) {
26668 {
26669 arg3 = (int)(SWIG_As_int(obj2));
26670 if (SWIG_arg_fail(3)) SWIG_fail;
26671 }
26672 }
26673 if (obj3) {
26674 {
26675 arg4 = &temp4;
26676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26677 }
26678 }
26679 if (obj4) {
26680 {
26681 arg5 = &temp5;
26682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26683 }
26684 }
26685 if (obj5) {
26686 {
26687 arg6 = (long)(SWIG_As_long(obj5));
26688 if (SWIG_arg_fail(6)) SWIG_fail;
26689 }
26690 }
26691 if (obj6) {
26692 {
26693 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26694 if (SWIG_arg_fail(7)) SWIG_fail;
26695 if (arg7 == NULL) {
26696 SWIG_null_ref("wxValidator");
26697 }
26698 if (SWIG_arg_fail(7)) SWIG_fail;
26699 }
26700 }
26701 if (obj7) {
26702 {
26703 arg8 = wxString_in_helper(obj7);
26704 if (arg8 == NULL) SWIG_fail;
26705 temp8 = true;
26706 }
26707 }
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 {
26716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26717 }
26718 {
26719 if (temp8)
26720 delete arg8;
26721 }
26722 return resultobj;
26723 fail:
26724 {
26725 if (temp8)
26726 delete arg8;
26727 }
26728 return NULL;
26729 }
26730
26731
26732 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26733 PyObject *resultobj;
26734 wxListView *arg1 = (wxListView *) 0 ;
26735 long arg2 ;
26736 bool arg3 = (bool) true ;
26737 PyObject * obj0 = 0 ;
26738 PyObject * obj1 = 0 ;
26739 PyObject * obj2 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self",(char *) "n",(char *) "on", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail;
26747 {
26748 arg2 = (long)(SWIG_As_long(obj1));
26749 if (SWIG_arg_fail(2)) SWIG_fail;
26750 }
26751 if (obj2) {
26752 {
26753 arg3 = (bool)(SWIG_As_bool(obj2));
26754 if (SWIG_arg_fail(3)) SWIG_fail;
26755 }
26756 }
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 (arg1)->Select(arg2,arg3);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 Py_INCREF(Py_None); resultobj = Py_None;
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxListView *arg1 = (wxListView *) 0 ;
26774 long arg2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "index", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
26785 arg2 = (long)(SWIG_As_long(obj1));
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->Focus(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799 }
26800
26801
26802 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26803 PyObject *resultobj;
26804 wxListView *arg1 = (wxListView *) 0 ;
26805 long result;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail;
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 {
26822 resultobj = SWIG_From_long((long)(result));
26823 }
26824 return resultobj;
26825 fail:
26826 return NULL;
26827 }
26828
26829
26830 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxListView *arg1 = (wxListView *) 0 ;
26833 long arg2 ;
26834 long result;
26835 PyObject * obj0 = 0 ;
26836 PyObject * obj1 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "item", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail;
26844 {
26845 arg2 = (long)(SWIG_As_long(obj1));
26846 if (SWIG_arg_fail(2)) SWIG_fail;
26847 }
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 resultobj = SWIG_From_long((long)(result));
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxListView *arg1 = (wxListView *) 0 ;
26867 long result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail;
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26879
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 {
26884 resultobj = SWIG_From_long((long)(result));
26885 }
26886 return resultobj;
26887 fail:
26888 return NULL;
26889 }
26890
26891
26892 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26893 PyObject *resultobj;
26894 wxListView *arg1 = (wxListView *) 0 ;
26895 long arg2 ;
26896 bool result;
26897 PyObject * obj0 = 0 ;
26898 PyObject * obj1 = 0 ;
26899 char *kwnames[] = {
26900 (char *) "self",(char *) "index", NULL
26901 };
26902
26903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail;
26906 {
26907 arg2 = (long)(SWIG_As_long(obj1));
26908 if (SWIG_arg_fail(2)) SWIG_fail;
26909 }
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (bool)(arg1)->IsSelected(arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 {
26918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26919 }
26920 return resultobj;
26921 fail:
26922 return NULL;
26923 }
26924
26925
26926 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26927 PyObject *resultobj;
26928 wxListView *arg1 = (wxListView *) 0 ;
26929 int arg2 ;
26930 int arg3 ;
26931 PyObject * obj0 = 0 ;
26932 PyObject * obj1 = 0 ;
26933 PyObject * obj2 = 0 ;
26934 char *kwnames[] = {
26935 (char *) "self",(char *) "col",(char *) "image", NULL
26936 };
26937
26938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail;
26941 {
26942 arg2 = (int)(SWIG_As_int(obj1));
26943 if (SWIG_arg_fail(2)) SWIG_fail;
26944 }
26945 {
26946 arg3 = (int)(SWIG_As_int(obj2));
26947 if (SWIG_arg_fail(3)) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 (arg1)->SetColumnImage(arg2,arg3);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 Py_INCREF(Py_None); resultobj = Py_None;
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj;
26965 wxListView *arg1 = (wxListView *) 0 ;
26966 int arg2 ;
26967 PyObject * obj0 = 0 ;
26968 PyObject * obj1 = 0 ;
26969 char *kwnames[] = {
26970 (char *) "self",(char *) "col", NULL
26971 };
26972
26973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail;
26976 {
26977 arg2 = (int)(SWIG_As_int(obj1));
26978 if (SWIG_arg_fail(2)) SWIG_fail;
26979 }
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->ClearColumnImage(arg2);
26983
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 Py_INCREF(Py_None); resultobj = Py_None;
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26995 PyObject *obj;
26996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26997 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26998 Py_INCREF(obj);
26999 return Py_BuildValue((char *)"");
27000 }
27001 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27002 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27003 return 1;
27004 }
27005
27006
27007 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27008 PyObject *pyobj;
27009
27010 {
27011 #if wxUSE_UNICODE
27012 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27013 #else
27014 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27015 #endif
27016 }
27017 return pyobj;
27018 }
27019
27020
27021 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj;
27023 wxTreeItemId *result;
27024 char *kwnames[] = {
27025 NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 result = (wxTreeItemId *)new wxTreeItemId();
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27037 return resultobj;
27038 fail:
27039 return NULL;
27040 }
27041
27042
27043 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj;
27045 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27046 PyObject * obj0 = 0 ;
27047 char *kwnames[] = {
27048 (char *) "self", NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail;
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 delete arg1;
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 Py_INCREF(Py_None); resultobj = Py_None;
27062 return resultobj;
27063 fail:
27064 return NULL;
27065 }
27066
27067
27068 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj;
27070 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27071 bool result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail;
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 {
27088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27089 }
27090 return resultobj;
27091 fail:
27092 return NULL;
27093 }
27094
27095
27096 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27099 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27100 bool result;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self",(char *) "other", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail;
27110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(2)) SWIG_fail;
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 {
27120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27121 }
27122 return resultobj;
27123 fail:
27124 return NULL;
27125 }
27126
27127
27128 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27129 PyObject *resultobj;
27130 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27131 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27132 bool result;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "other", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27143 if (SWIG_arg_fail(2)) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27163 void *arg2 = (void *) 0 ;
27164 PyObject * obj0 = 0 ;
27165 PyObject * obj1 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self",(char *) "m_pItem", NULL
27168 };
27169
27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail;
27173 {
27174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27175 SWIG_arg_fail(2);SWIG_fail;
27176 }
27177 }
27178 if (arg1) (arg1)->m_pItem = arg2;
27179
27180 Py_INCREF(Py_None); resultobj = Py_None;
27181 return resultobj;
27182 fail:
27183 return NULL;
27184 }
27185
27186
27187 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27188 PyObject *resultobj;
27189 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27190 void *result;
27191 PyObject * obj0 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail;
27199 result = (void *) ((arg1)->m_pItem);
27200
27201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27202 return resultobj;
27203 fail:
27204 return NULL;
27205 }
27206
27207
27208 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27209 PyObject *obj;
27210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27211 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27212 Py_INCREF(obj);
27213 return Py_BuildValue((char *)"");
27214 }
27215 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 PyObject *arg1 = (PyObject *) NULL ;
27218 wxPyTreeItemData *result;
27219 PyObject * obj0 = 0 ;
27220 char *kwnames[] = {
27221 (char *) "obj", NULL
27222 };
27223
27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27225 if (obj0) {
27226 arg1 = obj0;
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27245 PyObject *result;
27246 PyObject * obj0 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail;
27254 {
27255 PyThreadState* __tstate = wxPyBeginAllowThreads();
27256 result = (PyObject *)(arg1)->GetData();
27257
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 resultobj = result;
27262 return resultobj;
27263 fail:
27264 return NULL;
27265 }
27266
27267
27268 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27269 PyObject *resultobj;
27270 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27271 PyObject *arg2 = (PyObject *) 0 ;
27272 PyObject * obj0 = 0 ;
27273 PyObject * obj1 = 0 ;
27274 char *kwnames[] = {
27275 (char *) "self",(char *) "obj", NULL
27276 };
27277
27278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail;
27281 arg2 = obj1;
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 (arg1)->SetData(arg2);
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 Py_INCREF(Py_None); resultobj = Py_None;
27290 return resultobj;
27291 fail:
27292 return NULL;
27293 }
27294
27295
27296 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27297 PyObject *resultobj;
27298 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27299 wxTreeItemId *result;
27300 PyObject * obj0 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail;
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 {
27311 wxTreeItemId const &_result_ref = (arg1)->GetId();
27312 result = (wxTreeItemId *) &_result_ref;
27313 }
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27328 wxTreeItemId *arg2 = 0 ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "id", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
27339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 if (arg2 == NULL) {
27342 SWIG_null_ref("wxTreeItemId");
27343 }
27344 if (SWIG_arg_fail(2)) SWIG_fail;
27345 }
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->SetId((wxTreeItemId const &)*arg2);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357 }
27358
27359
27360 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27361 PyObject *resultobj;
27362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27363 PyObject * obj0 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail;
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 wxPyTreeItemData_Destroy(arg1);
27374
27375 wxPyEndAllowThreads(__tstate);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 }
27378 Py_INCREF(Py_None); resultobj = Py_None;
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27386 PyObject *obj;
27387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27388 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27389 Py_INCREF(obj);
27390 return Py_BuildValue((char *)"");
27391 }
27392 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27393 PyObject *resultobj;
27394 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27395 int arg2 = (int) 0 ;
27396 wxTreeEvent *result;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "commandType",(char *) "id", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27404 if (obj0) {
27405 {
27406 arg1 = (wxEventType)(SWIG_As_int(obj0));
27407 if (SWIG_arg_fail(1)) SWIG_fail;
27408 }
27409 }
27410 if (obj1) {
27411 {
27412 arg2 = (int)(SWIG_As_int(obj1));
27413 if (SWIG_arg_fail(2)) SWIG_fail;
27414 }
27415 }
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27419
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27433 wxTreeItemId result;
27434 PyObject * obj0 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 result = ((wxTreeEvent const *)arg1)->GetItem();
27445
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 {
27450 wxTreeItemId * resultptr;
27451 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27453 }
27454 return resultobj;
27455 fail:
27456 return NULL;
27457 }
27458
27459
27460 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27463 wxTreeItemId *arg2 = 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "item", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail;
27473 {
27474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27475 if (SWIG_arg_fail(2)) SWIG_fail;
27476 if (arg2 == NULL) {
27477 SWIG_null_ref("wxTreeItemId");
27478 }
27479 if (SWIG_arg_fail(2)) SWIG_fail;
27480 }
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27496 PyObject *resultobj;
27497 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27498 wxTreeItemId result;
27499 PyObject * obj0 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail;
27507 {
27508 PyThreadState* __tstate = wxPyBeginAllowThreads();
27509 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27510
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 wxTreeItemId * resultptr;
27516 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27518 }
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27526 PyObject *resultobj;
27527 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27528 wxTreeItemId *arg2 = 0 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 char *kwnames[] = {
27532 (char *) "self",(char *) "item", NULL
27533 };
27534
27535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail;
27538 {
27539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27540 if (SWIG_arg_fail(2)) SWIG_fail;
27541 if (arg2 == NULL) {
27542 SWIG_null_ref("wxTreeItemId");
27543 }
27544 if (SWIG_arg_fail(2)) SWIG_fail;
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 Py_INCREF(Py_None); resultobj = Py_None;
27554 return resultobj;
27555 fail:
27556 return NULL;
27557 }
27558
27559
27560 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27561 PyObject *resultobj;
27562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27563 wxPoint result;
27564 PyObject * obj0 = 0 ;
27565 char *kwnames[] = {
27566 (char *) "self", NULL
27567 };
27568
27569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail;
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = ((wxTreeEvent const *)arg1)->GetPoint();
27575
27576 wxPyEndAllowThreads(__tstate);
27577 if (PyErr_Occurred()) SWIG_fail;
27578 }
27579 {
27580 wxPoint * resultptr;
27581 resultptr = new wxPoint((wxPoint &)(result));
27582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27583 }
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27593 wxPoint *arg2 = 0 ;
27594 wxPoint temp2 ;
27595 PyObject * obj0 = 0 ;
27596 PyObject * obj1 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "self",(char *) "pt", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail;
27604 {
27605 arg2 = &temp2;
27606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27607 }
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 (arg1)->SetPoint((wxPoint const &)*arg2);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 Py_INCREF(Py_None); resultobj = Py_None;
27616 return resultobj;
27617 fail:
27618 return NULL;
27619 }
27620
27621
27622 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27623 PyObject *resultobj;
27624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27625 wxKeyEvent *result;
27626 PyObject * obj0 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "self", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail;
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 {
27637 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27638 result = (wxKeyEvent *) &_result_ref;
27639 }
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27654 int result;
27655 PyObject * obj0 = 0 ;
27656 char *kwnames[] = {
27657 (char *) "self", NULL
27658 };
27659
27660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail;
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 {
27671 resultobj = SWIG_From_int((int)(result));
27672 }
27673 return resultobj;
27674 fail:
27675 return NULL;
27676 }
27677
27678
27679 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27680 PyObject *resultobj;
27681 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27682 wxKeyEvent *arg2 = 0 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
27685 char *kwnames[] = {
27686 (char *) "self",(char *) "evt", NULL
27687 };
27688
27689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27691 if (SWIG_arg_fail(1)) SWIG_fail;
27692 {
27693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27694 if (SWIG_arg_fail(2)) SWIG_fail;
27695 if (arg2 == NULL) {
27696 SWIG_null_ref("wxKeyEvent");
27697 }
27698 if (SWIG_arg_fail(2)) SWIG_fail;
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 Py_INCREF(Py_None); resultobj = Py_None;
27708 return resultobj;
27709 fail:
27710 return NULL;
27711 }
27712
27713
27714 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27715 PyObject *resultobj;
27716 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27717 wxString *result;
27718 PyObject * obj0 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 {
27729 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27730 result = (wxString *) &_result_ref;
27731 }
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 {
27737 #if wxUSE_UNICODE
27738 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27739 #else
27740 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27741 #endif
27742 }
27743 return resultobj;
27744 fail:
27745 return NULL;
27746 }
27747
27748
27749 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27750 PyObject *resultobj;
27751 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27752 wxString *arg2 = 0 ;
27753 bool temp2 = false ;
27754 PyObject * obj0 = 0 ;
27755 PyObject * obj1 = 0 ;
27756 char *kwnames[] = {
27757 (char *) "self",(char *) "label", NULL
27758 };
27759
27760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail;
27763 {
27764 arg2 = wxString_in_helper(obj1);
27765 if (arg2 == NULL) SWIG_fail;
27766 temp2 = true;
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->SetLabel((wxString const &)*arg2);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 {
27777 if (temp2)
27778 delete arg2;
27779 }
27780 return resultobj;
27781 fail:
27782 {
27783 if (temp2)
27784 delete arg2;
27785 }
27786 return NULL;
27787 }
27788
27789
27790 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27791 PyObject *resultobj;
27792 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27793 bool result;
27794 PyObject * obj0 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27801 if (SWIG_arg_fail(1)) SWIG_fail;
27802 {
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27805
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 {
27810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27811 }
27812 return resultobj;
27813 fail:
27814 return NULL;
27815 }
27816
27817
27818 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27819 PyObject *resultobj;
27820 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27821 bool arg2 ;
27822 PyObject * obj0 = 0 ;
27823 PyObject * obj1 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self",(char *) "editCancelled", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail;
27831 {
27832 arg2 = (bool)(SWIG_As_bool(obj1));
27833 if (SWIG_arg_fail(2)) SWIG_fail;
27834 }
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 (arg1)->SetEditCanceled(arg2);
27838
27839 wxPyEndAllowThreads(__tstate);
27840 if (PyErr_Occurred()) SWIG_fail;
27841 }
27842 Py_INCREF(Py_None); resultobj = Py_None;
27843 return resultobj;
27844 fail:
27845 return NULL;
27846 }
27847
27848
27849 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27850 PyObject *resultobj;
27851 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27852 wxString *arg2 = 0 ;
27853 bool temp2 = false ;
27854 PyObject * obj0 = 0 ;
27855 PyObject * obj1 = 0 ;
27856 char *kwnames[] = {
27857 (char *) "self",(char *) "toolTip", NULL
27858 };
27859
27860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27862 if (SWIG_arg_fail(1)) SWIG_fail;
27863 {
27864 arg2 = wxString_in_helper(obj1);
27865 if (arg2 == NULL) SWIG_fail;
27866 temp2 = true;
27867 }
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 (arg1)->SetToolTip((wxString const &)*arg2);
27871
27872 wxPyEndAllowThreads(__tstate);
27873 if (PyErr_Occurred()) SWIG_fail;
27874 }
27875 Py_INCREF(Py_None); resultobj = Py_None;
27876 {
27877 if (temp2)
27878 delete arg2;
27879 }
27880 return resultobj;
27881 fail:
27882 {
27883 if (temp2)
27884 delete arg2;
27885 }
27886 return NULL;
27887 }
27888
27889
27890 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj;
27892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27893 wxString result;
27894 PyObject * obj0 = 0 ;
27895 char *kwnames[] = {
27896 (char *) "self", NULL
27897 };
27898
27899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail;
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (arg1)->GetToolTip();
27905
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 {
27910 #if wxUSE_UNICODE
27911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27912 #else
27913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27914 #endif
27915 }
27916 return resultobj;
27917 fail:
27918 return NULL;
27919 }
27920
27921
27922 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27923 PyObject *obj;
27924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27925 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27926 Py_INCREF(obj);
27927 return Py_BuildValue((char *)"");
27928 }
27929 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxWindow *arg1 = (wxWindow *) 0 ;
27932 int arg2 = (int) -1 ;
27933 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27934 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27935 wxSize const &arg4_defvalue = wxDefaultSize ;
27936 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27937 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27938 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27939 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27940 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27941 wxString *arg7 = (wxString *) &arg7_defvalue ;
27942 wxPyTreeCtrl *result;
27943 wxPoint temp3 ;
27944 wxSize temp4 ;
27945 bool temp7 = false ;
27946 PyObject * obj0 = 0 ;
27947 PyObject * obj1 = 0 ;
27948 PyObject * obj2 = 0 ;
27949 PyObject * obj3 = 0 ;
27950 PyObject * obj4 = 0 ;
27951 PyObject * obj5 = 0 ;
27952 PyObject * obj6 = 0 ;
27953 char *kwnames[] = {
27954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27955 };
27956
27957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail;
27960 if (obj1) {
27961 {
27962 arg2 = (int)(SWIG_As_int(obj1));
27963 if (SWIG_arg_fail(2)) SWIG_fail;
27964 }
27965 }
27966 if (obj2) {
27967 {
27968 arg3 = &temp3;
27969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27970 }
27971 }
27972 if (obj3) {
27973 {
27974 arg4 = &temp4;
27975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27976 }
27977 }
27978 if (obj4) {
27979 {
27980 arg5 = (long)(SWIG_As_long(obj4));
27981 if (SWIG_arg_fail(5)) SWIG_fail;
27982 }
27983 }
27984 if (obj5) {
27985 {
27986 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27987 if (SWIG_arg_fail(6)) SWIG_fail;
27988 if (arg6 == NULL) {
27989 SWIG_null_ref("wxValidator");
27990 }
27991 if (SWIG_arg_fail(6)) SWIG_fail;
27992 }
27993 }
27994 if (obj6) {
27995 {
27996 arg7 = wxString_in_helper(obj6);
27997 if (arg7 == NULL) SWIG_fail;
27998 temp7 = true;
27999 }
28000 }
28001 {
28002 if (!wxPyCheckForApp()) SWIG_fail;
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28005
28006 wxPyEndAllowThreads(__tstate);
28007 if (PyErr_Occurred()) SWIG_fail;
28008 }
28009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28010 {
28011 if (temp7)
28012 delete arg7;
28013 }
28014 return resultobj;
28015 fail:
28016 {
28017 if (temp7)
28018 delete arg7;
28019 }
28020 return NULL;
28021 }
28022
28023
28024 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj;
28026 wxPyTreeCtrl *result;
28027 char *kwnames[] = {
28028 NULL
28029 };
28030
28031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28032 {
28033 if (!wxPyCheckForApp()) SWIG_fail;
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28036
28037 wxPyEndAllowThreads(__tstate);
28038 if (PyErr_Occurred()) SWIG_fail;
28039 }
28040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28041 return resultobj;
28042 fail:
28043 return NULL;
28044 }
28045
28046
28047 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28048 PyObject *resultobj;
28049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28050 wxWindow *arg2 = (wxWindow *) 0 ;
28051 int arg3 = (int) -1 ;
28052 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28053 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28054 wxSize const &arg5_defvalue = wxDefaultSize ;
28055 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28056 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28057 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28058 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28059 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28060 wxString *arg8 = (wxString *) &arg8_defvalue ;
28061 bool result;
28062 wxPoint temp4 ;
28063 wxSize temp5 ;
28064 bool temp8 = false ;
28065 PyObject * obj0 = 0 ;
28066 PyObject * obj1 = 0 ;
28067 PyObject * obj2 = 0 ;
28068 PyObject * obj3 = 0 ;
28069 PyObject * obj4 = 0 ;
28070 PyObject * obj5 = 0 ;
28071 PyObject * obj6 = 0 ;
28072 PyObject * obj7 = 0 ;
28073 char *kwnames[] = {
28074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28075 };
28076
28077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail;
28080 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28081 if (SWIG_arg_fail(2)) SWIG_fail;
28082 if (obj2) {
28083 {
28084 arg3 = (int)(SWIG_As_int(obj2));
28085 if (SWIG_arg_fail(3)) SWIG_fail;
28086 }
28087 }
28088 if (obj3) {
28089 {
28090 arg4 = &temp4;
28091 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28092 }
28093 }
28094 if (obj4) {
28095 {
28096 arg5 = &temp5;
28097 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28098 }
28099 }
28100 if (obj5) {
28101 {
28102 arg6 = (long)(SWIG_As_long(obj5));
28103 if (SWIG_arg_fail(6)) SWIG_fail;
28104 }
28105 }
28106 if (obj6) {
28107 {
28108 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28109 if (SWIG_arg_fail(7)) SWIG_fail;
28110 if (arg7 == NULL) {
28111 SWIG_null_ref("wxValidator");
28112 }
28113 if (SWIG_arg_fail(7)) SWIG_fail;
28114 }
28115 }
28116 if (obj7) {
28117 {
28118 arg8 = wxString_in_helper(obj7);
28119 if (arg8 == NULL) SWIG_fail;
28120 temp8 = true;
28121 }
28122 }
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28126
28127 wxPyEndAllowThreads(__tstate);
28128 if (PyErr_Occurred()) SWIG_fail;
28129 }
28130 {
28131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28132 }
28133 {
28134 if (temp8)
28135 delete arg8;
28136 }
28137 return resultobj;
28138 fail:
28139 {
28140 if (temp8)
28141 delete arg8;
28142 }
28143 return NULL;
28144 }
28145
28146
28147 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28148 PyObject *resultobj;
28149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28150 PyObject *arg2 = (PyObject *) 0 ;
28151 PyObject *arg3 = (PyObject *) 0 ;
28152 PyObject * obj0 = 0 ;
28153 PyObject * obj1 = 0 ;
28154 PyObject * obj2 = 0 ;
28155 char *kwnames[] = {
28156 (char *) "self",(char *) "self",(char *) "_class", NULL
28157 };
28158
28159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail;
28162 arg2 = obj1;
28163 arg3 = obj2;
28164 {
28165 PyThreadState* __tstate = wxPyBeginAllowThreads();
28166 (arg1)->_setCallbackInfo(arg2,arg3);
28167
28168 wxPyEndAllowThreads(__tstate);
28169 if (PyErr_Occurred()) SWIG_fail;
28170 }
28171 Py_INCREF(Py_None); resultobj = Py_None;
28172 return resultobj;
28173 fail:
28174 return NULL;
28175 }
28176
28177
28178 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28179 PyObject *resultobj;
28180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28181 size_t result;
28182 PyObject * obj0 = 0 ;
28183 char *kwnames[] = {
28184 (char *) "self", NULL
28185 };
28186
28187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail;
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
28197 {
28198 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28199 }
28200 return resultobj;
28201 fail:
28202 return NULL;
28203 }
28204
28205
28206 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28207 PyObject *resultobj;
28208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28209 unsigned int result;
28210 PyObject * obj0 = 0 ;
28211 char *kwnames[] = {
28212 (char *) "self", NULL
28213 };
28214
28215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail;
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 {
28226 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28227 }
28228 return resultobj;
28229 fail:
28230 return NULL;
28231 }
28232
28233
28234 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28235 PyObject *resultobj;
28236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28237 unsigned int arg2 ;
28238 PyObject * obj0 = 0 ;
28239 PyObject * obj1 = 0 ;
28240 char *kwnames[] = {
28241 (char *) "self",(char *) "indent", NULL
28242 };
28243
28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28246 if (SWIG_arg_fail(1)) SWIG_fail;
28247 {
28248 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28249 if (SWIG_arg_fail(2)) SWIG_fail;
28250 }
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->SetIndent(arg2);
28254
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 Py_INCREF(Py_None); resultobj = Py_None;
28259 return resultobj;
28260 fail:
28261 return NULL;
28262 }
28263
28264
28265 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28266 PyObject *resultobj;
28267 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28268 unsigned int result;
28269 PyObject * obj0 = 0 ;
28270 char *kwnames[] = {
28271 (char *) "self", NULL
28272 };
28273
28274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail;
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
28284 {
28285 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28286 }
28287 return resultobj;
28288 fail:
28289 return NULL;
28290 }
28291
28292
28293 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28294 PyObject *resultobj;
28295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28296 unsigned int arg2 ;
28297 PyObject * obj0 = 0 ;
28298 PyObject * obj1 = 0 ;
28299 char *kwnames[] = {
28300 (char *) "self",(char *) "spacing", NULL
28301 };
28302
28303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28305 if (SWIG_arg_fail(1)) SWIG_fail;
28306 {
28307 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28308 if (SWIG_arg_fail(2)) SWIG_fail;
28309 }
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 (arg1)->SetSpacing(arg2);
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 Py_INCREF(Py_None); resultobj = Py_None;
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj;
28326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28327 wxImageList *result;
28328 PyObject * obj0 = 0 ;
28329 char *kwnames[] = {
28330 (char *) "self", NULL
28331 };
28332
28333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28335 if (SWIG_arg_fail(1)) SWIG_fail;
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28339
28340 wxPyEndAllowThreads(__tstate);
28341 if (PyErr_Occurred()) SWIG_fail;
28342 }
28343 {
28344 resultobj = wxPyMake_wxObject(result, 0);
28345 }
28346 return resultobj;
28347 fail:
28348 return NULL;
28349 }
28350
28351
28352 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28353 PyObject *resultobj;
28354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28355 wxImageList *result;
28356 PyObject * obj0 = 0 ;
28357 char *kwnames[] = {
28358 (char *) "self", NULL
28359 };
28360
28361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail;
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 {
28372 resultobj = wxPyMake_wxObject(result, 0);
28373 }
28374 return resultobj;
28375 fail:
28376 return NULL;
28377 }
28378
28379
28380 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28381 PyObject *resultobj;
28382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28383 wxImageList *arg2 = (wxImageList *) 0 ;
28384 PyObject * obj0 = 0 ;
28385 PyObject * obj1 = 0 ;
28386 char *kwnames[] = {
28387 (char *) "self",(char *) "imageList", NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail;
28393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28394 if (SWIG_arg_fail(2)) SWIG_fail;
28395 {
28396 PyThreadState* __tstate = wxPyBeginAllowThreads();
28397 (arg1)->SetImageList(arg2);
28398
28399 wxPyEndAllowThreads(__tstate);
28400 if (PyErr_Occurred()) SWIG_fail;
28401 }
28402 Py_INCREF(Py_None); resultobj = Py_None;
28403 return resultobj;
28404 fail:
28405 return NULL;
28406 }
28407
28408
28409 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28410 PyObject *resultobj;
28411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28412 wxImageList *arg2 = (wxImageList *) 0 ;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self",(char *) "imageList", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail;
28422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28423 if (SWIG_arg_fail(2)) SWIG_fail;
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 (arg1)->SetStateImageList(arg2);
28427
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 Py_INCREF(Py_None); resultobj = Py_None;
28432 return resultobj;
28433 fail:
28434 return NULL;
28435 }
28436
28437
28438 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28439 PyObject *resultobj;
28440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28441 wxImageList *arg2 = (wxImageList *) 0 ;
28442 PyObject * obj0 = 0 ;
28443 PyObject * obj1 = 0 ;
28444 char *kwnames[] = {
28445 (char *) "self",(char *) "imageList", NULL
28446 };
28447
28448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail;
28451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28452 if (SWIG_arg_fail(2)) SWIG_fail;
28453 {
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 (arg1)->AssignImageList(arg2);
28456
28457 wxPyEndAllowThreads(__tstate);
28458 if (PyErr_Occurred()) SWIG_fail;
28459 }
28460 Py_INCREF(Py_None); resultobj = Py_None;
28461 return resultobj;
28462 fail:
28463 return NULL;
28464 }
28465
28466
28467 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28470 wxImageList *arg2 = (wxImageList *) 0 ;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "imageList", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->AssignStateImageList(arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj;
28498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28499 wxTreeItemId *arg2 = 0 ;
28500 wxString result;
28501 PyObject * obj0 = 0 ;
28502 PyObject * obj1 = 0 ;
28503 char *kwnames[] = {
28504 (char *) "self",(char *) "item", NULL
28505 };
28506
28507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail;
28510 {
28511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28512 if (SWIG_arg_fail(2)) SWIG_fail;
28513 if (arg2 == NULL) {
28514 SWIG_null_ref("wxTreeItemId");
28515 }
28516 if (SWIG_arg_fail(2)) SWIG_fail;
28517 }
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28521
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 {
28526 #if wxUSE_UNICODE
28527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28528 #else
28529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28530 #endif
28531 }
28532 return resultobj;
28533 fail:
28534 return NULL;
28535 }
28536
28537
28538 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28539 PyObject *resultobj;
28540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28541 wxTreeItemId *arg2 = 0 ;
28542 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28543 int result;
28544 PyObject * obj0 = 0 ;
28545 PyObject * obj1 = 0 ;
28546 PyObject * obj2 = 0 ;
28547 char *kwnames[] = {
28548 (char *) "self",(char *) "item",(char *) "which", NULL
28549 };
28550
28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail;
28554 {
28555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28556 if (SWIG_arg_fail(2)) SWIG_fail;
28557 if (arg2 == NULL) {
28558 SWIG_null_ref("wxTreeItemId");
28559 }
28560 if (SWIG_arg_fail(2)) SWIG_fail;
28561 }
28562 if (obj2) {
28563 {
28564 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28565 if (SWIG_arg_fail(3)) SWIG_fail;
28566 }
28567 }
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28571
28572 wxPyEndAllowThreads(__tstate);
28573 if (PyErr_Occurred()) SWIG_fail;
28574 }
28575 {
28576 resultobj = SWIG_From_int((int)(result));
28577 }
28578 return resultobj;
28579 fail:
28580 return NULL;
28581 }
28582
28583
28584 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28585 PyObject *resultobj;
28586 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28587 wxTreeItemId *arg2 = 0 ;
28588 wxPyTreeItemData *result;
28589 PyObject * obj0 = 0 ;
28590 PyObject * obj1 = 0 ;
28591 char *kwnames[] = {
28592 (char *) "self",(char *) "item", NULL
28593 };
28594
28595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail;
28598 {
28599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28600 if (SWIG_arg_fail(2)) SWIG_fail;
28601 if (arg2 == NULL) {
28602 SWIG_null_ref("wxTreeItemId");
28603 }
28604 if (SWIG_arg_fail(2)) SWIG_fail;
28605 }
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28609
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28614 return resultobj;
28615 fail:
28616 return NULL;
28617 }
28618
28619
28620 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28621 PyObject *resultobj;
28622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28623 wxTreeItemId *arg2 = 0 ;
28624 PyObject *result;
28625 PyObject * obj0 = 0 ;
28626 PyObject * obj1 = 0 ;
28627 char *kwnames[] = {
28628 (char *) "self",(char *) "item", NULL
28629 };
28630
28631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28633 if (SWIG_arg_fail(1)) SWIG_fail;
28634 {
28635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28636 if (SWIG_arg_fail(2)) SWIG_fail;
28637 if (arg2 == NULL) {
28638 SWIG_null_ref("wxTreeItemId");
28639 }
28640 if (SWIG_arg_fail(2)) SWIG_fail;
28641 }
28642 {
28643 PyThreadState* __tstate = wxPyBeginAllowThreads();
28644 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28645
28646 wxPyEndAllowThreads(__tstate);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 resultobj = result;
28650 return resultobj;
28651 fail:
28652 return NULL;
28653 }
28654
28655
28656 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28657 PyObject *resultobj;
28658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28659 wxTreeItemId *arg2 = 0 ;
28660 wxColour result;
28661 PyObject * obj0 = 0 ;
28662 PyObject * obj1 = 0 ;
28663 char *kwnames[] = {
28664 (char *) "self",(char *) "item", NULL
28665 };
28666
28667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28669 if (SWIG_arg_fail(1)) SWIG_fail;
28670 {
28671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28672 if (SWIG_arg_fail(2)) SWIG_fail;
28673 if (arg2 == NULL) {
28674 SWIG_null_ref("wxTreeItemId");
28675 }
28676 if (SWIG_arg_fail(2)) SWIG_fail;
28677 }
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28681
28682 wxPyEndAllowThreads(__tstate);
28683 if (PyErr_Occurred()) SWIG_fail;
28684 }
28685 {
28686 wxColour * resultptr;
28687 resultptr = new wxColour((wxColour &)(result));
28688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28689 }
28690 return resultobj;
28691 fail:
28692 return NULL;
28693 }
28694
28695
28696 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28697 PyObject *resultobj;
28698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28699 wxTreeItemId *arg2 = 0 ;
28700 wxColour result;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "item", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail;
28713 if (arg2 == NULL) {
28714 SWIG_null_ref("wxTreeItemId");
28715 }
28716 if (SWIG_arg_fail(2)) SWIG_fail;
28717 }
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 {
28726 wxColour * resultptr;
28727 resultptr = new wxColour((wxColour &)(result));
28728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28729 }
28730 return resultobj;
28731 fail:
28732 return NULL;
28733 }
28734
28735
28736 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28737 PyObject *resultobj;
28738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28739 wxTreeItemId *arg2 = 0 ;
28740 wxFont result;
28741 PyObject * obj0 = 0 ;
28742 PyObject * obj1 = 0 ;
28743 char *kwnames[] = {
28744 (char *) "self",(char *) "item", NULL
28745 };
28746
28747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail;
28750 {
28751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28752 if (SWIG_arg_fail(2)) SWIG_fail;
28753 if (arg2 == NULL) {
28754 SWIG_null_ref("wxTreeItemId");
28755 }
28756 if (SWIG_arg_fail(2)) SWIG_fail;
28757 }
28758 {
28759 PyThreadState* __tstate = wxPyBeginAllowThreads();
28760 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28761
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 {
28766 wxFont * resultptr;
28767 resultptr = new wxFont((wxFont &)(result));
28768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28769 }
28770 return resultobj;
28771 fail:
28772 return NULL;
28773 }
28774
28775
28776 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28777 PyObject *resultobj;
28778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28779 wxTreeItemId *arg2 = 0 ;
28780 wxString *arg3 = 0 ;
28781 bool temp3 = false ;
28782 PyObject * obj0 = 0 ;
28783 PyObject * obj1 = 0 ;
28784 PyObject * obj2 = 0 ;
28785 char *kwnames[] = {
28786 (char *) "self",(char *) "item",(char *) "text", NULL
28787 };
28788
28789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28791 if (SWIG_arg_fail(1)) SWIG_fail;
28792 {
28793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28794 if (SWIG_arg_fail(2)) SWIG_fail;
28795 if (arg2 == NULL) {
28796 SWIG_null_ref("wxTreeItemId");
28797 }
28798 if (SWIG_arg_fail(2)) SWIG_fail;
28799 }
28800 {
28801 arg3 = wxString_in_helper(obj2);
28802 if (arg3 == NULL) SWIG_fail;
28803 temp3 = true;
28804 }
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 Py_INCREF(Py_None); resultobj = Py_None;
28813 {
28814 if (temp3)
28815 delete arg3;
28816 }
28817 return resultobj;
28818 fail:
28819 {
28820 if (temp3)
28821 delete arg3;
28822 }
28823 return NULL;
28824 }
28825
28826
28827 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28828 PyObject *resultobj;
28829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28830 wxTreeItemId *arg2 = 0 ;
28831 int arg3 ;
28832 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
28835 PyObject * obj2 = 0 ;
28836 PyObject * obj3 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail;
28844 {
28845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28846 if (SWIG_arg_fail(2)) SWIG_fail;
28847 if (arg2 == NULL) {
28848 SWIG_null_ref("wxTreeItemId");
28849 }
28850 if (SWIG_arg_fail(2)) SWIG_fail;
28851 }
28852 {
28853 arg3 = (int)(SWIG_As_int(obj2));
28854 if (SWIG_arg_fail(3)) SWIG_fail;
28855 }
28856 if (obj3) {
28857 {
28858 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28859 if (SWIG_arg_fail(4)) SWIG_fail;
28860 }
28861 }
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 Py_INCREF(Py_None); resultobj = Py_None;
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj;
28878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28879 wxTreeItemId *arg2 = 0 ;
28880 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28881 PyObject * obj0 = 0 ;
28882 PyObject * obj1 = 0 ;
28883 PyObject * obj2 = 0 ;
28884 char *kwnames[] = {
28885 (char *) "self",(char *) "item",(char *) "data", NULL
28886 };
28887
28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail;
28891 {
28892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28893 if (SWIG_arg_fail(2)) SWIG_fail;
28894 if (arg2 == NULL) {
28895 SWIG_null_ref("wxTreeItemId");
28896 }
28897 if (SWIG_arg_fail(2)) SWIG_fail;
28898 }
28899 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28900 if (SWIG_arg_fail(3)) SWIG_fail;
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 Py_INCREF(Py_None); resultobj = Py_None;
28909 return resultobj;
28910 fail:
28911 return NULL;
28912 }
28913
28914
28915 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28916 PyObject *resultobj;
28917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28918 wxTreeItemId *arg2 = 0 ;
28919 PyObject *arg3 = (PyObject *) 0 ;
28920 PyObject * obj0 = 0 ;
28921 PyObject * obj1 = 0 ;
28922 PyObject * obj2 = 0 ;
28923 char *kwnames[] = {
28924 (char *) "self",(char *) "item",(char *) "obj", NULL
28925 };
28926
28927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail;
28930 {
28931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28932 if (SWIG_arg_fail(2)) SWIG_fail;
28933 if (arg2 == NULL) {
28934 SWIG_null_ref("wxTreeItemId");
28935 }
28936 if (SWIG_arg_fail(2)) SWIG_fail;
28937 }
28938 arg3 = obj2;
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28942
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 Py_INCREF(Py_None); resultobj = Py_None;
28947 return resultobj;
28948 fail:
28949 return NULL;
28950 }
28951
28952
28953 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28954 PyObject *resultobj;
28955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28956 wxTreeItemId *arg2 = 0 ;
28957 bool arg3 = (bool) true ;
28958 PyObject * obj0 = 0 ;
28959 PyObject * obj1 = 0 ;
28960 PyObject * obj2 = 0 ;
28961 char *kwnames[] = {
28962 (char *) "self",(char *) "item",(char *) "has", NULL
28963 };
28964
28965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28967 if (SWIG_arg_fail(1)) SWIG_fail;
28968 {
28969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28970 if (SWIG_arg_fail(2)) SWIG_fail;
28971 if (arg2 == NULL) {
28972 SWIG_null_ref("wxTreeItemId");
28973 }
28974 if (SWIG_arg_fail(2)) SWIG_fail;
28975 }
28976 if (obj2) {
28977 {
28978 arg3 = (bool)(SWIG_As_bool(obj2));
28979 if (SWIG_arg_fail(3)) SWIG_fail;
28980 }
28981 }
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28985
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 Py_INCREF(Py_None); resultobj = Py_None;
28990 return resultobj;
28991 fail:
28992 return NULL;
28993 }
28994
28995
28996 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28997 PyObject *resultobj;
28998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28999 wxTreeItemId *arg2 = 0 ;
29000 bool arg3 = (bool) true ;
29001 PyObject * obj0 = 0 ;
29002 PyObject * obj1 = 0 ;
29003 PyObject * obj2 = 0 ;
29004 char *kwnames[] = {
29005 (char *) "self",(char *) "item",(char *) "bold", NULL
29006 };
29007
29008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail;
29011 {
29012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29013 if (SWIG_arg_fail(2)) SWIG_fail;
29014 if (arg2 == NULL) {
29015 SWIG_null_ref("wxTreeItemId");
29016 }
29017 if (SWIG_arg_fail(2)) SWIG_fail;
29018 }
29019 if (obj2) {
29020 {
29021 arg3 = (bool)(SWIG_As_bool(obj2));
29022 if (SWIG_arg_fail(3)) SWIG_fail;
29023 }
29024 }
29025 {
29026 PyThreadState* __tstate = wxPyBeginAllowThreads();
29027 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29028
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 Py_INCREF(Py_None); resultobj = Py_None;
29033 return resultobj;
29034 fail:
29035 return NULL;
29036 }
29037
29038
29039 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj;
29041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29042 wxTreeItemId *arg2 = 0 ;
29043 bool arg3 = (bool) true ;
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj1 = 0 ;
29046 PyObject * obj2 = 0 ;
29047 char *kwnames[] = {
29048 (char *) "self",(char *) "item",(char *) "highlight", NULL
29049 };
29050
29051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29053 if (SWIG_arg_fail(1)) SWIG_fail;
29054 {
29055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29056 if (SWIG_arg_fail(2)) SWIG_fail;
29057 if (arg2 == NULL) {
29058 SWIG_null_ref("wxTreeItemId");
29059 }
29060 if (SWIG_arg_fail(2)) SWIG_fail;
29061 }
29062 if (obj2) {
29063 {
29064 arg3 = (bool)(SWIG_As_bool(obj2));
29065 if (SWIG_arg_fail(3)) SWIG_fail;
29066 }
29067 }
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29071
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 Py_INCREF(Py_None); resultobj = Py_None;
29076 return resultobj;
29077 fail:
29078 return NULL;
29079 }
29080
29081
29082 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29083 PyObject *resultobj;
29084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29085 wxTreeItemId *arg2 = 0 ;
29086 wxColour *arg3 = 0 ;
29087 wxColour temp3 ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "item",(char *) "col", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
29098 {
29099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail;
29101 if (arg2 == NULL) {
29102 SWIG_null_ref("wxTreeItemId");
29103 }
29104 if (SWIG_arg_fail(2)) SWIG_fail;
29105 }
29106 {
29107 arg3 = &temp3;
29108 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29109 }
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29113
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 Py_INCREF(Py_None); resultobj = Py_None;
29118 return resultobj;
29119 fail:
29120 return NULL;
29121 }
29122
29123
29124 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29125 PyObject *resultobj;
29126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29127 wxTreeItemId *arg2 = 0 ;
29128 wxColour *arg3 = 0 ;
29129 wxColour temp3 ;
29130 PyObject * obj0 = 0 ;
29131 PyObject * obj1 = 0 ;
29132 PyObject * obj2 = 0 ;
29133 char *kwnames[] = {
29134 (char *) "self",(char *) "item",(char *) "col", NULL
29135 };
29136
29137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail;
29140 {
29141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29142 if (SWIG_arg_fail(2)) SWIG_fail;
29143 if (arg2 == NULL) {
29144 SWIG_null_ref("wxTreeItemId");
29145 }
29146 if (SWIG_arg_fail(2)) SWIG_fail;
29147 }
29148 {
29149 arg3 = &temp3;
29150 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29151 }
29152 {
29153 PyThreadState* __tstate = wxPyBeginAllowThreads();
29154 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29155
29156 wxPyEndAllowThreads(__tstate);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 }
29159 Py_INCREF(Py_None); resultobj = Py_None;
29160 return resultobj;
29161 fail:
29162 return NULL;
29163 }
29164
29165
29166 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29167 PyObject *resultobj;
29168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29169 wxTreeItemId *arg2 = 0 ;
29170 wxFont *arg3 = 0 ;
29171 PyObject * obj0 = 0 ;
29172 PyObject * obj1 = 0 ;
29173 PyObject * obj2 = 0 ;
29174 char *kwnames[] = {
29175 (char *) "self",(char *) "item",(char *) "font", NULL
29176 };
29177
29178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29180 if (SWIG_arg_fail(1)) SWIG_fail;
29181 {
29182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29183 if (SWIG_arg_fail(2)) SWIG_fail;
29184 if (arg2 == NULL) {
29185 SWIG_null_ref("wxTreeItemId");
29186 }
29187 if (SWIG_arg_fail(2)) SWIG_fail;
29188 }
29189 {
29190 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29191 if (SWIG_arg_fail(3)) SWIG_fail;
29192 if (arg3 == NULL) {
29193 SWIG_null_ref("wxFont");
29194 }
29195 if (SWIG_arg_fail(3)) SWIG_fail;
29196 }
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 Py_INCREF(Py_None); resultobj = Py_None;
29205 return resultobj;
29206 fail:
29207 return NULL;
29208 }
29209
29210
29211 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29212 PyObject *resultobj;
29213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29214 wxTreeItemId *arg2 = 0 ;
29215 bool result;
29216 PyObject * obj0 = 0 ;
29217 PyObject * obj1 = 0 ;
29218 char *kwnames[] = {
29219 (char *) "self",(char *) "item", NULL
29220 };
29221
29222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29224 if (SWIG_arg_fail(1)) SWIG_fail;
29225 {
29226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29227 if (SWIG_arg_fail(2)) SWIG_fail;
29228 if (arg2 == NULL) {
29229 SWIG_null_ref("wxTreeItemId");
29230 }
29231 if (SWIG_arg_fail(2)) SWIG_fail;
29232 }
29233 {
29234 PyThreadState* __tstate = wxPyBeginAllowThreads();
29235 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29236
29237 wxPyEndAllowThreads(__tstate);
29238 if (PyErr_Occurred()) SWIG_fail;
29239 }
29240 {
29241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29242 }
29243 return resultobj;
29244 fail:
29245 return NULL;
29246 }
29247
29248
29249 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29250 PyObject *resultobj;
29251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29252 wxTreeItemId *arg2 = 0 ;
29253 bool result;
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 char *kwnames[] = {
29257 (char *) "self",(char *) "item", NULL
29258 };
29259
29260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail;
29263 {
29264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29265 if (SWIG_arg_fail(2)) SWIG_fail;
29266 if (arg2 == NULL) {
29267 SWIG_null_ref("wxTreeItemId");
29268 }
29269 if (SWIG_arg_fail(2)) SWIG_fail;
29270 }
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29274
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
29278 {
29279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29280 }
29281 return resultobj;
29282 fail:
29283 return NULL;
29284 }
29285
29286
29287 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29288 PyObject *resultobj;
29289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29290 wxTreeItemId *arg2 = 0 ;
29291 bool result;
29292 PyObject * obj0 = 0 ;
29293 PyObject * obj1 = 0 ;
29294 char *kwnames[] = {
29295 (char *) "self",(char *) "item", NULL
29296 };
29297
29298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29300 if (SWIG_arg_fail(1)) SWIG_fail;
29301 {
29302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29303 if (SWIG_arg_fail(2)) SWIG_fail;
29304 if (arg2 == NULL) {
29305 SWIG_null_ref("wxTreeItemId");
29306 }
29307 if (SWIG_arg_fail(2)) SWIG_fail;
29308 }
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29312
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 {
29317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29318 }
29319 return resultobj;
29320 fail:
29321 return NULL;
29322 }
29323
29324
29325 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29326 PyObject *resultobj;
29327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29328 wxTreeItemId *arg2 = 0 ;
29329 bool result;
29330 PyObject * obj0 = 0 ;
29331 PyObject * obj1 = 0 ;
29332 char *kwnames[] = {
29333 (char *) "self",(char *) "item", NULL
29334 };
29335
29336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail;
29339 {
29340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29341 if (SWIG_arg_fail(2)) SWIG_fail;
29342 if (arg2 == NULL) {
29343 SWIG_null_ref("wxTreeItemId");
29344 }
29345 if (SWIG_arg_fail(2)) SWIG_fail;
29346 }
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29350
29351 wxPyEndAllowThreads(__tstate);
29352 if (PyErr_Occurred()) SWIG_fail;
29353 }
29354 {
29355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29356 }
29357 return resultobj;
29358 fail:
29359 return NULL;
29360 }
29361
29362
29363 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29364 PyObject *resultobj;
29365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29366 wxTreeItemId *arg2 = 0 ;
29367 bool result;
29368 PyObject * obj0 = 0 ;
29369 PyObject * obj1 = 0 ;
29370 char *kwnames[] = {
29371 (char *) "self",(char *) "item", NULL
29372 };
29373
29374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29376 if (SWIG_arg_fail(1)) SWIG_fail;
29377 {
29378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29379 if (SWIG_arg_fail(2)) SWIG_fail;
29380 if (arg2 == NULL) {
29381 SWIG_null_ref("wxTreeItemId");
29382 }
29383 if (SWIG_arg_fail(2)) SWIG_fail;
29384 }
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 {
29393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29394 }
29395 return resultobj;
29396 fail:
29397 return NULL;
29398 }
29399
29400
29401 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29402 PyObject *resultobj;
29403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29404 wxTreeItemId *arg2 = 0 ;
29405 bool arg3 = (bool) true ;
29406 size_t result;
29407 PyObject * obj0 = 0 ;
29408 PyObject * obj1 = 0 ;
29409 PyObject * obj2 = 0 ;
29410 char *kwnames[] = {
29411 (char *) "self",(char *) "item",(char *) "recursively", NULL
29412 };
29413
29414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail;
29417 {
29418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail;
29420 if (arg2 == NULL) {
29421 SWIG_null_ref("wxTreeItemId");
29422 }
29423 if (SWIG_arg_fail(2)) SWIG_fail;
29424 }
29425 if (obj2) {
29426 {
29427 arg3 = (bool)(SWIG_As_bool(obj2));
29428 if (SWIG_arg_fail(3)) SWIG_fail;
29429 }
29430 }
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
29433 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29434
29435 wxPyEndAllowThreads(__tstate);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
29438 {
29439 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29440 }
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29450 wxTreeItemId result;
29451 PyObject * obj0 = 0 ;
29452 char *kwnames[] = {
29453 (char *) "self", NULL
29454 };
29455
29456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29458 if (SWIG_arg_fail(1)) SWIG_fail;
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29462
29463 wxPyEndAllowThreads(__tstate);
29464 if (PyErr_Occurred()) SWIG_fail;
29465 }
29466 {
29467 wxTreeItemId * resultptr;
29468 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29470 }
29471 return resultobj;
29472 fail:
29473 return NULL;
29474 }
29475
29476
29477 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29478 PyObject *resultobj;
29479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29480 wxTreeItemId result;
29481 PyObject * obj0 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail;
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 {
29497 wxTreeItemId * resultptr;
29498 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29500 }
29501 return resultobj;
29502 fail:
29503 return NULL;
29504 }
29505
29506
29507 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29508 PyObject *resultobj;
29509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29510 PyObject *result;
29511 PyObject * obj0 = 0 ;
29512 char *kwnames[] = {
29513 (char *) "self", NULL
29514 };
29515
29516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail;
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 resultobj = result;
29527 return resultobj;
29528 fail:
29529 return NULL;
29530 }
29531
29532
29533 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29534 PyObject *resultobj;
29535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29536 wxTreeItemId *arg2 = 0 ;
29537 wxTreeItemId result;
29538 PyObject * obj0 = 0 ;
29539 PyObject * obj1 = 0 ;
29540 char *kwnames[] = {
29541 (char *) "self",(char *) "item", NULL
29542 };
29543
29544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail;
29547 {
29548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29549 if (SWIG_arg_fail(2)) SWIG_fail;
29550 if (arg2 == NULL) {
29551 SWIG_null_ref("wxTreeItemId");
29552 }
29553 if (SWIG_arg_fail(2)) SWIG_fail;
29554 }
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 {
29563 wxTreeItemId * resultptr;
29564 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29566 }
29567 return resultobj;
29568 fail:
29569 return NULL;
29570 }
29571
29572
29573 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29574 PyObject *resultobj;
29575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29576 wxTreeItemId *arg2 = 0 ;
29577 PyObject *result;
29578 PyObject * obj0 = 0 ;
29579 PyObject * obj1 = 0 ;
29580 char *kwnames[] = {
29581 (char *) "self",(char *) "item", NULL
29582 };
29583
29584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail;
29587 {
29588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29589 if (SWIG_arg_fail(2)) SWIG_fail;
29590 if (arg2 == NULL) {
29591 SWIG_null_ref("wxTreeItemId");
29592 }
29593 if (SWIG_arg_fail(2)) SWIG_fail;
29594 }
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29598
29599 wxPyEndAllowThreads(__tstate);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 }
29602 resultobj = result;
29603 return resultobj;
29604 fail:
29605 return NULL;
29606 }
29607
29608
29609 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29610 PyObject *resultobj;
29611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29612 wxTreeItemId *arg2 = 0 ;
29613 void *arg3 = (void *) 0 ;
29614 PyObject *result;
29615 PyObject * obj0 = 0 ;
29616 PyObject * obj1 = 0 ;
29617 PyObject * obj2 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "item",(char *) "cookie", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail;
29625 {
29626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail;
29628 if (arg2 == NULL) {
29629 SWIG_null_ref("wxTreeItemId");
29630 }
29631 if (SWIG_arg_fail(2)) SWIG_fail;
29632 }
29633 {
29634 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29635 SWIG_arg_fail(3);SWIG_fail;
29636 }
29637 }
29638 {
29639 PyThreadState* __tstate = wxPyBeginAllowThreads();
29640 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29641
29642 wxPyEndAllowThreads(__tstate);
29643 if (PyErr_Occurred()) SWIG_fail;
29644 }
29645 resultobj = result;
29646 return resultobj;
29647 fail:
29648 return NULL;
29649 }
29650
29651
29652 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29653 PyObject *resultobj;
29654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29655 wxTreeItemId *arg2 = 0 ;
29656 wxTreeItemId result;
29657 PyObject * obj0 = 0 ;
29658 PyObject * obj1 = 0 ;
29659 char *kwnames[] = {
29660 (char *) "self",(char *) "item", NULL
29661 };
29662
29663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29665 if (SWIG_arg_fail(1)) SWIG_fail;
29666 {
29667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29668 if (SWIG_arg_fail(2)) SWIG_fail;
29669 if (arg2 == NULL) {
29670 SWIG_null_ref("wxTreeItemId");
29671 }
29672 if (SWIG_arg_fail(2)) SWIG_fail;
29673 }
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29677
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 {
29682 wxTreeItemId * resultptr;
29683 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29685 }
29686 return resultobj;
29687 fail:
29688 return NULL;
29689 }
29690
29691
29692 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29693 PyObject *resultobj;
29694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29695 wxTreeItemId *arg2 = 0 ;
29696 wxTreeItemId result;
29697 PyObject * obj0 = 0 ;
29698 PyObject * obj1 = 0 ;
29699 char *kwnames[] = {
29700 (char *) "self",(char *) "item", NULL
29701 };
29702
29703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail;
29706 {
29707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29708 if (SWIG_arg_fail(2)) SWIG_fail;
29709 if (arg2 == NULL) {
29710 SWIG_null_ref("wxTreeItemId");
29711 }
29712 if (SWIG_arg_fail(2)) SWIG_fail;
29713 }
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 {
29722 wxTreeItemId * resultptr;
29723 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29725 }
29726 return resultobj;
29727 fail:
29728 return NULL;
29729 }
29730
29731
29732 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29733 PyObject *resultobj;
29734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29735 wxTreeItemId *arg2 = 0 ;
29736 wxTreeItemId result;
29737 PyObject * obj0 = 0 ;
29738 PyObject * obj1 = 0 ;
29739 char *kwnames[] = {
29740 (char *) "self",(char *) "item", NULL
29741 };
29742
29743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail;
29746 {
29747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29748 if (SWIG_arg_fail(2)) SWIG_fail;
29749 if (arg2 == NULL) {
29750 SWIG_null_ref("wxTreeItemId");
29751 }
29752 if (SWIG_arg_fail(2)) SWIG_fail;
29753 }
29754 {
29755 PyThreadState* __tstate = wxPyBeginAllowThreads();
29756 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29757
29758 wxPyEndAllowThreads(__tstate);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 {
29762 wxTreeItemId * resultptr;
29763 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29765 }
29766 return resultobj;
29767 fail:
29768 return NULL;
29769 }
29770
29771
29772 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29773 PyObject *resultobj;
29774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29775 wxTreeItemId result;
29776 PyObject * obj0 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail;
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 {
29792 wxTreeItemId * resultptr;
29793 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29795 }
29796 return resultobj;
29797 fail:
29798 return NULL;
29799 }
29800
29801
29802 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29803 PyObject *resultobj;
29804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29805 wxTreeItemId *arg2 = 0 ;
29806 wxTreeItemId result;
29807 PyObject * obj0 = 0 ;
29808 PyObject * obj1 = 0 ;
29809 char *kwnames[] = {
29810 (char *) "self",(char *) "item", NULL
29811 };
29812
29813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29815 if (SWIG_arg_fail(1)) SWIG_fail;
29816 {
29817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail;
29819 if (arg2 == NULL) {
29820 SWIG_null_ref("wxTreeItemId");
29821 }
29822 if (SWIG_arg_fail(2)) SWIG_fail;
29823 }
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 {
29832 wxTreeItemId * resultptr;
29833 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29835 }
29836 return resultobj;
29837 fail:
29838 return NULL;
29839 }
29840
29841
29842 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29843 PyObject *resultobj;
29844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29845 wxTreeItemId *arg2 = 0 ;
29846 wxTreeItemId result;
29847 PyObject * obj0 = 0 ;
29848 PyObject * obj1 = 0 ;
29849 char *kwnames[] = {
29850 (char *) "self",(char *) "item", NULL
29851 };
29852
29853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail;
29856 {
29857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29858 if (SWIG_arg_fail(2)) SWIG_fail;
29859 if (arg2 == NULL) {
29860 SWIG_null_ref("wxTreeItemId");
29861 }
29862 if (SWIG_arg_fail(2)) SWIG_fail;
29863 }
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29867
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 {
29872 wxTreeItemId * resultptr;
29873 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29875 }
29876 return resultobj;
29877 fail:
29878 return NULL;
29879 }
29880
29881
29882 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29883 PyObject *resultobj;
29884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29885 wxString *arg2 = 0 ;
29886 int arg3 = (int) -1 ;
29887 int arg4 = (int) -1 ;
29888 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29889 wxTreeItemId result;
29890 bool temp2 = false ;
29891 PyObject * obj0 = 0 ;
29892 PyObject * obj1 = 0 ;
29893 PyObject * obj2 = 0 ;
29894 PyObject * obj3 = 0 ;
29895 PyObject * obj4 = 0 ;
29896 char *kwnames[] = {
29897 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29898 };
29899
29900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail;
29903 {
29904 arg2 = wxString_in_helper(obj1);
29905 if (arg2 == NULL) SWIG_fail;
29906 temp2 = true;
29907 }
29908 if (obj2) {
29909 {
29910 arg3 = (int)(SWIG_As_int(obj2));
29911 if (SWIG_arg_fail(3)) SWIG_fail;
29912 }
29913 }
29914 if (obj3) {
29915 {
29916 arg4 = (int)(SWIG_As_int(obj3));
29917 if (SWIG_arg_fail(4)) SWIG_fail;
29918 }
29919 }
29920 if (obj4) {
29921 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29922 if (SWIG_arg_fail(5)) SWIG_fail;
29923 }
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29927
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
29931 {
29932 wxTreeItemId * resultptr;
29933 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29935 }
29936 {
29937 if (temp2)
29938 delete arg2;
29939 }
29940 return resultobj;
29941 fail:
29942 {
29943 if (temp2)
29944 delete arg2;
29945 }
29946 return NULL;
29947 }
29948
29949
29950 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29951 PyObject *resultobj;
29952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29953 wxTreeItemId *arg2 = 0 ;
29954 wxString *arg3 = 0 ;
29955 int arg4 = (int) -1 ;
29956 int arg5 = (int) -1 ;
29957 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29958 wxTreeItemId result;
29959 bool temp3 = false ;
29960 PyObject * obj0 = 0 ;
29961 PyObject * obj1 = 0 ;
29962 PyObject * obj2 = 0 ;
29963 PyObject * obj3 = 0 ;
29964 PyObject * obj4 = 0 ;
29965 PyObject * obj5 = 0 ;
29966 char *kwnames[] = {
29967 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29968 };
29969
29970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29972 if (SWIG_arg_fail(1)) SWIG_fail;
29973 {
29974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29975 if (SWIG_arg_fail(2)) SWIG_fail;
29976 if (arg2 == NULL) {
29977 SWIG_null_ref("wxTreeItemId");
29978 }
29979 if (SWIG_arg_fail(2)) SWIG_fail;
29980 }
29981 {
29982 arg3 = wxString_in_helper(obj2);
29983 if (arg3 == NULL) SWIG_fail;
29984 temp3 = true;
29985 }
29986 if (obj3) {
29987 {
29988 arg4 = (int)(SWIG_As_int(obj3));
29989 if (SWIG_arg_fail(4)) SWIG_fail;
29990 }
29991 }
29992 if (obj4) {
29993 {
29994 arg5 = (int)(SWIG_As_int(obj4));
29995 if (SWIG_arg_fail(5)) SWIG_fail;
29996 }
29997 }
29998 if (obj5) {
29999 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30000 if (SWIG_arg_fail(6)) SWIG_fail;
30001 }
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30005
30006 wxPyEndAllowThreads(__tstate);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 }
30009 {
30010 wxTreeItemId * resultptr;
30011 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30013 }
30014 {
30015 if (temp3)
30016 delete arg3;
30017 }
30018 return resultobj;
30019 fail:
30020 {
30021 if (temp3)
30022 delete arg3;
30023 }
30024 return NULL;
30025 }
30026
30027
30028 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj;
30030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30031 wxTreeItemId *arg2 = 0 ;
30032 wxTreeItemId *arg3 = 0 ;
30033 wxString *arg4 = 0 ;
30034 int arg5 = (int) -1 ;
30035 int arg6 = (int) -1 ;
30036 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30037 wxTreeItemId result;
30038 bool temp4 = false ;
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 PyObject * obj2 = 0 ;
30042 PyObject * obj3 = 0 ;
30043 PyObject * obj4 = 0 ;
30044 PyObject * obj5 = 0 ;
30045 PyObject * obj6 = 0 ;
30046 char *kwnames[] = {
30047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30048 };
30049
30050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30052 if (SWIG_arg_fail(1)) SWIG_fail;
30053 {
30054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30055 if (SWIG_arg_fail(2)) SWIG_fail;
30056 if (arg2 == NULL) {
30057 SWIG_null_ref("wxTreeItemId");
30058 }
30059 if (SWIG_arg_fail(2)) SWIG_fail;
30060 }
30061 {
30062 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30063 if (SWIG_arg_fail(3)) SWIG_fail;
30064 if (arg3 == NULL) {
30065 SWIG_null_ref("wxTreeItemId");
30066 }
30067 if (SWIG_arg_fail(3)) SWIG_fail;
30068 }
30069 {
30070 arg4 = wxString_in_helper(obj3);
30071 if (arg4 == NULL) SWIG_fail;
30072 temp4 = true;
30073 }
30074 if (obj4) {
30075 {
30076 arg5 = (int)(SWIG_As_int(obj4));
30077 if (SWIG_arg_fail(5)) SWIG_fail;
30078 }
30079 }
30080 if (obj5) {
30081 {
30082 arg6 = (int)(SWIG_As_int(obj5));
30083 if (SWIG_arg_fail(6)) SWIG_fail;
30084 }
30085 }
30086 if (obj6) {
30087 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30088 if (SWIG_arg_fail(7)) SWIG_fail;
30089 }
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
30092 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 {
30098 wxTreeItemId * resultptr;
30099 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30101 }
30102 {
30103 if (temp4)
30104 delete arg4;
30105 }
30106 return resultobj;
30107 fail:
30108 {
30109 if (temp4)
30110 delete arg4;
30111 }
30112 return NULL;
30113 }
30114
30115
30116 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30117 PyObject *resultobj;
30118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30119 wxTreeItemId *arg2 = 0 ;
30120 size_t arg3 ;
30121 wxString *arg4 = 0 ;
30122 int arg5 = (int) -1 ;
30123 int arg6 = (int) -1 ;
30124 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30125 wxTreeItemId result;
30126 bool temp4 = false ;
30127 PyObject * obj0 = 0 ;
30128 PyObject * obj1 = 0 ;
30129 PyObject * obj2 = 0 ;
30130 PyObject * obj3 = 0 ;
30131 PyObject * obj4 = 0 ;
30132 PyObject * obj5 = 0 ;
30133 PyObject * obj6 = 0 ;
30134 char *kwnames[] = {
30135 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30136 };
30137
30138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30140 if (SWIG_arg_fail(1)) SWIG_fail;
30141 {
30142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30143 if (SWIG_arg_fail(2)) SWIG_fail;
30144 if (arg2 == NULL) {
30145 SWIG_null_ref("wxTreeItemId");
30146 }
30147 if (SWIG_arg_fail(2)) SWIG_fail;
30148 }
30149 {
30150 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30151 if (SWIG_arg_fail(3)) SWIG_fail;
30152 }
30153 {
30154 arg4 = wxString_in_helper(obj3);
30155 if (arg4 == NULL) SWIG_fail;
30156 temp4 = true;
30157 }
30158 if (obj4) {
30159 {
30160 arg5 = (int)(SWIG_As_int(obj4));
30161 if (SWIG_arg_fail(5)) SWIG_fail;
30162 }
30163 }
30164 if (obj5) {
30165 {
30166 arg6 = (int)(SWIG_As_int(obj5));
30167 if (SWIG_arg_fail(6)) SWIG_fail;
30168 }
30169 }
30170 if (obj6) {
30171 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30172 if (SWIG_arg_fail(7)) SWIG_fail;
30173 }
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30177
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 {
30182 wxTreeItemId * resultptr;
30183 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30185 }
30186 {
30187 if (temp4)
30188 delete arg4;
30189 }
30190 return resultobj;
30191 fail:
30192 {
30193 if (temp4)
30194 delete arg4;
30195 }
30196 return NULL;
30197 }
30198
30199
30200 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30201 PyObject *resultobj;
30202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30203 wxTreeItemId *arg2 = 0 ;
30204 wxString *arg3 = 0 ;
30205 int arg4 = (int) -1 ;
30206 int arg5 = (int) -1 ;
30207 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30208 wxTreeItemId result;
30209 bool temp3 = false ;
30210 PyObject * obj0 = 0 ;
30211 PyObject * obj1 = 0 ;
30212 PyObject * obj2 = 0 ;
30213 PyObject * obj3 = 0 ;
30214 PyObject * obj4 = 0 ;
30215 PyObject * obj5 = 0 ;
30216 char *kwnames[] = {
30217 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30218 };
30219
30220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail;
30223 {
30224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail;
30226 if (arg2 == NULL) {
30227 SWIG_null_ref("wxTreeItemId");
30228 }
30229 if (SWIG_arg_fail(2)) SWIG_fail;
30230 }
30231 {
30232 arg3 = wxString_in_helper(obj2);
30233 if (arg3 == NULL) SWIG_fail;
30234 temp3 = true;
30235 }
30236 if (obj3) {
30237 {
30238 arg4 = (int)(SWIG_As_int(obj3));
30239 if (SWIG_arg_fail(4)) SWIG_fail;
30240 }
30241 }
30242 if (obj4) {
30243 {
30244 arg5 = (int)(SWIG_As_int(obj4));
30245 if (SWIG_arg_fail(5)) SWIG_fail;
30246 }
30247 }
30248 if (obj5) {
30249 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(6)) SWIG_fail;
30251 }
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30255
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 {
30260 wxTreeItemId * resultptr;
30261 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30263 }
30264 {
30265 if (temp3)
30266 delete arg3;
30267 }
30268 return resultobj;
30269 fail:
30270 {
30271 if (temp3)
30272 delete arg3;
30273 }
30274 return NULL;
30275 }
30276
30277
30278 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30279 PyObject *resultobj;
30280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30281 wxTreeItemId *arg2 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 char *kwnames[] = {
30285 (char *) "self",(char *) "item", NULL
30286 };
30287
30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail;
30291 {
30292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30293 if (SWIG_arg_fail(2)) SWIG_fail;
30294 if (arg2 == NULL) {
30295 SWIG_null_ref("wxTreeItemId");
30296 }
30297 if (SWIG_arg_fail(2)) SWIG_fail;
30298 }
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->Delete((wxTreeItemId const &)*arg2);
30302
30303 wxPyEndAllowThreads(__tstate);
30304 if (PyErr_Occurred()) SWIG_fail;
30305 }
30306 Py_INCREF(Py_None); resultobj = Py_None;
30307 return resultobj;
30308 fail:
30309 return NULL;
30310 }
30311
30312
30313 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30314 PyObject *resultobj;
30315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30316 wxTreeItemId *arg2 = 0 ;
30317 PyObject * obj0 = 0 ;
30318 PyObject * obj1 = 0 ;
30319 char *kwnames[] = {
30320 (char *) "self",(char *) "item", NULL
30321 };
30322
30323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail;
30326 {
30327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30328 if (SWIG_arg_fail(2)) SWIG_fail;
30329 if (arg2 == NULL) {
30330 SWIG_null_ref("wxTreeItemId");
30331 }
30332 if (SWIG_arg_fail(2)) SWIG_fail;
30333 }
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30337
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 Py_INCREF(Py_None); resultobj = Py_None;
30342 return resultobj;
30343 fail:
30344 return NULL;
30345 }
30346
30347
30348 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30349 PyObject *resultobj;
30350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30351 PyObject * obj0 = 0 ;
30352 char *kwnames[] = {
30353 (char *) "self", NULL
30354 };
30355
30356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail;
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 (arg1)->DeleteAllItems();
30362
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 Py_INCREF(Py_None); resultobj = Py_None;
30367 return resultobj;
30368 fail:
30369 return NULL;
30370 }
30371
30372
30373 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30374 PyObject *resultobj;
30375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30376 wxTreeItemId *arg2 = 0 ;
30377 PyObject * obj0 = 0 ;
30378 PyObject * obj1 = 0 ;
30379 char *kwnames[] = {
30380 (char *) "self",(char *) "item", NULL
30381 };
30382
30383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(1)) SWIG_fail;
30386 {
30387 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30388 if (SWIG_arg_fail(2)) SWIG_fail;
30389 if (arg2 == NULL) {
30390 SWIG_null_ref("wxTreeItemId");
30391 }
30392 if (SWIG_arg_fail(2)) SWIG_fail;
30393 }
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 (arg1)->Expand((wxTreeItemId const &)*arg2);
30397
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 Py_INCREF(Py_None); resultobj = Py_None;
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30409 PyObject *resultobj;
30410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30411 wxTreeItemId *arg2 = 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 char *kwnames[] = {
30415 (char *) "self",(char *) "item", NULL
30416 };
30417
30418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail;
30421 {
30422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail;
30424 if (arg2 == NULL) {
30425 SWIG_null_ref("wxTreeItemId");
30426 }
30427 if (SWIG_arg_fail(2)) SWIG_fail;
30428 }
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->Collapse((wxTreeItemId const &)*arg2);
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_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30444 PyObject *resultobj;
30445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30446 wxTreeItemId *arg2 = 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 char *kwnames[] = {
30450 (char *) "self",(char *) "item", NULL
30451 };
30452
30453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail;
30456 {
30457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail;
30459 if (arg2 == NULL) {
30460 SWIG_null_ref("wxTreeItemId");
30461 }
30462 if (SWIG_arg_fail(2)) SWIG_fail;
30463 }
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30467
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 Py_INCREF(Py_None); resultobj = Py_None;
30472 return resultobj;
30473 fail:
30474 return NULL;
30475 }
30476
30477
30478 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30479 PyObject *resultobj;
30480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30481 wxTreeItemId *arg2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char *kwnames[] = {
30485 (char *) "self",(char *) "item", NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail;
30491 {
30492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30493 if (SWIG_arg_fail(2)) SWIG_fail;
30494 if (arg2 == NULL) {
30495 SWIG_null_ref("wxTreeItemId");
30496 }
30497 if (SWIG_arg_fail(2)) SWIG_fail;
30498 }
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30502
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 Py_INCREF(Py_None); resultobj = Py_None;
30507 return resultobj;
30508 fail:
30509 return NULL;
30510 }
30511
30512
30513 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30514 PyObject *resultobj;
30515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30516 PyObject * obj0 = 0 ;
30517 char *kwnames[] = {
30518 (char *) "self", NULL
30519 };
30520
30521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail;
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->Unselect();
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535 }
30536
30537
30538 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30539 PyObject *resultobj;
30540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30541 wxTreeItemId *arg2 = 0 ;
30542 PyObject * obj0 = 0 ;
30543 PyObject * obj1 = 0 ;
30544 char *kwnames[] = {
30545 (char *) "self",(char *) "item", NULL
30546 };
30547
30548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail;
30551 {
30552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30553 if (SWIG_arg_fail(2)) SWIG_fail;
30554 if (arg2 == NULL) {
30555 SWIG_null_ref("wxTreeItemId");
30556 }
30557 if (SWIG_arg_fail(2)) SWIG_fail;
30558 }
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 Py_INCREF(Py_None); resultobj = Py_None;
30567 return resultobj;
30568 fail:
30569 return NULL;
30570 }
30571
30572
30573 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30574 PyObject *resultobj;
30575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30576 PyObject * obj0 = 0 ;
30577 char *kwnames[] = {
30578 (char *) "self", NULL
30579 };
30580
30581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30583 if (SWIG_arg_fail(1)) SWIG_fail;
30584 {
30585 PyThreadState* __tstate = wxPyBeginAllowThreads();
30586 (arg1)->UnselectAll();
30587
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 Py_INCREF(Py_None); resultobj = Py_None;
30592 return resultobj;
30593 fail:
30594 return NULL;
30595 }
30596
30597
30598 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30599 PyObject *resultobj;
30600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30601 wxTreeItemId *arg2 = 0 ;
30602 bool arg3 = (bool) true ;
30603 PyObject * obj0 = 0 ;
30604 PyObject * obj1 = 0 ;
30605 PyObject * obj2 = 0 ;
30606 char *kwnames[] = {
30607 (char *) "self",(char *) "item",(char *) "select", NULL
30608 };
30609
30610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail;
30613 {
30614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30615 if (SWIG_arg_fail(2)) SWIG_fail;
30616 if (arg2 == NULL) {
30617 SWIG_null_ref("wxTreeItemId");
30618 }
30619 if (SWIG_arg_fail(2)) SWIG_fail;
30620 }
30621 if (obj2) {
30622 {
30623 arg3 = (bool)(SWIG_As_bool(obj2));
30624 if (SWIG_arg_fail(3)) SWIG_fail;
30625 }
30626 }
30627 {
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30630
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 Py_INCREF(Py_None); resultobj = Py_None;
30635 return resultobj;
30636 fail:
30637 return NULL;
30638 }
30639
30640
30641 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj;
30643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30644 wxTreeItemId *arg2 = 0 ;
30645 PyObject * obj0 = 0 ;
30646 PyObject * obj1 = 0 ;
30647 char *kwnames[] = {
30648 (char *) "self",(char *) "item", NULL
30649 };
30650
30651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail;
30654 {
30655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30656 if (SWIG_arg_fail(2)) SWIG_fail;
30657 if (arg2 == NULL) {
30658 SWIG_null_ref("wxTreeItemId");
30659 }
30660 if (SWIG_arg_fail(2)) SWIG_fail;
30661 }
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
30664 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30665
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 Py_INCREF(Py_None); resultobj = Py_None;
30670 return resultobj;
30671 fail:
30672 return NULL;
30673 }
30674
30675
30676 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30677 PyObject *resultobj;
30678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30679 wxTreeItemId *arg2 = 0 ;
30680 PyObject * obj0 = 0 ;
30681 PyObject * obj1 = 0 ;
30682 char *kwnames[] = {
30683 (char *) "self",(char *) "item", NULL
30684 };
30685
30686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30688 if (SWIG_arg_fail(1)) SWIG_fail;
30689 {
30690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30691 if (SWIG_arg_fail(2)) SWIG_fail;
30692 if (arg2 == NULL) {
30693 SWIG_null_ref("wxTreeItemId");
30694 }
30695 if (SWIG_arg_fail(2)) SWIG_fail;
30696 }
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30700
30701 wxPyEndAllowThreads(__tstate);
30702 if (PyErr_Occurred()) SWIG_fail;
30703 }
30704 Py_INCREF(Py_None); resultobj = Py_None;
30705 return resultobj;
30706 fail:
30707 return NULL;
30708 }
30709
30710
30711 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30712 PyObject *resultobj;
30713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30714 wxTreeItemId *arg2 = 0 ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 char *kwnames[] = {
30718 (char *) "self",(char *) "item", NULL
30719 };
30720
30721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail;
30724 {
30725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30726 if (SWIG_arg_fail(2)) SWIG_fail;
30727 if (arg2 == NULL) {
30728 SWIG_null_ref("wxTreeItemId");
30729 }
30730 if (SWIG_arg_fail(2)) SWIG_fail;
30731 }
30732 {
30733 PyThreadState* __tstate = wxPyBeginAllowThreads();
30734 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30735
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 Py_INCREF(Py_None); resultobj = Py_None;
30740 return resultobj;
30741 fail:
30742 return NULL;
30743 }
30744
30745
30746 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30747 PyObject *resultobj;
30748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30749 wxTreeItemId *arg2 = 0 ;
30750 PyObject * obj0 = 0 ;
30751 PyObject * obj1 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self",(char *) "item", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail;
30759 {
30760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30761 if (SWIG_arg_fail(2)) SWIG_fail;
30762 if (arg2 == NULL) {
30763 SWIG_null_ref("wxTreeItemId");
30764 }
30765 if (SWIG_arg_fail(2)) SWIG_fail;
30766 }
30767 {
30768 PyThreadState* __tstate = wxPyBeginAllowThreads();
30769 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30770
30771 wxPyEndAllowThreads(__tstate);
30772 if (PyErr_Occurred()) SWIG_fail;
30773 }
30774 Py_INCREF(Py_None); resultobj = Py_None;
30775 return resultobj;
30776 fail:
30777 return NULL;
30778 }
30779
30780
30781 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30782 PyObject *resultobj;
30783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30784 wxTextCtrl *result;
30785 PyObject * obj0 = 0 ;
30786 char *kwnames[] = {
30787 (char *) "self", NULL
30788 };
30789
30790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail;
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
30801 resultobj = wxPyMake_wxObject(result, 0);
30802 }
30803 return resultobj;
30804 fail:
30805 return NULL;
30806 }
30807
30808
30809 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30810 PyObject *resultobj;
30811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30812 wxTreeItemId *arg2 = 0 ;
30813 PyObject * obj0 = 0 ;
30814 PyObject * obj1 = 0 ;
30815 char *kwnames[] = {
30816 (char *) "self",(char *) "item", NULL
30817 };
30818
30819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail;
30822 {
30823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail;
30825 if (arg2 == NULL) {
30826 SWIG_null_ref("wxTreeItemId");
30827 }
30828 if (SWIG_arg_fail(2)) SWIG_fail;
30829 }
30830 {
30831 PyThreadState* __tstate = wxPyBeginAllowThreads();
30832 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30833
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 Py_INCREF(Py_None); resultobj = Py_None;
30838 return resultobj;
30839 fail:
30840 return NULL;
30841 }
30842
30843
30844 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30845 PyObject *resultobj;
30846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30847 wxPoint *arg2 = 0 ;
30848 int *arg3 = 0 ;
30849 wxTreeItemId result;
30850 wxPoint temp2 ;
30851 int temp3 ;
30852 int res3 = 0 ;
30853 PyObject * obj0 = 0 ;
30854 PyObject * obj1 = 0 ;
30855 char *kwnames[] = {
30856 (char *) "self",(char *) "point", NULL
30857 };
30858
30859 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30862 if (SWIG_arg_fail(1)) SWIG_fail;
30863 {
30864 arg2 = &temp2;
30865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30866 }
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 {
30875 wxTreeItemId * resultptr;
30876 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30878 }
30879 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30880 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30881 return resultobj;
30882 fail:
30883 return NULL;
30884 }
30885
30886
30887 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30888 PyObject *resultobj;
30889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30890 wxTreeItemId *arg2 = 0 ;
30891 bool arg3 = (bool) false ;
30892 PyObject *result;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 PyObject * obj2 = 0 ;
30896 char *kwnames[] = {
30897 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30898 };
30899
30900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30902 if (SWIG_arg_fail(1)) SWIG_fail;
30903 {
30904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30905 if (SWIG_arg_fail(2)) SWIG_fail;
30906 if (arg2 == NULL) {
30907 SWIG_null_ref("wxTreeItemId");
30908 }
30909 if (SWIG_arg_fail(2)) SWIG_fail;
30910 }
30911 if (obj2) {
30912 {
30913 arg3 = (bool)(SWIG_As_bool(obj2));
30914 if (SWIG_arg_fail(3)) SWIG_fail;
30915 }
30916 }
30917 {
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30920
30921 wxPyEndAllowThreads(__tstate);
30922 if (PyErr_Occurred()) SWIG_fail;
30923 }
30924 resultobj = result;
30925 return resultobj;
30926 fail:
30927 return NULL;
30928 }
30929
30930
30931 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30932 PyObject *resultobj;
30933 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30934 wxVisualAttributes result;
30935 PyObject * obj0 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "variant", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30941 if (obj0) {
30942 {
30943 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30944 if (SWIG_arg_fail(1)) SWIG_fail;
30945 }
30946 }
30947 {
30948 if (!wxPyCheckForApp()) SWIG_fail;
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 wxVisualAttributes * resultptr;
30957 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30959 }
30960 return resultobj;
30961 fail:
30962 return NULL;
30963 }
30964
30965
30966 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30967 PyObject *obj;
30968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30970 Py_INCREF(obj);
30971 return Py_BuildValue((char *)"");
30972 }
30973 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30974 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30975 return 1;
30976 }
30977
30978
30979 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30980 PyObject *pyobj;
30981
30982 {
30983 #if wxUSE_UNICODE
30984 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30985 #else
30986 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30987 #endif
30988 }
30989 return pyobj;
30990 }
30991
30992
30993 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj;
30995 wxWindow *arg1 = (wxWindow *) 0 ;
30996 int arg2 = (int) (int)-1 ;
30997 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30998 wxString *arg3 = (wxString *) &arg3_defvalue ;
30999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31001 wxSize const &arg5_defvalue = wxDefaultSize ;
31002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31003 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31004 wxString const &arg7_defvalue = wxPyEmptyString ;
31005 wxString *arg7 = (wxString *) &arg7_defvalue ;
31006 int arg8 = (int) 0 ;
31007 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31008 wxString *arg9 = (wxString *) &arg9_defvalue ;
31009 wxGenericDirCtrl *result;
31010 bool temp3 = false ;
31011 wxPoint temp4 ;
31012 wxSize temp5 ;
31013 bool temp7 = false ;
31014 bool temp9 = false ;
31015 PyObject * obj0 = 0 ;
31016 PyObject * obj1 = 0 ;
31017 PyObject * obj2 = 0 ;
31018 PyObject * obj3 = 0 ;
31019 PyObject * obj4 = 0 ;
31020 PyObject * obj5 = 0 ;
31021 PyObject * obj6 = 0 ;
31022 PyObject * obj7 = 0 ;
31023 PyObject * obj8 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail;
31031 if (obj1) {
31032 {
31033 arg2 = (int const)(SWIG_As_int(obj1));
31034 if (SWIG_arg_fail(2)) SWIG_fail;
31035 }
31036 }
31037 if (obj2) {
31038 {
31039 arg3 = wxString_in_helper(obj2);
31040 if (arg3 == NULL) SWIG_fail;
31041 temp3 = true;
31042 }
31043 }
31044 if (obj3) {
31045 {
31046 arg4 = &temp4;
31047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31048 }
31049 }
31050 if (obj4) {
31051 {
31052 arg5 = &temp5;
31053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31054 }
31055 }
31056 if (obj5) {
31057 {
31058 arg6 = (long)(SWIG_As_long(obj5));
31059 if (SWIG_arg_fail(6)) SWIG_fail;
31060 }
31061 }
31062 if (obj6) {
31063 {
31064 arg7 = wxString_in_helper(obj6);
31065 if (arg7 == NULL) SWIG_fail;
31066 temp7 = true;
31067 }
31068 }
31069 if (obj7) {
31070 {
31071 arg8 = (int)(SWIG_As_int(obj7));
31072 if (SWIG_arg_fail(8)) SWIG_fail;
31073 }
31074 }
31075 if (obj8) {
31076 {
31077 arg9 = wxString_in_helper(obj8);
31078 if (arg9 == NULL) SWIG_fail;
31079 temp9 = true;
31080 }
31081 }
31082 {
31083 if (!wxPyCheckForApp()) SWIG_fail;
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31086
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31091 {
31092 if (temp3)
31093 delete arg3;
31094 }
31095 {
31096 if (temp7)
31097 delete arg7;
31098 }
31099 {
31100 if (temp9)
31101 delete arg9;
31102 }
31103 return resultobj;
31104 fail:
31105 {
31106 if (temp3)
31107 delete arg3;
31108 }
31109 {
31110 if (temp7)
31111 delete arg7;
31112 }
31113 {
31114 if (temp9)
31115 delete arg9;
31116 }
31117 return NULL;
31118 }
31119
31120
31121 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31122 PyObject *resultobj;
31123 wxGenericDirCtrl *result;
31124 char *kwnames[] = {
31125 NULL
31126 };
31127
31128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31129 {
31130 if (!wxPyCheckForApp()) SWIG_fail;
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31133
31134 wxPyEndAllowThreads(__tstate);
31135 if (PyErr_Occurred()) SWIG_fail;
31136 }
31137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31138 return resultobj;
31139 fail:
31140 return NULL;
31141 }
31142
31143
31144 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31145 PyObject *resultobj;
31146 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31147 wxWindow *arg2 = (wxWindow *) 0 ;
31148 int arg3 = (int) (int)-1 ;
31149 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31150 wxString *arg4 = (wxString *) &arg4_defvalue ;
31151 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31152 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31153 wxSize const &arg6_defvalue = wxDefaultSize ;
31154 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31155 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31156 wxString const &arg8_defvalue = wxPyEmptyString ;
31157 wxString *arg8 = (wxString *) &arg8_defvalue ;
31158 int arg9 = (int) 0 ;
31159 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31160 wxString *arg10 = (wxString *) &arg10_defvalue ;
31161 bool result;
31162 bool temp4 = false ;
31163 wxPoint temp5 ;
31164 wxSize temp6 ;
31165 bool temp8 = false ;
31166 bool temp10 = false ;
31167 PyObject * obj0 = 0 ;
31168 PyObject * obj1 = 0 ;
31169 PyObject * obj2 = 0 ;
31170 PyObject * obj3 = 0 ;
31171 PyObject * obj4 = 0 ;
31172 PyObject * obj5 = 0 ;
31173 PyObject * obj6 = 0 ;
31174 PyObject * obj7 = 0 ;
31175 PyObject * obj8 = 0 ;
31176 PyObject * obj9 = 0 ;
31177 char *kwnames[] = {
31178 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31179 };
31180
31181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31183 if (SWIG_arg_fail(1)) SWIG_fail;
31184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31185 if (SWIG_arg_fail(2)) SWIG_fail;
31186 if (obj2) {
31187 {
31188 arg3 = (int const)(SWIG_As_int(obj2));
31189 if (SWIG_arg_fail(3)) SWIG_fail;
31190 }
31191 }
31192 if (obj3) {
31193 {
31194 arg4 = wxString_in_helper(obj3);
31195 if (arg4 == NULL) SWIG_fail;
31196 temp4 = true;
31197 }
31198 }
31199 if (obj4) {
31200 {
31201 arg5 = &temp5;
31202 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31203 }
31204 }
31205 if (obj5) {
31206 {
31207 arg6 = &temp6;
31208 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31209 }
31210 }
31211 if (obj6) {
31212 {
31213 arg7 = (long)(SWIG_As_long(obj6));
31214 if (SWIG_arg_fail(7)) SWIG_fail;
31215 }
31216 }
31217 if (obj7) {
31218 {
31219 arg8 = wxString_in_helper(obj7);
31220 if (arg8 == NULL) SWIG_fail;
31221 temp8 = true;
31222 }
31223 }
31224 if (obj8) {
31225 {
31226 arg9 = (int)(SWIG_As_int(obj8));
31227 if (SWIG_arg_fail(9)) SWIG_fail;
31228 }
31229 }
31230 if (obj9) {
31231 {
31232 arg10 = wxString_in_helper(obj9);
31233 if (arg10 == NULL) SWIG_fail;
31234 temp10 = true;
31235 }
31236 }
31237 {
31238 PyThreadState* __tstate = wxPyBeginAllowThreads();
31239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31240
31241 wxPyEndAllowThreads(__tstate);
31242 if (PyErr_Occurred()) SWIG_fail;
31243 }
31244 {
31245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31246 }
31247 {
31248 if (temp4)
31249 delete arg4;
31250 }
31251 {
31252 if (temp8)
31253 delete arg8;
31254 }
31255 {
31256 if (temp10)
31257 delete arg10;
31258 }
31259 return resultobj;
31260 fail:
31261 {
31262 if (temp4)
31263 delete arg4;
31264 }
31265 {
31266 if (temp8)
31267 delete arg8;
31268 }
31269 {
31270 if (temp10)
31271 delete arg10;
31272 }
31273 return NULL;
31274 }
31275
31276
31277 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31278 PyObject *resultobj;
31279 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31280 wxString *arg2 = 0 ;
31281 bool result;
31282 bool temp2 = false ;
31283 PyObject * obj0 = 0 ;
31284 PyObject * obj1 = 0 ;
31285 char *kwnames[] = {
31286 (char *) "self",(char *) "path", NULL
31287 };
31288
31289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31291 if (SWIG_arg_fail(1)) SWIG_fail;
31292 {
31293 arg2 = wxString_in_helper(obj1);
31294 if (arg2 == NULL) SWIG_fail;
31295 temp2 = true;
31296 }
31297 {
31298 PyThreadState* __tstate = wxPyBeginAllowThreads();
31299 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31300
31301 wxPyEndAllowThreads(__tstate);
31302 if (PyErr_Occurred()) SWIG_fail;
31303 }
31304 {
31305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31306 }
31307 {
31308 if (temp2)
31309 delete arg2;
31310 }
31311 return resultobj;
31312 fail:
31313 {
31314 if (temp2)
31315 delete arg2;
31316 }
31317 return NULL;
31318 }
31319
31320
31321 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31322 PyObject *resultobj;
31323 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31324 wxString result;
31325 PyObject * obj0 = 0 ;
31326 char *kwnames[] = {
31327 (char *) "self", NULL
31328 };
31329
31330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31332 if (SWIG_arg_fail(1)) SWIG_fail;
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31336
31337 wxPyEndAllowThreads(__tstate);
31338 if (PyErr_Occurred()) SWIG_fail;
31339 }
31340 {
31341 #if wxUSE_UNICODE
31342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31343 #else
31344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31345 #endif
31346 }
31347 return resultobj;
31348 fail:
31349 return NULL;
31350 }
31351
31352
31353 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31354 PyObject *resultobj;
31355 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31356 wxString *arg2 = 0 ;
31357 bool temp2 = false ;
31358 PyObject * obj0 = 0 ;
31359 PyObject * obj1 = 0 ;
31360 char *kwnames[] = {
31361 (char *) "self",(char *) "path", NULL
31362 };
31363
31364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31366 if (SWIG_arg_fail(1)) SWIG_fail;
31367 {
31368 arg2 = wxString_in_helper(obj1);
31369 if (arg2 == NULL) SWIG_fail;
31370 temp2 = true;
31371 }
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 (arg1)->SetDefaultPath((wxString const &)*arg2);
31375
31376 wxPyEndAllowThreads(__tstate);
31377 if (PyErr_Occurred()) SWIG_fail;
31378 }
31379 Py_INCREF(Py_None); resultobj = Py_None;
31380 {
31381 if (temp2)
31382 delete arg2;
31383 }
31384 return resultobj;
31385 fail:
31386 {
31387 if (temp2)
31388 delete arg2;
31389 }
31390 return NULL;
31391 }
31392
31393
31394 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31395 PyObject *resultobj;
31396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31397 wxString result;
31398 PyObject * obj0 = 0 ;
31399 char *kwnames[] = {
31400 (char *) "self", NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail;
31406 {
31407 PyThreadState* __tstate = wxPyBeginAllowThreads();
31408 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31409
31410 wxPyEndAllowThreads(__tstate);
31411 if (PyErr_Occurred()) SWIG_fail;
31412 }
31413 {
31414 #if wxUSE_UNICODE
31415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31416 #else
31417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31418 #endif
31419 }
31420 return resultobj;
31421 fail:
31422 return NULL;
31423 }
31424
31425
31426 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31427 PyObject *resultobj;
31428 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31429 wxString result;
31430 PyObject * obj0 = 0 ;
31431 char *kwnames[] = {
31432 (char *) "self", NULL
31433 };
31434
31435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31437 if (SWIG_arg_fail(1)) SWIG_fail;
31438 {
31439 PyThreadState* __tstate = wxPyBeginAllowThreads();
31440 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31441
31442 wxPyEndAllowThreads(__tstate);
31443 if (PyErr_Occurred()) SWIG_fail;
31444 }
31445 {
31446 #if wxUSE_UNICODE
31447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31448 #else
31449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31450 #endif
31451 }
31452 return resultobj;
31453 fail:
31454 return NULL;
31455 }
31456
31457
31458 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31459 PyObject *resultobj;
31460 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31461 wxString *arg2 = 0 ;
31462 bool temp2 = false ;
31463 PyObject * obj0 = 0 ;
31464 PyObject * obj1 = 0 ;
31465 char *kwnames[] = {
31466 (char *) "self",(char *) "path", NULL
31467 };
31468
31469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31471 if (SWIG_arg_fail(1)) SWIG_fail;
31472 {
31473 arg2 = wxString_in_helper(obj1);
31474 if (arg2 == NULL) SWIG_fail;
31475 temp2 = true;
31476 }
31477 {
31478 PyThreadState* __tstate = wxPyBeginAllowThreads();
31479 (arg1)->SetPath((wxString const &)*arg2);
31480
31481 wxPyEndAllowThreads(__tstate);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 }
31484 Py_INCREF(Py_None); resultobj = Py_None;
31485 {
31486 if (temp2)
31487 delete arg2;
31488 }
31489 return resultobj;
31490 fail:
31491 {
31492 if (temp2)
31493 delete arg2;
31494 }
31495 return NULL;
31496 }
31497
31498
31499 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31500 PyObject *resultobj;
31501 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31502 bool arg2 ;
31503 PyObject * obj0 = 0 ;
31504 PyObject * obj1 = 0 ;
31505 char *kwnames[] = {
31506 (char *) "self",(char *) "show", NULL
31507 };
31508
31509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail;
31512 {
31513 arg2 = (bool)(SWIG_As_bool(obj1));
31514 if (SWIG_arg_fail(2)) SWIG_fail;
31515 }
31516 {
31517 PyThreadState* __tstate = wxPyBeginAllowThreads();
31518 (arg1)->ShowHidden(arg2);
31519
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
31523 Py_INCREF(Py_None); resultobj = Py_None;
31524 return resultobj;
31525 fail:
31526 return NULL;
31527 }
31528
31529
31530 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31531 PyObject *resultobj;
31532 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31533 bool result;
31534 PyObject * obj0 = 0 ;
31535 char *kwnames[] = {
31536 (char *) "self", NULL
31537 };
31538
31539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail;
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 result = (bool)(arg1)->GetShowHidden();
31545
31546 wxPyEndAllowThreads(__tstate);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
31549 {
31550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31551 }
31552 return resultobj;
31553 fail:
31554 return NULL;
31555 }
31556
31557
31558 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31559 PyObject *resultobj;
31560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31561 wxString result;
31562 PyObject * obj0 = 0 ;
31563 char *kwnames[] = {
31564 (char *) "self", NULL
31565 };
31566
31567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31569 if (SWIG_arg_fail(1)) SWIG_fail;
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31573
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 {
31578 #if wxUSE_UNICODE
31579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31580 #else
31581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31582 #endif
31583 }
31584 return resultobj;
31585 fail:
31586 return NULL;
31587 }
31588
31589
31590 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31591 PyObject *resultobj;
31592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31593 wxString *arg2 = 0 ;
31594 bool temp2 = false ;
31595 PyObject * obj0 = 0 ;
31596 PyObject * obj1 = 0 ;
31597 char *kwnames[] = {
31598 (char *) "self",(char *) "filter", NULL
31599 };
31600
31601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail;
31604 {
31605 arg2 = wxString_in_helper(obj1);
31606 if (arg2 == NULL) SWIG_fail;
31607 temp2 = true;
31608 }
31609 {
31610 PyThreadState* __tstate = wxPyBeginAllowThreads();
31611 (arg1)->SetFilter((wxString const &)*arg2);
31612
31613 wxPyEndAllowThreads(__tstate);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 }
31616 Py_INCREF(Py_None); resultobj = Py_None;
31617 {
31618 if (temp2)
31619 delete arg2;
31620 }
31621 return resultobj;
31622 fail:
31623 {
31624 if (temp2)
31625 delete arg2;
31626 }
31627 return NULL;
31628 }
31629
31630
31631 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31632 PyObject *resultobj;
31633 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31634 int result;
31635 PyObject * obj0 = 0 ;
31636 char *kwnames[] = {
31637 (char *) "self", NULL
31638 };
31639
31640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail;
31643 {
31644 PyThreadState* __tstate = wxPyBeginAllowThreads();
31645 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31646
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
31650 {
31651 resultobj = SWIG_From_int((int)(result));
31652 }
31653 return resultobj;
31654 fail:
31655 return NULL;
31656 }
31657
31658
31659 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31660 PyObject *resultobj;
31661 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31662 int arg2 ;
31663 PyObject * obj0 = 0 ;
31664 PyObject * obj1 = 0 ;
31665 char *kwnames[] = {
31666 (char *) "self",(char *) "n", NULL
31667 };
31668
31669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail;
31672 {
31673 arg2 = (int)(SWIG_As_int(obj1));
31674 if (SWIG_arg_fail(2)) SWIG_fail;
31675 }
31676 {
31677 PyThreadState* __tstate = wxPyBeginAllowThreads();
31678 (arg1)->SetFilterIndex(arg2);
31679
31680 wxPyEndAllowThreads(__tstate);
31681 if (PyErr_Occurred()) SWIG_fail;
31682 }
31683 Py_INCREF(Py_None); resultobj = Py_None;
31684 return resultobj;
31685 fail:
31686 return NULL;
31687 }
31688
31689
31690 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31691 PyObject *resultobj;
31692 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31693 wxTreeItemId result;
31694 PyObject * obj0 = 0 ;
31695 char *kwnames[] = {
31696 (char *) "self", NULL
31697 };
31698
31699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31701 if (SWIG_arg_fail(1)) SWIG_fail;
31702 {
31703 PyThreadState* __tstate = wxPyBeginAllowThreads();
31704 result = (arg1)->GetRootId();
31705
31706 wxPyEndAllowThreads(__tstate);
31707 if (PyErr_Occurred()) SWIG_fail;
31708 }
31709 {
31710 wxTreeItemId * resultptr;
31711 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31713 }
31714 return resultobj;
31715 fail:
31716 return NULL;
31717 }
31718
31719
31720 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31721 PyObject *resultobj;
31722 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31723 wxPyTreeCtrl *result;
31724 PyObject * obj0 = 0 ;
31725 char *kwnames[] = {
31726 (char *) "self", NULL
31727 };
31728
31729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31731 if (SWIG_arg_fail(1)) SWIG_fail;
31732 {
31733 PyThreadState* __tstate = wxPyBeginAllowThreads();
31734 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31735
31736 wxPyEndAllowThreads(__tstate);
31737 if (PyErr_Occurred()) SWIG_fail;
31738 }
31739 {
31740 resultobj = wxPyMake_wxObject(result, 0);
31741 }
31742 return resultobj;
31743 fail:
31744 return NULL;
31745 }
31746
31747
31748 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31749 PyObject *resultobj;
31750 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31751 wxDirFilterListCtrl *result;
31752 PyObject * obj0 = 0 ;
31753 char *kwnames[] = {
31754 (char *) "self", NULL
31755 };
31756
31757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail;
31760 {
31761 PyThreadState* __tstate = wxPyBeginAllowThreads();
31762 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31763
31764 wxPyEndAllowThreads(__tstate);
31765 if (PyErr_Occurred()) SWIG_fail;
31766 }
31767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31768 return resultobj;
31769 fail:
31770 return NULL;
31771 }
31772
31773
31774 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31775 PyObject *resultobj;
31776 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31777 wxTreeItemId arg2 ;
31778 wxString *arg3 = 0 ;
31779 bool *arg4 = 0 ;
31780 wxTreeItemId result;
31781 bool temp3 = false ;
31782 bool temp4 ;
31783 int res4 = 0 ;
31784 PyObject * obj0 = 0 ;
31785 PyObject * obj1 = 0 ;
31786 PyObject * obj2 = 0 ;
31787 char *kwnames[] = {
31788 (char *) "self",(char *) "parentId",(char *) "path", NULL
31789 };
31790
31791 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail;
31795 {
31796 wxTreeItemId * argp;
31797 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31798 if (SWIG_arg_fail(2)) SWIG_fail;
31799 if (argp == NULL) {
31800 SWIG_null_ref("wxTreeItemId");
31801 }
31802 if (SWIG_arg_fail(2)) SWIG_fail;
31803 arg2 = *argp;
31804 }
31805 {
31806 arg3 = wxString_in_helper(obj2);
31807 if (arg3 == NULL) SWIG_fail;
31808 temp3 = true;
31809 }
31810 {
31811 PyThreadState* __tstate = wxPyBeginAllowThreads();
31812 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31813
31814 wxPyEndAllowThreads(__tstate);
31815 if (PyErr_Occurred()) SWIG_fail;
31816 }
31817 {
31818 wxTreeItemId * resultptr;
31819 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31821 }
31822 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31823 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31824 {
31825 if (temp3)
31826 delete arg3;
31827 }
31828 return resultobj;
31829 fail:
31830 {
31831 if (temp3)
31832 delete arg3;
31833 }
31834 return NULL;
31835 }
31836
31837
31838 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31839 PyObject *resultobj;
31840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31841 PyObject * obj0 = 0 ;
31842 char *kwnames[] = {
31843 (char *) "self", NULL
31844 };
31845
31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail;
31849 {
31850 PyThreadState* __tstate = wxPyBeginAllowThreads();
31851 (arg1)->DoResize();
31852
31853 wxPyEndAllowThreads(__tstate);
31854 if (PyErr_Occurred()) SWIG_fail;
31855 }
31856 Py_INCREF(Py_None); resultobj = Py_None;
31857 return resultobj;
31858 fail:
31859 return NULL;
31860 }
31861
31862
31863 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31864 PyObject *resultobj;
31865 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31866 PyObject * obj0 = 0 ;
31867 char *kwnames[] = {
31868 (char *) "self", NULL
31869 };
31870
31871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail;
31874 {
31875 PyThreadState* __tstate = wxPyBeginAllowThreads();
31876 (arg1)->ReCreateTree();
31877
31878 wxPyEndAllowThreads(__tstate);
31879 if (PyErr_Occurred()) SWIG_fail;
31880 }
31881 Py_INCREF(Py_None); resultobj = Py_None;
31882 return resultobj;
31883 fail:
31884 return NULL;
31885 }
31886
31887
31888 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31889 PyObject *obj;
31890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31891 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31892 Py_INCREF(obj);
31893 return Py_BuildValue((char *)"");
31894 }
31895 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31896 PyObject *resultobj;
31897 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31898 int arg2 = (int) (int)-1 ;
31899 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31900 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31901 wxSize const &arg4_defvalue = wxDefaultSize ;
31902 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31903 long arg5 = (long) 0 ;
31904 wxDirFilterListCtrl *result;
31905 wxPoint temp3 ;
31906 wxSize temp4 ;
31907 PyObject * obj0 = 0 ;
31908 PyObject * obj1 = 0 ;
31909 PyObject * obj2 = 0 ;
31910 PyObject * obj3 = 0 ;
31911 PyObject * obj4 = 0 ;
31912 char *kwnames[] = {
31913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31914 };
31915
31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail;
31919 if (obj1) {
31920 {
31921 arg2 = (int const)(SWIG_As_int(obj1));
31922 if (SWIG_arg_fail(2)) SWIG_fail;
31923 }
31924 }
31925 if (obj2) {
31926 {
31927 arg3 = &temp3;
31928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31929 }
31930 }
31931 if (obj3) {
31932 {
31933 arg4 = &temp4;
31934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31935 }
31936 }
31937 if (obj4) {
31938 {
31939 arg5 = (long)(SWIG_As_long(obj4));
31940 if (SWIG_arg_fail(5)) SWIG_fail;
31941 }
31942 }
31943 {
31944 if (!wxPyCheckForApp()) SWIG_fail;
31945 PyThreadState* __tstate = wxPyBeginAllowThreads();
31946 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31947
31948 wxPyEndAllowThreads(__tstate);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 }
31951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31952 return resultobj;
31953 fail:
31954 return NULL;
31955 }
31956
31957
31958 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj;
31960 wxDirFilterListCtrl *result;
31961 char *kwnames[] = {
31962 NULL
31963 };
31964
31965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31966 {
31967 if (!wxPyCheckForApp()) SWIG_fail;
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31970
31971 wxPyEndAllowThreads(__tstate);
31972 if (PyErr_Occurred()) SWIG_fail;
31973 }
31974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31975 return resultobj;
31976 fail:
31977 return NULL;
31978 }
31979
31980
31981 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31982 PyObject *resultobj;
31983 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31984 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31985 int arg3 = (int) (int)-1 ;
31986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31988 wxSize const &arg5_defvalue = wxDefaultSize ;
31989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31990 long arg6 = (long) 0 ;
31991 bool result;
31992 wxPoint temp4 ;
31993 wxSize temp5 ;
31994 PyObject * obj0 = 0 ;
31995 PyObject * obj1 = 0 ;
31996 PyObject * obj2 = 0 ;
31997 PyObject * obj3 = 0 ;
31998 PyObject * obj4 = 0 ;
31999 PyObject * obj5 = 0 ;
32000 char *kwnames[] = {
32001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32002 };
32003
32004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32006 if (SWIG_arg_fail(1)) SWIG_fail;
32007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32008 if (SWIG_arg_fail(2)) SWIG_fail;
32009 if (obj2) {
32010 {
32011 arg3 = (int const)(SWIG_As_int(obj2));
32012 if (SWIG_arg_fail(3)) SWIG_fail;
32013 }
32014 }
32015 if (obj3) {
32016 {
32017 arg4 = &temp4;
32018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32019 }
32020 }
32021 if (obj4) {
32022 {
32023 arg5 = &temp5;
32024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32025 }
32026 }
32027 if (obj5) {
32028 {
32029 arg6 = (long)(SWIG_As_long(obj5));
32030 if (SWIG_arg_fail(6)) SWIG_fail;
32031 }
32032 }
32033 {
32034 PyThreadState* __tstate = wxPyBeginAllowThreads();
32035 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32036
32037 wxPyEndAllowThreads(__tstate);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 }
32040 {
32041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32042 }
32043 return resultobj;
32044 fail:
32045 return NULL;
32046 }
32047
32048
32049 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32050 PyObject *resultobj;
32051 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32052 wxString *arg2 = 0 ;
32053 int arg3 ;
32054 bool temp2 = false ;
32055 PyObject * obj0 = 0 ;
32056 PyObject * obj1 = 0 ;
32057 PyObject * obj2 = 0 ;
32058 char *kwnames[] = {
32059 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32060 };
32061
32062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail;
32065 {
32066 arg2 = wxString_in_helper(obj1);
32067 if (arg2 == NULL) SWIG_fail;
32068 temp2 = true;
32069 }
32070 {
32071 arg3 = (int)(SWIG_As_int(obj2));
32072 if (SWIG_arg_fail(3)) SWIG_fail;
32073 }
32074 {
32075 PyThreadState* __tstate = wxPyBeginAllowThreads();
32076 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32077
32078 wxPyEndAllowThreads(__tstate);
32079 if (PyErr_Occurred()) SWIG_fail;
32080 }
32081 Py_INCREF(Py_None); resultobj = Py_None;
32082 {
32083 if (temp2)
32084 delete arg2;
32085 }
32086 return resultobj;
32087 fail:
32088 {
32089 if (temp2)
32090 delete arg2;
32091 }
32092 return NULL;
32093 }
32094
32095
32096 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32097 PyObject *obj;
32098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32099 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32100 Py_INCREF(obj);
32101 return Py_BuildValue((char *)"");
32102 }
32103 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32104 PyObject *resultobj;
32105 wxWindow *arg1 = (wxWindow *) 0 ;
32106 int arg2 = (int) (int)-1 ;
32107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32109 wxSize const &arg4_defvalue = wxDefaultSize ;
32110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32111 long arg5 = (long) 0 ;
32112 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32113 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32114 wxString const &arg7_defvalue = wxPyControlNameStr ;
32115 wxString *arg7 = (wxString *) &arg7_defvalue ;
32116 wxPyControl *result;
32117 wxPoint temp3 ;
32118 wxSize temp4 ;
32119 bool temp7 = false ;
32120 PyObject * obj0 = 0 ;
32121 PyObject * obj1 = 0 ;
32122 PyObject * obj2 = 0 ;
32123 PyObject * obj3 = 0 ;
32124 PyObject * obj4 = 0 ;
32125 PyObject * obj5 = 0 ;
32126 PyObject * obj6 = 0 ;
32127 char *kwnames[] = {
32128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32129 };
32130
32131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32133 if (SWIG_arg_fail(1)) SWIG_fail;
32134 if (obj1) {
32135 {
32136 arg2 = (int const)(SWIG_As_int(obj1));
32137 if (SWIG_arg_fail(2)) SWIG_fail;
32138 }
32139 }
32140 if (obj2) {
32141 {
32142 arg3 = &temp3;
32143 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32144 }
32145 }
32146 if (obj3) {
32147 {
32148 arg4 = &temp4;
32149 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32150 }
32151 }
32152 if (obj4) {
32153 {
32154 arg5 = (long)(SWIG_As_long(obj4));
32155 if (SWIG_arg_fail(5)) SWIG_fail;
32156 }
32157 }
32158 if (obj5) {
32159 {
32160 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32161 if (SWIG_arg_fail(6)) SWIG_fail;
32162 if (arg6 == NULL) {
32163 SWIG_null_ref("wxValidator");
32164 }
32165 if (SWIG_arg_fail(6)) SWIG_fail;
32166 }
32167 }
32168 if (obj6) {
32169 {
32170 arg7 = wxString_in_helper(obj6);
32171 if (arg7 == NULL) SWIG_fail;
32172 temp7 = true;
32173 }
32174 }
32175 {
32176 if (!wxPyCheckForApp()) SWIG_fail;
32177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32178 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32179
32180 wxPyEndAllowThreads(__tstate);
32181 if (PyErr_Occurred()) SWIG_fail;
32182 }
32183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32184 {
32185 if (temp7)
32186 delete arg7;
32187 }
32188 return resultobj;
32189 fail:
32190 {
32191 if (temp7)
32192 delete arg7;
32193 }
32194 return NULL;
32195 }
32196
32197
32198 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32199 PyObject *resultobj;
32200 wxPyControl *result;
32201 char *kwnames[] = {
32202 NULL
32203 };
32204
32205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32206 {
32207 if (!wxPyCheckForApp()) SWIG_fail;
32208 PyThreadState* __tstate = wxPyBeginAllowThreads();
32209 result = (wxPyControl *)new wxPyControl();
32210
32211 wxPyEndAllowThreads(__tstate);
32212 if (PyErr_Occurred()) SWIG_fail;
32213 }
32214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32215 return resultobj;
32216 fail:
32217 return NULL;
32218 }
32219
32220
32221 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32222 PyObject *resultobj;
32223 wxPyControl *arg1 = (wxPyControl *) 0 ;
32224 PyObject *arg2 = (PyObject *) 0 ;
32225 PyObject *arg3 = (PyObject *) 0 ;
32226 PyObject * obj0 = 0 ;
32227 PyObject * obj1 = 0 ;
32228 PyObject * obj2 = 0 ;
32229 char *kwnames[] = {
32230 (char *) "self",(char *) "self",(char *) "_class", NULL
32231 };
32232
32233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32235 if (SWIG_arg_fail(1)) SWIG_fail;
32236 arg2 = obj1;
32237 arg3 = obj2;
32238 {
32239 PyThreadState* __tstate = wxPyBeginAllowThreads();
32240 (arg1)->_setCallbackInfo(arg2,arg3);
32241
32242 wxPyEndAllowThreads(__tstate);
32243 if (PyErr_Occurred()) SWIG_fail;
32244 }
32245 Py_INCREF(Py_None); resultobj = Py_None;
32246 return resultobj;
32247 fail:
32248 return NULL;
32249 }
32250
32251
32252 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32253 PyObject *resultobj;
32254 wxPyControl *arg1 = (wxPyControl *) 0 ;
32255 wxSize *arg2 = 0 ;
32256 wxSize temp2 ;
32257 PyObject * obj0 = 0 ;
32258 PyObject * obj1 = 0 ;
32259 char *kwnames[] = {
32260 (char *) "self",(char *) "size", NULL
32261 };
32262
32263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32265 if (SWIG_arg_fail(1)) SWIG_fail;
32266 {
32267 arg2 = &temp2;
32268 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32269 }
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 (arg1)->SetBestSize((wxSize const &)*arg2);
32273
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 Py_INCREF(Py_None); resultobj = Py_None;
32278 return resultobj;
32279 fail:
32280 return NULL;
32281 }
32282
32283
32284 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32285 PyObject *resultobj;
32286 wxPyControl *arg1 = (wxPyControl *) 0 ;
32287 int arg2 ;
32288 int arg3 ;
32289 int arg4 ;
32290 int arg5 ;
32291 PyObject * obj0 = 0 ;
32292 PyObject * obj1 = 0 ;
32293 PyObject * obj2 = 0 ;
32294 PyObject * obj3 = 0 ;
32295 PyObject * obj4 = 0 ;
32296 char *kwnames[] = {
32297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32298 };
32299
32300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32302 if (SWIG_arg_fail(1)) SWIG_fail;
32303 {
32304 arg2 = (int)(SWIG_As_int(obj1));
32305 if (SWIG_arg_fail(2)) SWIG_fail;
32306 }
32307 {
32308 arg3 = (int)(SWIG_As_int(obj2));
32309 if (SWIG_arg_fail(3)) SWIG_fail;
32310 }
32311 {
32312 arg4 = (int)(SWIG_As_int(obj3));
32313 if (SWIG_arg_fail(4)) SWIG_fail;
32314 }
32315 {
32316 arg5 = (int)(SWIG_As_int(obj4));
32317 if (SWIG_arg_fail(5)) SWIG_fail;
32318 }
32319 {
32320 PyThreadState* __tstate = wxPyBeginAllowThreads();
32321 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32322
32323 wxPyEndAllowThreads(__tstate);
32324 if (PyErr_Occurred()) SWIG_fail;
32325 }
32326 Py_INCREF(Py_None); resultobj = Py_None;
32327 return resultobj;
32328 fail:
32329 return NULL;
32330 }
32331
32332
32333 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32334 PyObject *resultobj;
32335 wxPyControl *arg1 = (wxPyControl *) 0 ;
32336 int arg2 ;
32337 int arg3 ;
32338 int arg4 ;
32339 int arg5 ;
32340 int arg6 = (int) wxSIZE_AUTO ;
32341 PyObject * obj0 = 0 ;
32342 PyObject * obj1 = 0 ;
32343 PyObject * obj2 = 0 ;
32344 PyObject * obj3 = 0 ;
32345 PyObject * obj4 = 0 ;
32346 PyObject * obj5 = 0 ;
32347 char *kwnames[] = {
32348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32349 };
32350
32351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32353 if (SWIG_arg_fail(1)) SWIG_fail;
32354 {
32355 arg2 = (int)(SWIG_As_int(obj1));
32356 if (SWIG_arg_fail(2)) SWIG_fail;
32357 }
32358 {
32359 arg3 = (int)(SWIG_As_int(obj2));
32360 if (SWIG_arg_fail(3)) SWIG_fail;
32361 }
32362 {
32363 arg4 = (int)(SWIG_As_int(obj3));
32364 if (SWIG_arg_fail(4)) SWIG_fail;
32365 }
32366 {
32367 arg5 = (int)(SWIG_As_int(obj4));
32368 if (SWIG_arg_fail(5)) SWIG_fail;
32369 }
32370 if (obj5) {
32371 {
32372 arg6 = (int)(SWIG_As_int(obj5));
32373 if (SWIG_arg_fail(6)) SWIG_fail;
32374 }
32375 }
32376 {
32377 PyThreadState* __tstate = wxPyBeginAllowThreads();
32378 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32379
32380 wxPyEndAllowThreads(__tstate);
32381 if (PyErr_Occurred()) SWIG_fail;
32382 }
32383 Py_INCREF(Py_None); resultobj = Py_None;
32384 return resultobj;
32385 fail:
32386 return NULL;
32387 }
32388
32389
32390 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32391 PyObject *resultobj;
32392 wxPyControl *arg1 = (wxPyControl *) 0 ;
32393 int arg2 ;
32394 int arg3 ;
32395 PyObject * obj0 = 0 ;
32396 PyObject * obj1 = 0 ;
32397 PyObject * obj2 = 0 ;
32398 char *kwnames[] = {
32399 (char *) "self",(char *) "width",(char *) "height", NULL
32400 };
32401
32402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32404 if (SWIG_arg_fail(1)) SWIG_fail;
32405 {
32406 arg2 = (int)(SWIG_As_int(obj1));
32407 if (SWIG_arg_fail(2)) SWIG_fail;
32408 }
32409 {
32410 arg3 = (int)(SWIG_As_int(obj2));
32411 if (SWIG_arg_fail(3)) SWIG_fail;
32412 }
32413 {
32414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32415 (arg1)->base_DoSetClientSize(arg2,arg3);
32416
32417 wxPyEndAllowThreads(__tstate);
32418 if (PyErr_Occurred()) SWIG_fail;
32419 }
32420 Py_INCREF(Py_None); resultobj = Py_None;
32421 return resultobj;
32422 fail:
32423 return NULL;
32424 }
32425
32426
32427 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32428 PyObject *resultobj;
32429 wxPyControl *arg1 = (wxPyControl *) 0 ;
32430 int arg2 ;
32431 int arg3 ;
32432 PyObject * obj0 = 0 ;
32433 PyObject * obj1 = 0 ;
32434 PyObject * obj2 = 0 ;
32435 char *kwnames[] = {
32436 (char *) "self",(char *) "x",(char *) "y", NULL
32437 };
32438
32439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32441 if (SWIG_arg_fail(1)) SWIG_fail;
32442 {
32443 arg2 = (int)(SWIG_As_int(obj1));
32444 if (SWIG_arg_fail(2)) SWIG_fail;
32445 }
32446 {
32447 arg3 = (int)(SWIG_As_int(obj2));
32448 if (SWIG_arg_fail(3)) SWIG_fail;
32449 }
32450 {
32451 PyThreadState* __tstate = wxPyBeginAllowThreads();
32452 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32453
32454 wxPyEndAllowThreads(__tstate);
32455 if (PyErr_Occurred()) SWIG_fail;
32456 }
32457 Py_INCREF(Py_None); resultobj = Py_None;
32458 return resultobj;
32459 fail:
32460 return NULL;
32461 }
32462
32463
32464 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32465 PyObject *resultobj;
32466 wxPyControl *arg1 = (wxPyControl *) 0 ;
32467 int *arg2 = (int *) 0 ;
32468 int *arg3 = (int *) 0 ;
32469 int temp2 ;
32470 int res2 = 0 ;
32471 int temp3 ;
32472 int res3 = 0 ;
32473 PyObject * obj0 = 0 ;
32474 char *kwnames[] = {
32475 (char *) "self", NULL
32476 };
32477
32478 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32479 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32482 if (SWIG_arg_fail(1)) SWIG_fail;
32483 {
32484 PyThreadState* __tstate = wxPyBeginAllowThreads();
32485 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32486
32487 wxPyEndAllowThreads(__tstate);
32488 if (PyErr_Occurred()) SWIG_fail;
32489 }
32490 Py_INCREF(Py_None); resultobj = Py_None;
32491 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32492 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32493 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32494 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32495 return resultobj;
32496 fail:
32497 return NULL;
32498 }
32499
32500
32501 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32502 PyObject *resultobj;
32503 wxPyControl *arg1 = (wxPyControl *) 0 ;
32504 int *arg2 = (int *) 0 ;
32505 int *arg3 = (int *) 0 ;
32506 int temp2 ;
32507 int res2 = 0 ;
32508 int temp3 ;
32509 int res3 = 0 ;
32510 PyObject * obj0 = 0 ;
32511 char *kwnames[] = {
32512 (char *) "self", NULL
32513 };
32514
32515 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32516 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32519 if (SWIG_arg_fail(1)) SWIG_fail;
32520 {
32521 PyThreadState* __tstate = wxPyBeginAllowThreads();
32522 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32523
32524 wxPyEndAllowThreads(__tstate);
32525 if (PyErr_Occurred()) SWIG_fail;
32526 }
32527 Py_INCREF(Py_None); resultobj = Py_None;
32528 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32529 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32530 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32531 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32532 return resultobj;
32533 fail:
32534 return NULL;
32535 }
32536
32537
32538 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32539 PyObject *resultobj;
32540 wxPyControl *arg1 = (wxPyControl *) 0 ;
32541 int *arg2 = (int *) 0 ;
32542 int *arg3 = (int *) 0 ;
32543 int temp2 ;
32544 int res2 = 0 ;
32545 int temp3 ;
32546 int res3 = 0 ;
32547 PyObject * obj0 = 0 ;
32548 char *kwnames[] = {
32549 (char *) "self", NULL
32550 };
32551
32552 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32553 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32556 if (SWIG_arg_fail(1)) SWIG_fail;
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 Py_INCREF(Py_None); resultobj = Py_None;
32565 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32566 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32567 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32568 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32569 return resultobj;
32570 fail:
32571 return NULL;
32572 }
32573
32574
32575 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32576 PyObject *resultobj;
32577 wxPyControl *arg1 = (wxPyControl *) 0 ;
32578 wxSize result;
32579 PyObject * obj0 = 0 ;
32580 char *kwnames[] = {
32581 (char *) "self", NULL
32582 };
32583
32584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32586 if (SWIG_arg_fail(1)) SWIG_fail;
32587 {
32588 PyThreadState* __tstate = wxPyBeginAllowThreads();
32589 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32590
32591 wxPyEndAllowThreads(__tstate);
32592 if (PyErr_Occurred()) SWIG_fail;
32593 }
32594 {
32595 wxSize * resultptr;
32596 resultptr = new wxSize((wxSize &)(result));
32597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32598 }
32599 return resultobj;
32600 fail:
32601 return NULL;
32602 }
32603
32604
32605 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32606 PyObject *resultobj;
32607 wxPyControl *arg1 = (wxPyControl *) 0 ;
32608 wxSize result;
32609 PyObject * obj0 = 0 ;
32610 char *kwnames[] = {
32611 (char *) "self", NULL
32612 };
32613
32614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32616 if (SWIG_arg_fail(1)) SWIG_fail;
32617 {
32618 PyThreadState* __tstate = wxPyBeginAllowThreads();
32619 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32620
32621 wxPyEndAllowThreads(__tstate);
32622 if (PyErr_Occurred()) SWIG_fail;
32623 }
32624 {
32625 wxSize * resultptr;
32626 resultptr = new wxSize((wxSize &)(result));
32627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32628 }
32629 return resultobj;
32630 fail:
32631 return NULL;
32632 }
32633
32634
32635 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32636 PyObject *resultobj;
32637 wxPyControl *arg1 = (wxPyControl *) 0 ;
32638 PyObject * obj0 = 0 ;
32639 char *kwnames[] = {
32640 (char *) "self", NULL
32641 };
32642
32643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail;
32646 {
32647 PyThreadState* __tstate = wxPyBeginAllowThreads();
32648 (arg1)->base_InitDialog();
32649
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 Py_INCREF(Py_None); resultobj = Py_None;
32654 return resultobj;
32655 fail:
32656 return NULL;
32657 }
32658
32659
32660 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32661 PyObject *resultobj;
32662 wxPyControl *arg1 = (wxPyControl *) 0 ;
32663 bool result;
32664 PyObject * obj0 = 0 ;
32665 char *kwnames[] = {
32666 (char *) "self", NULL
32667 };
32668
32669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail;
32672 {
32673 PyThreadState* __tstate = wxPyBeginAllowThreads();
32674 result = (bool)(arg1)->base_TransferDataToWindow();
32675
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 {
32680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32681 }
32682 return resultobj;
32683 fail:
32684 return NULL;
32685 }
32686
32687
32688 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32689 PyObject *resultobj;
32690 wxPyControl *arg1 = (wxPyControl *) 0 ;
32691 bool result;
32692 PyObject * obj0 = 0 ;
32693 char *kwnames[] = {
32694 (char *) "self", NULL
32695 };
32696
32697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32699 if (SWIG_arg_fail(1)) SWIG_fail;
32700 {
32701 PyThreadState* __tstate = wxPyBeginAllowThreads();
32702 result = (bool)(arg1)->base_TransferDataFromWindow();
32703
32704 wxPyEndAllowThreads(__tstate);
32705 if (PyErr_Occurred()) SWIG_fail;
32706 }
32707 {
32708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32709 }
32710 return resultobj;
32711 fail:
32712 return NULL;
32713 }
32714
32715
32716 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32717 PyObject *resultobj;
32718 wxPyControl *arg1 = (wxPyControl *) 0 ;
32719 bool result;
32720 PyObject * obj0 = 0 ;
32721 char *kwnames[] = {
32722 (char *) "self", NULL
32723 };
32724
32725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32727 if (SWIG_arg_fail(1)) SWIG_fail;
32728 {
32729 PyThreadState* __tstate = wxPyBeginAllowThreads();
32730 result = (bool)(arg1)->base_Validate();
32731
32732 wxPyEndAllowThreads(__tstate);
32733 if (PyErr_Occurred()) SWIG_fail;
32734 }
32735 {
32736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32737 }
32738 return resultobj;
32739 fail:
32740 return NULL;
32741 }
32742
32743
32744 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32745 PyObject *resultobj;
32746 wxPyControl *arg1 = (wxPyControl *) 0 ;
32747 bool result;
32748 PyObject * obj0 = 0 ;
32749 char *kwnames[] = {
32750 (char *) "self", NULL
32751 };
32752
32753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32755 if (SWIG_arg_fail(1)) SWIG_fail;
32756 {
32757 PyThreadState* __tstate = wxPyBeginAllowThreads();
32758 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32759
32760 wxPyEndAllowThreads(__tstate);
32761 if (PyErr_Occurred()) SWIG_fail;
32762 }
32763 {
32764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32765 }
32766 return resultobj;
32767 fail:
32768 return NULL;
32769 }
32770
32771
32772 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32773 PyObject *resultobj;
32774 wxPyControl *arg1 = (wxPyControl *) 0 ;
32775 bool result;
32776 PyObject * obj0 = 0 ;
32777 char *kwnames[] = {
32778 (char *) "self", NULL
32779 };
32780
32781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32783 if (SWIG_arg_fail(1)) SWIG_fail;
32784 {
32785 PyThreadState* __tstate = wxPyBeginAllowThreads();
32786 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32787
32788 wxPyEndAllowThreads(__tstate);
32789 if (PyErr_Occurred()) SWIG_fail;
32790 }
32791 {
32792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32793 }
32794 return resultobj;
32795 fail:
32796 return NULL;
32797 }
32798
32799
32800 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32801 PyObject *resultobj;
32802 wxPyControl *arg1 = (wxPyControl *) 0 ;
32803 wxSize result;
32804 PyObject * obj0 = 0 ;
32805 char *kwnames[] = {
32806 (char *) "self", NULL
32807 };
32808
32809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32811 if (SWIG_arg_fail(1)) SWIG_fail;
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 {
32820 wxSize * resultptr;
32821 resultptr = new wxSize((wxSize &)(result));
32822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827 }
32828
32829
32830 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32831 PyObject *resultobj;
32832 wxPyControl *arg1 = (wxPyControl *) 0 ;
32833 wxWindow *arg2 = (wxWindow *) 0 ;
32834 PyObject * obj0 = 0 ;
32835 PyObject * obj1 = 0 ;
32836 char *kwnames[] = {
32837 (char *) "self",(char *) "child", NULL
32838 };
32839
32840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail;
32843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32844 if (SWIG_arg_fail(2)) SWIG_fail;
32845 {
32846 PyThreadState* __tstate = wxPyBeginAllowThreads();
32847 (arg1)->base_AddChild(arg2);
32848
32849 wxPyEndAllowThreads(__tstate);
32850 if (PyErr_Occurred()) SWIG_fail;
32851 }
32852 Py_INCREF(Py_None); resultobj = Py_None;
32853 return resultobj;
32854 fail:
32855 return NULL;
32856 }
32857
32858
32859 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32860 PyObject *resultobj;
32861 wxPyControl *arg1 = (wxPyControl *) 0 ;
32862 wxWindow *arg2 = (wxWindow *) 0 ;
32863 PyObject * obj0 = 0 ;
32864 PyObject * obj1 = 0 ;
32865 char *kwnames[] = {
32866 (char *) "self",(char *) "child", NULL
32867 };
32868
32869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32871 if (SWIG_arg_fail(1)) SWIG_fail;
32872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32873 if (SWIG_arg_fail(2)) SWIG_fail;
32874 {
32875 PyThreadState* __tstate = wxPyBeginAllowThreads();
32876 (arg1)->base_RemoveChild(arg2);
32877
32878 wxPyEndAllowThreads(__tstate);
32879 if (PyErr_Occurred()) SWIG_fail;
32880 }
32881 Py_INCREF(Py_None); resultobj = Py_None;
32882 return resultobj;
32883 fail:
32884 return NULL;
32885 }
32886
32887
32888 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32889 PyObject *resultobj;
32890 wxPyControl *arg1 = (wxPyControl *) 0 ;
32891 bool result;
32892 PyObject * obj0 = 0 ;
32893 char *kwnames[] = {
32894 (char *) "self", NULL
32895 };
32896
32897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail;
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
32902 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32903
32904 wxPyEndAllowThreads(__tstate);
32905 if (PyErr_Occurred()) SWIG_fail;
32906 }
32907 {
32908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32909 }
32910 return resultobj;
32911 fail:
32912 return NULL;
32913 }
32914
32915
32916 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32917 PyObject *resultobj;
32918 wxPyControl *arg1 = (wxPyControl *) 0 ;
32919 wxColour *arg2 = 0 ;
32920 wxColour temp2 ;
32921 PyObject * obj0 = 0 ;
32922 PyObject * obj1 = 0 ;
32923 char *kwnames[] = {
32924 (char *) "self",(char *) "c", NULL
32925 };
32926
32927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
32928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32929 if (SWIG_arg_fail(1)) SWIG_fail;
32930 {
32931 arg2 = &temp2;
32932 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32933 }
32934 {
32935 PyThreadState* __tstate = wxPyBeginAllowThreads();
32936 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32937
32938 wxPyEndAllowThreads(__tstate);
32939 if (PyErr_Occurred()) SWIG_fail;
32940 }
32941 Py_INCREF(Py_None); resultobj = Py_None;
32942 return resultobj;
32943 fail:
32944 return NULL;
32945 }
32946
32947
32948 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32949 PyObject *resultobj;
32950 wxPyControl *arg1 = (wxPyControl *) 0 ;
32951 wxVisualAttributes result;
32952 PyObject * obj0 = 0 ;
32953 char *kwnames[] = {
32954 (char *) "self", NULL
32955 };
32956
32957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail;
32960 {
32961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32962 result = (arg1)->base_GetDefaultAttributes();
32963
32964 wxPyEndAllowThreads(__tstate);
32965 if (PyErr_Occurred()) SWIG_fail;
32966 }
32967 {
32968 wxVisualAttributes * resultptr;
32969 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32971 }
32972 return resultobj;
32973 fail:
32974 return NULL;
32975 }
32976
32977
32978 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32979 PyObject *obj;
32980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32981 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32982 Py_INCREF(obj);
32983 return Py_BuildValue((char *)"");
32984 }
32985 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32986 PyObject *resultobj;
32987 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32988 int arg2 = (int) 0 ;
32989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32991 wxHelpEvent *result;
32992 wxPoint temp3 ;
32993 PyObject * obj0 = 0 ;
32994 PyObject * obj1 = 0 ;
32995 PyObject * obj2 = 0 ;
32996 char *kwnames[] = {
32997 (char *) "type",(char *) "winid",(char *) "pt", NULL
32998 };
32999
33000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33001 if (obj0) {
33002 {
33003 arg1 = (wxEventType)(SWIG_As_int(obj0));
33004 if (SWIG_arg_fail(1)) SWIG_fail;
33005 }
33006 }
33007 if (obj1) {
33008 {
33009 arg2 = (int)(SWIG_As_int(obj1));
33010 if (SWIG_arg_fail(2)) SWIG_fail;
33011 }
33012 }
33013 if (obj2) {
33014 {
33015 arg3 = &temp3;
33016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33017 }
33018 }
33019 {
33020 PyThreadState* __tstate = wxPyBeginAllowThreads();
33021 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33022
33023 wxPyEndAllowThreads(__tstate);
33024 if (PyErr_Occurred()) SWIG_fail;
33025 }
33026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33027 return resultobj;
33028 fail:
33029 return NULL;
33030 }
33031
33032
33033 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33034 PyObject *resultobj;
33035 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33036 wxPoint result;
33037 PyObject * obj0 = 0 ;
33038 char *kwnames[] = {
33039 (char *) "self", NULL
33040 };
33041
33042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33044 if (SWIG_arg_fail(1)) SWIG_fail;
33045 {
33046 PyThreadState* __tstate = wxPyBeginAllowThreads();
33047 result = ((wxHelpEvent const *)arg1)->GetPosition();
33048
33049 wxPyEndAllowThreads(__tstate);
33050 if (PyErr_Occurred()) SWIG_fail;
33051 }
33052 {
33053 wxPoint * resultptr;
33054 resultptr = new wxPoint((wxPoint const &)(result));
33055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33056 }
33057 return resultobj;
33058 fail:
33059 return NULL;
33060 }
33061
33062
33063 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33064 PyObject *resultobj;
33065 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33066 wxPoint *arg2 = 0 ;
33067 wxPoint temp2 ;
33068 PyObject * obj0 = 0 ;
33069 PyObject * obj1 = 0 ;
33070 char *kwnames[] = {
33071 (char *) "self",(char *) "pos", NULL
33072 };
33073
33074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail;
33077 {
33078 arg2 = &temp2;
33079 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33080 }
33081 {
33082 PyThreadState* __tstate = wxPyBeginAllowThreads();
33083 (arg1)->SetPosition((wxPoint const &)*arg2);
33084
33085 wxPyEndAllowThreads(__tstate);
33086 if (PyErr_Occurred()) SWIG_fail;
33087 }
33088 Py_INCREF(Py_None); resultobj = Py_None;
33089 return resultobj;
33090 fail:
33091 return NULL;
33092 }
33093
33094
33095 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33096 PyObject *resultobj;
33097 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33098 wxString *result;
33099 PyObject * obj0 = 0 ;
33100 char *kwnames[] = {
33101 (char *) "self", NULL
33102 };
33103
33104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33106 if (SWIG_arg_fail(1)) SWIG_fail;
33107 {
33108 PyThreadState* __tstate = wxPyBeginAllowThreads();
33109 {
33110 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33111 result = (wxString *) &_result_ref;
33112 }
33113
33114 wxPyEndAllowThreads(__tstate);
33115 if (PyErr_Occurred()) SWIG_fail;
33116 }
33117 {
33118 #if wxUSE_UNICODE
33119 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33120 #else
33121 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33122 #endif
33123 }
33124 return resultobj;
33125 fail:
33126 return NULL;
33127 }
33128
33129
33130 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33131 PyObject *resultobj;
33132 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33133 wxString *arg2 = 0 ;
33134 bool temp2 = false ;
33135 PyObject * obj0 = 0 ;
33136 PyObject * obj1 = 0 ;
33137 char *kwnames[] = {
33138 (char *) "self",(char *) "link", NULL
33139 };
33140
33141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33143 if (SWIG_arg_fail(1)) SWIG_fail;
33144 {
33145 arg2 = wxString_in_helper(obj1);
33146 if (arg2 == NULL) SWIG_fail;
33147 temp2 = true;
33148 }
33149 {
33150 PyThreadState* __tstate = wxPyBeginAllowThreads();
33151 (arg1)->SetLink((wxString const &)*arg2);
33152
33153 wxPyEndAllowThreads(__tstate);
33154 if (PyErr_Occurred()) SWIG_fail;
33155 }
33156 Py_INCREF(Py_None); resultobj = Py_None;
33157 {
33158 if (temp2)
33159 delete arg2;
33160 }
33161 return resultobj;
33162 fail:
33163 {
33164 if (temp2)
33165 delete arg2;
33166 }
33167 return NULL;
33168 }
33169
33170
33171 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33172 PyObject *resultobj;
33173 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33174 wxString *result;
33175 PyObject * obj0 = 0 ;
33176 char *kwnames[] = {
33177 (char *) "self", NULL
33178 };
33179
33180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33182 if (SWIG_arg_fail(1)) SWIG_fail;
33183 {
33184 PyThreadState* __tstate = wxPyBeginAllowThreads();
33185 {
33186 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33187 result = (wxString *) &_result_ref;
33188 }
33189
33190 wxPyEndAllowThreads(__tstate);
33191 if (PyErr_Occurred()) SWIG_fail;
33192 }
33193 {
33194 #if wxUSE_UNICODE
33195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33196 #else
33197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33198 #endif
33199 }
33200 return resultobj;
33201 fail:
33202 return NULL;
33203 }
33204
33205
33206 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33207 PyObject *resultobj;
33208 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33209 wxString *arg2 = 0 ;
33210 bool temp2 = false ;
33211 PyObject * obj0 = 0 ;
33212 PyObject * obj1 = 0 ;
33213 char *kwnames[] = {
33214 (char *) "self",(char *) "target", NULL
33215 };
33216
33217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33219 if (SWIG_arg_fail(1)) SWIG_fail;
33220 {
33221 arg2 = wxString_in_helper(obj1);
33222 if (arg2 == NULL) SWIG_fail;
33223 temp2 = true;
33224 }
33225 {
33226 PyThreadState* __tstate = wxPyBeginAllowThreads();
33227 (arg1)->SetTarget((wxString const &)*arg2);
33228
33229 wxPyEndAllowThreads(__tstate);
33230 if (PyErr_Occurred()) SWIG_fail;
33231 }
33232 Py_INCREF(Py_None); resultobj = Py_None;
33233 {
33234 if (temp2)
33235 delete arg2;
33236 }
33237 return resultobj;
33238 fail:
33239 {
33240 if (temp2)
33241 delete arg2;
33242 }
33243 return NULL;
33244 }
33245
33246
33247 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33248 PyObject *obj;
33249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33250 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33251 Py_INCREF(obj);
33252 return Py_BuildValue((char *)"");
33253 }
33254 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33255 PyObject *resultobj;
33256 wxWindow *arg1 = (wxWindow *) NULL ;
33257 bool arg2 = (bool) true ;
33258 wxContextHelp *result;
33259 PyObject * obj0 = 0 ;
33260 PyObject * obj1 = 0 ;
33261 char *kwnames[] = {
33262 (char *) "window",(char *) "doNow", NULL
33263 };
33264
33265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33266 if (obj0) {
33267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail;
33269 }
33270 if (obj1) {
33271 {
33272 arg2 = (bool)(SWIG_As_bool(obj1));
33273 if (SWIG_arg_fail(2)) SWIG_fail;
33274 }
33275 }
33276 {
33277 if (!wxPyCheckForApp()) SWIG_fail;
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33285 return resultobj;
33286 fail:
33287 return NULL;
33288 }
33289
33290
33291 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33292 PyObject *resultobj;
33293 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33294 PyObject * obj0 = 0 ;
33295 char *kwnames[] = {
33296 (char *) "self", NULL
33297 };
33298
33299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail;
33302 {
33303 PyThreadState* __tstate = wxPyBeginAllowThreads();
33304 delete arg1;
33305
33306 wxPyEndAllowThreads(__tstate);
33307 if (PyErr_Occurred()) SWIG_fail;
33308 }
33309 Py_INCREF(Py_None); resultobj = Py_None;
33310 return resultobj;
33311 fail:
33312 return NULL;
33313 }
33314
33315
33316 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33317 PyObject *resultobj;
33318 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33319 wxWindow *arg2 = (wxWindow *) NULL ;
33320 bool result;
33321 PyObject * obj0 = 0 ;
33322 PyObject * obj1 = 0 ;
33323 char *kwnames[] = {
33324 (char *) "self",(char *) "window", NULL
33325 };
33326
33327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail;
33330 if (obj1) {
33331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33332 if (SWIG_arg_fail(2)) SWIG_fail;
33333 }
33334 {
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 result = (bool)(arg1)->BeginContextHelp(arg2);
33337
33338 wxPyEndAllowThreads(__tstate);
33339 if (PyErr_Occurred()) SWIG_fail;
33340 }
33341 {
33342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33343 }
33344 return resultobj;
33345 fail:
33346 return NULL;
33347 }
33348
33349
33350 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33351 PyObject *resultobj;
33352 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33353 bool result;
33354 PyObject * obj0 = 0 ;
33355 char *kwnames[] = {
33356 (char *) "self", NULL
33357 };
33358
33359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33361 if (SWIG_arg_fail(1)) SWIG_fail;
33362 {
33363 PyThreadState* __tstate = wxPyBeginAllowThreads();
33364 result = (bool)(arg1)->EndContextHelp();
33365
33366 wxPyEndAllowThreads(__tstate);
33367 if (PyErr_Occurred()) SWIG_fail;
33368 }
33369 {
33370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33371 }
33372 return resultobj;
33373 fail:
33374 return NULL;
33375 }
33376
33377
33378 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33379 PyObject *obj;
33380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33381 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33382 Py_INCREF(obj);
33383 return Py_BuildValue((char *)"");
33384 }
33385 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33386 PyObject *resultobj;
33387 wxWindow *arg1 = (wxWindow *) 0 ;
33388 int arg2 = (int) wxID_CONTEXT_HELP ;
33389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33391 wxSize const &arg4_defvalue = wxDefaultSize ;
33392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33393 long arg5 = (long) wxBU_AUTODRAW ;
33394 wxContextHelpButton *result;
33395 wxPoint temp3 ;
33396 wxSize temp4 ;
33397 PyObject * obj0 = 0 ;
33398 PyObject * obj1 = 0 ;
33399 PyObject * obj2 = 0 ;
33400 PyObject * obj3 = 0 ;
33401 PyObject * obj4 = 0 ;
33402 char *kwnames[] = {
33403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33404 };
33405
33406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33408 if (SWIG_arg_fail(1)) SWIG_fail;
33409 if (obj1) {
33410 {
33411 arg2 = (int)(SWIG_As_int(obj1));
33412 if (SWIG_arg_fail(2)) SWIG_fail;
33413 }
33414 }
33415 if (obj2) {
33416 {
33417 arg3 = &temp3;
33418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33419 }
33420 }
33421 if (obj3) {
33422 {
33423 arg4 = &temp4;
33424 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33425 }
33426 }
33427 if (obj4) {
33428 {
33429 arg5 = (long)(SWIG_As_long(obj4));
33430 if (SWIG_arg_fail(5)) SWIG_fail;
33431 }
33432 }
33433 {
33434 if (!wxPyCheckForApp()) SWIG_fail;
33435 PyThreadState* __tstate = wxPyBeginAllowThreads();
33436 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33437
33438 wxPyEndAllowThreads(__tstate);
33439 if (PyErr_Occurred()) SWIG_fail;
33440 }
33441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33442 return resultobj;
33443 fail:
33444 return NULL;
33445 }
33446
33447
33448 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33449 PyObject *obj;
33450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33451 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33452 Py_INCREF(obj);
33453 return Py_BuildValue((char *)"");
33454 }
33455 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33456 PyObject *resultobj;
33457 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33458 wxHelpProvider *result;
33459 PyObject * obj0 = 0 ;
33460 char *kwnames[] = {
33461 (char *) "helpProvider", NULL
33462 };
33463
33464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33466 if (SWIG_arg_fail(1)) SWIG_fail;
33467 {
33468 PyThreadState* __tstate = wxPyBeginAllowThreads();
33469 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33470
33471 wxPyEndAllowThreads(__tstate);
33472 if (PyErr_Occurred()) SWIG_fail;
33473 }
33474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33475 return resultobj;
33476 fail:
33477 return NULL;
33478 }
33479
33480
33481 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33482 PyObject *resultobj;
33483 wxHelpProvider *result;
33484 char *kwnames[] = {
33485 NULL
33486 };
33487
33488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33489 {
33490 PyThreadState* __tstate = wxPyBeginAllowThreads();
33491 result = (wxHelpProvider *)wxHelpProvider::Get();
33492
33493 wxPyEndAllowThreads(__tstate);
33494 if (PyErr_Occurred()) SWIG_fail;
33495 }
33496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33497 return resultobj;
33498 fail:
33499 return NULL;
33500 }
33501
33502
33503 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33504 PyObject *resultobj;
33505 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33506 wxWindow *arg2 = (wxWindow *) 0 ;
33507 wxString result;
33508 PyObject * obj0 = 0 ;
33509 PyObject * obj1 = 0 ;
33510 char *kwnames[] = {
33511 (char *) "self",(char *) "window", NULL
33512 };
33513
33514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33516 if (SWIG_arg_fail(1)) SWIG_fail;
33517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33518 if (SWIG_arg_fail(2)) SWIG_fail;
33519 {
33520 PyThreadState* __tstate = wxPyBeginAllowThreads();
33521 result = (arg1)->GetHelp((wxWindow const *)arg2);
33522
33523 wxPyEndAllowThreads(__tstate);
33524 if (PyErr_Occurred()) SWIG_fail;
33525 }
33526 {
33527 #if wxUSE_UNICODE
33528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33529 #else
33530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33531 #endif
33532 }
33533 return resultobj;
33534 fail:
33535 return NULL;
33536 }
33537
33538
33539 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33540 PyObject *resultobj;
33541 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33542 wxWindow *arg2 = (wxWindow *) 0 ;
33543 bool result;
33544 PyObject * obj0 = 0 ;
33545 PyObject * obj1 = 0 ;
33546 char *kwnames[] = {
33547 (char *) "self",(char *) "window", NULL
33548 };
33549
33550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33552 if (SWIG_arg_fail(1)) SWIG_fail;
33553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33554 if (SWIG_arg_fail(2)) SWIG_fail;
33555 {
33556 PyThreadState* __tstate = wxPyBeginAllowThreads();
33557 result = (bool)(arg1)->ShowHelp(arg2);
33558
33559 wxPyEndAllowThreads(__tstate);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 }
33562 {
33563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33564 }
33565 return resultobj;
33566 fail:
33567 return NULL;
33568 }
33569
33570
33571 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33572 PyObject *resultobj;
33573 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33574 wxWindow *arg2 = (wxWindow *) 0 ;
33575 wxString *arg3 = 0 ;
33576 bool temp3 = false ;
33577 PyObject * obj0 = 0 ;
33578 PyObject * obj1 = 0 ;
33579 PyObject * obj2 = 0 ;
33580 char *kwnames[] = {
33581 (char *) "self",(char *) "window",(char *) "text", NULL
33582 };
33583
33584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33586 if (SWIG_arg_fail(1)) SWIG_fail;
33587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33588 if (SWIG_arg_fail(2)) SWIG_fail;
33589 {
33590 arg3 = wxString_in_helper(obj2);
33591 if (arg3 == NULL) SWIG_fail;
33592 temp3 = true;
33593 }
33594 {
33595 PyThreadState* __tstate = wxPyBeginAllowThreads();
33596 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33597
33598 wxPyEndAllowThreads(__tstate);
33599 if (PyErr_Occurred()) SWIG_fail;
33600 }
33601 Py_INCREF(Py_None); resultobj = Py_None;
33602 {
33603 if (temp3)
33604 delete arg3;
33605 }
33606 return resultobj;
33607 fail:
33608 {
33609 if (temp3)
33610 delete arg3;
33611 }
33612 return NULL;
33613 }
33614
33615
33616 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33617 PyObject *resultobj;
33618 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33619 int arg2 ;
33620 wxString *arg3 = 0 ;
33621 bool temp3 = false ;
33622 PyObject * obj0 = 0 ;
33623 PyObject * obj1 = 0 ;
33624 PyObject * obj2 = 0 ;
33625 char *kwnames[] = {
33626 (char *) "self",(char *) "id",(char *) "text", NULL
33627 };
33628
33629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33631 if (SWIG_arg_fail(1)) SWIG_fail;
33632 {
33633 arg2 = (int)(SWIG_As_int(obj1));
33634 if (SWIG_arg_fail(2)) SWIG_fail;
33635 }
33636 {
33637 arg3 = wxString_in_helper(obj2);
33638 if (arg3 == NULL) SWIG_fail;
33639 temp3 = true;
33640 }
33641 {
33642 PyThreadState* __tstate = wxPyBeginAllowThreads();
33643 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33644
33645 wxPyEndAllowThreads(__tstate);
33646 if (PyErr_Occurred()) SWIG_fail;
33647 }
33648 Py_INCREF(Py_None); resultobj = Py_None;
33649 {
33650 if (temp3)
33651 delete arg3;
33652 }
33653 return resultobj;
33654 fail:
33655 {
33656 if (temp3)
33657 delete arg3;
33658 }
33659 return NULL;
33660 }
33661
33662
33663 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33664 PyObject *resultobj;
33665 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33666 wxWindow *arg2 = (wxWindow *) 0 ;
33667 PyObject * obj0 = 0 ;
33668 PyObject * obj1 = 0 ;
33669 char *kwnames[] = {
33670 (char *) "self",(char *) "window", NULL
33671 };
33672
33673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail;
33676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33677 if (SWIG_arg_fail(2)) SWIG_fail;
33678 {
33679 PyThreadState* __tstate = wxPyBeginAllowThreads();
33680 (arg1)->RemoveHelp(arg2);
33681
33682 wxPyEndAllowThreads(__tstate);
33683 if (PyErr_Occurred()) SWIG_fail;
33684 }
33685 Py_INCREF(Py_None); resultobj = Py_None;
33686 return resultobj;
33687 fail:
33688 return NULL;
33689 }
33690
33691
33692 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33693 PyObject *resultobj;
33694 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33695 PyObject * obj0 = 0 ;
33696 char *kwnames[] = {
33697 (char *) "self", NULL
33698 };
33699
33700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33702 if (SWIG_arg_fail(1)) SWIG_fail;
33703 {
33704 PyThreadState* __tstate = wxPyBeginAllowThreads();
33705 wxHelpProvider_Destroy(arg1);
33706
33707 wxPyEndAllowThreads(__tstate);
33708 if (PyErr_Occurred()) SWIG_fail;
33709 }
33710 Py_INCREF(Py_None); resultobj = Py_None;
33711 return resultobj;
33712 fail:
33713 return NULL;
33714 }
33715
33716
33717 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33718 PyObject *obj;
33719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33720 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33721 Py_INCREF(obj);
33722 return Py_BuildValue((char *)"");
33723 }
33724 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33725 PyObject *resultobj;
33726 wxSimpleHelpProvider *result;
33727 char *kwnames[] = {
33728 NULL
33729 };
33730
33731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33732 {
33733 PyThreadState* __tstate = wxPyBeginAllowThreads();
33734 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33735
33736 wxPyEndAllowThreads(__tstate);
33737 if (PyErr_Occurred()) SWIG_fail;
33738 }
33739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33740 return resultobj;
33741 fail:
33742 return NULL;
33743 }
33744
33745
33746 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33747 PyObject *obj;
33748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33749 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33750 Py_INCREF(obj);
33751 return Py_BuildValue((char *)"");
33752 }
33753 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33754 PyObject *resultobj;
33755 wxBitmap *arg1 = 0 ;
33756 wxCursor const &arg2_defvalue = wxNullCursor ;
33757 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33758 wxGenericDragImage *result;
33759 PyObject * obj0 = 0 ;
33760 PyObject * obj1 = 0 ;
33761 char *kwnames[] = {
33762 (char *) "image",(char *) "cursor", NULL
33763 };
33764
33765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33766 {
33767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail;
33769 if (arg1 == NULL) {
33770 SWIG_null_ref("wxBitmap");
33771 }
33772 if (SWIG_arg_fail(1)) SWIG_fail;
33773 }
33774 if (obj1) {
33775 {
33776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33777 if (SWIG_arg_fail(2)) SWIG_fail;
33778 if (arg2 == NULL) {
33779 SWIG_null_ref("wxCursor");
33780 }
33781 if (SWIG_arg_fail(2)) SWIG_fail;
33782 }
33783 }
33784 {
33785 if (!wxPyCheckForApp()) SWIG_fail;
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33788
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33793 return resultobj;
33794 fail:
33795 return NULL;
33796 }
33797
33798
33799 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33800 PyObject *resultobj;
33801 wxIcon *arg1 = 0 ;
33802 wxCursor const &arg2_defvalue = wxNullCursor ;
33803 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33804 wxGenericDragImage *result;
33805 PyObject * obj0 = 0 ;
33806 PyObject * obj1 = 0 ;
33807 char *kwnames[] = {
33808 (char *) "image",(char *) "cursor", NULL
33809 };
33810
33811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33812 {
33813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail;
33815 if (arg1 == NULL) {
33816 SWIG_null_ref("wxIcon");
33817 }
33818 if (SWIG_arg_fail(1)) SWIG_fail;
33819 }
33820 if (obj1) {
33821 {
33822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33823 if (SWIG_arg_fail(2)) SWIG_fail;
33824 if (arg2 == NULL) {
33825 SWIG_null_ref("wxCursor");
33826 }
33827 if (SWIG_arg_fail(2)) SWIG_fail;
33828 }
33829 }
33830 {
33831 if (!wxPyCheckForApp()) SWIG_fail;
33832 PyThreadState* __tstate = wxPyBeginAllowThreads();
33833 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33834
33835 wxPyEndAllowThreads(__tstate);
33836 if (PyErr_Occurred()) SWIG_fail;
33837 }
33838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33839 return resultobj;
33840 fail:
33841 return NULL;
33842 }
33843
33844
33845 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33846 PyObject *resultobj;
33847 wxString *arg1 = 0 ;
33848 wxCursor const &arg2_defvalue = wxNullCursor ;
33849 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33850 wxGenericDragImage *result;
33851 bool temp1 = false ;
33852 PyObject * obj0 = 0 ;
33853 PyObject * obj1 = 0 ;
33854 char *kwnames[] = {
33855 (char *) "str",(char *) "cursor", NULL
33856 };
33857
33858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33859 {
33860 arg1 = wxString_in_helper(obj0);
33861 if (arg1 == NULL) SWIG_fail;
33862 temp1 = true;
33863 }
33864 if (obj1) {
33865 {
33866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33867 if (SWIG_arg_fail(2)) SWIG_fail;
33868 if (arg2 == NULL) {
33869 SWIG_null_ref("wxCursor");
33870 }
33871 if (SWIG_arg_fail(2)) SWIG_fail;
33872 }
33873 }
33874 {
33875 if (!wxPyCheckForApp()) SWIG_fail;
33876 PyThreadState* __tstate = wxPyBeginAllowThreads();
33877 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33878
33879 wxPyEndAllowThreads(__tstate);
33880 if (PyErr_Occurred()) SWIG_fail;
33881 }
33882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33883 {
33884 if (temp1)
33885 delete arg1;
33886 }
33887 return resultobj;
33888 fail:
33889 {
33890 if (temp1)
33891 delete arg1;
33892 }
33893 return NULL;
33894 }
33895
33896
33897 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33898 PyObject *resultobj;
33899 wxPyTreeCtrl *arg1 = 0 ;
33900 wxTreeItemId *arg2 = 0 ;
33901 wxGenericDragImage *result;
33902 PyObject * obj0 = 0 ;
33903 PyObject * obj1 = 0 ;
33904 char *kwnames[] = {
33905 (char *) "treeCtrl",(char *) "id", NULL
33906 };
33907
33908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33909 {
33910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail;
33912 if (arg1 == NULL) {
33913 SWIG_null_ref("wxPyTreeCtrl");
33914 }
33915 if (SWIG_arg_fail(1)) SWIG_fail;
33916 }
33917 {
33918 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33919 if (SWIG_arg_fail(2)) SWIG_fail;
33920 if (arg2 == NULL) {
33921 SWIG_null_ref("wxTreeItemId");
33922 }
33923 if (SWIG_arg_fail(2)) SWIG_fail;
33924 }
33925 {
33926 if (!wxPyCheckForApp()) SWIG_fail;
33927 PyThreadState* __tstate = wxPyBeginAllowThreads();
33928 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33929
33930 wxPyEndAllowThreads(__tstate);
33931 if (PyErr_Occurred()) SWIG_fail;
33932 }
33933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33934 return resultobj;
33935 fail:
33936 return NULL;
33937 }
33938
33939
33940 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33941 PyObject *resultobj;
33942 wxPyListCtrl *arg1 = 0 ;
33943 long arg2 ;
33944 wxGenericDragImage *result;
33945 PyObject * obj0 = 0 ;
33946 PyObject * obj1 = 0 ;
33947 char *kwnames[] = {
33948 (char *) "listCtrl",(char *) "id", NULL
33949 };
33950
33951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33952 {
33953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33954 if (SWIG_arg_fail(1)) SWIG_fail;
33955 if (arg1 == NULL) {
33956 SWIG_null_ref("wxPyListCtrl");
33957 }
33958 if (SWIG_arg_fail(1)) SWIG_fail;
33959 }
33960 {
33961 arg2 = (long)(SWIG_As_long(obj1));
33962 if (SWIG_arg_fail(2)) SWIG_fail;
33963 }
33964 {
33965 if (!wxPyCheckForApp()) SWIG_fail;
33966 PyThreadState* __tstate = wxPyBeginAllowThreads();
33967 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33968
33969 wxPyEndAllowThreads(__tstate);
33970 if (PyErr_Occurred()) SWIG_fail;
33971 }
33972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33973 return resultobj;
33974 fail:
33975 return NULL;
33976 }
33977
33978
33979 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33980 PyObject *resultobj;
33981 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33982 PyObject * obj0 = 0 ;
33983 char *kwnames[] = {
33984 (char *) "self", NULL
33985 };
33986
33987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail;
33990 {
33991 PyThreadState* __tstate = wxPyBeginAllowThreads();
33992 delete arg1;
33993
33994 wxPyEndAllowThreads(__tstate);
33995 if (PyErr_Occurred()) SWIG_fail;
33996 }
33997 Py_INCREF(Py_None); resultobj = Py_None;
33998 return resultobj;
33999 fail:
34000 return NULL;
34001 }
34002
34003
34004 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34005 PyObject *resultobj;
34006 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34007 wxBitmap *arg2 = (wxBitmap *) 0 ;
34008 PyObject * obj0 = 0 ;
34009 PyObject * obj1 = 0 ;
34010 char *kwnames[] = {
34011 (char *) "self",(char *) "bitmap", NULL
34012 };
34013
34014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail;
34017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34018 if (SWIG_arg_fail(2)) SWIG_fail;
34019 {
34020 PyThreadState* __tstate = wxPyBeginAllowThreads();
34021 (arg1)->SetBackingBitmap(arg2);
34022
34023 wxPyEndAllowThreads(__tstate);
34024 if (PyErr_Occurred()) SWIG_fail;
34025 }
34026 Py_INCREF(Py_None); resultobj = Py_None;
34027 return resultobj;
34028 fail:
34029 return NULL;
34030 }
34031
34032
34033 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34034 PyObject *resultobj;
34035 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34036 wxPoint *arg2 = 0 ;
34037 wxWindow *arg3 = (wxWindow *) 0 ;
34038 bool arg4 = (bool) false ;
34039 wxRect *arg5 = (wxRect *) NULL ;
34040 bool result;
34041 wxPoint temp2 ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 PyObject * obj3 = 0 ;
34046 PyObject * obj4 = 0 ;
34047 char *kwnames[] = {
34048 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34049 };
34050
34051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34053 if (SWIG_arg_fail(1)) SWIG_fail;
34054 {
34055 arg2 = &temp2;
34056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34057 }
34058 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34059 if (SWIG_arg_fail(3)) SWIG_fail;
34060 if (obj3) {
34061 {
34062 arg4 = (bool)(SWIG_As_bool(obj3));
34063 if (SWIG_arg_fail(4)) SWIG_fail;
34064 }
34065 }
34066 if (obj4) {
34067 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34068 if (SWIG_arg_fail(5)) SWIG_fail;
34069 }
34070 {
34071 PyThreadState* __tstate = wxPyBeginAllowThreads();
34072 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34073
34074 wxPyEndAllowThreads(__tstate);
34075 if (PyErr_Occurred()) SWIG_fail;
34076 }
34077 {
34078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34079 }
34080 return resultobj;
34081 fail:
34082 return NULL;
34083 }
34084
34085
34086 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34087 PyObject *resultobj;
34088 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34089 wxPoint *arg2 = 0 ;
34090 wxWindow *arg3 = (wxWindow *) 0 ;
34091 wxWindow *arg4 = (wxWindow *) 0 ;
34092 bool result;
34093 wxPoint temp2 ;
34094 PyObject * obj0 = 0 ;
34095 PyObject * obj1 = 0 ;
34096 PyObject * obj2 = 0 ;
34097 PyObject * obj3 = 0 ;
34098 char *kwnames[] = {
34099 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34100 };
34101
34102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34104 if (SWIG_arg_fail(1)) SWIG_fail;
34105 {
34106 arg2 = &temp2;
34107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34108 }
34109 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34110 if (SWIG_arg_fail(3)) SWIG_fail;
34111 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34112 if (SWIG_arg_fail(4)) SWIG_fail;
34113 {
34114 PyThreadState* __tstate = wxPyBeginAllowThreads();
34115 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34116
34117 wxPyEndAllowThreads(__tstate);
34118 if (PyErr_Occurred()) SWIG_fail;
34119 }
34120 {
34121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34122 }
34123 return resultobj;
34124 fail:
34125 return NULL;
34126 }
34127
34128
34129 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34130 PyObject *resultobj;
34131 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34132 bool result;
34133 PyObject * obj0 = 0 ;
34134 char *kwnames[] = {
34135 (char *) "self", NULL
34136 };
34137
34138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34140 if (SWIG_arg_fail(1)) SWIG_fail;
34141 {
34142 PyThreadState* __tstate = wxPyBeginAllowThreads();
34143 result = (bool)(arg1)->EndDrag();
34144
34145 wxPyEndAllowThreads(__tstate);
34146 if (PyErr_Occurred()) SWIG_fail;
34147 }
34148 {
34149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34150 }
34151 return resultobj;
34152 fail:
34153 return NULL;
34154 }
34155
34156
34157 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34158 PyObject *resultobj;
34159 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34160 wxPoint *arg2 = 0 ;
34161 bool result;
34162 wxPoint temp2 ;
34163 PyObject * obj0 = 0 ;
34164 PyObject * obj1 = 0 ;
34165 char *kwnames[] = {
34166 (char *) "self",(char *) "pt", NULL
34167 };
34168
34169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail;
34172 {
34173 arg2 = &temp2;
34174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34175 }
34176 {
34177 PyThreadState* __tstate = wxPyBeginAllowThreads();
34178 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34179
34180 wxPyEndAllowThreads(__tstate);
34181 if (PyErr_Occurred()) SWIG_fail;
34182 }
34183 {
34184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34185 }
34186 return resultobj;
34187 fail:
34188 return NULL;
34189 }
34190
34191
34192 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34193 PyObject *resultobj;
34194 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34195 bool result;
34196 PyObject * obj0 = 0 ;
34197 char *kwnames[] = {
34198 (char *) "self", NULL
34199 };
34200
34201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34203 if (SWIG_arg_fail(1)) SWIG_fail;
34204 {
34205 PyThreadState* __tstate = wxPyBeginAllowThreads();
34206 result = (bool)(arg1)->Show();
34207
34208 wxPyEndAllowThreads(__tstate);
34209 if (PyErr_Occurred()) SWIG_fail;
34210 }
34211 {
34212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34213 }
34214 return resultobj;
34215 fail:
34216 return NULL;
34217 }
34218
34219
34220 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34221 PyObject *resultobj;
34222 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34223 bool result;
34224 PyObject * obj0 = 0 ;
34225 char *kwnames[] = {
34226 (char *) "self", NULL
34227 };
34228
34229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34231 if (SWIG_arg_fail(1)) SWIG_fail;
34232 {
34233 PyThreadState* __tstate = wxPyBeginAllowThreads();
34234 result = (bool)(arg1)->Hide();
34235
34236 wxPyEndAllowThreads(__tstate);
34237 if (PyErr_Occurred()) SWIG_fail;
34238 }
34239 {
34240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34241 }
34242 return resultobj;
34243 fail:
34244 return NULL;
34245 }
34246
34247
34248 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34249 PyObject *resultobj;
34250 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34251 wxPoint *arg2 = 0 ;
34252 wxRect result;
34253 wxPoint temp2 ;
34254 PyObject * obj0 = 0 ;
34255 PyObject * obj1 = 0 ;
34256 char *kwnames[] = {
34257 (char *) "self",(char *) "pos", NULL
34258 };
34259
34260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail;
34263 {
34264 arg2 = &temp2;
34265 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34266 }
34267 {
34268 PyThreadState* __tstate = wxPyBeginAllowThreads();
34269 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34270
34271 wxPyEndAllowThreads(__tstate);
34272 if (PyErr_Occurred()) SWIG_fail;
34273 }
34274 {
34275 wxRect * resultptr;
34276 resultptr = new wxRect((wxRect &)(result));
34277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34278 }
34279 return resultobj;
34280 fail:
34281 return NULL;
34282 }
34283
34284
34285 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34286 PyObject *resultobj;
34287 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34288 wxDC *arg2 = 0 ;
34289 wxPoint *arg3 = 0 ;
34290 bool result;
34291 wxPoint temp3 ;
34292 PyObject * obj0 = 0 ;
34293 PyObject * obj1 = 0 ;
34294 PyObject * obj2 = 0 ;
34295 char *kwnames[] = {
34296 (char *) "self",(char *) "dc",(char *) "pos", NULL
34297 };
34298
34299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34301 if (SWIG_arg_fail(1)) SWIG_fail;
34302 {
34303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34304 if (SWIG_arg_fail(2)) SWIG_fail;
34305 if (arg2 == NULL) {
34306 SWIG_null_ref("wxDC");
34307 }
34308 if (SWIG_arg_fail(2)) SWIG_fail;
34309 }
34310 {
34311 arg3 = &temp3;
34312 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34313 }
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34317
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
34321 {
34322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34323 }
34324 return resultobj;
34325 fail:
34326 return NULL;
34327 }
34328
34329
34330 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34331 PyObject *resultobj;
34332 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34333 wxDC *arg2 = 0 ;
34334 wxMemoryDC *arg3 = 0 ;
34335 wxRect *arg4 = 0 ;
34336 wxRect *arg5 = 0 ;
34337 bool result;
34338 wxRect temp4 ;
34339 wxRect temp5 ;
34340 PyObject * obj0 = 0 ;
34341 PyObject * obj1 = 0 ;
34342 PyObject * obj2 = 0 ;
34343 PyObject * obj3 = 0 ;
34344 PyObject * obj4 = 0 ;
34345 char *kwnames[] = {
34346 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34347 };
34348
34349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34351 if (SWIG_arg_fail(1)) SWIG_fail;
34352 {
34353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34354 if (SWIG_arg_fail(2)) SWIG_fail;
34355 if (arg2 == NULL) {
34356 SWIG_null_ref("wxDC");
34357 }
34358 if (SWIG_arg_fail(2)) SWIG_fail;
34359 }
34360 {
34361 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34362 if (SWIG_arg_fail(3)) SWIG_fail;
34363 if (arg3 == NULL) {
34364 SWIG_null_ref("wxMemoryDC");
34365 }
34366 if (SWIG_arg_fail(3)) SWIG_fail;
34367 }
34368 {
34369 arg4 = &temp4;
34370 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34371 }
34372 {
34373 arg5 = &temp5;
34374 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34375 }
34376 {
34377 PyThreadState* __tstate = wxPyBeginAllowThreads();
34378 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34379
34380 wxPyEndAllowThreads(__tstate);
34381 if (PyErr_Occurred()) SWIG_fail;
34382 }
34383 {
34384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34385 }
34386 return resultobj;
34387 fail:
34388 return NULL;
34389 }
34390
34391
34392 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34393 PyObject *resultobj;
34394 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34395 wxPoint *arg2 = 0 ;
34396 wxPoint *arg3 = 0 ;
34397 bool arg4 ;
34398 bool arg5 ;
34399 bool result;
34400 wxPoint temp2 ;
34401 wxPoint temp3 ;
34402 PyObject * obj0 = 0 ;
34403 PyObject * obj1 = 0 ;
34404 PyObject * obj2 = 0 ;
34405 PyObject * obj3 = 0 ;
34406 PyObject * obj4 = 0 ;
34407 char *kwnames[] = {
34408 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34409 };
34410
34411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34413 if (SWIG_arg_fail(1)) SWIG_fail;
34414 {
34415 arg2 = &temp2;
34416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34417 }
34418 {
34419 arg3 = &temp3;
34420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34421 }
34422 {
34423 arg4 = (bool)(SWIG_As_bool(obj3));
34424 if (SWIG_arg_fail(4)) SWIG_fail;
34425 }
34426 {
34427 arg5 = (bool)(SWIG_As_bool(obj4));
34428 if (SWIG_arg_fail(5)) SWIG_fail;
34429 }
34430 {
34431 PyThreadState* __tstate = wxPyBeginAllowThreads();
34432 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34433
34434 wxPyEndAllowThreads(__tstate);
34435 if (PyErr_Occurred()) SWIG_fail;
34436 }
34437 {
34438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34439 }
34440 return resultobj;
34441 fail:
34442 return NULL;
34443 }
34444
34445
34446 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34447 PyObject *obj;
34448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34449 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34450 Py_INCREF(obj);
34451 return Py_BuildValue((char *)"");
34452 }
34453 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34454 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34455 return 1;
34456 }
34457
34458
34459 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34460 PyObject *pyobj;
34461
34462 {
34463 #if wxUSE_UNICODE
34464 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34465 #else
34466 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34467 #endif
34468 }
34469 return pyobj;
34470 }
34471
34472
34473 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34474 PyObject *resultobj;
34475 wxWindow *arg1 = (wxWindow *) 0 ;
34476 int arg2 = (int) -1 ;
34477 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34478 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34479 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34480 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34481 wxSize const &arg5_defvalue = wxDefaultSize ;
34482 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34483 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34484 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34485 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34486 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34487 wxString *arg8 = (wxString *) &arg8_defvalue ;
34488 wxDatePickerCtrl *result;
34489 wxPoint temp4 ;
34490 wxSize temp5 ;
34491 bool temp8 = false ;
34492 PyObject * obj0 = 0 ;
34493 PyObject * obj1 = 0 ;
34494 PyObject * obj2 = 0 ;
34495 PyObject * obj3 = 0 ;
34496 PyObject * obj4 = 0 ;
34497 PyObject * obj5 = 0 ;
34498 PyObject * obj6 = 0 ;
34499 PyObject * obj7 = 0 ;
34500 char *kwnames[] = {
34501 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34502 };
34503
34504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34506 if (SWIG_arg_fail(1)) SWIG_fail;
34507 if (obj1) {
34508 {
34509 arg2 = (int)(SWIG_As_int(obj1));
34510 if (SWIG_arg_fail(2)) SWIG_fail;
34511 }
34512 }
34513 if (obj2) {
34514 {
34515 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34516 if (SWIG_arg_fail(3)) SWIG_fail;
34517 if (arg3 == NULL) {
34518 SWIG_null_ref("wxDateTime");
34519 }
34520 if (SWIG_arg_fail(3)) SWIG_fail;
34521 }
34522 }
34523 if (obj3) {
34524 {
34525 arg4 = &temp4;
34526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34527 }
34528 }
34529 if (obj4) {
34530 {
34531 arg5 = &temp5;
34532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34533 }
34534 }
34535 if (obj5) {
34536 {
34537 arg6 = (long)(SWIG_As_long(obj5));
34538 if (SWIG_arg_fail(6)) SWIG_fail;
34539 }
34540 }
34541 if (obj6) {
34542 {
34543 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34544 if (SWIG_arg_fail(7)) SWIG_fail;
34545 if (arg7 == NULL) {
34546 SWIG_null_ref("wxValidator");
34547 }
34548 if (SWIG_arg_fail(7)) SWIG_fail;
34549 }
34550 }
34551 if (obj7) {
34552 {
34553 arg8 = wxString_in_helper(obj7);
34554 if (arg8 == NULL) SWIG_fail;
34555 temp8 = true;
34556 }
34557 }
34558 {
34559 if (!wxPyCheckForApp()) SWIG_fail;
34560 PyThreadState* __tstate = wxPyBeginAllowThreads();
34561 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34562
34563 wxPyEndAllowThreads(__tstate);
34564 if (PyErr_Occurred()) SWIG_fail;
34565 }
34566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34567 {
34568 if (temp8)
34569 delete arg8;
34570 }
34571 return resultobj;
34572 fail:
34573 {
34574 if (temp8)
34575 delete arg8;
34576 }
34577 return NULL;
34578 }
34579
34580
34581 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34582 PyObject *resultobj;
34583 wxDatePickerCtrl *result;
34584 char *kwnames[] = {
34585 NULL
34586 };
34587
34588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34589 {
34590 if (!wxPyCheckForApp()) SWIG_fail;
34591 PyThreadState* __tstate = wxPyBeginAllowThreads();
34592 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34593
34594 wxPyEndAllowThreads(__tstate);
34595 if (PyErr_Occurred()) SWIG_fail;
34596 }
34597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34598 return resultobj;
34599 fail:
34600 return NULL;
34601 }
34602
34603
34604 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34605 PyObject *resultobj;
34606 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34607 wxWindow *arg2 = (wxWindow *) 0 ;
34608 int arg3 = (int) -1 ;
34609 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34610 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34611 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34612 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34613 wxSize const &arg6_defvalue = wxDefaultSize ;
34614 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34615 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34616 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34617 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34618 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34619 wxString *arg9 = (wxString *) &arg9_defvalue ;
34620 bool result;
34621 wxPoint temp5 ;
34622 wxSize temp6 ;
34623 bool temp9 = false ;
34624 PyObject * obj0 = 0 ;
34625 PyObject * obj1 = 0 ;
34626 PyObject * obj2 = 0 ;
34627 PyObject * obj3 = 0 ;
34628 PyObject * obj4 = 0 ;
34629 PyObject * obj5 = 0 ;
34630 PyObject * obj6 = 0 ;
34631 PyObject * obj7 = 0 ;
34632 PyObject * obj8 = 0 ;
34633 char *kwnames[] = {
34634 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34635 };
34636
34637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail;
34640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34641 if (SWIG_arg_fail(2)) SWIG_fail;
34642 if (obj2) {
34643 {
34644 arg3 = (int)(SWIG_As_int(obj2));
34645 if (SWIG_arg_fail(3)) SWIG_fail;
34646 }
34647 }
34648 if (obj3) {
34649 {
34650 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34651 if (SWIG_arg_fail(4)) SWIG_fail;
34652 if (arg4 == NULL) {
34653 SWIG_null_ref("wxDateTime");
34654 }
34655 if (SWIG_arg_fail(4)) SWIG_fail;
34656 }
34657 }
34658 if (obj4) {
34659 {
34660 arg5 = &temp5;
34661 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34662 }
34663 }
34664 if (obj5) {
34665 {
34666 arg6 = &temp6;
34667 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34668 }
34669 }
34670 if (obj6) {
34671 {
34672 arg7 = (long)(SWIG_As_long(obj6));
34673 if (SWIG_arg_fail(7)) SWIG_fail;
34674 }
34675 }
34676 if (obj7) {
34677 {
34678 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34679 if (SWIG_arg_fail(8)) SWIG_fail;
34680 if (arg8 == NULL) {
34681 SWIG_null_ref("wxValidator");
34682 }
34683 if (SWIG_arg_fail(8)) SWIG_fail;
34684 }
34685 }
34686 if (obj8) {
34687 {
34688 arg9 = wxString_in_helper(obj8);
34689 if (arg9 == NULL) SWIG_fail;
34690 temp9 = true;
34691 }
34692 }
34693 {
34694 PyThreadState* __tstate = wxPyBeginAllowThreads();
34695 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34696
34697 wxPyEndAllowThreads(__tstate);
34698 if (PyErr_Occurred()) SWIG_fail;
34699 }
34700 {
34701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34702 }
34703 {
34704 if (temp9)
34705 delete arg9;
34706 }
34707 return resultobj;
34708 fail:
34709 {
34710 if (temp9)
34711 delete arg9;
34712 }
34713 return NULL;
34714 }
34715
34716
34717 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34718 PyObject *resultobj;
34719 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34720 wxDateTime *arg2 = 0 ;
34721 PyObject * obj0 = 0 ;
34722 PyObject * obj1 = 0 ;
34723 char *kwnames[] = {
34724 (char *) "self",(char *) "dt", NULL
34725 };
34726
34727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34729 if (SWIG_arg_fail(1)) SWIG_fail;
34730 {
34731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34732 if (SWIG_arg_fail(2)) SWIG_fail;
34733 if (arg2 == NULL) {
34734 SWIG_null_ref("wxDateTime");
34735 }
34736 if (SWIG_arg_fail(2)) SWIG_fail;
34737 }
34738 {
34739 PyThreadState* __tstate = wxPyBeginAllowThreads();
34740 (arg1)->SetValue((wxDateTime const &)*arg2);
34741
34742 wxPyEndAllowThreads(__tstate);
34743 if (PyErr_Occurred()) SWIG_fail;
34744 }
34745 Py_INCREF(Py_None); resultobj = Py_None;
34746 return resultobj;
34747 fail:
34748 return NULL;
34749 }
34750
34751
34752 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34753 PyObject *resultobj;
34754 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34755 wxDateTime result;
34756 PyObject * obj0 = 0 ;
34757 char *kwnames[] = {
34758 (char *) "self", NULL
34759 };
34760
34761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34763 if (SWIG_arg_fail(1)) SWIG_fail;
34764 {
34765 PyThreadState* __tstate = wxPyBeginAllowThreads();
34766 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34767
34768 wxPyEndAllowThreads(__tstate);
34769 if (PyErr_Occurred()) SWIG_fail;
34770 }
34771 {
34772 wxDateTime * resultptr;
34773 resultptr = new wxDateTime((wxDateTime &)(result));
34774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34775 }
34776 return resultobj;
34777 fail:
34778 return NULL;
34779 }
34780
34781
34782 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34785 wxDateTime *arg2 = 0 ;
34786 wxDateTime *arg3 = 0 ;
34787 PyObject * obj0 = 0 ;
34788 PyObject * obj1 = 0 ;
34789 PyObject * obj2 = 0 ;
34790 char *kwnames[] = {
34791 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34792 };
34793
34794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail;
34797 {
34798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(2)) SWIG_fail;
34800 if (arg2 == NULL) {
34801 SWIG_null_ref("wxDateTime");
34802 }
34803 if (SWIG_arg_fail(2)) SWIG_fail;
34804 }
34805 {
34806 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34807 if (SWIG_arg_fail(3)) SWIG_fail;
34808 if (arg3 == NULL) {
34809 SWIG_null_ref("wxDateTime");
34810 }
34811 if (SWIG_arg_fail(3)) SWIG_fail;
34812 }
34813 {
34814 PyThreadState* __tstate = wxPyBeginAllowThreads();
34815 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34816
34817 wxPyEndAllowThreads(__tstate);
34818 if (PyErr_Occurred()) SWIG_fail;
34819 }
34820 Py_INCREF(Py_None); resultobj = Py_None;
34821 return resultobj;
34822 fail:
34823 return NULL;
34824 }
34825
34826
34827 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34828 PyObject *resultobj;
34829 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34830 wxDateTime result;
34831 PyObject * obj0 = 0 ;
34832 char *kwnames[] = {
34833 (char *) "self", NULL
34834 };
34835
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34838 if (SWIG_arg_fail(1)) SWIG_fail;
34839 {
34840 PyThreadState* __tstate = wxPyBeginAllowThreads();
34841 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34842
34843 wxPyEndAllowThreads(__tstate);
34844 if (PyErr_Occurred()) SWIG_fail;
34845 }
34846 {
34847 wxDateTime * resultptr;
34848 resultptr = new wxDateTime((wxDateTime &)(result));
34849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34850 }
34851 return resultobj;
34852 fail:
34853 return NULL;
34854 }
34855
34856
34857 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34858 PyObject *resultobj;
34859 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34860 wxDateTime result;
34861 PyObject * obj0 = 0 ;
34862 char *kwnames[] = {
34863 (char *) "self", NULL
34864 };
34865
34866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34868 if (SWIG_arg_fail(1)) SWIG_fail;
34869 {
34870 PyThreadState* __tstate = wxPyBeginAllowThreads();
34871 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34872
34873 wxPyEndAllowThreads(__tstate);
34874 if (PyErr_Occurred()) SWIG_fail;
34875 }
34876 {
34877 wxDateTime * resultptr;
34878 resultptr = new wxDateTime((wxDateTime &)(result));
34879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34880 }
34881 return resultobj;
34882 fail:
34883 return NULL;
34884 }
34885
34886
34887 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34888 PyObject *obj;
34889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34890 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34891 Py_INCREF(obj);
34892 return Py_BuildValue((char *)"");
34893 }
34894 static PyMethodDef SwigMethods[] = {
34895 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34902 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34917 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34929 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34934 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34965 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34979 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34984 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34991 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34996 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35004 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35027 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35036 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35067 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35123 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35128 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35140 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35153 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35165 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35169 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35187 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35194 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35220 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35228 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35250 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35256 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35267 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35275 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35277 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35283 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35285 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35290 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35295 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35325 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35370 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35376 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35388 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35440 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35467 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35538 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35550 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35558 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35565 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35582 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35658 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35680 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35685 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35711 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35719 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35724 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35726 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35735 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35737 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35755 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35764 { NULL, NULL, 0, NULL }
35765 };
35766
35767
35768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35769
35770 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35771 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35772 }
35773 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35774 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35775 }
35776 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35777 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35778 }
35779 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35780 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35781 }
35782 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35783 return (void *)((wxSizer *) ((wxGridSizer *) x));
35784 }
35785 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35786 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35787 }
35788 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35789 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35790 }
35791 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35792 return (void *)((wxSizer *) ((wxPySizer *) x));
35793 }
35794 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35795 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35796 }
35797 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35799 }
35800 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35801 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35802 }
35803 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35804 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35805 }
35806 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35807 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35808 }
35809 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35810 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35811 }
35812 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35813 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35814 }
35815 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35816 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35817 }
35818 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35819 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35820 }
35821 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35822 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35823 }
35824 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35825 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35826 }
35827 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35829 }
35830 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35831 return (void *)((wxEvent *) ((wxPyEvent *) x));
35832 }
35833 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35835 }
35836 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35837 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35838 }
35839 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35840 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35841 }
35842 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35843 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35844 }
35845 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35846 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35847 }
35848 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35849 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35850 }
35851 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35852 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35853 }
35854 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35856 }
35857 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35858 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35859 }
35860 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35861 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35862 }
35863 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35864 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35865 }
35866 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35867 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35868 }
35869 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35870 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35871 }
35872 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35873 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35874 }
35875 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35877 }
35878 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35879 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35880 }
35881 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35882 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35883 }
35884 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35886 }
35887 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35888 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35889 }
35890 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35891 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35892 }
35893 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35894 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35895 }
35896 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35897 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35898 }
35899 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35900 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35901 }
35902 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35903 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35904 }
35905 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35906 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35907 }
35908 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35909 return (void *)((wxEvent *) ((wxShowEvent *) x));
35910 }
35911 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35912 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35913 }
35914 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35916 }
35917 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35919 }
35920 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35921 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35922 }
35923 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35924 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35925 }
35926 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35927 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35928 }
35929 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35930 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35931 }
35932 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35933 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35934 }
35935 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35936 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35937 }
35938 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35939 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35940 }
35941 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35942 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35943 }
35944 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35945 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35946 }
35947 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35948 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35949 }
35950 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35951 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35952 }
35953 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35954 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35955 }
35956 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35957 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35958 }
35959 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35960 return (void *)((wxControl *) ((wxToggleButton *) x));
35961 }
35962 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35963 return (void *)((wxControl *) ((wxRadioButton *) x));
35964 }
35965 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35966 return (void *)((wxControl *) ((wxPyControl *) x));
35967 }
35968 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35969 return (void *)((wxControl *) ((wxToolBarBase *) x));
35970 }
35971 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35972 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35973 }
35974 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35975 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35976 }
35977 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35978 return (void *)((wxControl *) ((wxComboBox *) x));
35979 }
35980 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35981 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35982 }
35983 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35984 return (void *)((wxControl *) ((wxScrollBar *) x));
35985 }
35986 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35987 return (void *)((wxControl *) ((wxControlWithItems *) x));
35988 }
35989 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35990 return (void *)((wxControl *) ((wxGauge *) x));
35991 }
35992 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35993 return (void *)((wxControl *) ((wxStaticLine *) x));
35994 }
35995 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35996 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35997 }
35998 static void *_p_wxListbookTo_p_wxControl(void *x) {
35999 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36000 }
36001 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36002 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36003 }
36004 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36005 return (void *)((wxControl *) ((wxCheckBox *) x));
36006 }
36007 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36008 return (void *)((wxControl *) ((wxRadioBox *) x));
36009 }
36010 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36011 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36012 }
36013 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36014 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36015 }
36016 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36017 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36018 }
36019 static void *_p_wxListViewTo_p_wxControl(void *x) {
36020 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36021 }
36022 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36023 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36024 }
36025 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36026 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36027 }
36028 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36029 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36030 }
36031 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36032 return (void *)((wxControl *) ((wxStaticText *) x));
36033 }
36034 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36035 return (void *)((wxControl *) ((wxStaticBox *) x));
36036 }
36037 static void *_p_wxSliderTo_p_wxControl(void *x) {
36038 return (void *)((wxControl *) ((wxSlider *) x));
36039 }
36040 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36041 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36042 }
36043 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36044 return (void *)((wxControl *) ((wxSpinButton *) x));
36045 }
36046 static void *_p_wxButtonTo_p_wxControl(void *x) {
36047 return (void *)((wxControl *) ((wxButton *) x));
36048 }
36049 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36050 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36051 }
36052 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36053 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36054 }
36055 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36056 return (void *)((wxControl *) ((wxTextCtrl *) x));
36057 }
36058 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36059 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36060 }
36061 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36062 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36063 }
36064 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36065 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36066 }
36067 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36068 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36069 }
36070 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36071 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36072 }
36073 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36074 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36075 }
36076 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36077 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36078 }
36079 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36080 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36081 }
36082 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36083 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36084 }
36085 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36086 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36087 }
36088 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36089 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36090 }
36091 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36092 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36093 }
36094 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36096 }
36097 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36099 }
36100 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36101 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36102 }
36103 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36104 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36105 }
36106 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36108 }
36109 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36110 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36111 }
36112 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36114 }
36115 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36117 }
36118 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36119 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36120 }
36121 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36123 }
36124 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36126 }
36127 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36129 }
36130 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36132 }
36133 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36135 }
36136 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36138 }
36139 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36140 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36141 }
36142 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36144 }
36145 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36147 }
36148 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36150 }
36151 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36153 }
36154 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36156 }
36157 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36159 }
36160 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36162 }
36163 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36165 }
36166 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36168 }
36169 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36171 }
36172 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36174 }
36175 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36177 }
36178 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36180 }
36181 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36183 }
36184 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36186 }
36187 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36189 }
36190 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36192 }
36193 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36195 }
36196 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36198 }
36199 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36201 }
36202 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36204 }
36205 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36207 }
36208 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36210 }
36211 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36213 }
36214 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36216 }
36217 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36219 }
36220 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36221 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36222 }
36223 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36224 return (void *)((wxButton *) ((wxBitmapButton *) x));
36225 }
36226 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36227 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36228 }
36229 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36230 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36231 }
36232 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36233 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36234 }
36235 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36236 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36237 }
36238 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36239 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36240 }
36241 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36242 return (void *)((wxObject *) ((wxSizerItem *) x));
36243 }
36244 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36246 }
36247 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36248 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36249 }
36250 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36252 }
36253 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36254 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36255 }
36256 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36257 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36258 }
36259 static void *_p_wxSizerTo_p_wxObject(void *x) {
36260 return (void *)((wxObject *) ((wxSizer *) x));
36261 }
36262 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36263 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36264 }
36265 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36267 }
36268 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36270 }
36271 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36272 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36273 }
36274 static void *_p_wxEventTo_p_wxObject(void *x) {
36275 return (void *)((wxObject *) ((wxEvent *) x));
36276 }
36277 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36278 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36279 }
36280 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36281 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36282 }
36283 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36284 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36285 }
36286 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36288 }
36289 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36291 }
36292 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36294 }
36295 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36296 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36297 }
36298 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36299 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36300 }
36301 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36302 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36303 }
36304 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36305 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36306 }
36307 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36308 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36309 }
36310 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36311 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36312 }
36313 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36315 }
36316 static void *_p_wxControlTo_p_wxObject(void *x) {
36317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36318 }
36319 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36321 }
36322 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36324 }
36325 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36327 }
36328 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36330 }
36331 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36333 }
36334 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36335 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36336 }
36337 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36339 }
36340 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36341 return (void *)((wxObject *) ((wxFSFile *) x));
36342 }
36343 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36344 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36345 }
36346 static void *_p_wxListViewTo_p_wxObject(void *x) {
36347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36348 }
36349 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36351 }
36352 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36354 }
36355 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36356 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36357 }
36358 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36360 }
36361 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36363 }
36364 static void *_p_wxListbookTo_p_wxObject(void *x) {
36365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36366 }
36367 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36368 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36369 }
36370 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36372 }
36373 static void *_p_wxSliderTo_p_wxObject(void *x) {
36374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36375 }
36376 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36377 return (void *)((wxObject *) ((wxMenuItem *) x));
36378 }
36379 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36381 }
36382 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36383 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36384 }
36385 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36387 }
36388 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36389 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36390 }
36391 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36392 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36393 }
36394 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36395 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36396 }
36397 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36398 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36399 }
36400 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36401 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36402 }
36403 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36404 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36405 }
36406 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36408 }
36409 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36410 return (void *)((wxObject *) ((wxContextHelp *) x));
36411 }
36412 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36414 }
36415 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36416 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36417 }
36418 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36419 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36420 }
36421 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36422 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36423 }
36424 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36425 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36426 }
36427 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36428 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36429 }
36430 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36431 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36432 }
36433 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36434 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36435 }
36436 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36437 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36438 }
36439 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36440 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36441 }
36442 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36443 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36444 }
36445 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36446 return (void *)((wxObject *) ((wxImageHandler *) x));
36447 }
36448 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36449 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36450 }
36451 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36452 return (void *)((wxObject *) ((wxEvtHandler *) x));
36453 }
36454 static void *_p_wxListEventTo_p_wxObject(void *x) {
36455 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36456 }
36457 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36459 }
36460 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36462 }
36463 static void *_p_wxButtonTo_p_wxObject(void *x) {
36464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36465 }
36466 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36468 }
36469 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36471 }
36472 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36474 }
36475 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36476 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36477 }
36478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36479 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36480 }
36481 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36483 }
36484 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36486 }
36487 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36489 }
36490 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36492 }
36493 static void *_p_wxListItemTo_p_wxObject(void *x) {
36494 return (void *)((wxObject *) ((wxListItem *) x));
36495 }
36496 static void *_p_wxImageTo_p_wxObject(void *x) {
36497 return (void *)((wxObject *) ((wxImage *) x));
36498 }
36499 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36500 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36501 }
36502 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36503 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36504 }
36505 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36507 }
36508 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36509 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36510 }
36511 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36513 }
36514 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36516 }
36517 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36519 }
36520 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36522 }
36523 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36525 }
36526 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36527 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36528 }
36529 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36530 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36531 }
36532 static void *_p_wxWindowTo_p_wxObject(void *x) {
36533 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36534 }
36535 static void *_p_wxMenuTo_p_wxObject(void *x) {
36536 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36537 }
36538 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36540 }
36541 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36542 return (void *)((wxObject *) ((wxFileSystem *) x));
36543 }
36544 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36546 }
36547 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36548 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36549 }
36550 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36551 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36552 }
36553 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36554 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36555 }
36556 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36557 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36558 }
36559 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36560 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36561 }
36562 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36564 }
36565 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36567 }
36568 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36570 }
36571 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36572 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36573 }
36574 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36576 }
36577 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36578 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36579 }
36580 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36581 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36582 }
36583 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36585 }
36586 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36588 }
36589 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36591 }
36592 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36593 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36594 }
36595 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36597 }
36598 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36599 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36600 }
36601 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36602 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36603 }
36604 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36605 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36606 }
36607 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36608 return (void *)((wxWindow *) ((wxMenuBar *) x));
36609 }
36610 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36611 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36612 }
36613 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36614 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36615 }
36616 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36617 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36618 }
36619 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36620 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36621 }
36622 static void *_p_wxControlTo_p_wxWindow(void *x) {
36623 return (void *)((wxWindow *) ((wxControl *) x));
36624 }
36625 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36626 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36627 }
36628 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36629 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36630 }
36631 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36632 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36633 }
36634 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36635 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36636 }
36637 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36638 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36639 }
36640 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36641 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36642 }
36643 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36644 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36645 }
36646 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36647 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36648 }
36649 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36650 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36651 }
36652 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36653 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36654 }
36655 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36656 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36657 }
36658 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36659 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36660 }
36661 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36662 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36663 }
36664 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36665 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36666 }
36667 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36668 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36669 }
36670 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36671 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36672 }
36673 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36674 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36675 }
36676 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36677 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36678 }
36679 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36680 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36681 }
36682 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36683 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36684 }
36685 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36686 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36687 }
36688 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36689 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36690 }
36691 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36692 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36693 }
36694 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36695 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36696 }
36697 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36698 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36699 }
36700 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36701 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36702 }
36703 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36704 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36705 }
36706 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36707 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36708 }
36709 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36710 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36711 }
36712 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36713 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36714 }
36715 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36716 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36717 }
36718 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36719 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36720 }
36721 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36722 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36723 }
36724 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36725 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36726 }
36727 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36728 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36729 }
36730 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36731 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36732 }
36733 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36734 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36735 }
36736 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36737 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36738 }
36739 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36740 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36741 }
36742 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36743 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36744 }
36745 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36746 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36747 }
36748 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36749 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36750 }
36751 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36752 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36753 }
36754 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36755 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36756 }
36757 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36758 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36759 }
36760 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36761 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36762 }
36763 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36764 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36765 }
36766 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36767 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36768 }
36769 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36770 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36771 }
36772 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36773 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36774 }
36775 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36776 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36777 }
36778 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36779 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36780 }
36781 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36782 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36783 }
36784 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36785 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36786 }
36787 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36788 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36789 }
36790 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36791 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36792 }
36793 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36794 return (void *)((wxValidator *) ((wxPyValidator *) x));
36795 }
36796 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}};
36797 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36886 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}};
36887 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}};
36888 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36889 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}};
36890 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}};
36891 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}};
36892 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36893 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}};
36894
36895 static swig_type_info *swig_types_initial[] = {
36896 _swigt__p_wxTextUrlEvent,
36897 _swigt__p_wxSizer,
36898 _swigt__p_wxCheckBox,
36899 _swigt__p_wxPyTreeCtrl,
36900 _swigt__p_wxEvent,
36901 _swigt__p_wxGenericDirCtrl,
36902 _swigt__p_bool,
36903 _swigt__p_wxItemContainer,
36904 _swigt__p_wxPyListCtrl,
36905 _swigt__p_wxPyTreeItemData,
36906 _swigt__p_wxDirFilterListCtrl,
36907 _swigt__p_wxStaticLine,
36908 _swigt__p_wxControl,
36909 _swigt__p_wxPyControl,
36910 _swigt__p_wxGauge,
36911 _swigt__p_wxToolBarBase,
36912 _swigt__p_wxFont,
36913 _swigt__p_wxToggleButton,
36914 _swigt__p_wxRadioButton,
36915 _swigt__p_wxChoice,
36916 _swigt__p_wxMemoryDC,
36917 _swigt__ptrdiff_t,
36918 _swigt__std__ptrdiff_t,
36919 _swigt__p_wxListItemAttr,
36920 _swigt__p_void,
36921 _swigt__p_int,
36922 _swigt__p_wxSize,
36923 _swigt__p_wxDC,
36924 _swigt__p_wxListView,
36925 _swigt__p_wxIcon,
36926 _swigt__p_wxVisualAttributes,
36927 _swigt__p_wxTextCtrl,
36928 _swigt__p_wxNotebook,
36929 _swigt__p_wxChoicebook,
36930 _swigt__p_wxNotifyEvent,
36931 _swigt__p_wxArrayString,
36932 _swigt__p_form_ops_t,
36933 _swigt__p_wxListbook,
36934 _swigt__p_wxStaticBitmap,
36935 _swigt__p_wxSlider,
36936 _swigt__p_wxStaticBox,
36937 _swigt__p_wxArrayInt,
36938 _swigt__p_wxContextHelp,
36939 _swigt__p_long,
36940 _swigt__p_wxDuplexMode,
36941 _swigt__p_wxBookCtrlBase,
36942 _swigt__p_wxEvtHandler,
36943 _swigt__p_wxListEvent,
36944 _swigt__p_wxCheckListBox,
36945 _swigt__p_wxListBox,
36946 _swigt__p_wxSpinButton,
36947 _swigt__p_wxButton,
36948 _swigt__p_wxBitmapButton,
36949 _swigt__p_wxRect,
36950 _swigt__p_wxContextHelpButton,
36951 _swigt__p_wxRadioBox,
36952 _swigt__p_wxScrollBar,
36953 _swigt__p_char,
36954 _swigt__p_wxComboBox,
36955 _swigt__p_wxTreeItemId,
36956 _swigt__p_wxHelpEvent,
36957 _swigt__p_wxListItem,
36958 _swigt__p_wxNotebookSizer,
36959 _swigt__p_wxSpinEvent,
36960 _swigt__p_wxGenericDragImage,
36961 _swigt__p_wxSpinCtrl,
36962 _swigt__p_wxPaperSize,
36963 _swigt__p_wxImageList,
36964 _swigt__p_wxHelpProvider,
36965 _swigt__p_wxTextAttr,
36966 _swigt__p_wxSimpleHelpProvider,
36967 _swigt__p_wxChoicebookEvent,
36968 _swigt__p_wxListbookEvent,
36969 _swigt__p_wxNotebookEvent,
36970 _swigt__p_wxPoint,
36971 _swigt__p_wxObject,
36972 _swigt__p_wxCursor,
36973 _swigt__p_wxDateTime,
36974 _swigt__p_wxKeyEvent,
36975 _swigt__p_unsigned_long,
36976 _swigt__p_wxWindow,
36977 _swigt__p_wxString,
36978 _swigt__p_wxBitmap,
36979 _swigt__unsigned_int,
36980 _swigt__p_unsigned_int,
36981 _swigt__p_unsigned_char,
36982 _swigt__p_wxMouseEvent,
36983 _swigt__p_wxBookCtrlBaseEvent,
36984 _swigt__p_wxTreeEvent,
36985 _swigt__p_wxCommandEvent,
36986 _swigt__p_wxStaticText,
36987 _swigt__p_wxDatePickerCtrl,
36988 _swigt__p_wxControlWithItems,
36989 _swigt__p_wxToolBarToolBase,
36990 _swigt__p_wxColour,
36991 _swigt__p_wxToolBar,
36992 _swigt__p_wxBookCtrlSizer,
36993 _swigt__p_wxValidator,
36994 0
36995 };
36996
36997
36998 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36999
37000 static swig_const_info swig_const_table[] = {
37001 {0, 0, 0, 0.0, 0, 0}};
37002
37003 #ifdef __cplusplus
37004 }
37005 #endif
37006
37007
37008 #ifdef __cplusplus
37009 extern "C" {
37010 #endif
37011
37012 /* Python-specific SWIG API */
37013 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37014 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37015 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37016
37017 /* -----------------------------------------------------------------------------
37018 * global variable support code.
37019 * ----------------------------------------------------------------------------- */
37020
37021 typedef struct swig_globalvar {
37022 char *name; /* Name of global variable */
37023 PyObject *(*get_attr)(); /* Return the current value */
37024 int (*set_attr)(PyObject *); /* Set the value */
37025 struct swig_globalvar *next;
37026 } swig_globalvar;
37027
37028 typedef struct swig_varlinkobject {
37029 PyObject_HEAD
37030 swig_globalvar *vars;
37031 } swig_varlinkobject;
37032
37033 static PyObject *
37034 swig_varlink_repr(swig_varlinkobject *v) {
37035 v = v;
37036 return PyString_FromString("<Swig global variables>");
37037 }
37038
37039 static int
37040 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37041 swig_globalvar *var;
37042 flags = flags;
37043 fprintf(fp,"Swig global variables { ");
37044 for (var = v->vars; var; var=var->next) {
37045 fprintf(fp,"%s", var->name);
37046 if (var->next) fprintf(fp,", ");
37047 }
37048 fprintf(fp," }\n");
37049 return 0;
37050 }
37051
37052 static PyObject *
37053 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37054 swig_globalvar *var = v->vars;
37055 while (var) {
37056 if (strcmp(var->name,n) == 0) {
37057 return (*var->get_attr)();
37058 }
37059 var = var->next;
37060 }
37061 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37062 return NULL;
37063 }
37064
37065 static int
37066 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37067 swig_globalvar *var = v->vars;
37068 while (var) {
37069 if (strcmp(var->name,n) == 0) {
37070 return (*var->set_attr)(p);
37071 }
37072 var = var->next;
37073 }
37074 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37075 return 1;
37076 }
37077
37078 static PyTypeObject varlinktype = {
37079 PyObject_HEAD_INIT(0)
37080 0, /* Number of items in variable part (ob_size) */
37081 (char *)"swigvarlink", /* Type name (tp_name) */
37082 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37083 0, /* Itemsize (tp_itemsize) */
37084 0, /* Deallocator (tp_dealloc) */
37085 (printfunc) swig_varlink_print, /* Print (tp_print) */
37086 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37087 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37088 0, /* tp_compare */
37089 (reprfunc) swig_varlink_repr, /* tp_repr */
37090 0, /* tp_as_number */
37091 0, /* tp_as_sequence */
37092 0, /* tp_as_mapping */
37093 0, /* tp_hash */
37094 0, /* tp_call */
37095 0, /* tp_str */
37096 0, /* tp_getattro */
37097 0, /* tp_setattro */
37098 0, /* tp_as_buffer */
37099 0, /* tp_flags */
37100 0, /* tp_doc */
37101 #if PY_VERSION_HEX >= 0x02000000
37102 0, /* tp_traverse */
37103 0, /* tp_clear */
37104 #endif
37105 #if PY_VERSION_HEX >= 0x02010000
37106 0, /* tp_richcompare */
37107 0, /* tp_weaklistoffset */
37108 #endif
37109 #if PY_VERSION_HEX >= 0x02020000
37110 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37111 #endif
37112 #if PY_VERSION_HEX >= 0x02030000
37113 0, /* tp_del */
37114 #endif
37115 #ifdef COUNT_ALLOCS
37116 0,0,0,0 /* tp_alloc -> tp_next */
37117 #endif
37118 };
37119
37120 /* Create a variable linking object for use later */
37121 static PyObject *
37122 SWIG_Python_newvarlink(void) {
37123 swig_varlinkobject *result = 0;
37124 result = PyMem_NEW(swig_varlinkobject,1);
37125 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37126 result->ob_type = &varlinktype;
37127 result->vars = 0;
37128 result->ob_refcnt = 0;
37129 Py_XINCREF((PyObject *) result);
37130 return ((PyObject*) result);
37131 }
37132
37133 static void
37134 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37135 swig_varlinkobject *v;
37136 swig_globalvar *gv;
37137 v= (swig_varlinkobject *) p;
37138 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37139 gv->name = (char *) malloc(strlen(name)+1);
37140 strcpy(gv->name,name);
37141 gv->get_attr = get_attr;
37142 gv->set_attr = set_attr;
37143 gv->next = v->vars;
37144 v->vars = gv;
37145 }
37146
37147 /* -----------------------------------------------------------------------------
37148 * constants/methods manipulation
37149 * ----------------------------------------------------------------------------- */
37150
37151 /* Install Constants */
37152 static void
37153 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37154 PyObject *obj = 0;
37155 size_t i;
37156 for (i = 0; constants[i].type; i++) {
37157 switch(constants[i].type) {
37158 case SWIG_PY_INT:
37159 obj = PyInt_FromLong(constants[i].lvalue);
37160 break;
37161 case SWIG_PY_FLOAT:
37162 obj = PyFloat_FromDouble(constants[i].dvalue);
37163 break;
37164 case SWIG_PY_STRING:
37165 if (constants[i].pvalue) {
37166 obj = PyString_FromString((char *) constants[i].pvalue);
37167 } else {
37168 Py_INCREF(Py_None);
37169 obj = Py_None;
37170 }
37171 break;
37172 case SWIG_PY_POINTER:
37173 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37174 break;
37175 case SWIG_PY_BINARY:
37176 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37177 break;
37178 default:
37179 obj = 0;
37180 break;
37181 }
37182 if (obj) {
37183 PyDict_SetItemString(d,constants[i].name,obj);
37184 Py_DECREF(obj);
37185 }
37186 }
37187 }
37188
37189 /* -----------------------------------------------------------------------------*/
37190 /* Fix SwigMethods to carry the callback ptrs when needed */
37191 /* -----------------------------------------------------------------------------*/
37192
37193 static void
37194 SWIG_Python_FixMethods(PyMethodDef *methods,
37195 swig_const_info *const_table,
37196 swig_type_info **types,
37197 swig_type_info **types_initial) {
37198 size_t i;
37199 for (i = 0; methods[i].ml_name; ++i) {
37200 char *c = methods[i].ml_doc;
37201 if (c && (c = strstr(c, "swig_ptr: "))) {
37202 int j;
37203 swig_const_info *ci = 0;
37204 char *name = c + 10;
37205 for (j = 0; const_table[j].type; j++) {
37206 if (strncmp(const_table[j].name, name,
37207 strlen(const_table[j].name)) == 0) {
37208 ci = &(const_table[j]);
37209 break;
37210 }
37211 }
37212 if (ci) {
37213 size_t shift = (ci->ptype) - types;
37214 swig_type_info *ty = types_initial[shift];
37215 size_t ldoc = (c - methods[i].ml_doc);
37216 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37217 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37218 char *buff = ndoc;
37219 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37220 strncpy(buff, methods[i].ml_doc, ldoc);
37221 buff += ldoc;
37222 strncpy(buff, "swig_ptr: ", 10);
37223 buff += 10;
37224 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37225 methods[i].ml_doc = ndoc;
37226 }
37227 }
37228 }
37229 }
37230
37231 /* -----------------------------------------------------------------------------*
37232 * Initialize type list
37233 * -----------------------------------------------------------------------------*/
37234
37235 #if PY_MAJOR_VERSION < 2
37236 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37237 is copied out of Python/modsupport.c in python version 2.3.4 */
37238 static int
37239 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37240 {
37241 PyObject *dict;
37242 if (!PyModule_Check(m)) {
37243 PyErr_SetString(PyExc_TypeError,
37244 "PyModule_AddObject() needs module as first arg");
37245 return -1;
37246 }
37247 if (!o) {
37248 PyErr_SetString(PyExc_TypeError,
37249 "PyModule_AddObject() needs non-NULL value");
37250 return -1;
37251 }
37252
37253 dict = PyModule_GetDict(m);
37254 if (dict == NULL) {
37255 /* Internal error -- modules must have a dict! */
37256 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37257 PyModule_GetName(m));
37258 return -1;
37259 }
37260 if (PyDict_SetItemString(dict, name, o))
37261 return -1;
37262 Py_DECREF(o);
37263 return 0;
37264 }
37265 #endif
37266
37267 static swig_type_info **
37268 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37269 static PyMethodDef swig_empty_runtime_method_table[] = {
37270 {
37271 NULL, NULL, 0, NULL
37272 }
37273 };/* Sentinel */
37274
37275 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37276 swig_empty_runtime_method_table);
37277 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37278 if (pointer && module) {
37279 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37280 }
37281 return type_list_handle;
37282 }
37283
37284 static swig_type_info **
37285 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37286 swig_type_info **type_pointer;
37287
37288 /* first check if module already created */
37289 type_pointer = SWIG_Python_GetTypeListHandle();
37290 if (type_pointer) {
37291 return type_pointer;
37292 } else {
37293 /* create a new module and variable */
37294 return SWIG_Python_SetTypeListHandle(type_list_handle);
37295 }
37296 }
37297
37298 #ifdef __cplusplus
37299 }
37300 #endif
37301
37302 /* -----------------------------------------------------------------------------*
37303 * Partial Init method
37304 * -----------------------------------------------------------------------------*/
37305
37306 #ifdef SWIG_LINK_RUNTIME
37307 #ifdef __cplusplus
37308 extern "C"
37309 #endif
37310 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37311 #endif
37312
37313 #ifdef __cplusplus
37314 extern "C"
37315 #endif
37316 SWIGEXPORT(void) SWIG_init(void) {
37317 static PyObject *SWIG_globals = 0;
37318 static int typeinit = 0;
37319 PyObject *m, *d;
37320 int i;
37321 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37322
37323 /* Fix SwigMethods to carry the callback ptrs when needed */
37324 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37325
37326 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37327 d = PyModule_GetDict(m);
37328
37329 if (!typeinit) {
37330 #ifdef SWIG_LINK_RUNTIME
37331 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37332 #else
37333 # ifndef SWIG_STATIC_RUNTIME
37334 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37335 # endif
37336 #endif
37337 for (i = 0; swig_types_initial[i]; i++) {
37338 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37339 }
37340 typeinit = 1;
37341 }
37342 SWIG_InstallConstants(d,swig_const_table);
37343
37344 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37345 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37346 {
37347 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37348 }
37349 {
37350 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37351 }
37352 {
37353 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37354 }
37355 {
37356 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37357 }
37358 {
37359 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37360 }
37361 {
37362 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37363 }
37364 {
37365 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37366 }
37367 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37368 {
37369 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37373 }
37374 {
37375 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37376 }
37377 {
37378 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37379 }
37380 {
37381 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37385 }
37386 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37387 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37388 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37389 {
37390 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37400 }
37401 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37402 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37403 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37404 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37405 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37406 {
37407 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37408 }
37409 {
37410 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37411 }
37412 {
37413 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37414 }
37415 {
37416 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37417 }
37418 {
37419 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37420 }
37421 {
37422 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37423 }
37424 {
37425 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37426 }
37427 {
37428 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37429 }
37430 {
37431 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37432 }
37433 {
37434 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37435 }
37436 {
37437 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37438 }
37439 {
37440 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37450 }
37451 {
37452 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37453 }
37454 {
37455 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37456 }
37457 {
37458 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37459 }
37460 {
37461 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37462 }
37463 {
37464 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37465 }
37466 {
37467 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37468 }
37469 {
37470 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37519 }
37520 {
37521 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37522 }
37523 {
37524 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37525 }
37526 {
37527 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37543 }
37544 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37545 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37546 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37547 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37548 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37549 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37550 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37551 {
37552 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37553 }
37554 {
37555 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37556 }
37557 {
37558 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37559 }
37560 {
37561 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37562 }
37563 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37564 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37565 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37566 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37567 {
37568 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37575 }
37576 {
37577 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37578 }
37579 {
37580 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37581 }
37582 {
37583 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37596 }
37597 {
37598 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37599 }
37600 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37601 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37602 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37603 {
37604 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37605 }
37606 {
37607 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37608 }
37609 {
37610 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37614 }
37615 {
37616 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37620 }
37621 {
37622 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37623 }
37624 {
37625 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37635 }
37636 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37637 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37638 {
37639 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37655 }
37656 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37657 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37658 {
37659 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37660 }
37661 {
37662 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37663 }
37664 {
37665 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37666 }
37667 {
37668 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37669 }
37670 {
37671 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37672 }
37673 {
37674 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37675 }
37676 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37677 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37678 {
37679 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37719 }
37720 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37721 {
37722 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37723 }
37724 {
37725 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37726 }
37727 {
37728 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37729 }
37730 {
37731 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37732 }
37733 {
37734 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37735 }
37736 {
37737 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37738 }
37739 {
37740 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37741 }
37742 {
37743 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37744 }
37745 {
37746 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37747 }
37748 {
37749 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37750 }
37751 {
37752 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37753 }
37754 {
37755 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37756 }
37757 {
37758 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37759 }
37760 {
37761 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37768 }
37769 {
37770 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37771 }
37772 {
37773 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37804 }
37805 {
37806 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37807 }
37808 {
37809 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37810 }
37811 {
37812 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37813 }
37814 {
37815 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37816 }
37817 {
37818 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37819 }
37820 {
37821 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37822 }
37823 {
37824 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37825 }
37826 {
37827 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37828 }
37829 {
37830 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37831 }
37832 {
37833 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37834 }
37835 {
37836 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37837 }
37838 {
37839 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37840 }
37841 {
37842 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37843 }
37844 {
37845 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37846 }
37847 {
37848 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37876 }
37877 {
37878 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37879 }
37880 {
37881 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37882 }
37883 {
37884 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37885 }
37886 {
37887 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37888 }
37889 {
37890 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37891 }
37892 {
37893 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37894 }
37895 {
37896 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37897 }
37898 {
37899 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37900 }
37901 {
37902 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37903 }
37904 {
37905 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37906 }
37907 {
37908 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37909 }
37910 {
37911 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37924 }
37925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37928 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37929 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37930 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37931 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37932 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37933 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37934 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37942 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37943 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37944 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37945 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37946 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37947
37948 // Map renamed classes back to their common name for OOR
37949 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37950
37951 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37952 {
37953 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37954 }
37955 {
37956 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37957 }
37958 {
37959 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37960 }
37961 {
37962 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37963 }
37964 {
37965 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37966 }
37967 {
37968 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37969 }
37970 {
37971 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37972 }
37973 {
37974 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37978 }
37979 {
37980 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37981 }
37982 {
37983 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37984 }
37985 {
37986 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37987 }
37988 {
37989 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37990 }
37991 {
37992 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37993 }
37994 {
37995 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37996 }
37997 {
37998 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37999 }
38000 {
38001 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38002 }
38003 {
38004 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38005 }
38006 {
38007 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38008 }
38009 {
38010 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38011 }
38012 {
38013 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38014 }
38015 {
38016 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38017 }
38018 {
38019 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38020 }
38021 {
38022 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38023 }
38024 {
38025 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38026 }
38027 {
38028 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38029 }
38030 {
38031 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38032 }
38033 {
38034 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38035 }
38036 {
38037 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38038 }
38039 {
38040 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38041 }
38042 {
38043 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38056 }
38057 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38058 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38059 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38060 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38061 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38062 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38063 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38064 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38065 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38066 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38067 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38068 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38069 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38070 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38071 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38072 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38073 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38074 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38075 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38076 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38077 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38078
38079 // Map renamed classes back to their common name for OOR
38080 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38081 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38082
38083 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38084 {
38085 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38086 }
38087 {
38088 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38089 }
38090 {
38091 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38092 }
38093 {
38094 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38095 }
38096 {
38097 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38098 }
38099 {
38100 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38101 }
38102 {
38103 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38104 }
38105 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38106 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38107
38108 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38109
38110 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38111 {
38112 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38113 }
38114 {
38115 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38116 }
38117 {
38118 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38119 }
38120 {
38121 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38122 }
38123 {
38124 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38125 }
38126 }
38127