]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
made XPM data const
[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 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info *swig_types[99];
1441
1442 /* -------- TYPES TABLE (END) -------- */
1443
1444
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1449
1450 #define SWIG_name "_controls_"
1451
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1465 /*@@*/
1466
1467
1468 #include <limits.h>
1469
1470
1471 SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474 {
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491 }
1492
1493
1494 SWIGINTERN int
1495 SWIG_AsVal_long(PyObject* obj, long* val)
1496 {
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505 }
1506
1507
1508 #if INT_MAX != LONG_MAX
1509 SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511 {
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528 }
1529 #else
1530 SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532 {
1533 return SWIG_AsVal_long(obj,(long*)val);
1534 }
1535 #endif
1536
1537
1538 SWIGINTERNSHORT int
1539 SWIG_As_int(PyObject* obj)
1540 {
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
1544 this is needed to make valgrind/purify happier.
1545 */
1546 memset((void*)&v, 0, sizeof(int));
1547 }
1548 return v;
1549 }
1550
1551
1552 SWIGINTERNSHORT long
1553 SWIG_As_long(PyObject* obj)
1554 {
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
1558 this is needed to make valgrind/purify happier.
1559 */
1560 memset((void*)&v, 0, sizeof(long));
1561 }
1562 return v;
1563 }
1564
1565
1566 SWIGINTERNSHORT int
1567 SWIG_Check_int(PyObject* obj)
1568 {
1569 return SWIG_AsVal_int(obj, (int*)0);
1570 }
1571
1572
1573 SWIGINTERNSHORT int
1574 SWIG_Check_long(PyObject* obj)
1575 {
1576 return SWIG_AsVal_long(obj, (long*)0);
1577 }
1578
1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1580
1581 SWIGINTERN int
1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
1583 {
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
1590 return 1;
1591 }
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
1594 if (val) *val = res ? true : false;
1595 return 1;
1596 } else {
1597 PyErr_Clear();
1598 }
1599 if (val) {
1600 SWIG_type_error("bool", obj);
1601 }
1602 return 0;
1603 }
1604
1605
1606 SWIGINTERNSHORT bool
1607 SWIG_As_bool(PyObject* obj)
1608 {
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
1612 this is needed to make valgrind/purify happier.
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617 }
1618
1619
1620 SWIGINTERNSHORT int
1621 SWIG_Check_bool(PyObject* obj)
1622 {
1623 return SWIG_AsVal_bool(obj, (bool*)0);
1624 }
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1628
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1631 /*@@*/
1632
1633
1634 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1635 PyObject* o2;
1636 PyObject* o3;
1637
1638 if (!target) {
1639 target = o;
1640 } else if (target == Py_None) {
1641 Py_DECREF(Py_None);
1642 target = o;
1643 } else {
1644 if (!PyTuple_Check(target)) {
1645 o2 = target;
1646 target = PyTuple_New(1);
1647 PyTuple_SetItem(target, 0, o2);
1648 }
1649 o3 = PyTuple_New(1);
1650 PyTuple_SetItem(o3, 0, o);
1651
1652 o2 = target;
1653 target = PySequence_Concat(o2, o3);
1654 Py_DECREF(o2);
1655 Py_DECREF(o3);
1656 }
1657 return target;
1658 }
1659
1660
1661 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1662 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1663 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1664 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1665
1666 #include <wx/checklst.h>
1667
1668
1669 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1670 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1671 if (clientData) {
1672 wxPyClientData* data = new wxPyClientData(clientData);
1673 self->Insert(item, pos, data);
1674 } else
1675 self->Insert(item, pos);
1676 }
1677 static PyObject *wxListBox_GetSelections(wxListBox *self){
1678 wxArrayInt lst;
1679 self->GetSelections(lst);
1680 PyObject *tup = PyTuple_New(lst.GetCount());
1681 for(size_t i=0; i<lst.GetCount(); i++) {
1682 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1683 }
1684 return tup;
1685 }
1686 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1687 #ifdef __WXMSW__
1688 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1689 self->GetItem(item)->SetTextColour(c);
1690 #endif
1691 }
1692 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1693 #ifdef __WXMSW__
1694 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1695 self->GetItem(item)->SetBackgroundColour(c);
1696 #endif
1697 }
1698 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1699 #ifdef __WXMSW__
1700 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1701 self->GetItem(item)->SetFont(f);
1702 #endif
1703 }
1704 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1705
1706 SWIGINTERN int
1707 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1708 {
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1711 SWIG_type_error("unsigned number", obj);
1712 }
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
1716 }
1717
1718
1719 SWIGINTERNSHORT unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject* obj)
1721 {
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
1725 this is needed to make valgrind/purify happier.
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
1728 }
1729 return v;
1730 }
1731
1732
1733 SWIGINTERNSHORT int
1734 SWIG_Check_unsigned_SS_long(PyObject* obj)
1735 {
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1737 }
1738
1739 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1740 self->AppendText(text);
1741 }
1742 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750 static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1751 static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1752 static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
1753
1754 #include <wx/slider.h>
1755
1756
1757 static const wxString wxPySliderNameStr(wxSliderNameStr);
1758 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1759
1760 #if !wxUSE_TOGGLEBTN
1761 // implement dummy items for platforms that don't have this class
1762
1763 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1764
1765 class wxToggleButton : public wxControl
1766 {
1767 public:
1768 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1769 const wxPoint&, const wxSize&, long,
1770 const wxValidator&, const wxString&)
1771 { wxPyRaiseNotImplemented(); }
1772
1773 wxToggleButton()
1774 { wxPyRaiseNotImplemented(); }
1775 };
1776 #endif
1777
1778 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1779
1780 SWIGINTERNSHORT PyObject*
1781 SWIG_From_unsigned_SS_long(unsigned long value)
1782 {
1783 return (value > LONG_MAX) ?
1784 PyLong_FromUnsignedLong(value)
1785 : PyInt_FromLong((long)(value));
1786 }
1787
1788 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1789 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1790 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1791 if (udata) {
1792 Py_INCREF(udata->m_obj);
1793 return udata->m_obj;
1794 } else {
1795 Py_INCREF(Py_None);
1796 return Py_None;
1797 }
1798 }
1799 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1800 self->SetClientData(new wxPyUserData(clientData));
1801 }
1802 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){
1803 wxPyUserData* udata = NULL;
1804 if (clientData && clientData != Py_None)
1805 udata = new wxPyUserData(clientData);
1806 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1807 shortHelp, longHelp, udata);
1808 }
1809 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){
1810 wxPyUserData* udata = NULL;
1811 if (clientData && clientData != Py_None)
1812 udata = new wxPyUserData(clientData);
1813 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1814 shortHelp, longHelp, udata);
1815 }
1816 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1817 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1818 if (udata) {
1819 Py_INCREF(udata->m_obj);
1820 return udata->m_obj;
1821 } else {
1822 Py_INCREF(Py_None);
1823 return Py_None;
1824 }
1825 }
1826 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1827 self->SetToolClientData(id, new wxPyUserData(clientData));
1828 }
1829
1830 #include <wx/listctrl.h>
1831
1832 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1833 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1834 // Python aware sorting function for wxPyListCtrl
1835 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1836 int retval = 0;
1837 PyObject* func = (PyObject*)funcPtr;
1838 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1839
1840 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1841 PyObject* result = PyEval_CallObject(func, args);
1842 Py_DECREF(args);
1843 if (result) {
1844 retval = PyInt_AsLong(result);
1845 Py_DECREF(result);
1846 }
1847
1848 wxPyEndBlockThreads(blocked);
1849 return retval;
1850 }
1851
1852 // C++ Version of a Python aware class
1853 class wxPyListCtrl : public wxListCtrl {
1854 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1855 public:
1856 wxPyListCtrl() : wxListCtrl() {}
1857 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1858 const wxPoint& pos,
1859 const wxSize& size,
1860 long style,
1861 const wxValidator& validator,
1862 const wxString& name) :
1863 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1864
1865 bool Create(wxWindow* parent, wxWindowID id,
1866 const wxPoint& pos,
1867 const wxSize& size,
1868 long style,
1869 const wxValidator& validator,
1870 const wxString& name) {
1871 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1872 }
1873
1874 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1875 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1876
1877 // use the virtual version to avoid a confusing assert in the base class
1878 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1879
1880 PYPRIVATE;
1881 };
1882
1883 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1884
1885 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1886 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1887 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1888
1889
1890 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1891 wxListItem item;
1892 item.SetMask( wxLIST_MASK_STATE |
1893 wxLIST_MASK_TEXT |
1894 wxLIST_MASK_IMAGE |
1895 wxLIST_MASK_DATA |
1896 wxLIST_SET_ITEM |
1897 wxLIST_MASK_WIDTH |
1898 wxLIST_MASK_FORMAT
1899 );
1900 if (self->GetColumn(col, item))
1901 return new wxListItem(item);
1902 else
1903 return NULL;
1904 }
1905 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1906 wxListItem* info = new wxListItem;
1907 info->m_itemId = itemId;
1908 info->m_col = col;
1909 info->m_mask = 0xFFFF;
1910 self->GetItem(*info);
1911 return info;
1912 }
1913 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1914 wxPoint pos;
1915 self->GetItemPosition(item, pos);
1916 return pos;
1917 }
1918 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1919 wxRect rect;
1920 self->GetItemRect(item, rect, code);
1921 return rect;
1922 }
1923
1924 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1925 if (!PyCallable_Check(func))
1926 return false;
1927 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1928 }
1929 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1930
1931
1932
1933 return (wxWindow*)self->m_mainWin;
1934
1935 }
1936
1937 #include <wx/treectrl.h>
1938 #include "wx/wxPython/pytree.h"
1939
1940 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1941 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1942 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1943 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1944 // C++ version of Python aware wxTreeCtrl
1945 class wxPyTreeCtrl : public wxTreeCtrl {
1946 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1947 public:
1948 wxPyTreeCtrl() : wxTreeCtrl() {}
1949 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1950 const wxPoint& pos,
1951 const wxSize& size,
1952 long style,
1953 const wxValidator& validator,
1954 const wxString& name) :
1955 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1956
1957 bool Create(wxWindow *parent, wxWindowID id,
1958 const wxPoint& pos,
1959 const wxSize& size,
1960 long style,
1961 const wxValidator& validator,
1962 const wxString& name) {
1963 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1964 }
1965
1966
1967 int OnCompareItems(const wxTreeItemId& item1,
1968 const wxTreeItemId& item2) {
1969 int rval = 0;
1970 bool found;
1971 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1972 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1973 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1974 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1975 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1976 Py_DECREF(o1);
1977 Py_DECREF(o2);
1978 }
1979 wxPyEndBlockThreads(blocked);
1980 if (! found)
1981 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1982 return rval;
1983 }
1984 PYPRIVATE;
1985 };
1986
1987 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1988
1989
1990
1991 #if UINT_MAX < LONG_MAX
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_long
1994 /*@@*/
1995 #else
1996 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1997 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1998 /*@@*/
1999 #endif
2000
2001
2002 SWIGINTERNSHORT int
2003 SWIG_CheckUnsignedLongInRange(unsigned long value,
2004 unsigned long max_value,
2005 const char *errmsg)
2006 {
2007 if (value > max_value) {
2008 if (errmsg) {
2009 PyErr_Format(PyExc_OverflowError,
2010 "value %lu is greater than '%s' minimum %lu",
2011 value, errmsg, max_value);
2012 }
2013 return 0;
2014 }
2015 return 1;
2016 }
2017
2018
2019 #if UINT_MAX != ULONG_MAX
2020 SWIGINTERN int
2021 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2022 {
2023 const char* errmsg = val ? "unsigned int" : (char*)0;
2024 unsigned long v;
2025 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2026 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2027 if (val) *val = (unsigned int)(v);
2028 return 1;
2029 }
2030 } else {
2031 PyErr_Clear();
2032 }
2033 if (val) {
2034 SWIG_type_error(errmsg, obj);
2035 }
2036 return 0;
2037 }
2038 #else
2039 SWIGINTERNSHORT unsigned int
2040 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2041 {
2042 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2043 }
2044 #endif
2045
2046
2047 SWIGINTERNSHORT unsigned int
2048 SWIG_As_unsigned_SS_int(PyObject* obj)
2049 {
2050 unsigned int v;
2051 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2052 /*
2053 this is needed to make valgrind/purify happier.
2054 */
2055 memset((void*)&v, 0, sizeof(unsigned int));
2056 }
2057 return v;
2058 }
2059
2060
2061 SWIGINTERNSHORT int
2062 SWIG_Check_unsigned_SS_int(PyObject* obj)
2063 {
2064 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2065 }
2066
2067 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2068 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2069 if (data == NULL) {
2070 data = new wxPyTreeItemData();
2071 data->SetId(item); // set the id
2072 self->SetItemData(item, data);
2073 }
2074 return data;
2075 }
2076 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2077 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2078 if (data == NULL) {
2079 data = new wxPyTreeItemData();
2080 data->SetId(item); // set the id
2081 self->SetItemData(item, data);
2082 }
2083 return data->GetData();
2084 }
2085 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2086 data->SetId(item); // set the id
2087 self->SetItemData(item, data);
2088 }
2089 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2090 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2091 if (data == NULL) {
2092 data = new wxPyTreeItemData(obj);
2093 data->SetId(item); // set the id
2094 self->SetItemData(item, data);
2095 } else
2096 data->SetData(obj);
2097 }
2098 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2099 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2100 PyObject* rval = PyList_New(0);
2101 wxArrayTreeItemIds array;
2102 size_t num, x;
2103 num = self->GetSelections(array);
2104 for (x=0; x < num; x++) {
2105 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2106 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2107 PyList_Append(rval, item);
2108 Py_DECREF(item);
2109 }
2110 wxPyEndBlockThreads(blocked);
2111 return rval;
2112 }
2113 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2114 void* cookie = 0;
2115 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2116 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2117 PyObject* tup = PyTuple_New(2);
2118 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2119 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2120 wxPyEndBlockThreads(blocked);
2121 return tup;
2122 }
2123 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2124 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2125 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2126 PyObject* tup = PyTuple_New(2);
2127 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2128 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2129 wxPyEndBlockThreads(blocked);
2130 return tup;
2131 }
2132 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2133 wxRect rect;
2134 if (self->GetBoundingRect(item, rect, textOnly)) {
2135 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2136 wxRect* r = new wxRect(rect);
2137 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2138 wxPyEndBlockThreads(blocked);
2139 return val;
2140 }
2141 else
2142 RETURN_NONE();
2143 }
2144 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2145
2146 SWIGINTERNSHORT PyObject*
2147 SWIG_From_bool(bool value)
2148 {
2149 PyObject *obj = value ? Py_True : Py_False;
2150 Py_INCREF(obj);
2151 return obj;
2152 }
2153
2154
2155 // C++ version of Python aware wxControl
2156 class wxPyControl : public wxControl
2157 {
2158 DECLARE_DYNAMIC_CLASS(wxPyControl)
2159 public:
2160 wxPyControl() : wxControl() {}
2161 wxPyControl(wxWindow* parent, const wxWindowID id,
2162 const wxPoint& pos = wxDefaultPosition,
2163 const wxSize& size = wxDefaultSize,
2164 long style = 0,
2165 const wxValidator& validator=wxDefaultValidator,
2166 const wxString& name = wxPyControlNameStr)
2167 : wxControl(parent, id, pos, size, style, validator, name) {}
2168
2169 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2170
2171 bool DoEraseBackground(wxDC* dc) {
2172 #ifdef __WXMSW__
2173 return wxWindow::DoEraseBackground(dc->GetHDC());
2174 #else
2175 dc->SetBackground(wxBrush(GetBackgroundColour()));
2176 dc->Clear();
2177 return true;
2178 #endif
2179 }
2180
2181 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2182 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2183 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2184 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2185
2186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2189
2190 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2191 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2192
2193 DEC_PYCALLBACK__(InitDialog);
2194 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2195 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2196 DEC_PYCALLBACK_BOOL_(Validate);
2197
2198 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2199 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2200 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2201
2202 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2203 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2204
2205 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2206 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2207
2208 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2209
2210 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2211
2212 PYPRIVATE;
2213 };
2214
2215 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2216
2217 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2218 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2219 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2220 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2221
2222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2223 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2224 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2225
2226 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2227 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2228
2229 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2230 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2231 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2232 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2233
2234 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2235 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2236 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2237
2238 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2239 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2240
2241 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2242 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2243
2244 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2245
2246 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2247
2248
2249
2250 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2251
2252 #include <wx/generic/dragimgg.h>
2253
2254 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2255 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2256 wxDateTime rv;
2257 self->GetRange(&rv, NULL);
2258 return rv;
2259 }
2260 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2261 wxDateTime rv;
2262 self->GetRange(NULL, &rv);
2263 return rv;
2264 }
2265 #ifdef __cplusplus
2266 extern "C" {
2267 #endif
2268 static int _wrap_ButtonNameStr_set(PyObject *) {
2269 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2270 return 1;
2271 }
2272
2273
2274 static PyObject *_wrap_ButtonNameStr_get(void) {
2275 PyObject *pyobj;
2276
2277 {
2278 #if wxUSE_UNICODE
2279 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2280 #else
2281 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2282 #endif
2283 }
2284 return pyobj;
2285 }
2286
2287
2288 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 wxWindow *arg1 = (wxWindow *) 0 ;
2291 int arg2 = (int) -1 ;
2292 wxString const &arg3_defvalue = wxPyEmptyString ;
2293 wxString *arg3 = (wxString *) &arg3_defvalue ;
2294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2296 wxSize const &arg5_defvalue = wxDefaultSize ;
2297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2298 long arg6 = (long) 0 ;
2299 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2300 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2301 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2302 wxString *arg8 = (wxString *) &arg8_defvalue ;
2303 wxButton *result;
2304 bool temp3 = false ;
2305 wxPoint temp4 ;
2306 wxSize temp5 ;
2307 bool temp8 = false ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310 PyObject * obj2 = 0 ;
2311 PyObject * obj3 = 0 ;
2312 PyObject * obj4 = 0 ;
2313 PyObject * obj5 = 0 ;
2314 PyObject * obj6 = 0 ;
2315 PyObject * obj7 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2322 if (SWIG_arg_fail(1)) SWIG_fail;
2323 if (obj1) {
2324 {
2325 arg2 = (int)(SWIG_As_int(obj1));
2326 if (SWIG_arg_fail(2)) SWIG_fail;
2327 }
2328 }
2329 if (obj2) {
2330 {
2331 arg3 = wxString_in_helper(obj2);
2332 if (arg3 == NULL) SWIG_fail;
2333 temp3 = true;
2334 }
2335 }
2336 if (obj3) {
2337 {
2338 arg4 = &temp4;
2339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2340 }
2341 }
2342 if (obj4) {
2343 {
2344 arg5 = &temp5;
2345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2346 }
2347 }
2348 if (obj5) {
2349 {
2350 arg6 = (long)(SWIG_As_long(obj5));
2351 if (SWIG_arg_fail(6)) SWIG_fail;
2352 }
2353 }
2354 if (obj6) {
2355 {
2356 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2357 if (SWIG_arg_fail(7)) SWIG_fail;
2358 if (arg7 == NULL) {
2359 SWIG_null_ref("wxValidator");
2360 }
2361 if (SWIG_arg_fail(7)) SWIG_fail;
2362 }
2363 }
2364 if (obj7) {
2365 {
2366 arg8 = wxString_in_helper(obj7);
2367 if (arg8 == NULL) SWIG_fail;
2368 temp8 = true;
2369 }
2370 }
2371 {
2372 if (!wxPyCheckForApp()) SWIG_fail;
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2380 {
2381 if (temp3)
2382 delete arg3;
2383 }
2384 {
2385 if (temp8)
2386 delete arg8;
2387 }
2388 return resultobj;
2389 fail:
2390 {
2391 if (temp3)
2392 delete arg3;
2393 }
2394 {
2395 if (temp8)
2396 delete arg8;
2397 }
2398 return NULL;
2399 }
2400
2401
2402 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxButton *result;
2405 char *kwnames[] = {
2406 NULL
2407 };
2408
2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2410 {
2411 if (!wxPyCheckForApp()) SWIG_fail;
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (wxButton *)new wxButton();
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2419 return resultobj;
2420 fail:
2421 return NULL;
2422 }
2423
2424
2425 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxButton *arg1 = (wxButton *) 0 ;
2428 wxWindow *arg2 = (wxWindow *) 0 ;
2429 int arg3 = (int) -1 ;
2430 wxString const &arg4_defvalue = wxPyEmptyString ;
2431 wxString *arg4 = (wxString *) &arg4_defvalue ;
2432 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2433 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2434 wxSize const &arg6_defvalue = wxDefaultSize ;
2435 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2436 long arg7 = (long) 0 ;
2437 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2438 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2439 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2440 wxString *arg9 = (wxString *) &arg9_defvalue ;
2441 bool result;
2442 bool temp4 = false ;
2443 wxPoint temp5 ;
2444 wxSize temp6 ;
2445 bool temp9 = false ;
2446 PyObject * obj0 = 0 ;
2447 PyObject * obj1 = 0 ;
2448 PyObject * obj2 = 0 ;
2449 PyObject * obj3 = 0 ;
2450 PyObject * obj4 = 0 ;
2451 PyObject * obj5 = 0 ;
2452 PyObject * obj6 = 0 ;
2453 PyObject * obj7 = 0 ;
2454 PyObject * obj8 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail;
2462 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2463 if (SWIG_arg_fail(2)) SWIG_fail;
2464 if (obj2) {
2465 {
2466 arg3 = (int)(SWIG_As_int(obj2));
2467 if (SWIG_arg_fail(3)) SWIG_fail;
2468 }
2469 }
2470 if (obj3) {
2471 {
2472 arg4 = wxString_in_helper(obj3);
2473 if (arg4 == NULL) SWIG_fail;
2474 temp4 = true;
2475 }
2476 }
2477 if (obj4) {
2478 {
2479 arg5 = &temp5;
2480 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2481 }
2482 }
2483 if (obj5) {
2484 {
2485 arg6 = &temp6;
2486 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2487 }
2488 }
2489 if (obj6) {
2490 {
2491 arg7 = (long)(SWIG_As_long(obj6));
2492 if (SWIG_arg_fail(7)) SWIG_fail;
2493 }
2494 }
2495 if (obj7) {
2496 {
2497 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2498 if (SWIG_arg_fail(8)) SWIG_fail;
2499 if (arg8 == NULL) {
2500 SWIG_null_ref("wxValidator");
2501 }
2502 if (SWIG_arg_fail(8)) SWIG_fail;
2503 }
2504 }
2505 if (obj8) {
2506 {
2507 arg9 = wxString_in_helper(obj8);
2508 if (arg9 == NULL) SWIG_fail;
2509 temp9 = true;
2510 }
2511 }
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 {
2520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2521 }
2522 {
2523 if (temp4)
2524 delete arg4;
2525 }
2526 {
2527 if (temp9)
2528 delete arg9;
2529 }
2530 return resultobj;
2531 fail:
2532 {
2533 if (temp4)
2534 delete arg4;
2535 }
2536 {
2537 if (temp9)
2538 delete arg9;
2539 }
2540 return NULL;
2541 }
2542
2543
2544 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2545 PyObject *resultobj;
2546 wxButton *arg1 = (wxButton *) 0 ;
2547 PyObject * obj0 = 0 ;
2548 char *kwnames[] = {
2549 (char *) "self", NULL
2550 };
2551
2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2554 if (SWIG_arg_fail(1)) SWIG_fail;
2555 {
2556 PyThreadState* __tstate = wxPyBeginAllowThreads();
2557 (arg1)->SetDefault();
2558
2559 wxPyEndAllowThreads(__tstate);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 Py_INCREF(Py_None); resultobj = Py_None;
2563 return resultobj;
2564 fail:
2565 return NULL;
2566 }
2567
2568
2569 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2570 PyObject *resultobj;
2571 wxSize result;
2572 char *kwnames[] = {
2573 NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = wxButton::GetDefaultSize();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 {
2585 wxSize * resultptr;
2586 resultptr = new wxSize((wxSize &)(result));
2587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2588 }
2589 return resultobj;
2590 fail:
2591 return NULL;
2592 }
2593
2594
2595 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj;
2597 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2598 wxVisualAttributes result;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "variant", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2605 if (obj0) {
2606 {
2607 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2608 if (SWIG_arg_fail(1)) SWIG_fail;
2609 }
2610 }
2611 {
2612 if (!wxPyCheckForApp()) SWIG_fail;
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) SWIG_fail;
2618 }
2619 {
2620 wxVisualAttributes * resultptr;
2621 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2623 }
2624 return resultobj;
2625 fail:
2626 return NULL;
2627 }
2628
2629
2630 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2631 PyObject *obj;
2632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2633 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2634 Py_INCREF(obj);
2635 return Py_BuildValue((char *)"");
2636 }
2637 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxWindow *arg1 = (wxWindow *) 0 ;
2640 int arg2 = (int) -1 ;
2641 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2642 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2645 wxSize const &arg5_defvalue = wxDefaultSize ;
2646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2647 long arg6 = (long) wxBU_AUTODRAW ;
2648 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2649 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2650 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2651 wxString *arg8 = (wxString *) &arg8_defvalue ;
2652 wxBitmapButton *result;
2653 wxPoint temp4 ;
2654 wxSize temp5 ;
2655 bool temp8 = false ;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
2658 PyObject * obj2 = 0 ;
2659 PyObject * obj3 = 0 ;
2660 PyObject * obj4 = 0 ;
2661 PyObject * obj5 = 0 ;
2662 PyObject * obj6 = 0 ;
2663 PyObject * obj7 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail;
2671 if (obj1) {
2672 {
2673 arg2 = (int)(SWIG_As_int(obj1));
2674 if (SWIG_arg_fail(2)) SWIG_fail;
2675 }
2676 }
2677 if (obj2) {
2678 {
2679 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2680 if (SWIG_arg_fail(3)) SWIG_fail;
2681 if (arg3 == NULL) {
2682 SWIG_null_ref("wxBitmap");
2683 }
2684 if (SWIG_arg_fail(3)) SWIG_fail;
2685 }
2686 }
2687 if (obj3) {
2688 {
2689 arg4 = &temp4;
2690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2691 }
2692 }
2693 if (obj4) {
2694 {
2695 arg5 = &temp5;
2696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2697 }
2698 }
2699 if (obj5) {
2700 {
2701 arg6 = (long)(SWIG_As_long(obj5));
2702 if (SWIG_arg_fail(6)) SWIG_fail;
2703 }
2704 }
2705 if (obj6) {
2706 {
2707 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2708 if (SWIG_arg_fail(7)) SWIG_fail;
2709 if (arg7 == NULL) {
2710 SWIG_null_ref("wxValidator");
2711 }
2712 if (SWIG_arg_fail(7)) SWIG_fail;
2713 }
2714 }
2715 if (obj7) {
2716 {
2717 arg8 = wxString_in_helper(obj7);
2718 if (arg8 == NULL) SWIG_fail;
2719 temp8 = true;
2720 }
2721 }
2722 {
2723 if (!wxPyCheckForApp()) SWIG_fail;
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2731 {
2732 if (temp8)
2733 delete arg8;
2734 }
2735 return resultobj;
2736 fail:
2737 {
2738 if (temp8)
2739 delete arg8;
2740 }
2741 return NULL;
2742 }
2743
2744
2745 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2746 PyObject *resultobj;
2747 wxBitmapButton *result;
2748 char *kwnames[] = {
2749 NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2753 {
2754 if (!wxPyCheckForApp()) SWIG_fail;
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 result = (wxBitmapButton *)new wxBitmapButton();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2762 return resultobj;
2763 fail:
2764 return NULL;
2765 }
2766
2767
2768 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2771 wxWindow *arg2 = (wxWindow *) 0 ;
2772 int arg3 = (int) -1 ;
2773 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2774 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2775 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2776 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2777 wxSize const &arg6_defvalue = wxDefaultSize ;
2778 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2779 long arg7 = (long) wxBU_AUTODRAW ;
2780 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2781 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2782 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2783 wxString *arg9 = (wxString *) &arg9_defvalue ;
2784 bool result;
2785 wxPoint temp5 ;
2786 wxSize temp6 ;
2787 bool temp9 = false ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 PyObject * obj2 = 0 ;
2791 PyObject * obj3 = 0 ;
2792 PyObject * obj4 = 0 ;
2793 PyObject * obj5 = 0 ;
2794 PyObject * obj6 = 0 ;
2795 PyObject * obj7 = 0 ;
2796 PyObject * obj8 = 0 ;
2797 char *kwnames[] = {
2798 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2799 };
2800
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2803 if (SWIG_arg_fail(1)) SWIG_fail;
2804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2805 if (SWIG_arg_fail(2)) SWIG_fail;
2806 if (obj2) {
2807 {
2808 arg3 = (int)(SWIG_As_int(obj2));
2809 if (SWIG_arg_fail(3)) SWIG_fail;
2810 }
2811 }
2812 if (obj3) {
2813 {
2814 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2815 if (SWIG_arg_fail(4)) SWIG_fail;
2816 if (arg4 == NULL) {
2817 SWIG_null_ref("wxBitmap");
2818 }
2819 if (SWIG_arg_fail(4)) SWIG_fail;
2820 }
2821 }
2822 if (obj4) {
2823 {
2824 arg5 = &temp5;
2825 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2826 }
2827 }
2828 if (obj5) {
2829 {
2830 arg6 = &temp6;
2831 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2832 }
2833 }
2834 if (obj6) {
2835 {
2836 arg7 = (long)(SWIG_As_long(obj6));
2837 if (SWIG_arg_fail(7)) SWIG_fail;
2838 }
2839 }
2840 if (obj7) {
2841 {
2842 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2843 if (SWIG_arg_fail(8)) SWIG_fail;
2844 if (arg8 == NULL) {
2845 SWIG_null_ref("wxValidator");
2846 }
2847 if (SWIG_arg_fail(8)) SWIG_fail;
2848 }
2849 }
2850 if (obj8) {
2851 {
2852 arg9 = wxString_in_helper(obj8);
2853 if (arg9 == NULL) SWIG_fail;
2854 temp9 = true;
2855 }
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 {
2865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2866 }
2867 {
2868 if (temp9)
2869 delete arg9;
2870 }
2871 return resultobj;
2872 fail:
2873 {
2874 if (temp9)
2875 delete arg9;
2876 }
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2884 wxBitmap result;
2885 PyObject * obj0 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (arg1)->GetBitmapLabel();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 wxBitmap * resultptr;
2902 resultptr = new wxBitmap((wxBitmap &)(result));
2903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2904 }
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2914 wxBitmap result;
2915 PyObject * obj0 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2922 if (SWIG_arg_fail(1)) SWIG_fail;
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (arg1)->GetBitmapDisabled();
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 wxBitmap * resultptr;
2932 resultptr = new wxBitmap((wxBitmap &)(result));
2933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2934 }
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2944 wxBitmap result;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (arg1)->GetBitmapFocus();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 {
2961 wxBitmap * resultptr;
2962 resultptr = new wxBitmap((wxBitmap &)(result));
2963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2964 }
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2974 wxBitmap result;
2975 PyObject * obj0 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2982 if (SWIG_arg_fail(1)) SWIG_fail;
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = (arg1)->GetBitmapSelected();
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 {
2991 wxBitmap * resultptr;
2992 resultptr = new wxBitmap((wxBitmap &)(result));
2993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3004 wxBitmap *arg2 = 0 ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self",(char *) "bitmap", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3013 if (SWIG_arg_fail(1)) SWIG_fail;
3014 {
3015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3016 if (SWIG_arg_fail(2)) SWIG_fail;
3017 if (arg2 == NULL) {
3018 SWIG_null_ref("wxBitmap");
3019 }
3020 if (SWIG_arg_fail(2)) SWIG_fail;
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 Py_INCREF(Py_None); resultobj = Py_None;
3030 return resultobj;
3031 fail:
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3039 wxBitmap *arg2 = 0 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 char *kwnames[] = {
3043 (char *) "self",(char *) "bitmap", NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3048 if (SWIG_arg_fail(1)) SWIG_fail;
3049 {
3050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3051 if (SWIG_arg_fail(2)) SWIG_fail;
3052 if (arg2 == NULL) {
3053 SWIG_null_ref("wxBitmap");
3054 }
3055 if (SWIG_arg_fail(2)) SWIG_fail;
3056 }
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 Py_INCREF(Py_None); resultobj = Py_None;
3065 return resultobj;
3066 fail:
3067 return NULL;
3068 }
3069
3070
3071 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj;
3073 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3074 wxBitmap *arg2 = 0 ;
3075 PyObject * obj0 = 0 ;
3076 PyObject * obj1 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "bitmap", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
3084 {
3085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(2)) SWIG_fail;
3087 if (arg2 == NULL) {
3088 SWIG_null_ref("wxBitmap");
3089 }
3090 if (SWIG_arg_fail(2)) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj;
3108 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3109 wxBitmap *arg2 = 0 ;
3110 PyObject * obj0 = 0 ;
3111 PyObject * obj1 = 0 ;
3112 char *kwnames[] = {
3113 (char *) "self",(char *) "bitmap", NULL
3114 };
3115
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3118 if (SWIG_arg_fail(1)) SWIG_fail;
3119 {
3120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(2)) SWIG_fail;
3122 if (arg2 == NULL) {
3123 SWIG_null_ref("wxBitmap");
3124 }
3125 if (SWIG_arg_fail(2)) SWIG_fail;
3126 }
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3144 int arg2 ;
3145 int arg3 ;
3146 PyObject * obj0 = 0 ;
3147 PyObject * obj1 = 0 ;
3148 PyObject * obj2 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "x",(char *) "y", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3155 if (SWIG_arg_fail(1)) SWIG_fail;
3156 {
3157 arg2 = (int)(SWIG_As_int(obj1));
3158 if (SWIG_arg_fail(2)) SWIG_fail;
3159 }
3160 {
3161 arg3 = (int)(SWIG_As_int(obj2));
3162 if (SWIG_arg_fail(3)) SWIG_fail;
3163 }
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 (arg1)->SetMargins(arg2,arg3);
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 Py_INCREF(Py_None); resultobj = Py_None;
3172 return resultobj;
3173 fail:
3174 return NULL;
3175 }
3176
3177
3178 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3181 int result;
3182 PyObject * obj0 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3189 if (SWIG_arg_fail(1)) SWIG_fail;
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 {
3198 resultobj = SWIG_From_int((int)(result));
3199 }
3200 return resultobj;
3201 fail:
3202 return NULL;
3203 }
3204
3205
3206 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3209 int result;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3217 if (SWIG_arg_fail(1)) SWIG_fail;
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 {
3226 resultobj = SWIG_From_int((int)(result));
3227 }
3228 return resultobj;
3229 fail:
3230 return NULL;
3231 }
3232
3233
3234 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3235 PyObject *obj;
3236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3237 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3238 Py_INCREF(obj);
3239 return Py_BuildValue((char *)"");
3240 }
3241 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3242 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3243 return 1;
3244 }
3245
3246
3247 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3248 PyObject *pyobj;
3249
3250 {
3251 #if wxUSE_UNICODE
3252 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3253 #else
3254 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3255 #endif
3256 }
3257 return pyobj;
3258 }
3259
3260
3261 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj;
3263 wxWindow *arg1 = (wxWindow *) 0 ;
3264 int arg2 = (int) -1 ;
3265 wxString const &arg3_defvalue = wxPyEmptyString ;
3266 wxString *arg3 = (wxString *) &arg3_defvalue ;
3267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3269 wxSize const &arg5_defvalue = wxDefaultSize ;
3270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3271 long arg6 = (long) 0 ;
3272 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3273 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3274 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3275 wxString *arg8 = (wxString *) &arg8_defvalue ;
3276 wxCheckBox *result;
3277 bool temp3 = false ;
3278 wxPoint temp4 ;
3279 wxSize temp5 ;
3280 bool temp8 = false ;
3281 PyObject * obj0 = 0 ;
3282 PyObject * obj1 = 0 ;
3283 PyObject * obj2 = 0 ;
3284 PyObject * obj3 = 0 ;
3285 PyObject * obj4 = 0 ;
3286 PyObject * obj5 = 0 ;
3287 PyObject * obj6 = 0 ;
3288 PyObject * obj7 = 0 ;
3289 char *kwnames[] = {
3290 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3295 if (SWIG_arg_fail(1)) SWIG_fail;
3296 if (obj1) {
3297 {
3298 arg2 = (int)(SWIG_As_int(obj1));
3299 if (SWIG_arg_fail(2)) SWIG_fail;
3300 }
3301 }
3302 if (obj2) {
3303 {
3304 arg3 = wxString_in_helper(obj2);
3305 if (arg3 == NULL) SWIG_fail;
3306 temp3 = true;
3307 }
3308 }
3309 if (obj3) {
3310 {
3311 arg4 = &temp4;
3312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3313 }
3314 }
3315 if (obj4) {
3316 {
3317 arg5 = &temp5;
3318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3319 }
3320 }
3321 if (obj5) {
3322 {
3323 arg6 = (long)(SWIG_As_long(obj5));
3324 if (SWIG_arg_fail(6)) SWIG_fail;
3325 }
3326 }
3327 if (obj6) {
3328 {
3329 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3330 if (SWIG_arg_fail(7)) SWIG_fail;
3331 if (arg7 == NULL) {
3332 SWIG_null_ref("wxValidator");
3333 }
3334 if (SWIG_arg_fail(7)) SWIG_fail;
3335 }
3336 }
3337 if (obj7) {
3338 {
3339 arg8 = wxString_in_helper(obj7);
3340 if (arg8 == NULL) SWIG_fail;
3341 temp8 = true;
3342 }
3343 }
3344 {
3345 if (!wxPyCheckForApp()) SWIG_fail;
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3353 {
3354 if (temp3)
3355 delete arg3;
3356 }
3357 {
3358 if (temp8)
3359 delete arg8;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp3)
3365 delete arg3;
3366 }
3367 {
3368 if (temp8)
3369 delete arg8;
3370 }
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxCheckBox *result;
3378 char *kwnames[] = {
3379 NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3383 {
3384 if (!wxPyCheckForApp()) SWIG_fail;
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 result = (wxCheckBox *)new wxCheckBox();
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3392 return resultobj;
3393 fail:
3394 return NULL;
3395 }
3396
3397
3398 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3401 wxWindow *arg2 = (wxWindow *) 0 ;
3402 int arg3 = (int) -1 ;
3403 wxString const &arg4_defvalue = wxPyEmptyString ;
3404 wxString *arg4 = (wxString *) &arg4_defvalue ;
3405 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3406 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3407 wxSize const &arg6_defvalue = wxDefaultSize ;
3408 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3409 long arg7 = (long) 0 ;
3410 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3411 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3412 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3413 wxString *arg9 = (wxString *) &arg9_defvalue ;
3414 bool result;
3415 bool temp4 = false ;
3416 wxPoint temp5 ;
3417 wxSize temp6 ;
3418 bool temp9 = false ;
3419 PyObject * obj0 = 0 ;
3420 PyObject * obj1 = 0 ;
3421 PyObject * obj2 = 0 ;
3422 PyObject * obj3 = 0 ;
3423 PyObject * obj4 = 0 ;
3424 PyObject * obj5 = 0 ;
3425 PyObject * obj6 = 0 ;
3426 PyObject * obj7 = 0 ;
3427 PyObject * obj8 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail;
3435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3436 if (SWIG_arg_fail(2)) SWIG_fail;
3437 if (obj2) {
3438 {
3439 arg3 = (int)(SWIG_As_int(obj2));
3440 if (SWIG_arg_fail(3)) SWIG_fail;
3441 }
3442 }
3443 if (obj3) {
3444 {
3445 arg4 = wxString_in_helper(obj3);
3446 if (arg4 == NULL) SWIG_fail;
3447 temp4 = true;
3448 }
3449 }
3450 if (obj4) {
3451 {
3452 arg5 = &temp5;
3453 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3454 }
3455 }
3456 if (obj5) {
3457 {
3458 arg6 = &temp6;
3459 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3460 }
3461 }
3462 if (obj6) {
3463 {
3464 arg7 = (long)(SWIG_As_long(obj6));
3465 if (SWIG_arg_fail(7)) SWIG_fail;
3466 }
3467 }
3468 if (obj7) {
3469 {
3470 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3471 if (SWIG_arg_fail(8)) SWIG_fail;
3472 if (arg8 == NULL) {
3473 SWIG_null_ref("wxValidator");
3474 }
3475 if (SWIG_arg_fail(8)) SWIG_fail;
3476 }
3477 }
3478 if (obj8) {
3479 {
3480 arg9 = wxString_in_helper(obj8);
3481 if (arg9 == NULL) SWIG_fail;
3482 temp9 = true;
3483 }
3484 }
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 {
3493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3494 }
3495 {
3496 if (temp4)
3497 delete arg4;
3498 }
3499 {
3500 if (temp9)
3501 delete arg9;
3502 }
3503 return resultobj;
3504 fail:
3505 {
3506 if (temp4)
3507 delete arg4;
3508 }
3509 {
3510 if (temp9)
3511 delete arg9;
3512 }
3513 return NULL;
3514 }
3515
3516
3517 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3520 bool result;
3521 PyObject * obj0 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "self", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3528 if (SWIG_arg_fail(1)) SWIG_fail;
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 result = (bool)(arg1)->GetValue();
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 {
3537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3538 }
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3548 bool result;
3549 PyObject * obj0 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail;
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (bool)(arg1)->IsChecked();
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 {
3565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3566 }
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3576 bool arg2 ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "state", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail;
3586 {
3587 arg2 = (bool const)(SWIG_As_bool(obj1));
3588 if (SWIG_arg_fail(2)) SWIG_fail;
3589 }
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 (arg1)->SetValue(arg2);
3593
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 Py_INCREF(Py_None); resultobj = Py_None;
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj;
3606 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3607 wxCheckBoxState result;
3608 PyObject * obj0 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3615 if (SWIG_arg_fail(1)) SWIG_fail;
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 resultobj = SWIG_From_int((result));
3624 return resultobj;
3625 fail:
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3633 wxCheckBoxState arg2 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "state", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail;
3643 {
3644 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3645 if (SWIG_arg_fail(2)) SWIG_fail;
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3664 bool result;
3665 PyObject * obj0 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3672 if (SWIG_arg_fail(1)) SWIG_fail;
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 {
3681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3682 }
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3692 bool result;
3693 PyObject * obj0 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3700 if (SWIG_arg_fail(1)) SWIG_fail;
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 {
3709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3710 }
3711 return resultobj;
3712 fail:
3713 return NULL;
3714 }
3715
3716
3717 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3720 wxVisualAttributes result;
3721 PyObject * obj0 = 0 ;
3722 char *kwnames[] = {
3723 (char *) "variant", NULL
3724 };
3725
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3727 if (obj0) {
3728 {
3729 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3730 if (SWIG_arg_fail(1)) SWIG_fail;
3731 }
3732 }
3733 {
3734 if (!wxPyCheckForApp()) SWIG_fail;
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 {
3742 wxVisualAttributes * resultptr;
3743 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3745 }
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3753 PyObject *obj;
3754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3755 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3756 Py_INCREF(obj);
3757 return Py_BuildValue((char *)"");
3758 }
3759 static int _wrap_ChoiceNameStr_set(PyObject *) {
3760 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3761 return 1;
3762 }
3763
3764
3765 static PyObject *_wrap_ChoiceNameStr_get(void) {
3766 PyObject *pyobj;
3767
3768 {
3769 #if wxUSE_UNICODE
3770 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3771 #else
3772 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3773 #endif
3774 }
3775 return pyobj;
3776 }
3777
3778
3779 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxWindow *arg1 = (wxWindow *) 0 ;
3782 int arg2 = (int) -1 ;
3783 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3784 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3785 wxSize const &arg4_defvalue = wxDefaultSize ;
3786 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3787 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3788 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3789 long arg6 = (long) 0 ;
3790 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3791 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3792 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3793 wxString *arg8 = (wxString *) &arg8_defvalue ;
3794 wxChoice *result;
3795 wxPoint temp3 ;
3796 wxSize temp4 ;
3797 bool temp5 = false ;
3798 bool temp8 = false ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 PyObject * obj2 = 0 ;
3802 PyObject * obj3 = 0 ;
3803 PyObject * obj4 = 0 ;
3804 PyObject * obj5 = 0 ;
3805 PyObject * obj6 = 0 ;
3806 PyObject * obj7 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 if (obj1) {
3815 {
3816 arg2 = (int)(SWIG_As_int(obj1));
3817 if (SWIG_arg_fail(2)) SWIG_fail;
3818 }
3819 }
3820 if (obj2) {
3821 {
3822 arg3 = &temp3;
3823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3824 }
3825 }
3826 if (obj3) {
3827 {
3828 arg4 = &temp4;
3829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3830 }
3831 }
3832 if (obj4) {
3833 {
3834 if (! PySequence_Check(obj4)) {
3835 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3836 SWIG_fail;
3837 }
3838 arg5 = new wxArrayString;
3839 temp5 = true;
3840 int i, len=PySequence_Length(obj4);
3841 for (i=0; i<len; i++) {
3842 PyObject* item = PySequence_GetItem(obj4, i);
3843 wxString* s = wxString_in_helper(item);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 arg5->Add(*s);
3846 delete s;
3847 Py_DECREF(item);
3848 }
3849 }
3850 }
3851 if (obj5) {
3852 {
3853 arg6 = (long)(SWIG_As_long(obj5));
3854 if (SWIG_arg_fail(6)) SWIG_fail;
3855 }
3856 }
3857 if (obj6) {
3858 {
3859 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3860 if (SWIG_arg_fail(7)) SWIG_fail;
3861 if (arg7 == NULL) {
3862 SWIG_null_ref("wxValidator");
3863 }
3864 if (SWIG_arg_fail(7)) SWIG_fail;
3865 }
3866 }
3867 if (obj7) {
3868 {
3869 arg8 = wxString_in_helper(obj7);
3870 if (arg8 == NULL) SWIG_fail;
3871 temp8 = true;
3872 }
3873 }
3874 {
3875 if (!wxPyCheckForApp()) SWIG_fail;
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3883 {
3884 if (temp5) delete arg5;
3885 }
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return resultobj;
3891 fail:
3892 {
3893 if (temp5) delete arg5;
3894 }
3895 {
3896 if (temp8)
3897 delete arg8;
3898 }
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxChoice *result;
3906 char *kwnames[] = {
3907 NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3911 {
3912 if (!wxPyCheckForApp()) SWIG_fail;
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (wxChoice *)new wxChoice();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxChoice *arg1 = (wxChoice *) 0 ;
3929 wxWindow *arg2 = (wxWindow *) 0 ;
3930 int arg3 = (int) -1 ;
3931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3933 wxSize const &arg5_defvalue = wxDefaultSize ;
3934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3935 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3936 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3937 long arg7 = (long) 0 ;
3938 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3939 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3940 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3941 wxString *arg9 = (wxString *) &arg9_defvalue ;
3942 bool result;
3943 wxPoint temp4 ;
3944 wxSize temp5 ;
3945 bool temp6 = false ;
3946 bool temp9 = false ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 PyObject * obj2 = 0 ;
3950 PyObject * obj3 = 0 ;
3951 PyObject * obj4 = 0 ;
3952 PyObject * obj5 = 0 ;
3953 PyObject * obj6 = 0 ;
3954 PyObject * obj7 = 0 ;
3955 PyObject * obj8 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail;
3963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3964 if (SWIG_arg_fail(2)) SWIG_fail;
3965 if (obj2) {
3966 {
3967 arg3 = (int)(SWIG_As_int(obj2));
3968 if (SWIG_arg_fail(3)) SWIG_fail;
3969 }
3970 }
3971 if (obj3) {
3972 {
3973 arg4 = &temp4;
3974 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3975 }
3976 }
3977 if (obj4) {
3978 {
3979 arg5 = &temp5;
3980 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3981 }
3982 }
3983 if (obj5) {
3984 {
3985 if (! PySequence_Check(obj5)) {
3986 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3987 SWIG_fail;
3988 }
3989 arg6 = new wxArrayString;
3990 temp6 = true;
3991 int i, len=PySequence_Length(obj5);
3992 for (i=0; i<len; i++) {
3993 PyObject* item = PySequence_GetItem(obj5, i);
3994 wxString* s = wxString_in_helper(item);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 arg6->Add(*s);
3997 delete s;
3998 Py_DECREF(item);
3999 }
4000 }
4001 }
4002 if (obj6) {
4003 {
4004 arg7 = (long)(SWIG_As_long(obj6));
4005 if (SWIG_arg_fail(7)) SWIG_fail;
4006 }
4007 }
4008 if (obj7) {
4009 {
4010 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4011 if (SWIG_arg_fail(8)) SWIG_fail;
4012 if (arg8 == NULL) {
4013 SWIG_null_ref("wxValidator");
4014 }
4015 if (SWIG_arg_fail(8)) SWIG_fail;
4016 }
4017 }
4018 if (obj8) {
4019 {
4020 arg9 = wxString_in_helper(obj8);
4021 if (arg9 == NULL) SWIG_fail;
4022 temp9 = true;
4023 }
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4034 }
4035 {
4036 if (temp6) delete arg6;
4037 }
4038 {
4039 if (temp9)
4040 delete arg9;
4041 }
4042 return resultobj;
4043 fail:
4044 {
4045 if (temp6) delete arg6;
4046 }
4047 {
4048 if (temp9)
4049 delete arg9;
4050 }
4051 return NULL;
4052 }
4053
4054
4055 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4058 wxVisualAttributes result;
4059 PyObject * obj0 = 0 ;
4060 char *kwnames[] = {
4061 (char *) "variant", NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4065 if (obj0) {
4066 {
4067 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4068 if (SWIG_arg_fail(1)) SWIG_fail;
4069 }
4070 }
4071 {
4072 if (!wxPyCheckForApp()) SWIG_fail;
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 {
4080 wxVisualAttributes * resultptr;
4081 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4083 }
4084 return resultobj;
4085 fail:
4086 return NULL;
4087 }
4088
4089
4090 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4091 PyObject *obj;
4092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4093 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4094 Py_INCREF(obj);
4095 return Py_BuildValue((char *)"");
4096 }
4097 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4098 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4099 return 1;
4100 }
4101
4102
4103 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4104 PyObject *pyobj;
4105
4106 {
4107 #if wxUSE_UNICODE
4108 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4109 #else
4110 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4111 #endif
4112 }
4113 return pyobj;
4114 }
4115
4116
4117 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxWindow *arg1 = (wxWindow *) 0 ;
4120 int arg2 = (int) -1 ;
4121 wxString const &arg3_defvalue = wxPyEmptyString ;
4122 wxString *arg3 = (wxString *) &arg3_defvalue ;
4123 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4124 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4125 wxSize const &arg5_defvalue = wxDefaultSize ;
4126 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4127 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4128 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4129 long arg7 = (long) 0 ;
4130 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4131 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4132 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4133 wxString *arg9 = (wxString *) &arg9_defvalue ;
4134 wxComboBox *result;
4135 bool temp3 = false ;
4136 wxPoint temp4 ;
4137 wxSize temp5 ;
4138 bool temp6 = false ;
4139 bool temp9 = false ;
4140 PyObject * obj0 = 0 ;
4141 PyObject * obj1 = 0 ;
4142 PyObject * obj2 = 0 ;
4143 PyObject * obj3 = 0 ;
4144 PyObject * obj4 = 0 ;
4145 PyObject * obj5 = 0 ;
4146 PyObject * obj6 = 0 ;
4147 PyObject * obj7 = 0 ;
4148 PyObject * obj8 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail;
4156 if (obj1) {
4157 {
4158 arg2 = (int)(SWIG_As_int(obj1));
4159 if (SWIG_arg_fail(2)) SWIG_fail;
4160 }
4161 }
4162 if (obj2) {
4163 {
4164 arg3 = wxString_in_helper(obj2);
4165 if (arg3 == NULL) SWIG_fail;
4166 temp3 = true;
4167 }
4168 }
4169 if (obj3) {
4170 {
4171 arg4 = &temp4;
4172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4173 }
4174 }
4175 if (obj4) {
4176 {
4177 arg5 = &temp5;
4178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4179 }
4180 }
4181 if (obj5) {
4182 {
4183 if (! PySequence_Check(obj5)) {
4184 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4185 SWIG_fail;
4186 }
4187 arg6 = new wxArrayString;
4188 temp6 = true;
4189 int i, len=PySequence_Length(obj5);
4190 for (i=0; i<len; i++) {
4191 PyObject* item = PySequence_GetItem(obj5, i);
4192 wxString* s = wxString_in_helper(item);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 arg6->Add(*s);
4195 delete s;
4196 Py_DECREF(item);
4197 }
4198 }
4199 }
4200 if (obj6) {
4201 {
4202 arg7 = (long)(SWIG_As_long(obj6));
4203 if (SWIG_arg_fail(7)) SWIG_fail;
4204 }
4205 }
4206 if (obj7) {
4207 {
4208 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4209 if (SWIG_arg_fail(8)) SWIG_fail;
4210 if (arg8 == NULL) {
4211 SWIG_null_ref("wxValidator");
4212 }
4213 if (SWIG_arg_fail(8)) SWIG_fail;
4214 }
4215 }
4216 if (obj8) {
4217 {
4218 arg9 = wxString_in_helper(obj8);
4219 if (arg9 == NULL) SWIG_fail;
4220 temp9 = true;
4221 }
4222 }
4223 {
4224 if (!wxPyCheckForApp()) SWIG_fail;
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 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);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4232 {
4233 if (temp3)
4234 delete arg3;
4235 }
4236 {
4237 if (temp6) delete arg6;
4238 }
4239 {
4240 if (temp9)
4241 delete arg9;
4242 }
4243 return resultobj;
4244 fail:
4245 {
4246 if (temp3)
4247 delete arg3;
4248 }
4249 {
4250 if (temp6) delete arg6;
4251 }
4252 {
4253 if (temp9)
4254 delete arg9;
4255 }
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4261 PyObject *resultobj;
4262 wxComboBox *result;
4263 char *kwnames[] = {
4264 NULL
4265 };
4266
4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4268 {
4269 if (!wxPyCheckForApp()) SWIG_fail;
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 result = (wxComboBox *)new wxComboBox();
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
4276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4277 return resultobj;
4278 fail:
4279 return NULL;
4280 }
4281
4282
4283 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxComboBox *arg1 = (wxComboBox *) 0 ;
4286 wxWindow *arg2 = (wxWindow *) 0 ;
4287 int arg3 = (int) -1 ;
4288 wxString const &arg4_defvalue = wxPyEmptyString ;
4289 wxString *arg4 = (wxString *) &arg4_defvalue ;
4290 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4291 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4292 wxSize const &arg6_defvalue = wxDefaultSize ;
4293 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4294 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4295 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4296 long arg8 = (long) 0 ;
4297 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4298 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4299 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4300 wxString *arg10 = (wxString *) &arg10_defvalue ;
4301 bool result;
4302 bool temp4 = false ;
4303 wxPoint temp5 ;
4304 wxSize temp6 ;
4305 bool temp7 = false ;
4306 bool temp10 = false ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 PyObject * obj2 = 0 ;
4310 PyObject * obj3 = 0 ;
4311 PyObject * obj4 = 0 ;
4312 PyObject * obj5 = 0 ;
4313 PyObject * obj6 = 0 ;
4314 PyObject * obj7 = 0 ;
4315 PyObject * obj8 = 0 ;
4316 PyObject * obj9 = 0 ;
4317 char *kwnames[] = {
4318 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4319 };
4320
4321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail;
4324 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4325 if (SWIG_arg_fail(2)) SWIG_fail;
4326 if (obj2) {
4327 {
4328 arg3 = (int)(SWIG_As_int(obj2));
4329 if (SWIG_arg_fail(3)) SWIG_fail;
4330 }
4331 }
4332 if (obj3) {
4333 {
4334 arg4 = wxString_in_helper(obj3);
4335 if (arg4 == NULL) SWIG_fail;
4336 temp4 = true;
4337 }
4338 }
4339 if (obj4) {
4340 {
4341 arg5 = &temp5;
4342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4343 }
4344 }
4345 if (obj5) {
4346 {
4347 arg6 = &temp6;
4348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4349 }
4350 }
4351 if (obj6) {
4352 {
4353 if (! PySequence_Check(obj6)) {
4354 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4355 SWIG_fail;
4356 }
4357 arg7 = new wxArrayString;
4358 temp7 = true;
4359 int i, len=PySequence_Length(obj6);
4360 for (i=0; i<len; i++) {
4361 PyObject* item = PySequence_GetItem(obj6, i);
4362 wxString* s = wxString_in_helper(item);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 arg7->Add(*s);
4365 delete s;
4366 Py_DECREF(item);
4367 }
4368 }
4369 }
4370 if (obj7) {
4371 {
4372 arg8 = (long)(SWIG_As_long(obj7));
4373 if (SWIG_arg_fail(8)) SWIG_fail;
4374 }
4375 }
4376 if (obj8) {
4377 {
4378 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail;
4380 if (arg9 == NULL) {
4381 SWIG_null_ref("wxValidator");
4382 }
4383 if (SWIG_arg_fail(9)) SWIG_fail;
4384 }
4385 }
4386 if (obj9) {
4387 {
4388 arg10 = wxString_in_helper(obj9);
4389 if (arg10 == NULL) SWIG_fail;
4390 temp10 = true;
4391 }
4392 }
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 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);
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 {
4401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4402 }
4403 {
4404 if (temp4)
4405 delete arg4;
4406 }
4407 {
4408 if (temp7) delete arg7;
4409 }
4410 {
4411 if (temp10)
4412 delete arg10;
4413 }
4414 return resultobj;
4415 fail:
4416 {
4417 if (temp4)
4418 delete arg4;
4419 }
4420 {
4421 if (temp7) delete arg7;
4422 }
4423 {
4424 if (temp10)
4425 delete arg10;
4426 }
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxComboBox *arg1 = (wxComboBox *) 0 ;
4434 wxString result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxComboBox const *)arg1)->GetValue();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 #if wxUSE_UNICODE
4452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4453 #else
4454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4455 #endif
4456 }
4457 return resultobj;
4458 fail:
4459 return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxComboBox *arg1 = (wxComboBox *) 0 ;
4466 wxString *arg2 = 0 ;
4467 bool temp2 = false ;
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 char *kwnames[] = {
4471 (char *) "self",(char *) "value", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail;
4477 {
4478 arg2 = wxString_in_helper(obj1);
4479 if (arg2 == NULL) SWIG_fail;
4480 temp2 = true;
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetValue((wxString const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 {
4491 if (temp2)
4492 delete arg2;
4493 }
4494 return resultobj;
4495 fail:
4496 {
4497 if (temp2)
4498 delete arg2;
4499 }
4500 return NULL;
4501 }
4502
4503
4504 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxComboBox *arg1 = (wxComboBox *) 0 ;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->Copy();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxComboBox *arg1 = (wxComboBox *) 0 ;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail;
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->Cut();
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxComboBox *arg1 = (wxComboBox *) 0 ;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->Paste();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 return resultobj;
4574 fail:
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxComboBox *arg1 = (wxComboBox *) 0 ;
4582 long arg2 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self",(char *) "pos", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
4592 {
4593 arg2 = (long)(SWIG_As_long(obj1));
4594 if (SWIG_arg_fail(2)) SWIG_fail;
4595 }
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->SetInsertionPoint(arg2);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxComboBox *arg1 = (wxComboBox *) 0 ;
4613 long result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 {
4630 resultobj = SWIG_From_long((long)(result));
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxComboBox *arg1 = (wxComboBox *) 0 ;
4641 long result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 {
4658 resultobj = SWIG_From_long((long)(result));
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxComboBox *arg1 = (wxComboBox *) 0 ;
4669 long arg2 ;
4670 long arg3 ;
4671 wxString *arg4 = 0 ;
4672 bool temp4 = false ;
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 char *kwnames[] = {
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail;
4684 {
4685 arg2 = (long)(SWIG_As_long(obj1));
4686 if (SWIG_arg_fail(2)) SWIG_fail;
4687 }
4688 {
4689 arg3 = (long)(SWIG_As_long(obj2));
4690 if (SWIG_arg_fail(3)) SWIG_fail;
4691 }
4692 {
4693 arg4 = wxString_in_helper(obj3);
4694 if (arg4 == NULL) SWIG_fail;
4695 temp4 = true;
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 {
4706 if (temp4)
4707 delete arg4;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp4)
4713 delete arg4;
4714 }
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 int arg2 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "n", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail;
4732 {
4733 arg2 = (int)(SWIG_As_int(obj1));
4734 if (SWIG_arg_fail(2)) SWIG_fail;
4735 }
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 (arg1)->SetSelection(arg2);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 Py_INCREF(Py_None); resultobj = Py_None;
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxComboBox *arg1 = (wxComboBox *) 0 ;
4753 long arg2 ;
4754 long arg3 ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail;
4765 {
4766 arg2 = (long)(SWIG_As_long(obj1));
4767 if (SWIG_arg_fail(2)) SWIG_fail;
4768 }
4769 {
4770 arg3 = (long)(SWIG_As_long(obj2));
4771 if (SWIG_arg_fail(3)) SWIG_fail;
4772 }
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 (arg1)->SetSelection(arg2,arg3);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 Py_INCREF(Py_None); resultobj = Py_None;
4781 return resultobj;
4782 fail:
4783 return NULL;
4784 }
4785
4786
4787 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4788 PyObject *resultobj;
4789 wxComboBox *arg1 = (wxComboBox *) 0 ;
4790 long *arg2 = (long *) 0 ;
4791 long *arg3 = (long *) 0 ;
4792 long temp2 ;
4793 int res2 = 0 ;
4794 long temp3 ;
4795 int res3 = 0 ;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self", NULL
4799 };
4800
4801 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4802 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4805 if (SWIG_arg_fail(1)) SWIG_fail;
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 (arg1)->GetSelection(arg2,arg3);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 Py_INCREF(Py_None); resultobj = Py_None;
4814 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4815 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4816 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4817 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxComboBox *arg1 = (wxComboBox *) 0 ;
4827 wxString *arg2 = 0 ;
4828 bool result;
4829 bool temp2 = false ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self",(char *) "string", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail;
4839 {
4840 arg2 = wxString_in_helper(obj1);
4841 if (arg2 == NULL) SWIG_fail;
4842 temp2 = true;
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4853 }
4854 {
4855 if (temp2)
4856 delete arg2;
4857 }
4858 return resultobj;
4859 fail:
4860 {
4861 if (temp2)
4862 delete arg2;
4863 }
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxComboBox *arg1 = (wxComboBox *) 0 ;
4871 int arg2 ;
4872 wxString *arg3 = 0 ;
4873 bool temp3 = false ;
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 PyObject * obj2 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "n",(char *) "string", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail;
4884 {
4885 arg2 = (int)(SWIG_As_int(obj1));
4886 if (SWIG_arg_fail(2)) SWIG_fail;
4887 }
4888 {
4889 arg3 = wxString_in_helper(obj2);
4890 if (arg3 == NULL) SWIG_fail;
4891 temp3 = true;
4892 }
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetString(arg2,(wxString const &)*arg3);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 Py_INCREF(Py_None); resultobj = Py_None;
4901 {
4902 if (temp3)
4903 delete arg3;
4904 }
4905 return resultobj;
4906 fail:
4907 {
4908 if (temp3)
4909 delete arg3;
4910 }
4911 return NULL;
4912 }
4913
4914
4915 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxComboBox *arg1 = (wxComboBox *) 0 ;
4918 bool arg2 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "editable", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4927 if (SWIG_arg_fail(1)) SWIG_fail;
4928 {
4929 arg2 = (bool)(SWIG_As_bool(obj1));
4930 if (SWIG_arg_fail(2)) SWIG_fail;
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->SetEditable(arg2);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 return resultobj;
4941 fail:
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxComboBox *arg1 = (wxComboBox *) 0 ;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->SetInsertionPointEnd();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 Py_INCREF(Py_None); resultobj = Py_None;
4965 return resultobj;
4966 fail:
4967 return NULL;
4968 }
4969
4970
4971 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxComboBox *arg1 = (wxComboBox *) 0 ;
4974 long arg2 ;
4975 long arg3 ;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4978 PyObject * obj2 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "from",(char *) "to", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail;
4986 {
4987 arg2 = (long)(SWIG_As_long(obj1));
4988 if (SWIG_arg_fail(2)) SWIG_fail;
4989 }
4990 {
4991 arg3 = (long)(SWIG_As_long(obj2));
4992 if (SWIG_arg_fail(3)) SWIG_fail;
4993 }
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 (arg1)->Remove(arg2,arg3);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 Py_INCREF(Py_None); resultobj = Py_None;
5002 return resultobj;
5003 fail:
5004 return NULL;
5005 }
5006
5007
5008 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxComboBox *arg1 = (wxComboBox *) 0 ;
5011 bool result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 {
5028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj;
5038 wxComboBox *arg1 = (wxComboBox *) 0 ;
5039 PyObject * obj0 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->Undo();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxComboBox *arg1 = (wxComboBox *) 0 ;
5064 PyObject * obj0 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5071 if (SWIG_arg_fail(1)) SWIG_fail;
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 (arg1)->Redo();
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 Py_INCREF(Py_None); resultobj = Py_None;
5080 return resultobj;
5081 fail:
5082 return NULL;
5083 }
5084
5085
5086 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxComboBox *arg1 = (wxComboBox *) 0 ;
5089 PyObject * obj0 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "self", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail;
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SelectAll();
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxComboBox *arg1 = (wxComboBox *) 0 ;
5114 bool result;
5115 PyObject * obj0 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail;
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5126
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxComboBox *arg1 = (wxComboBox *) 0 ;
5142 bool result;
5143 PyObject * obj0 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail;
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (bool)((wxComboBox const *)arg1)->CanCut();
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 {
5159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5160 }
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxComboBox *arg1 = (wxComboBox *) 0 ;
5170 bool result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5178 if (SWIG_arg_fail(1)) SWIG_fail;
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 {
5187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5188 }
5189 return resultobj;
5190 fail:
5191 return NULL;
5192 }
5193
5194
5195 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj;
5197 wxComboBox *arg1 = (wxComboBox *) 0 ;
5198 bool result;
5199 PyObject * obj0 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail;
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5216 }
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxComboBox *arg1 = (wxComboBox *) 0 ;
5226 bool result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5234 if (SWIG_arg_fail(1)) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 {
5243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5244 }
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5254 wxVisualAttributes result;
5255 PyObject * obj0 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "variant", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5261 if (obj0) {
5262 {
5263 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5264 if (SWIG_arg_fail(1)) SWIG_fail;
5265 }
5266 }
5267 {
5268 if (!wxPyCheckForApp()) SWIG_fail;
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 {
5276 wxVisualAttributes * resultptr;
5277 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5279 }
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5287 PyObject *obj;
5288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5290 Py_INCREF(obj);
5291 return Py_BuildValue((char *)"");
5292 }
5293 static int _wrap_GaugeNameStr_set(PyObject *) {
5294 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5295 return 1;
5296 }
5297
5298
5299 static PyObject *_wrap_GaugeNameStr_get(void) {
5300 PyObject *pyobj;
5301
5302 {
5303 #if wxUSE_UNICODE
5304 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5305 #else
5306 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5307 #endif
5308 }
5309 return pyobj;
5310 }
5311
5312
5313 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj;
5315 wxWindow *arg1 = (wxWindow *) 0 ;
5316 int arg2 = (int) -1 ;
5317 int arg3 = (int) 100 ;
5318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5320 wxSize const &arg5_defvalue = wxDefaultSize ;
5321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5322 long arg6 = (long) wxGA_HORIZONTAL ;
5323 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5324 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5325 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5326 wxString *arg8 = (wxString *) &arg8_defvalue ;
5327 wxGauge *result;
5328 wxPoint temp4 ;
5329 wxSize temp5 ;
5330 bool temp8 = false ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 PyObject * obj2 = 0 ;
5334 PyObject * obj3 = 0 ;
5335 PyObject * obj4 = 0 ;
5336 PyObject * obj5 = 0 ;
5337 PyObject * obj6 = 0 ;
5338 PyObject * obj7 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail;
5346 if (obj1) {
5347 {
5348 arg2 = (int)(SWIG_As_int(obj1));
5349 if (SWIG_arg_fail(2)) SWIG_fail;
5350 }
5351 }
5352 if (obj2) {
5353 {
5354 arg3 = (int)(SWIG_As_int(obj2));
5355 if (SWIG_arg_fail(3)) SWIG_fail;
5356 }
5357 }
5358 if (obj3) {
5359 {
5360 arg4 = &temp4;
5361 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5362 }
5363 }
5364 if (obj4) {
5365 {
5366 arg5 = &temp5;
5367 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5368 }
5369 }
5370 if (obj5) {
5371 {
5372 arg6 = (long)(SWIG_As_long(obj5));
5373 if (SWIG_arg_fail(6)) SWIG_fail;
5374 }
5375 }
5376 if (obj6) {
5377 {
5378 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5379 if (SWIG_arg_fail(7)) SWIG_fail;
5380 if (arg7 == NULL) {
5381 SWIG_null_ref("wxValidator");
5382 }
5383 if (SWIG_arg_fail(7)) SWIG_fail;
5384 }
5385 }
5386 if (obj7) {
5387 {
5388 arg8 = wxString_in_helper(obj7);
5389 if (arg8 == NULL) SWIG_fail;
5390 temp8 = true;
5391 }
5392 }
5393 {
5394 if (!wxPyCheckForApp()) SWIG_fail;
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5402 {
5403 if (temp8)
5404 delete arg8;
5405 }
5406 return resultobj;
5407 fail:
5408 {
5409 if (temp8)
5410 delete arg8;
5411 }
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxGauge *result;
5419 char *kwnames[] = {
5420 NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5424 {
5425 if (!wxPyCheckForApp()) SWIG_fail;
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (wxGauge *)new wxGauge();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxGauge *arg1 = (wxGauge *) 0 ;
5442 wxWindow *arg2 = (wxWindow *) 0 ;
5443 int arg3 = (int) -1 ;
5444 int arg4 = (int) 100 ;
5445 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5446 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5447 wxSize const &arg6_defvalue = wxDefaultSize ;
5448 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5449 long arg7 = (long) wxGA_HORIZONTAL ;
5450 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5451 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5452 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5453 wxString *arg9 = (wxString *) &arg9_defvalue ;
5454 bool result;
5455 wxPoint temp5 ;
5456 wxSize temp6 ;
5457 bool temp9 = false ;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 PyObject * obj2 = 0 ;
5461 PyObject * obj3 = 0 ;
5462 PyObject * obj4 = 0 ;
5463 PyObject * obj5 = 0 ;
5464 PyObject * obj6 = 0 ;
5465 PyObject * obj7 = 0 ;
5466 PyObject * obj8 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail;
5474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail;
5476 if (obj2) {
5477 {
5478 arg3 = (int)(SWIG_As_int(obj2));
5479 if (SWIG_arg_fail(3)) SWIG_fail;
5480 }
5481 }
5482 if (obj3) {
5483 {
5484 arg4 = (int)(SWIG_As_int(obj3));
5485 if (SWIG_arg_fail(4)) SWIG_fail;
5486 }
5487 }
5488 if (obj4) {
5489 {
5490 arg5 = &temp5;
5491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5492 }
5493 }
5494 if (obj5) {
5495 {
5496 arg6 = &temp6;
5497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5498 }
5499 }
5500 if (obj6) {
5501 {
5502 arg7 = (long)(SWIG_As_long(obj6));
5503 if (SWIG_arg_fail(7)) SWIG_fail;
5504 }
5505 }
5506 if (obj7) {
5507 {
5508 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5509 if (SWIG_arg_fail(8)) SWIG_fail;
5510 if (arg8 == NULL) {
5511 SWIG_null_ref("wxValidator");
5512 }
5513 if (SWIG_arg_fail(8)) SWIG_fail;
5514 }
5515 }
5516 if (obj8) {
5517 {
5518 arg9 = wxString_in_helper(obj8);
5519 if (arg9 == NULL) SWIG_fail;
5520 temp9 = true;
5521 }
5522 }
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 {
5531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5532 }
5533 {
5534 if (temp9)
5535 delete arg9;
5536 }
5537 return resultobj;
5538 fail:
5539 {
5540 if (temp9)
5541 delete arg9;
5542 }
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxGauge *arg1 = (wxGauge *) 0 ;
5550 int arg2 ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "range", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
5560 {
5561 arg2 = (int)(SWIG_As_int(obj1));
5562 if (SWIG_arg_fail(2)) SWIG_fail;
5563 }
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetRange(arg2);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575 }
5576
5577
5578 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxGauge *arg1 = (wxGauge *) 0 ;
5581 int result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (int)((wxGauge const *)arg1)->GetRange();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 resultobj = SWIG_From_int((int)(result));
5599 }
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxGauge *arg1 = (wxGauge *) 0 ;
5609 int arg2 ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 char *kwnames[] = {
5613 (char *) "self",(char *) "pos", NULL
5614 };
5615
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5618 if (SWIG_arg_fail(1)) SWIG_fail;
5619 {
5620 arg2 = (int)(SWIG_As_int(obj1));
5621 if (SWIG_arg_fail(2)) SWIG_fail;
5622 }
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetValue(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxGauge *arg1 = (wxGauge *) 0 ;
5640 int result;
5641 PyObject * obj0 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail;
5649 {
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (int)((wxGauge const *)arg1)->GetValue();
5652
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 {
5657 resultobj = SWIG_From_int((int)(result));
5658 }
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxGauge *arg1 = (wxGauge *) 0 ;
5668 bool result;
5669 PyObject * obj0 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (bool)((wxGauge const *)arg1)->IsVertical();
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5686 }
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxGauge *arg1 = (wxGauge *) 0 ;
5696 int arg2 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "w", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5705 if (SWIG_arg_fail(1)) SWIG_fail;
5706 {
5707 arg2 = (int)(SWIG_As_int(obj1));
5708 if (SWIG_arg_fail(2)) SWIG_fail;
5709 }
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SetShadowWidth(arg2);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj;
5726 wxGauge *arg1 = (wxGauge *) 0 ;
5727 int result;
5728 PyObject * obj0 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail;
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 {
5744 resultobj = SWIG_From_int((int)(result));
5745 }
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxGauge *arg1 = (wxGauge *) 0 ;
5755 int arg2 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "w", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail;
5765 {
5766 arg2 = (int)(SWIG_As_int(obj1));
5767 if (SWIG_arg_fail(2)) SWIG_fail;
5768 }
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 (arg1)->SetBezelFace(arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 Py_INCREF(Py_None); resultobj = Py_None;
5777 return resultobj;
5778 fail:
5779 return NULL;
5780 }
5781
5782
5783 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxGauge *arg1 = (wxGauge *) 0 ;
5786 int result;
5787 PyObject * obj0 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = SWIG_From_int((int)(result));
5804 }
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5814 wxVisualAttributes result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "variant", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5821 if (obj0) {
5822 {
5823 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5824 if (SWIG_arg_fail(1)) SWIG_fail;
5825 }
5826 }
5827 {
5828 if (!wxPyCheckForApp()) SWIG_fail;
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 {
5836 wxVisualAttributes * resultptr;
5837 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5839 }
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5847 PyObject *obj;
5848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5850 Py_INCREF(obj);
5851 return Py_BuildValue((char *)"");
5852 }
5853 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5854 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5855 return 1;
5856 }
5857
5858
5859 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5860 PyObject *pyobj;
5861
5862 {
5863 #if wxUSE_UNICODE
5864 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5865 #else
5866 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5867 #endif
5868 }
5869 return pyobj;
5870 }
5871
5872
5873 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5874 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5875 return 1;
5876 }
5877
5878
5879 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5880 PyObject *pyobj;
5881
5882 {
5883 #if wxUSE_UNICODE
5884 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5885 #else
5886 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5887 #endif
5888 }
5889 return pyobj;
5890 }
5891
5892
5893 static int _wrap_StaticTextNameStr_set(PyObject *) {
5894 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5895 return 1;
5896 }
5897
5898
5899 static PyObject *_wrap_StaticTextNameStr_get(void) {
5900 PyObject *pyobj;
5901
5902 {
5903 #if wxUSE_UNICODE
5904 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5905 #else
5906 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5907 #endif
5908 }
5909 return pyobj;
5910 }
5911
5912
5913 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxWindow *arg1 = (wxWindow *) 0 ;
5916 int arg2 = (int) -1 ;
5917 wxString const &arg3_defvalue = wxPyEmptyString ;
5918 wxString *arg3 = (wxString *) &arg3_defvalue ;
5919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5921 wxSize const &arg5_defvalue = wxDefaultSize ;
5922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5923 long arg6 = (long) 0 ;
5924 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5925 wxString *arg7 = (wxString *) &arg7_defvalue ;
5926 wxStaticBox *result;
5927 bool temp3 = false ;
5928 wxPoint temp4 ;
5929 wxSize temp5 ;
5930 bool temp7 = false ;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 PyObject * obj2 = 0 ;
5934 PyObject * obj3 = 0 ;
5935 PyObject * obj4 = 0 ;
5936 PyObject * obj5 = 0 ;
5937 PyObject * obj6 = 0 ;
5938 char *kwnames[] = {
5939 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5940 };
5941
5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5944 if (SWIG_arg_fail(1)) SWIG_fail;
5945 if (obj1) {
5946 {
5947 arg2 = (int)(SWIG_As_int(obj1));
5948 if (SWIG_arg_fail(2)) SWIG_fail;
5949 }
5950 }
5951 if (obj2) {
5952 {
5953 arg3 = wxString_in_helper(obj2);
5954 if (arg3 == NULL) SWIG_fail;
5955 temp3 = true;
5956 }
5957 }
5958 if (obj3) {
5959 {
5960 arg4 = &temp4;
5961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5962 }
5963 }
5964 if (obj4) {
5965 {
5966 arg5 = &temp5;
5967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5968 }
5969 }
5970 if (obj5) {
5971 {
5972 arg6 = (long)(SWIG_As_long(obj5));
5973 if (SWIG_arg_fail(6)) SWIG_fail;
5974 }
5975 }
5976 if (obj6) {
5977 {
5978 arg7 = wxString_in_helper(obj6);
5979 if (arg7 == NULL) SWIG_fail;
5980 temp7 = true;
5981 }
5982 }
5983 {
5984 if (!wxPyCheckForApp()) SWIG_fail;
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5992 {
5993 if (temp3)
5994 delete arg3;
5995 }
5996 {
5997 if (temp7)
5998 delete arg7;
5999 }
6000 return resultobj;
6001 fail:
6002 {
6003 if (temp3)
6004 delete arg3;
6005 }
6006 {
6007 if (temp7)
6008 delete arg7;
6009 }
6010 return NULL;
6011 }
6012
6013
6014 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6015 PyObject *resultobj;
6016 wxStaticBox *result;
6017 char *kwnames[] = {
6018 NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6022 {
6023 if (!wxPyCheckForApp()) SWIG_fail;
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (wxStaticBox *)new wxStaticBox();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6040 wxWindow *arg2 = (wxWindow *) 0 ;
6041 int arg3 = (int) -1 ;
6042 wxString const &arg4_defvalue = wxPyEmptyString ;
6043 wxString *arg4 = (wxString *) &arg4_defvalue ;
6044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6046 wxSize const &arg6_defvalue = wxDefaultSize ;
6047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6048 long arg7 = (long) 0 ;
6049 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6050 wxString *arg8 = (wxString *) &arg8_defvalue ;
6051 bool result;
6052 bool temp4 = false ;
6053 wxPoint temp5 ;
6054 wxSize temp6 ;
6055 bool temp8 = false ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 PyObject * obj2 = 0 ;
6059 PyObject * obj3 = 0 ;
6060 PyObject * obj4 = 0 ;
6061 PyObject * obj5 = 0 ;
6062 PyObject * obj6 = 0 ;
6063 PyObject * obj7 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail;
6071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail;
6073 if (obj2) {
6074 {
6075 arg3 = (int)(SWIG_As_int(obj2));
6076 if (SWIG_arg_fail(3)) SWIG_fail;
6077 }
6078 }
6079 if (obj3) {
6080 {
6081 arg4 = wxString_in_helper(obj3);
6082 if (arg4 == NULL) SWIG_fail;
6083 temp4 = true;
6084 }
6085 }
6086 if (obj4) {
6087 {
6088 arg5 = &temp5;
6089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6090 }
6091 }
6092 if (obj5) {
6093 {
6094 arg6 = &temp6;
6095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6096 }
6097 }
6098 if (obj6) {
6099 {
6100 arg7 = (long)(SWIG_As_long(obj6));
6101 if (SWIG_arg_fail(7)) SWIG_fail;
6102 }
6103 }
6104 if (obj7) {
6105 {
6106 arg8 = wxString_in_helper(obj7);
6107 if (arg8 == NULL) SWIG_fail;
6108 temp8 = true;
6109 }
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 }
6121 {
6122 if (temp4)
6123 delete arg4;
6124 }
6125 {
6126 if (temp8)
6127 delete arg8;
6128 }
6129 return resultobj;
6130 fail:
6131 {
6132 if (temp4)
6133 delete arg4;
6134 }
6135 {
6136 if (temp8)
6137 delete arg8;
6138 }
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6146 wxVisualAttributes result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "variant", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6153 if (obj0) {
6154 {
6155 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6156 if (SWIG_arg_fail(1)) SWIG_fail;
6157 }
6158 }
6159 {
6160 if (!wxPyCheckForApp()) SWIG_fail;
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6163
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 {
6168 wxVisualAttributes * resultptr;
6169 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6179 PyObject *obj;
6180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6182 Py_INCREF(obj);
6183 return Py_BuildValue((char *)"");
6184 }
6185 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxWindow *arg1 = (wxWindow *) 0 ;
6188 int arg2 = (int) -1 ;
6189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6191 wxSize const &arg4_defvalue = wxDefaultSize ;
6192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6193 long arg5 = (long) wxLI_HORIZONTAL ;
6194 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6195 wxString *arg6 = (wxString *) &arg6_defvalue ;
6196 wxStaticLine *result;
6197 wxPoint temp3 ;
6198 wxSize temp4 ;
6199 bool temp6 = false ;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 PyObject * obj2 = 0 ;
6203 PyObject * obj3 = 0 ;
6204 PyObject * obj4 = 0 ;
6205 PyObject * obj5 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail;
6213 if (obj1) {
6214 {
6215 arg2 = (int)(SWIG_As_int(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
6218 }
6219 if (obj2) {
6220 {
6221 arg3 = &temp3;
6222 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6223 }
6224 }
6225 if (obj3) {
6226 {
6227 arg4 = &temp4;
6228 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6229 }
6230 }
6231 if (obj4) {
6232 {
6233 arg5 = (long)(SWIG_As_long(obj4));
6234 if (SWIG_arg_fail(5)) SWIG_fail;
6235 }
6236 }
6237 if (obj5) {
6238 {
6239 arg6 = wxString_in_helper(obj5);
6240 if (arg6 == NULL) SWIG_fail;
6241 temp6 = true;
6242 }
6243 }
6244 {
6245 if (!wxPyCheckForApp()) SWIG_fail;
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6253 {
6254 if (temp6)
6255 delete arg6;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp6)
6261 delete arg6;
6262 }
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxStaticLine *result;
6270 char *kwnames[] = {
6271 NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6275 {
6276 if (!wxPyCheckForApp()) SWIG_fail;
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = (wxStaticLine *)new wxStaticLine();
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6293 wxWindow *arg2 = (wxWindow *) 0 ;
6294 int arg3 = (int) -1 ;
6295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6297 wxSize const &arg5_defvalue = wxDefaultSize ;
6298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6299 long arg6 = (long) wxLI_HORIZONTAL ;
6300 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6301 wxString *arg7 = (wxString *) &arg7_defvalue ;
6302 bool result;
6303 wxPoint temp4 ;
6304 wxSize temp5 ;
6305 bool temp7 = false ;
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308 PyObject * obj2 = 0 ;
6309 PyObject * obj3 = 0 ;
6310 PyObject * obj4 = 0 ;
6311 PyObject * obj5 = 0 ;
6312 PyObject * obj6 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail;
6320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6321 if (SWIG_arg_fail(2)) SWIG_fail;
6322 if (obj2) {
6323 {
6324 arg3 = (int)(SWIG_As_int(obj2));
6325 if (SWIG_arg_fail(3)) SWIG_fail;
6326 }
6327 }
6328 if (obj3) {
6329 {
6330 arg4 = &temp4;
6331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6332 }
6333 }
6334 if (obj4) {
6335 {
6336 arg5 = &temp5;
6337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6338 }
6339 }
6340 if (obj5) {
6341 {
6342 arg6 = (long)(SWIG_As_long(obj5));
6343 if (SWIG_arg_fail(6)) SWIG_fail;
6344 }
6345 }
6346 if (obj6) {
6347 {
6348 arg7 = wxString_in_helper(obj6);
6349 if (arg7 == NULL) SWIG_fail;
6350 temp7 = true;
6351 }
6352 }
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 {
6361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6362 }
6363 {
6364 if (temp7)
6365 delete arg7;
6366 }
6367 return resultobj;
6368 fail:
6369 {
6370 if (temp7)
6371 delete arg7;
6372 }
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6398 }
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 int result;
6408 char *kwnames[] = {
6409 NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (int)wxStaticLine::GetDefaultSize();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 {
6421 resultobj = SWIG_From_int((int)(result));
6422 }
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6432 wxVisualAttributes result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "variant", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6439 if (obj0) {
6440 {
6441 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6442 if (SWIG_arg_fail(1)) SWIG_fail;
6443 }
6444 }
6445 {
6446 if (!wxPyCheckForApp()) SWIG_fail;
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 {
6454 wxVisualAttributes * resultptr;
6455 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6457 }
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6465 PyObject *obj;
6466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6468 Py_INCREF(obj);
6469 return Py_BuildValue((char *)"");
6470 }
6471 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxWindow *arg1 = (wxWindow *) 0 ;
6474 int arg2 = (int) -1 ;
6475 wxString const &arg3_defvalue = wxPyEmptyString ;
6476 wxString *arg3 = (wxString *) &arg3_defvalue ;
6477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6479 wxSize const &arg5_defvalue = wxDefaultSize ;
6480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6481 long arg6 = (long) 0 ;
6482 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6483 wxString *arg7 = (wxString *) &arg7_defvalue ;
6484 wxStaticText *result;
6485 bool temp3 = false ;
6486 wxPoint temp4 ;
6487 wxSize temp5 ;
6488 bool temp7 = false ;
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 PyObject * obj2 = 0 ;
6492 PyObject * obj3 = 0 ;
6493 PyObject * obj4 = 0 ;
6494 PyObject * obj5 = 0 ;
6495 PyObject * obj6 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail;
6503 if (obj1) {
6504 {
6505 arg2 = (int)(SWIG_As_int(obj1));
6506 if (SWIG_arg_fail(2)) SWIG_fail;
6507 }
6508 }
6509 if (obj2) {
6510 {
6511 arg3 = wxString_in_helper(obj2);
6512 if (arg3 == NULL) SWIG_fail;
6513 temp3 = true;
6514 }
6515 }
6516 if (obj3) {
6517 {
6518 arg4 = &temp4;
6519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6520 }
6521 }
6522 if (obj4) {
6523 {
6524 arg5 = &temp5;
6525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6526 }
6527 }
6528 if (obj5) {
6529 {
6530 arg6 = (long)(SWIG_As_long(obj5));
6531 if (SWIG_arg_fail(6)) SWIG_fail;
6532 }
6533 }
6534 if (obj6) {
6535 {
6536 arg7 = wxString_in_helper(obj6);
6537 if (arg7 == NULL) SWIG_fail;
6538 temp7 = true;
6539 }
6540 }
6541 {
6542 if (!wxPyCheckForApp()) SWIG_fail;
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6550 {
6551 if (temp3)
6552 delete arg3;
6553 }
6554 {
6555 if (temp7)
6556 delete arg7;
6557 }
6558 return resultobj;
6559 fail:
6560 {
6561 if (temp3)
6562 delete arg3;
6563 }
6564 {
6565 if (temp7)
6566 delete arg7;
6567 }
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxStaticText *result;
6575 char *kwnames[] = {
6576 NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6580 {
6581 if (!wxPyCheckForApp()) SWIG_fail;
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = (wxStaticText *)new wxStaticText();
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxStaticText *arg1 = (wxStaticText *) 0 ;
6598 wxWindow *arg2 = (wxWindow *) 0 ;
6599 int arg3 = (int) -1 ;
6600 wxString const &arg4_defvalue = wxPyEmptyString ;
6601 wxString *arg4 = (wxString *) &arg4_defvalue ;
6602 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6603 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6604 wxSize const &arg6_defvalue = wxDefaultSize ;
6605 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6606 long arg7 = (long) 0 ;
6607 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6608 wxString *arg8 = (wxString *) &arg8_defvalue ;
6609 bool result;
6610 bool temp4 = false ;
6611 wxPoint temp5 ;
6612 wxSize temp6 ;
6613 bool temp8 = false ;
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj1 = 0 ;
6616 PyObject * obj2 = 0 ;
6617 PyObject * obj3 = 0 ;
6618 PyObject * obj4 = 0 ;
6619 PyObject * obj5 = 0 ;
6620 PyObject * obj6 = 0 ;
6621 PyObject * obj7 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6628 if (SWIG_arg_fail(1)) SWIG_fail;
6629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(2)) SWIG_fail;
6631 if (obj2) {
6632 {
6633 arg3 = (int)(SWIG_As_int(obj2));
6634 if (SWIG_arg_fail(3)) SWIG_fail;
6635 }
6636 }
6637 if (obj3) {
6638 {
6639 arg4 = wxString_in_helper(obj3);
6640 if (arg4 == NULL) SWIG_fail;
6641 temp4 = true;
6642 }
6643 }
6644 if (obj4) {
6645 {
6646 arg5 = &temp5;
6647 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6648 }
6649 }
6650 if (obj5) {
6651 {
6652 arg6 = &temp6;
6653 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6654 }
6655 }
6656 if (obj6) {
6657 {
6658 arg7 = (long)(SWIG_As_long(obj6));
6659 if (SWIG_arg_fail(7)) SWIG_fail;
6660 }
6661 }
6662 if (obj7) {
6663 {
6664 arg8 = wxString_in_helper(obj7);
6665 if (arg8 == NULL) SWIG_fail;
6666 temp8 = true;
6667 }
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 {
6677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6678 }
6679 {
6680 if (temp4)
6681 delete arg4;
6682 }
6683 {
6684 if (temp8)
6685 delete arg8;
6686 }
6687 return resultobj;
6688 fail:
6689 {
6690 if (temp4)
6691 delete arg4;
6692 }
6693 {
6694 if (temp8)
6695 delete arg8;
6696 }
6697 return NULL;
6698 }
6699
6700
6701 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6704 wxVisualAttributes result;
6705 PyObject * obj0 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "variant", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6711 if (obj0) {
6712 {
6713 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6714 if (SWIG_arg_fail(1)) SWIG_fail;
6715 }
6716 }
6717 {
6718 if (!wxPyCheckForApp()) SWIG_fail;
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 {
6726 wxVisualAttributes * resultptr;
6727 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6737 PyObject *obj;
6738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6740 Py_INCREF(obj);
6741 return Py_BuildValue((char *)"");
6742 }
6743 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxWindow *arg1 = (wxWindow *) 0 ;
6746 int arg2 = (int) -1 ;
6747 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6748 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6751 wxSize const &arg5_defvalue = wxDefaultSize ;
6752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6753 long arg6 = (long) 0 ;
6754 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6755 wxString *arg7 = (wxString *) &arg7_defvalue ;
6756 wxStaticBitmap *result;
6757 wxPoint temp4 ;
6758 wxSize temp5 ;
6759 bool temp7 = false ;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 PyObject * obj2 = 0 ;
6763 PyObject * obj3 = 0 ;
6764 PyObject * obj4 = 0 ;
6765 PyObject * obj5 = 0 ;
6766 PyObject * obj6 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail;
6774 if (obj1) {
6775 {
6776 arg2 = (int)(SWIG_As_int(obj1));
6777 if (SWIG_arg_fail(2)) SWIG_fail;
6778 }
6779 }
6780 if (obj2) {
6781 {
6782 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(3)) SWIG_fail;
6784 if (arg3 == NULL) {
6785 SWIG_null_ref("wxBitmap");
6786 }
6787 if (SWIG_arg_fail(3)) SWIG_fail;
6788 }
6789 }
6790 if (obj3) {
6791 {
6792 arg4 = &temp4;
6793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6794 }
6795 }
6796 if (obj4) {
6797 {
6798 arg5 = &temp5;
6799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6800 }
6801 }
6802 if (obj5) {
6803 {
6804 arg6 = (long)(SWIG_As_long(obj5));
6805 if (SWIG_arg_fail(6)) SWIG_fail;
6806 }
6807 }
6808 if (obj6) {
6809 {
6810 arg7 = wxString_in_helper(obj6);
6811 if (arg7 == NULL) SWIG_fail;
6812 temp7 = true;
6813 }
6814 }
6815 {
6816 if (!wxPyCheckForApp()) SWIG_fail;
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6824 {
6825 if (temp7)
6826 delete arg7;
6827 }
6828 return resultobj;
6829 fail:
6830 {
6831 if (temp7)
6832 delete arg7;
6833 }
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxStaticBitmap *result;
6841 char *kwnames[] = {
6842 NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6846 {
6847 if (!wxPyCheckForApp()) SWIG_fail;
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = (wxStaticBitmap *)new wxStaticBitmap();
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6864 wxWindow *arg2 = (wxWindow *) 0 ;
6865 int arg3 = (int) -1 ;
6866 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6867 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6868 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6869 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6870 wxSize const &arg6_defvalue = wxDefaultSize ;
6871 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6872 long arg7 = (long) 0 ;
6873 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6874 wxString *arg8 = (wxString *) &arg8_defvalue ;
6875 bool result;
6876 wxPoint temp5 ;
6877 wxSize temp6 ;
6878 bool temp8 = false ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 PyObject * obj2 = 0 ;
6882 PyObject * obj3 = 0 ;
6883 PyObject * obj4 = 0 ;
6884 PyObject * obj5 = 0 ;
6885 PyObject * obj6 = 0 ;
6886 PyObject * obj7 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail;
6894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6895 if (SWIG_arg_fail(2)) SWIG_fail;
6896 if (obj2) {
6897 {
6898 arg3 = (int)(SWIG_As_int(obj2));
6899 if (SWIG_arg_fail(3)) SWIG_fail;
6900 }
6901 }
6902 if (obj3) {
6903 {
6904 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6905 if (SWIG_arg_fail(4)) SWIG_fail;
6906 if (arg4 == NULL) {
6907 SWIG_null_ref("wxBitmap");
6908 }
6909 if (SWIG_arg_fail(4)) SWIG_fail;
6910 }
6911 }
6912 if (obj4) {
6913 {
6914 arg5 = &temp5;
6915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6916 }
6917 }
6918 if (obj5) {
6919 {
6920 arg6 = &temp6;
6921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6922 }
6923 }
6924 if (obj6) {
6925 {
6926 arg7 = (long)(SWIG_As_long(obj6));
6927 if (SWIG_arg_fail(7)) SWIG_fail;
6928 }
6929 }
6930 if (obj7) {
6931 {
6932 arg8 = wxString_in_helper(obj7);
6933 if (arg8 == NULL) SWIG_fail;
6934 temp8 = true;
6935 }
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6946 }
6947 {
6948 if (temp8)
6949 delete arg8;
6950 }
6951 return resultobj;
6952 fail:
6953 {
6954 if (temp8)
6955 delete arg8;
6956 }
6957 return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6964 wxBitmap result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6972 if (SWIG_arg_fail(1)) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (arg1)->GetBitmap();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 {
6981 wxBitmap * resultptr;
6982 resultptr = new wxBitmap((wxBitmap &)(result));
6983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6984 }
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6994 wxBitmap *arg2 = 0 ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "bitmap", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail;
7004 {
7005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7006 if (SWIG_arg_fail(2)) SWIG_fail;
7007 if (arg2 == NULL) {
7008 SWIG_null_ref("wxBitmap");
7009 }
7010 if (SWIG_arg_fail(2)) SWIG_fail;
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7029 wxIcon *arg2 = 0 ;
7030 PyObject * obj0 = 0 ;
7031 PyObject * obj1 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self",(char *) "icon", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail;
7039 {
7040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7041 if (SWIG_arg_fail(2)) SWIG_fail;
7042 if (arg2 == NULL) {
7043 SWIG_null_ref("wxIcon");
7044 }
7045 if (SWIG_arg_fail(2)) SWIG_fail;
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->SetIcon((wxIcon const &)*arg2);
7050
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 Py_INCREF(Py_None); resultobj = Py_None;
7055 return resultobj;
7056 fail:
7057 return NULL;
7058 }
7059
7060
7061 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj;
7063 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7064 wxVisualAttributes result;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "variant", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7071 if (obj0) {
7072 {
7073 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7074 if (SWIG_arg_fail(1)) SWIG_fail;
7075 }
7076 }
7077 {
7078 if (!wxPyCheckForApp()) SWIG_fail;
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 {
7086 wxVisualAttributes * resultptr;
7087 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7089 }
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7097 PyObject *obj;
7098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7099 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7100 Py_INCREF(obj);
7101 return Py_BuildValue((char *)"");
7102 }
7103 static int _wrap_ListBoxNameStr_set(PyObject *) {
7104 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7105 return 1;
7106 }
7107
7108
7109 static PyObject *_wrap_ListBoxNameStr_get(void) {
7110 PyObject *pyobj;
7111
7112 {
7113 #if wxUSE_UNICODE
7114 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7115 #else
7116 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7117 #endif
7118 }
7119 return pyobj;
7120 }
7121
7122
7123 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxWindow *arg1 = (wxWindow *) 0 ;
7126 int arg2 = (int) -1 ;
7127 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7128 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7129 wxSize const &arg4_defvalue = wxDefaultSize ;
7130 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7131 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7132 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7133 long arg6 = (long) 0 ;
7134 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7135 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7136 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7137 wxString *arg8 = (wxString *) &arg8_defvalue ;
7138 wxListBox *result;
7139 wxPoint temp3 ;
7140 wxSize temp4 ;
7141 bool temp5 = false ;
7142 bool temp8 = false ;
7143 PyObject * obj0 = 0 ;
7144 PyObject * obj1 = 0 ;
7145 PyObject * obj2 = 0 ;
7146 PyObject * obj3 = 0 ;
7147 PyObject * obj4 = 0 ;
7148 PyObject * obj5 = 0 ;
7149 PyObject * obj6 = 0 ;
7150 PyObject * obj7 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail;
7158 if (obj1) {
7159 {
7160 arg2 = (int)(SWIG_As_int(obj1));
7161 if (SWIG_arg_fail(2)) SWIG_fail;
7162 }
7163 }
7164 if (obj2) {
7165 {
7166 arg3 = &temp3;
7167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7168 }
7169 }
7170 if (obj3) {
7171 {
7172 arg4 = &temp4;
7173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7174 }
7175 }
7176 if (obj4) {
7177 {
7178 if (! PySequence_Check(obj4)) {
7179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7180 SWIG_fail;
7181 }
7182 arg5 = new wxArrayString;
7183 temp5 = true;
7184 int i, len=PySequence_Length(obj4);
7185 for (i=0; i<len; i++) {
7186 PyObject* item = PySequence_GetItem(obj4, i);
7187 wxString* s = wxString_in_helper(item);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 arg5->Add(*s);
7190 delete s;
7191 Py_DECREF(item);
7192 }
7193 }
7194 }
7195 if (obj5) {
7196 {
7197 arg6 = (long)(SWIG_As_long(obj5));
7198 if (SWIG_arg_fail(6)) SWIG_fail;
7199 }
7200 }
7201 if (obj6) {
7202 {
7203 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7204 if (SWIG_arg_fail(7)) SWIG_fail;
7205 if (arg7 == NULL) {
7206 SWIG_null_ref("wxValidator");
7207 }
7208 if (SWIG_arg_fail(7)) SWIG_fail;
7209 }
7210 }
7211 if (obj7) {
7212 {
7213 arg8 = wxString_in_helper(obj7);
7214 if (arg8 == NULL) SWIG_fail;
7215 temp8 = true;
7216 }
7217 }
7218 {
7219 if (!wxPyCheckForApp()) SWIG_fail;
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7227 {
7228 if (temp5) delete arg5;
7229 }
7230 {
7231 if (temp8)
7232 delete arg8;
7233 }
7234 return resultobj;
7235 fail:
7236 {
7237 if (temp5) delete arg5;
7238 }
7239 {
7240 if (temp8)
7241 delete arg8;
7242 }
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxListBox *result;
7250 char *kwnames[] = {
7251 NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7255 {
7256 if (!wxPyCheckForApp()) SWIG_fail;
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (wxListBox *)new wxListBox();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxListBox *arg1 = (wxListBox *) 0 ;
7273 wxWindow *arg2 = (wxWindow *) 0 ;
7274 int arg3 = (int) -1 ;
7275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7277 wxSize const &arg5_defvalue = wxDefaultSize ;
7278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7279 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7280 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7281 long arg7 = (long) 0 ;
7282 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7283 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7284 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7285 wxString *arg9 = (wxString *) &arg9_defvalue ;
7286 bool result;
7287 wxPoint temp4 ;
7288 wxSize temp5 ;
7289 bool temp6 = false ;
7290 bool temp9 = false ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 PyObject * obj2 = 0 ;
7294 PyObject * obj3 = 0 ;
7295 PyObject * obj4 = 0 ;
7296 PyObject * obj5 = 0 ;
7297 PyObject * obj6 = 0 ;
7298 PyObject * obj7 = 0 ;
7299 PyObject * obj8 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7306 if (SWIG_arg_fail(1)) SWIG_fail;
7307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7308 if (SWIG_arg_fail(2)) SWIG_fail;
7309 if (obj2) {
7310 {
7311 arg3 = (int)(SWIG_As_int(obj2));
7312 if (SWIG_arg_fail(3)) SWIG_fail;
7313 }
7314 }
7315 if (obj3) {
7316 {
7317 arg4 = &temp4;
7318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7319 }
7320 }
7321 if (obj4) {
7322 {
7323 arg5 = &temp5;
7324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7325 }
7326 }
7327 if (obj5) {
7328 {
7329 if (! PySequence_Check(obj5)) {
7330 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7331 SWIG_fail;
7332 }
7333 arg6 = new wxArrayString;
7334 temp6 = true;
7335 int i, len=PySequence_Length(obj5);
7336 for (i=0; i<len; i++) {
7337 PyObject* item = PySequence_GetItem(obj5, i);
7338 wxString* s = wxString_in_helper(item);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 arg6->Add(*s);
7341 delete s;
7342 Py_DECREF(item);
7343 }
7344 }
7345 }
7346 if (obj6) {
7347 {
7348 arg7 = (long)(SWIG_As_long(obj6));
7349 if (SWIG_arg_fail(7)) SWIG_fail;
7350 }
7351 }
7352 if (obj7) {
7353 {
7354 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7355 if (SWIG_arg_fail(8)) SWIG_fail;
7356 if (arg8 == NULL) {
7357 SWIG_null_ref("wxValidator");
7358 }
7359 if (SWIG_arg_fail(8)) SWIG_fail;
7360 }
7361 }
7362 if (obj8) {
7363 {
7364 arg9 = wxString_in_helper(obj8);
7365 if (arg9 == NULL) SWIG_fail;
7366 temp9 = true;
7367 }
7368 }
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 {
7377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7378 }
7379 {
7380 if (temp6) delete arg6;
7381 }
7382 {
7383 if (temp9)
7384 delete arg9;
7385 }
7386 return resultobj;
7387 fail:
7388 {
7389 if (temp6) delete arg6;
7390 }
7391 {
7392 if (temp9)
7393 delete arg9;
7394 }
7395 return NULL;
7396 }
7397
7398
7399 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj;
7401 wxListBox *arg1 = (wxListBox *) 0 ;
7402 wxString *arg2 = 0 ;
7403 int arg3 ;
7404 PyObject *arg4 = (PyObject *) NULL ;
7405 bool temp2 = false ;
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 PyObject * obj2 = 0 ;
7409 PyObject * obj3 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
7417 {
7418 arg2 = wxString_in_helper(obj1);
7419 if (arg2 == NULL) SWIG_fail;
7420 temp2 = true;
7421 }
7422 {
7423 arg3 = (int)(SWIG_As_int(obj2));
7424 if (SWIG_arg_fail(3)) SWIG_fail;
7425 }
7426 if (obj3) {
7427 arg4 = obj3;
7428 }
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 Py_INCREF(Py_None); resultobj = Py_None;
7437 {
7438 if (temp2)
7439 delete arg2;
7440 }
7441 return resultobj;
7442 fail:
7443 {
7444 if (temp2)
7445 delete arg2;
7446 }
7447 return NULL;
7448 }
7449
7450
7451 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxListBox *arg1 = (wxListBox *) 0 ;
7454 wxArrayString *arg2 = 0 ;
7455 int arg3 ;
7456 bool temp2 = false ;
7457 PyObject * obj0 = 0 ;
7458 PyObject * obj1 = 0 ;
7459 PyObject * obj2 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "self",(char *) "items",(char *) "pos", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail;
7467 {
7468 if (! PySequence_Check(obj1)) {
7469 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7470 SWIG_fail;
7471 }
7472 arg2 = new wxArrayString;
7473 temp2 = true;
7474 int i, len=PySequence_Length(obj1);
7475 for (i=0; i<len; i++) {
7476 PyObject* item = PySequence_GetItem(obj1, i);
7477 wxString* s = wxString_in_helper(item);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 arg2->Add(*s);
7480 delete s;
7481 Py_DECREF(item);
7482 }
7483 }
7484 {
7485 arg3 = (int)(SWIG_As_int(obj2));
7486 if (SWIG_arg_fail(3)) SWIG_fail;
7487 }
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 {
7497 if (temp2) delete arg2;
7498 }
7499 return resultobj;
7500 fail:
7501 {
7502 if (temp2) delete arg2;
7503 }
7504 return NULL;
7505 }
7506
7507
7508 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxListBox *arg1 = (wxListBox *) 0 ;
7511 wxArrayString *arg2 = 0 ;
7512 bool temp2 = false ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 char *kwnames[] = {
7516 (char *) "self",(char *) "items", NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7521 if (SWIG_arg_fail(1)) SWIG_fail;
7522 {
7523 if (! PySequence_Check(obj1)) {
7524 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7525 SWIG_fail;
7526 }
7527 arg2 = new wxArrayString;
7528 temp2 = true;
7529 int i, len=PySequence_Length(obj1);
7530 for (i=0; i<len; i++) {
7531 PyObject* item = PySequence_GetItem(obj1, i);
7532 wxString* s = wxString_in_helper(item);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 arg2->Add(*s);
7535 delete s;
7536 Py_DECREF(item);
7537 }
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 (arg1)->Set((wxArrayString const &)*arg2);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 {
7548 if (temp2) delete arg2;
7549 }
7550 return resultobj;
7551 fail:
7552 {
7553 if (temp2) delete arg2;
7554 }
7555 return NULL;
7556 }
7557
7558
7559 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxListBox *arg1 = (wxListBox *) 0 ;
7562 int arg2 ;
7563 bool result;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "n", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7572 if (SWIG_arg_fail(1)) SWIG_fail;
7573 {
7574 arg2 = (int)(SWIG_As_int(obj1));
7575 if (SWIG_arg_fail(2)) SWIG_fail;
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 {
7585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7586 }
7587 return resultobj;
7588 fail:
7589 return NULL;
7590 }
7591
7592
7593 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxListBox *arg1 = (wxListBox *) 0 ;
7596 int arg2 ;
7597 bool arg3 = (bool) true ;
7598 PyObject * obj0 = 0 ;
7599 PyObject * obj1 = 0 ;
7600 PyObject * obj2 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "n",(char *) "select", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail;
7608 {
7609 arg2 = (int)(SWIG_As_int(obj1));
7610 if (SWIG_arg_fail(2)) SWIG_fail;
7611 }
7612 if (obj2) {
7613 {
7614 arg3 = (bool)(SWIG_As_bool(obj2));
7615 if (SWIG_arg_fail(3)) SWIG_fail;
7616 }
7617 }
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->SetSelection(arg2,arg3);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxListBox *arg1 = (wxListBox *) 0 ;
7635 int arg2 ;
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj1 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self",(char *) "n", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail;
7645 {
7646 arg2 = (int)(SWIG_As_int(obj1));
7647 if (SWIG_arg_fail(2)) SWIG_fail;
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 (arg1)->Select(arg2);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 Py_INCREF(Py_None); resultobj = Py_None;
7657 return resultobj;
7658 fail:
7659 return NULL;
7660 }
7661
7662
7663 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj;
7665 wxListBox *arg1 = (wxListBox *) 0 ;
7666 int arg2 ;
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self",(char *) "n", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7675 if (SWIG_arg_fail(1)) SWIG_fail;
7676 {
7677 arg2 = (int)(SWIG_As_int(obj1));
7678 if (SWIG_arg_fail(2)) SWIG_fail;
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->Deselect(arg2);
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxListBox *arg1 = (wxListBox *) 0 ;
7697 int arg2 = (int) -1 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self",(char *) "itemToLeaveSelected", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail;
7707 if (obj1) {
7708 {
7709 arg2 = (int)(SWIG_As_int(obj1));
7710 if (SWIG_arg_fail(2)) SWIG_fail;
7711 }
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 (arg1)->DeselectAll(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxListBox *arg1 = (wxListBox *) 0 ;
7730 wxString *arg2 = 0 ;
7731 bool arg3 = (bool) true ;
7732 bool result;
7733 bool temp2 = false ;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 PyObject * obj2 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self",(char *) "s",(char *) "select", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail;
7744 {
7745 arg2 = wxString_in_helper(obj1);
7746 if (arg2 == NULL) SWIG_fail;
7747 temp2 = true;
7748 }
7749 if (obj2) {
7750 {
7751 arg3 = (bool)(SWIG_As_bool(obj2));
7752 if (SWIG_arg_fail(3)) SWIG_fail;
7753 }
7754 }
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 {
7763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7764 }
7765 {
7766 if (temp2)
7767 delete arg2;
7768 }
7769 return resultobj;
7770 fail:
7771 {
7772 if (temp2)
7773 delete arg2;
7774 }
7775 return NULL;
7776 }
7777
7778
7779 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxListBox *arg1 = (wxListBox *) 0 ;
7782 PyObject *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (PyObject *)wxListBox_GetSelections(arg1);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = result;
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxListBox *arg1 = (wxListBox *) 0 ;
7808 int arg2 ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "n", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail;
7818 {
7819 arg2 = (int)(SWIG_As_int(obj1));
7820 if (SWIG_arg_fail(2)) SWIG_fail;
7821 }
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->SetFirstItem(arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833 }
7834
7835
7836 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxListBox *arg1 = (wxListBox *) 0 ;
7839 wxString *arg2 = 0 ;
7840 bool temp2 = false ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "s", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 arg2 = wxString_in_helper(obj1);
7852 if (arg2 == NULL) SWIG_fail;
7853 temp2 = true;
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->SetFirstItem((wxString const &)*arg2);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 {
7864 if (temp2)
7865 delete arg2;
7866 }
7867 return resultobj;
7868 fail:
7869 {
7870 if (temp2)
7871 delete arg2;
7872 }
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxListBox *arg1 = (wxListBox *) 0 ;
7880 int arg2 ;
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "n", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail;
7890 {
7891 arg2 = (int)(SWIG_As_int(obj1));
7892 if (SWIG_arg_fail(2)) SWIG_fail;
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->EnsureVisible(arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxListBox *arg1 = (wxListBox *) 0 ;
7911 wxString *arg2 = 0 ;
7912 bool temp2 = false ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "s", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7921 if (SWIG_arg_fail(1)) SWIG_fail;
7922 {
7923 arg2 = wxString_in_helper(obj1);
7924 if (arg2 == NULL) SWIG_fail;
7925 temp2 = true;
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 Py_INCREF(Py_None); resultobj = Py_None;
7935 {
7936 if (temp2)
7937 delete arg2;
7938 }
7939 return resultobj;
7940 fail:
7941 {
7942 if (temp2)
7943 delete arg2;
7944 }
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxListBox *arg1 = (wxListBox *) 0 ;
7952 bool result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (bool)((wxListBox const *)arg1)->IsSorted();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7970 }
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxListBox *arg1 = (wxListBox *) 0 ;
7980 int arg2 ;
7981 wxColour *arg3 = 0 ;
7982 wxColour temp3 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 PyObject * obj2 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "item",(char *) "c", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail;
7993 {
7994 arg2 = (int)(SWIG_As_int(obj1));
7995 if (SWIG_arg_fail(2)) SWIG_fail;
7996 }
7997 {
7998 arg3 = &temp3;
7999 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8000 }
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 Py_INCREF(Py_None); resultobj = Py_None;
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj;
8017 wxListBox *arg1 = (wxListBox *) 0 ;
8018 int arg2 ;
8019 wxColour *arg3 = 0 ;
8020 wxColour temp3 ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "item",(char *) "c", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 {
8032 arg2 = (int)(SWIG_As_int(obj1));
8033 if (SWIG_arg_fail(2)) SWIG_fail;
8034 }
8035 {
8036 arg3 = &temp3;
8037 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8038 }
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 Py_INCREF(Py_None); resultobj = Py_None;
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxListBox *arg1 = (wxListBox *) 0 ;
8056 int arg2 ;
8057 wxFont *arg3 = 0 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 PyObject * obj2 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self",(char *) "item",(char *) "f", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail;
8068 {
8069 arg2 = (int)(SWIG_As_int(obj1));
8070 if (SWIG_arg_fail(2)) SWIG_fail;
8071 }
8072 {
8073 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8074 if (SWIG_arg_fail(3)) SWIG_fail;
8075 if (arg3 == NULL) {
8076 SWIG_null_ref("wxFont");
8077 }
8078 if (SWIG_arg_fail(3)) SWIG_fail;
8079 }
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 Py_INCREF(Py_None); resultobj = Py_None;
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8097 wxVisualAttributes result;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "variant", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8104 if (obj0) {
8105 {
8106 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8107 if (SWIG_arg_fail(1)) SWIG_fail;
8108 }
8109 }
8110 {
8111 if (!wxPyCheckForApp()) SWIG_fail;
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 {
8119 wxVisualAttributes * resultptr;
8120 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8122 }
8123 return resultobj;
8124 fail:
8125 return NULL;
8126 }
8127
8128
8129 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8130 PyObject *obj;
8131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8132 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8133 Py_INCREF(obj);
8134 return Py_BuildValue((char *)"");
8135 }
8136 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxWindow *arg1 = (wxWindow *) 0 ;
8139 int arg2 = (int) -1 ;
8140 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8141 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8142 wxSize const &arg4_defvalue = wxDefaultSize ;
8143 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8144 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8145 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8146 long arg6 = (long) 0 ;
8147 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8148 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8149 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8150 wxString *arg8 = (wxString *) &arg8_defvalue ;
8151 wxCheckListBox *result;
8152 wxPoint temp3 ;
8153 wxSize temp4 ;
8154 bool temp5 = false ;
8155 bool temp8 = false ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 PyObject * obj2 = 0 ;
8159 PyObject * obj3 = 0 ;
8160 PyObject * obj4 = 0 ;
8161 PyObject * obj5 = 0 ;
8162 PyObject * obj6 = 0 ;
8163 PyObject * obj7 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
8171 if (obj1) {
8172 {
8173 arg2 = (int)(SWIG_As_int(obj1));
8174 if (SWIG_arg_fail(2)) SWIG_fail;
8175 }
8176 }
8177 if (obj2) {
8178 {
8179 arg3 = &temp3;
8180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8181 }
8182 }
8183 if (obj3) {
8184 {
8185 arg4 = &temp4;
8186 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8187 }
8188 }
8189 if (obj4) {
8190 {
8191 if (! PySequence_Check(obj4)) {
8192 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8193 SWIG_fail;
8194 }
8195 arg5 = new wxArrayString;
8196 temp5 = true;
8197 int i, len=PySequence_Length(obj4);
8198 for (i=0; i<len; i++) {
8199 PyObject* item = PySequence_GetItem(obj4, i);
8200 wxString* s = wxString_in_helper(item);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 arg5->Add(*s);
8203 delete s;
8204 Py_DECREF(item);
8205 }
8206 }
8207 }
8208 if (obj5) {
8209 {
8210 arg6 = (long)(SWIG_As_long(obj5));
8211 if (SWIG_arg_fail(6)) SWIG_fail;
8212 }
8213 }
8214 if (obj6) {
8215 {
8216 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(7)) SWIG_fail;
8218 if (arg7 == NULL) {
8219 SWIG_null_ref("wxValidator");
8220 }
8221 if (SWIG_arg_fail(7)) SWIG_fail;
8222 }
8223 }
8224 if (obj7) {
8225 {
8226 arg8 = wxString_in_helper(obj7);
8227 if (arg8 == NULL) SWIG_fail;
8228 temp8 = true;
8229 }
8230 }
8231 {
8232 if (!wxPyCheckForApp()) SWIG_fail;
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8240 {
8241 if (temp5) delete arg5;
8242 }
8243 {
8244 if (temp8)
8245 delete arg8;
8246 }
8247 return resultobj;
8248 fail:
8249 {
8250 if (temp5) delete arg5;
8251 }
8252 {
8253 if (temp8)
8254 delete arg8;
8255 }
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxCheckListBox *result;
8263 char *kwnames[] = {
8264 NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8268 {
8269 if (!wxPyCheckForApp()) SWIG_fail;
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (wxCheckListBox *)new wxCheckListBox();
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8277 return resultobj;
8278 fail:
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8286 wxWindow *arg2 = (wxWindow *) 0 ;
8287 int arg3 = (int) -1 ;
8288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8290 wxSize const &arg5_defvalue = wxDefaultSize ;
8291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8292 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8293 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8294 long arg7 = (long) 0 ;
8295 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8296 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8297 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8298 wxString *arg9 = (wxString *) &arg9_defvalue ;
8299 bool result;
8300 wxPoint temp4 ;
8301 wxSize temp5 ;
8302 bool temp6 = false ;
8303 bool temp9 = false ;
8304 PyObject * obj0 = 0 ;
8305 PyObject * obj1 = 0 ;
8306 PyObject * obj2 = 0 ;
8307 PyObject * obj3 = 0 ;
8308 PyObject * obj4 = 0 ;
8309 PyObject * obj5 = 0 ;
8310 PyObject * obj6 = 0 ;
8311 PyObject * obj7 = 0 ;
8312 PyObject * obj8 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail;
8320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8321 if (SWIG_arg_fail(2)) SWIG_fail;
8322 if (obj2) {
8323 {
8324 arg3 = (int)(SWIG_As_int(obj2));
8325 if (SWIG_arg_fail(3)) SWIG_fail;
8326 }
8327 }
8328 if (obj3) {
8329 {
8330 arg4 = &temp4;
8331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8332 }
8333 }
8334 if (obj4) {
8335 {
8336 arg5 = &temp5;
8337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8338 }
8339 }
8340 if (obj5) {
8341 {
8342 if (! PySequence_Check(obj5)) {
8343 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8344 SWIG_fail;
8345 }
8346 arg6 = new wxArrayString;
8347 temp6 = true;
8348 int i, len=PySequence_Length(obj5);
8349 for (i=0; i<len; i++) {
8350 PyObject* item = PySequence_GetItem(obj5, i);
8351 wxString* s = wxString_in_helper(item);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 arg6->Add(*s);
8354 delete s;
8355 Py_DECREF(item);
8356 }
8357 }
8358 }
8359 if (obj6) {
8360 {
8361 arg7 = (long)(SWIG_As_long(obj6));
8362 if (SWIG_arg_fail(7)) SWIG_fail;
8363 }
8364 }
8365 if (obj7) {
8366 {
8367 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8368 if (SWIG_arg_fail(8)) SWIG_fail;
8369 if (arg8 == NULL) {
8370 SWIG_null_ref("wxValidator");
8371 }
8372 if (SWIG_arg_fail(8)) SWIG_fail;
8373 }
8374 }
8375 if (obj8) {
8376 {
8377 arg9 = wxString_in_helper(obj8);
8378 if (arg9 == NULL) SWIG_fail;
8379 temp9 = true;
8380 }
8381 }
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 {
8390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8391 }
8392 {
8393 if (temp6) delete arg6;
8394 }
8395 {
8396 if (temp9)
8397 delete arg9;
8398 }
8399 return resultobj;
8400 fail:
8401 {
8402 if (temp6) delete arg6;
8403 }
8404 {
8405 if (temp9)
8406 delete arg9;
8407 }
8408 return NULL;
8409 }
8410
8411
8412 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8415 int arg2 ;
8416 bool result;
8417 PyObject * obj0 = 0 ;
8418 PyObject * obj1 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self",(char *) "index", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail;
8426 {
8427 arg2 = (int)(SWIG_As_int(obj1));
8428 if (SWIG_arg_fail(2)) SWIG_fail;
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (bool)(arg1)->IsChecked(arg2);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8449 int arg2 ;
8450 int arg3 = (int) true ;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 PyObject * obj2 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self",(char *) "index",(char *) "check", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail;
8461 {
8462 arg2 = (int)(SWIG_As_int(obj1));
8463 if (SWIG_arg_fail(2)) SWIG_fail;
8464 }
8465 if (obj2) {
8466 {
8467 arg3 = (int)(SWIG_As_int(obj2));
8468 if (SWIG_arg_fail(3)) SWIG_fail;
8469 }
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->Check(arg2,arg3);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8488 int result;
8489 PyObject * obj0 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8496 if (SWIG_arg_fail(1)) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (int)(arg1)->GetItemHeight();
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 {
8505 resultobj = SWIG_From_int((int)(result));
8506 }
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8516 wxPoint *arg2 = 0 ;
8517 int result;
8518 wxPoint temp2 ;
8519 PyObject * obj0 = 0 ;
8520 PyObject * obj1 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self",(char *) "pt", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail;
8528 {
8529 arg2 = &temp2;
8530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 {
8540 resultobj = SWIG_From_int((int)(result));
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8551 int arg2 ;
8552 int arg3 ;
8553 int result;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 PyObject * obj2 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "x",(char *) "y", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8563 if (SWIG_arg_fail(1)) SWIG_fail;
8564 {
8565 arg2 = (int)(SWIG_As_int(obj1));
8566 if (SWIG_arg_fail(2)) SWIG_fail;
8567 }
8568 {
8569 arg3 = (int)(SWIG_As_int(obj2));
8570 if (SWIG_arg_fail(3)) SWIG_fail;
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 {
8580 resultobj = SWIG_From_int((int)(result));
8581 }
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8589 PyObject *obj;
8590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8591 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8592 Py_INCREF(obj);
8593 return Py_BuildValue((char *)"");
8594 }
8595 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8596 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8597 return 1;
8598 }
8599
8600
8601 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8602 PyObject *pyobj;
8603
8604 {
8605 #if wxUSE_UNICODE
8606 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8607 #else
8608 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8609 #endif
8610 }
8611 return pyobj;
8612 }
8613
8614
8615 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj;
8617 wxColour const &arg1_defvalue = wxNullColour ;
8618 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8619 wxColour const &arg2_defvalue = wxNullColour ;
8620 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8621 wxFont const &arg3_defvalue = wxNullFont ;
8622 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8623 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8624 wxTextAttr *result;
8625 wxColour temp1 ;
8626 wxColour temp2 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 PyObject * obj2 = 0 ;
8630 PyObject * obj3 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8636 if (obj0) {
8637 {
8638 arg1 = &temp1;
8639 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8640 }
8641 }
8642 if (obj1) {
8643 {
8644 arg2 = &temp2;
8645 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8646 }
8647 }
8648 if (obj2) {
8649 {
8650 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8651 if (SWIG_arg_fail(3)) SWIG_fail;
8652 if (arg3 == NULL) {
8653 SWIG_null_ref("wxFont");
8654 }
8655 if (SWIG_arg_fail(3)) SWIG_fail;
8656 }
8657 }
8658 if (obj3) {
8659 {
8660 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8661 if (SWIG_arg_fail(4)) SWIG_fail;
8662 }
8663 }
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 delete arg1;
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 (arg1)->Init();
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 return resultobj;
8723 fail:
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8731 wxColour *arg2 = 0 ;
8732 wxColour temp2 ;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "colText", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail;
8742 {
8743 arg2 = &temp2;
8744 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SetTextColour((wxColour const &)*arg2);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8763 wxColour *arg2 = 0 ;
8764 wxColour temp2 ;
8765 PyObject * obj0 = 0 ;
8766 PyObject * obj1 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self",(char *) "colBack", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail;
8774 {
8775 arg2 = &temp2;
8776 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 Py_INCREF(Py_None); resultobj = Py_None;
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj;
8794 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8795 wxFont *arg2 = 0 ;
8796 long arg3 = (long) wxTEXT_ATTR_FONT ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 PyObject * obj2 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "font",(char *) "flags", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8806 if (SWIG_arg_fail(1)) SWIG_fail;
8807 {
8808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(2)) SWIG_fail;
8810 if (arg2 == NULL) {
8811 SWIG_null_ref("wxFont");
8812 }
8813 if (SWIG_arg_fail(2)) SWIG_fail;
8814 }
8815 if (obj2) {
8816 {
8817 arg3 = (long)(SWIG_As_long(obj2));
8818 if (SWIG_arg_fail(3)) SWIG_fail;
8819 }
8820 }
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 Py_INCREF(Py_None); resultobj = Py_None;
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8838 wxTextAttrAlignment arg2 ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "alignment", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8847 if (SWIG_arg_fail(1)) SWIG_fail;
8848 {
8849 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8850 if (SWIG_arg_fail(2)) SWIG_fail;
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 Py_INCREF(Py_None); resultobj = Py_None;
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8869 wxArrayInt *arg2 = 0 ;
8870 bool temp2 = false ;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "tabs", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail;
8880 {
8881 if (! PySequence_Check(obj1)) {
8882 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8883 SWIG_fail;
8884 }
8885 arg2 = new wxArrayInt;
8886 temp2 = true;
8887 int i, len=PySequence_Length(obj1);
8888 for (i=0; i<len; i++) {
8889 PyObject* item = PySequence_GetItem(obj1, i);
8890 PyObject* number = PyNumber_Int(item);
8891 arg2->Add(PyInt_AS_LONG(number));
8892 Py_DECREF(item);
8893 Py_DECREF(number);
8894 }
8895 }
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 Py_INCREF(Py_None); resultobj = Py_None;
8904 {
8905 if (temp2) delete arg2;
8906 }
8907 return resultobj;
8908 fail:
8909 {
8910 if (temp2) delete arg2;
8911 }
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8919 int arg2 ;
8920 int arg3 = (int) 0 ;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 PyObject * obj2 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail;
8931 {
8932 arg2 = (int)(SWIG_As_int(obj1));
8933 if (SWIG_arg_fail(2)) SWIG_fail;
8934 }
8935 if (obj2) {
8936 {
8937 arg3 = (int)(SWIG_As_int(obj2));
8938 if (SWIG_arg_fail(3)) SWIG_fail;
8939 }
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->SetLeftIndent(arg2,arg3);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8958 int arg2 ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "indent", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8967 if (SWIG_arg_fail(1)) SWIG_fail;
8968 {
8969 arg2 = (int)(SWIG_As_int(obj1));
8970 if (SWIG_arg_fail(2)) SWIG_fail;
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->SetRightIndent(arg2);
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8989 long arg2 ;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self",(char *) "flags", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail;
8999 {
9000 arg2 = (long)(SWIG_As_long(obj1));
9001 if (SWIG_arg_fail(2)) SWIG_fail;
9002 }
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 (arg1)->SetFlags(arg2);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 Py_INCREF(Py_None); resultobj = Py_None;
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9020 bool result;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9048 bool result;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail;
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 {
9065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9066 }
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9076 bool result;
9077 PyObject * obj0 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 {
9093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9094 }
9095 return resultobj;
9096 fail:
9097 return NULL;
9098 }
9099
9100
9101 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9104 bool result;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail;
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 {
9121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9122 }
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9140 if (SWIG_arg_fail(1)) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 {
9149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9150 }
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9160 bool result;
9161 PyObject * obj0 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail;
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 {
9177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9178 }
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9188 bool result;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 {
9205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9206 }
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9216 long arg2 ;
9217 bool result;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self",(char *) "flag", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail;
9227 {
9228 arg2 = (long)(SWIG_As_long(obj1));
9229 if (SWIG_arg_fail(2)) SWIG_fail;
9230 }
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 {
9239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9240 }
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9248 PyObject *resultobj;
9249 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9250 wxColour *result;
9251 PyObject * obj0 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9258 if (SWIG_arg_fail(1)) SWIG_fail;
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 {
9262 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9263 result = (wxColour *) &_result_ref;
9264 }
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9279 wxColour *result;
9280 PyObject * obj0 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9287 if (SWIG_arg_fail(1)) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 {
9291 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9292 result = (wxColour *) &_result_ref;
9293 }
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9308 wxFont *result;
9309 PyObject * obj0 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail;
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 {
9320 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9321 result = (wxFont *) &_result_ref;
9322 }
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 {
9328 wxFont* resultptr = new wxFont(*result);
9329 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9330 }
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9340 wxTextAttrAlignment result;
9341 PyObject * obj0 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9348 if (SWIG_arg_fail(1)) SWIG_fail;
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_From_int((result));
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9366 wxArrayInt *result;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 {
9378 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9379 result = (wxArrayInt *) &_result_ref;
9380 }
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = PyList_New(0);
9387 size_t idx;
9388 for (idx = 0; idx < result->GetCount(); idx += 1) {
9389 PyObject* val = PyInt_FromLong( result->Item(idx) );
9390 PyList_Append(resultobj, val);
9391 Py_DECREF(val);
9392 }
9393 }
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9403 long result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail;
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 {
9420 resultobj = SWIG_From_long((long)(result));
9421 }
9422 return resultobj;
9423 fail:
9424 return NULL;
9425 }
9426
9427
9428 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9429 PyObject *resultobj;
9430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9431 long result;
9432 PyObject * obj0 = 0 ;
9433 char *kwnames[] = {
9434 (char *) "self", NULL
9435 };
9436
9437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9439 if (SWIG_arg_fail(1)) SWIG_fail;
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 {
9448 resultobj = SWIG_From_long((long)(result));
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9459 long result;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9467 if (SWIG_arg_fail(1)) SWIG_fail;
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 {
9476 resultobj = SWIG_From_long((long)(result));
9477 }
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9487 long result;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9495 if (SWIG_arg_fail(1)) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 {
9504 resultobj = SWIG_From_long((long)(result));
9505 }
9506 return resultobj;
9507 fail:
9508 return NULL;
9509 }
9510
9511
9512 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj;
9514 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9515 bool result;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 {
9532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9533 }
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxTextAttr *arg1 = 0 ;
9543 wxTextAttr *arg2 = 0 ;
9544 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9545 wxTextAttr result;
9546 PyObject * obj0 = 0 ;
9547 PyObject * obj1 = 0 ;
9548 PyObject * obj2 = 0 ;
9549 char *kwnames[] = {
9550 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9551 };
9552
9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9554 {
9555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9556 if (SWIG_arg_fail(1)) SWIG_fail;
9557 if (arg1 == NULL) {
9558 SWIG_null_ref("wxTextAttr");
9559 }
9560 if (SWIG_arg_fail(1)) SWIG_fail;
9561 }
9562 {
9563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9564 if (SWIG_arg_fail(2)) SWIG_fail;
9565 if (arg2 == NULL) {
9566 SWIG_null_ref("wxTextAttr");
9567 }
9568 if (SWIG_arg_fail(2)) SWIG_fail;
9569 }
9570 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9571 if (SWIG_arg_fail(3)) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 {
9580 wxTextAttr * resultptr;
9581 resultptr = new wxTextAttr((wxTextAttr &)(result));
9582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9583 }
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9591 PyObject *obj;
9592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9593 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9594 Py_INCREF(obj);
9595 return Py_BuildValue((char *)"");
9596 }
9597 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxWindow *arg1 = (wxWindow *) 0 ;
9600 int arg2 = (int) -1 ;
9601 wxString const &arg3_defvalue = wxPyEmptyString ;
9602 wxString *arg3 = (wxString *) &arg3_defvalue ;
9603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9605 wxSize const &arg5_defvalue = wxDefaultSize ;
9606 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9607 long arg6 = (long) 0 ;
9608 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9609 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9610 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9611 wxString *arg8 = (wxString *) &arg8_defvalue ;
9612 wxTextCtrl *result;
9613 bool temp3 = false ;
9614 wxPoint temp4 ;
9615 wxSize temp5 ;
9616 bool temp8 = false ;
9617 PyObject * obj0 = 0 ;
9618 PyObject * obj1 = 0 ;
9619 PyObject * obj2 = 0 ;
9620 PyObject * obj3 = 0 ;
9621 PyObject * obj4 = 0 ;
9622 PyObject * obj5 = 0 ;
9623 PyObject * obj6 = 0 ;
9624 PyObject * obj7 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9631 if (SWIG_arg_fail(1)) SWIG_fail;
9632 if (obj1) {
9633 {
9634 arg2 = (int)(SWIG_As_int(obj1));
9635 if (SWIG_arg_fail(2)) SWIG_fail;
9636 }
9637 }
9638 if (obj2) {
9639 {
9640 arg3 = wxString_in_helper(obj2);
9641 if (arg3 == NULL) SWIG_fail;
9642 temp3 = true;
9643 }
9644 }
9645 if (obj3) {
9646 {
9647 arg4 = &temp4;
9648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9649 }
9650 }
9651 if (obj4) {
9652 {
9653 arg5 = &temp5;
9654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9655 }
9656 }
9657 if (obj5) {
9658 {
9659 arg6 = (long)(SWIG_As_long(obj5));
9660 if (SWIG_arg_fail(6)) SWIG_fail;
9661 }
9662 }
9663 if (obj6) {
9664 {
9665 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9666 if (SWIG_arg_fail(7)) SWIG_fail;
9667 if (arg7 == NULL) {
9668 SWIG_null_ref("wxValidator");
9669 }
9670 if (SWIG_arg_fail(7)) SWIG_fail;
9671 }
9672 }
9673 if (obj7) {
9674 {
9675 arg8 = wxString_in_helper(obj7);
9676 if (arg8 == NULL) SWIG_fail;
9677 temp8 = true;
9678 }
9679 }
9680 {
9681 if (!wxPyCheckForApp()) SWIG_fail;
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9689 {
9690 if (temp3)
9691 delete arg3;
9692 }
9693 {
9694 if (temp8)
9695 delete arg8;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp3)
9701 delete arg3;
9702 }
9703 {
9704 if (temp8)
9705 delete arg8;
9706 }
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxTextCtrl *result;
9714 char *kwnames[] = {
9715 NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9719 {
9720 if (!wxPyCheckForApp()) SWIG_fail;
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (wxTextCtrl *)new wxTextCtrl();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9737 wxWindow *arg2 = (wxWindow *) 0 ;
9738 int arg3 = (int) -1 ;
9739 wxString const &arg4_defvalue = wxPyEmptyString ;
9740 wxString *arg4 = (wxString *) &arg4_defvalue ;
9741 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9742 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9743 wxSize const &arg6_defvalue = wxDefaultSize ;
9744 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9745 long arg7 = (long) 0 ;
9746 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9747 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9748 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9749 wxString *arg9 = (wxString *) &arg9_defvalue ;
9750 bool result;
9751 bool temp4 = false ;
9752 wxPoint temp5 ;
9753 wxSize temp6 ;
9754 bool temp9 = false ;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj1 = 0 ;
9757 PyObject * obj2 = 0 ;
9758 PyObject * obj3 = 0 ;
9759 PyObject * obj4 = 0 ;
9760 PyObject * obj5 = 0 ;
9761 PyObject * obj6 = 0 ;
9762 PyObject * obj7 = 0 ;
9763 PyObject * obj8 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9770 if (SWIG_arg_fail(1)) SWIG_fail;
9771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9772 if (SWIG_arg_fail(2)) SWIG_fail;
9773 if (obj2) {
9774 {
9775 arg3 = (int)(SWIG_As_int(obj2));
9776 if (SWIG_arg_fail(3)) SWIG_fail;
9777 }
9778 }
9779 if (obj3) {
9780 {
9781 arg4 = wxString_in_helper(obj3);
9782 if (arg4 == NULL) SWIG_fail;
9783 temp4 = true;
9784 }
9785 }
9786 if (obj4) {
9787 {
9788 arg5 = &temp5;
9789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9790 }
9791 }
9792 if (obj5) {
9793 {
9794 arg6 = &temp6;
9795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9796 }
9797 }
9798 if (obj6) {
9799 {
9800 arg7 = (long)(SWIG_As_long(obj6));
9801 if (SWIG_arg_fail(7)) SWIG_fail;
9802 }
9803 }
9804 if (obj7) {
9805 {
9806 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(8)) SWIG_fail;
9808 if (arg8 == NULL) {
9809 SWIG_null_ref("wxValidator");
9810 }
9811 if (SWIG_arg_fail(8)) SWIG_fail;
9812 }
9813 }
9814 if (obj8) {
9815 {
9816 arg9 = wxString_in_helper(obj8);
9817 if (arg9 == NULL) SWIG_fail;
9818 temp9 = true;
9819 }
9820 }
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 {
9829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9830 }
9831 {
9832 if (temp4)
9833 delete arg4;
9834 }
9835 {
9836 if (temp9)
9837 delete arg9;
9838 }
9839 return resultobj;
9840 fail:
9841 {
9842 if (temp4)
9843 delete arg4;
9844 }
9845 {
9846 if (temp9)
9847 delete arg9;
9848 }
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9856 wxString result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = ((wxTextCtrl const *)arg1)->GetValue();
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 {
9873 #if wxUSE_UNICODE
9874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9875 #else
9876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9877 #endif
9878 }
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9888 wxString *arg2 = 0 ;
9889 bool temp2 = false ;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self",(char *) "value", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail;
9899 {
9900 arg2 = wxString_in_helper(obj1);
9901 if (arg2 == NULL) SWIG_fail;
9902 temp2 = true;
9903 }
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 (arg1)->SetValue((wxString const &)*arg2);
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 Py_INCREF(Py_None); resultobj = Py_None;
9912 {
9913 if (temp2)
9914 delete arg2;
9915 }
9916 return resultobj;
9917 fail:
9918 {
9919 if (temp2)
9920 delete arg2;
9921 }
9922 return NULL;
9923 }
9924
9925
9926 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj;
9928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9929 long arg2 ;
9930 long arg3 ;
9931 wxString result;
9932 PyObject * obj0 = 0 ;
9933 PyObject * obj1 = 0 ;
9934 PyObject * obj2 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "from",(char *) "to", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9941 if (SWIG_arg_fail(1)) SWIG_fail;
9942 {
9943 arg2 = (long)(SWIG_As_long(obj1));
9944 if (SWIG_arg_fail(2)) SWIG_fail;
9945 }
9946 {
9947 arg3 = (long)(SWIG_As_long(obj2));
9948 if (SWIG_arg_fail(3)) SWIG_fail;
9949 }
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 {
9958 #if wxUSE_UNICODE
9959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9960 #else
9961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9962 #endif
9963 }
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9973 long arg2 ;
9974 int result;
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self",(char *) "lineNo", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail;
9984 {
9985 arg2 = (long)(SWIG_As_long(obj1));
9986 if (SWIG_arg_fail(2)) SWIG_fail;
9987 }
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 resultobj = SWIG_From_int((int)(result));
9997 }
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10007 long arg2 ;
10008 wxString result;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "lineNo", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail;
10018 {
10019 arg2 = (long)(SWIG_As_long(obj1));
10020 if (SWIG_arg_fail(2)) SWIG_fail;
10021 }
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 {
10030 #if wxUSE_UNICODE
10031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10032 #else
10033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10034 #endif
10035 }
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10045 int result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10053 if (SWIG_arg_fail(1)) SWIG_fail;
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 {
10062 resultobj = SWIG_From_int((int)(result));
10063 }
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10073 bool result;
10074 PyObject * obj0 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10081 if (SWIG_arg_fail(1)) SWIG_fail;
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 {
10090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10091 }
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10101 bool result;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail;
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 {
10118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10119 }
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10129 bool result;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 {
10146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10147 }
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10157 bool result;
10158 PyObject * obj0 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail;
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 {
10174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10175 }
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj;
10184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10185 long *arg2 = (long *) 0 ;
10186 long *arg3 = (long *) 0 ;
10187 long temp2 ;
10188 int res2 = 0 ;
10189 long temp3 ;
10190 int res3 = 0 ;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self", NULL
10194 };
10195
10196 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10197 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail;
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 Py_INCREF(Py_None); resultobj = Py_None;
10209 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10210 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10211 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10212 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10222 wxString result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 {
10239 #if wxUSE_UNICODE
10240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10241 #else
10242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10243 #endif
10244 }
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10254 PyObject * obj0 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail;
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 (arg1)->Clear();
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 Py_INCREF(Py_None); resultobj = Py_None;
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj;
10278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10279 long arg2 ;
10280 long arg3 ;
10281 wxString *arg4 = 0 ;
10282 bool temp4 = false ;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 PyObject * obj2 = 0 ;
10286 PyObject * obj3 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail;
10294 {
10295 arg2 = (long)(SWIG_As_long(obj1));
10296 if (SWIG_arg_fail(2)) SWIG_fail;
10297 }
10298 {
10299 arg3 = (long)(SWIG_As_long(obj2));
10300 if (SWIG_arg_fail(3)) SWIG_fail;
10301 }
10302 {
10303 arg4 = wxString_in_helper(obj3);
10304 if (arg4 == NULL) SWIG_fail;
10305 temp4 = true;
10306 }
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 {
10316 if (temp4)
10317 delete arg4;
10318 }
10319 return resultobj;
10320 fail:
10321 {
10322 if (temp4)
10323 delete arg4;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj;
10331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10332 long arg2 ;
10333 long arg3 ;
10334 PyObject * obj0 = 0 ;
10335 PyObject * obj1 = 0 ;
10336 PyObject * obj2 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self",(char *) "from",(char *) "to", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10343 if (SWIG_arg_fail(1)) SWIG_fail;
10344 {
10345 arg2 = (long)(SWIG_As_long(obj1));
10346 if (SWIG_arg_fail(2)) SWIG_fail;
10347 }
10348 {
10349 arg3 = (long)(SWIG_As_long(obj2));
10350 if (SWIG_arg_fail(3)) SWIG_fail;
10351 }
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 (arg1)->Remove(arg2,arg3);
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 Py_INCREF(Py_None); resultobj = Py_None;
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj;
10368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10369 wxString *arg2 = 0 ;
10370 bool result;
10371 bool temp2 = false ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "file", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10380 if (SWIG_arg_fail(1)) SWIG_fail;
10381 {
10382 arg2 = wxString_in_helper(obj1);
10383 if (arg2 == NULL) SWIG_fail;
10384 temp2 = true;
10385 }
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 {
10394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10395 }
10396 {
10397 if (temp2)
10398 delete arg2;
10399 }
10400 return resultobj;
10401 fail:
10402 {
10403 if (temp2)
10404 delete arg2;
10405 }
10406 return NULL;
10407 }
10408
10409
10410 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj;
10412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10413 wxString const &arg2_defvalue = wxPyEmptyString ;
10414 wxString *arg2 = (wxString *) &arg2_defvalue ;
10415 bool result;
10416 bool temp2 = false ;
10417 PyObject * obj0 = 0 ;
10418 PyObject * obj1 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self",(char *) "file", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail;
10426 if (obj1) {
10427 {
10428 arg2 = wxString_in_helper(obj1);
10429 if (arg2 == NULL) SWIG_fail;
10430 temp2 = true;
10431 }
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10442 }
10443 {
10444 if (temp2)
10445 delete arg2;
10446 }
10447 return resultobj;
10448 fail:
10449 {
10450 if (temp2)
10451 delete arg2;
10452 }
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10467 if (SWIG_arg_fail(1)) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->MarkDirty();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10492 if (SWIG_arg_fail(1)) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->DiscardEdits();
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10510 unsigned long arg2 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "len", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) 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 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10522 if (SWIG_arg_fail(2)) SWIG_fail;
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 (arg1)->SetMaxLength(arg2);
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10541 wxString *arg2 = 0 ;
10542 bool temp2 = false ;
10543 PyObject * obj0 = 0 ;
10544 PyObject * obj1 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self",(char *) "text", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail;
10552 {
10553 arg2 = wxString_in_helper(obj1);
10554 if (arg2 == NULL) SWIG_fail;
10555 temp2 = true;
10556 }
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->WriteText((wxString const &)*arg2);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 {
10566 if (temp2)
10567 delete arg2;
10568 }
10569 return resultobj;
10570 fail:
10571 {
10572 if (temp2)
10573 delete arg2;
10574 }
10575 return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10582 wxString *arg2 = 0 ;
10583 bool temp2 = false ;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "text", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 {
10594 arg2 = wxString_in_helper(obj1);
10595 if (arg2 == NULL) SWIG_fail;
10596 temp2 = true;
10597 }
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->AppendText((wxString const &)*arg2);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 Py_INCREF(Py_None); resultobj = Py_None;
10606 {
10607 if (temp2)
10608 delete arg2;
10609 }
10610 return resultobj;
10611 fail:
10612 {
10613 if (temp2)
10614 delete arg2;
10615 }
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10623 wxKeyEvent *arg2 = 0 ;
10624 bool result;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "event", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail;
10634 {
10635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10636 if (SWIG_arg_fail(2)) SWIG_fail;
10637 if (arg2 == NULL) {
10638 SWIG_null_ref("wxKeyEvent");
10639 }
10640 if (SWIG_arg_fail(2)) SWIG_fail;
10641 }
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 {
10650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10651 }
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj;
10660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10661 long arg2 ;
10662 long arg3 ;
10663 wxTextAttr *arg4 = 0 ;
10664 bool result;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 PyObject * obj2 = 0 ;
10668 PyObject * obj3 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10675 if (SWIG_arg_fail(1)) SWIG_fail;
10676 {
10677 arg2 = (long)(SWIG_As_long(obj1));
10678 if (SWIG_arg_fail(2)) SWIG_fail;
10679 }
10680 {
10681 arg3 = (long)(SWIG_As_long(obj2));
10682 if (SWIG_arg_fail(3)) SWIG_fail;
10683 }
10684 {
10685 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10686 if (SWIG_arg_fail(4)) SWIG_fail;
10687 if (arg4 == NULL) {
10688 SWIG_null_ref("wxTextAttr");
10689 }
10690 if (SWIG_arg_fail(4)) SWIG_fail;
10691 }
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 {
10700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10701 }
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10711 long arg2 ;
10712 wxTextAttr *arg3 = 0 ;
10713 bool result;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 PyObject * obj2 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "position",(char *) "style", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail;
10724 {
10725 arg2 = (long)(SWIG_As_long(obj1));
10726 if (SWIG_arg_fail(2)) SWIG_fail;
10727 }
10728 {
10729 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10730 if (SWIG_arg_fail(3)) SWIG_fail;
10731 if (arg3 == NULL) {
10732 SWIG_null_ref("wxTextAttr");
10733 }
10734 if (SWIG_arg_fail(3)) SWIG_fail;
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10745 }
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10755 wxTextAttr *arg2 = 0 ;
10756 bool result;
10757 PyObject * obj0 = 0 ;
10758 PyObject * obj1 = 0 ;
10759 char *kwnames[] = {
10760 (char *) "self",(char *) "style", NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail;
10766 {
10767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10768 if (SWIG_arg_fail(2)) SWIG_fail;
10769 if (arg2 == NULL) {
10770 SWIG_null_ref("wxTextAttr");
10771 }
10772 if (SWIG_arg_fail(2)) SWIG_fail;
10773 }
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 {
10782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10783 }
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10793 wxTextAttr *result;
10794 PyObject * obj0 = 0 ;
10795 char *kwnames[] = {
10796 (char *) "self", NULL
10797 };
10798
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10801 if (SWIG_arg_fail(1)) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 {
10805 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10806 result = (wxTextAttr *) &_result_ref;
10807 }
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10822 long arg2 ;
10823 long arg3 ;
10824 long result;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 PyObject * obj2 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "x",(char *) "y", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail;
10835 {
10836 arg2 = (long)(SWIG_As_long(obj1));
10837 if (SWIG_arg_fail(2)) SWIG_fail;
10838 }
10839 {
10840 arg3 = (long)(SWIG_As_long(obj2));
10841 if (SWIG_arg_fail(3)) SWIG_fail;
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 {
10851 resultobj = SWIG_From_long((long)(result));
10852 }
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10862 long arg2 ;
10863 long *arg3 = (long *) 0 ;
10864 long *arg4 = (long *) 0 ;
10865 long temp3 ;
10866 int res3 = 0 ;
10867 long temp4 ;
10868 int res4 = 0 ;
10869 PyObject * obj0 = 0 ;
10870 PyObject * obj1 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self",(char *) "pos", NULL
10873 };
10874
10875 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10876 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10879 if (SWIG_arg_fail(1)) SWIG_fail;
10880 {
10881 arg2 = (long)(SWIG_As_long(obj1));
10882 if (SWIG_arg_fail(2)) SWIG_fail;
10883 }
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10887
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 Py_INCREF(Py_None); resultobj = Py_None;
10892 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10893 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10894 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10895 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10905 long arg2 ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self",(char *) "pos", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail;
10915 {
10916 arg2 = (long)(SWIG_As_long(obj1));
10917 if (SWIG_arg_fail(2)) SWIG_fail;
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 (arg1)->ShowPosition(arg2);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 Py_INCREF(Py_None); resultobj = Py_None;
10927 return resultobj;
10928 fail:
10929 return NULL;
10930 }
10931
10932
10933 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj;
10935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10936 wxPoint *arg2 = 0 ;
10937 long *arg3 = (long *) 0 ;
10938 long *arg4 = (long *) 0 ;
10939 wxTextCtrlHitTestResult result;
10940 wxPoint temp2 ;
10941 long temp3 ;
10942 int res3 = 0 ;
10943 long temp4 ;
10944 int res4 = 0 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "pt", NULL
10949 };
10950
10951 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10952 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail;
10956 {
10957 arg2 = &temp2;
10958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10959 }
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 resultobj = SWIG_From_int((result));
10968 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10969 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10970 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10971 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10972 return resultobj;
10973 fail:
10974 return NULL;
10975 }
10976
10977
10978 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj;
10980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10981 wxPoint *arg2 = 0 ;
10982 long *arg3 = (long *) 0 ;
10983 wxTextCtrlHitTestResult result;
10984 wxPoint temp2 ;
10985 long temp3 ;
10986 int res3 = 0 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "pt", NULL
10991 };
10992
10993 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10996 if (SWIG_arg_fail(1)) SWIG_fail;
10997 {
10998 arg2 = &temp2;
10999 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11000 }
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_From_int((result));
11009 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11010 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 (arg1)->Copy();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 Py_INCREF(Py_None); resultobj = Py_None;
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11045 PyObject * obj0 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "self", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail;
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->Cut();
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 Py_INCREF(Py_None); resultobj = Py_None;
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 (arg1)->Paste();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 Py_INCREF(Py_None); resultobj = Py_None;
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11095 bool result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11103 if (SWIG_arg_fail(1)) SWIG_fail;
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 {
11112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11113 }
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11123 bool result;
11124 PyObject * obj0 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11131 if (SWIG_arg_fail(1)) SWIG_fail;
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 {
11140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11141 }
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11151 bool result;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail;
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
11170 return resultobj;
11171 fail:
11172 return NULL;
11173 }
11174
11175
11176 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11177 PyObject *resultobj;
11178 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",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 (arg1)->Undo();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11204 PyObject * obj0 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail;
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->Redo();
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11229 bool result;
11230 PyObject * obj0 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "self", NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11237 if (SWIG_arg_fail(1)) SWIG_fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 {
11246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11247 }
11248 return resultobj;
11249 fail:
11250 return NULL;
11251 }
11252
11253
11254 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11257 bool result;
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11265 if (SWIG_arg_fail(1)) SWIG_fail;
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 {
11274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11275 }
11276 return resultobj;
11277 fail:
11278 return NULL;
11279 }
11280
11281
11282 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11285 long arg2 ;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self",(char *) "pos", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail;
11295 {
11296 arg2 = (long)(SWIG_As_long(obj1));
11297 if (SWIG_arg_fail(2)) SWIG_fail;
11298 }
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetInsertionPoint(arg2);
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 Py_INCREF(Py_None); resultobj = Py_None;
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj;
11315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11316 PyObject * obj0 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetInsertionPointEnd();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11341 long result;
11342 PyObject * obj0 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail;
11350 {
11351 PyThreadState* __tstate = wxPyBeginAllowThreads();
11352 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11353
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 {
11358 resultobj = SWIG_From_long((long)(result));
11359 }
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11369 long result;
11370 PyObject * obj0 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail;
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 {
11386 resultobj = SWIG_From_long((long)(result));
11387 }
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11397 long arg2 ;
11398 long arg3 ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 PyObject * obj2 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self",(char *) "from",(char *) "to", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail;
11409 {
11410 arg2 = (long)(SWIG_As_long(obj1));
11411 if (SWIG_arg_fail(2)) SWIG_fail;
11412 }
11413 {
11414 arg3 = (long)(SWIG_As_long(obj2));
11415 if (SWIG_arg_fail(3)) SWIG_fail;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetSelection(arg2,arg3);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj;
11433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 (arg1)->SelectAll();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 Py_INCREF(Py_None); resultobj = Py_None;
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11459 bool arg2 ;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "editable", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
11471 if (SWIG_arg_fail(2)) SWIG_fail;
11472 }
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 (arg1)->SetEditable(arg2);
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 Py_INCREF(Py_None); resultobj = Py_None;
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj;
11489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11490 wxString *arg2 = 0 ;
11491 bool temp2 = false ;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self",(char *) "text", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail;
11501 {
11502 arg2 = wxString_in_helper(obj1);
11503 if (arg2 == NULL) SWIG_fail;
11504 temp2 = true;
11505 }
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 Py_INCREF(Py_None); resultobj = Py_None;
11514 {
11515 if (temp2)
11516 delete arg2;
11517 }
11518 return resultobj;
11519 fail:
11520 {
11521 if (temp2)
11522 delete arg2;
11523 }
11524 return NULL;
11525 }
11526
11527
11528 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj;
11530 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11531 long arg2 ;
11532 long arg3 ;
11533 wxString result;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 PyObject * obj2 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "from",(char *) "to", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
11544 {
11545 arg2 = (long)(SWIG_As_long(obj1));
11546 if (SWIG_arg_fail(2)) SWIG_fail;
11547 }
11548 {
11549 arg3 = (long)(SWIG_As_long(obj2));
11550 if (SWIG_arg_fail(3)) SWIG_fail;
11551 }
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 #if wxUSE_UNICODE
11561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11562 #else
11563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11564 #endif
11565 }
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11575 wxVisualAttributes result;
11576 PyObject * obj0 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "variant", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11582 if (obj0) {
11583 {
11584 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11585 if (SWIG_arg_fail(1)) SWIG_fail;
11586 }
11587 }
11588 {
11589 if (!wxPyCheckForApp()) SWIG_fail;
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 {
11597 wxVisualAttributes * resultptr;
11598 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11600 }
11601 return resultobj;
11602 fail:
11603 return NULL;
11604 }
11605
11606
11607 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11608 PyObject *obj;
11609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11610 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11611 Py_INCREF(obj);
11612 return Py_BuildValue((char *)"");
11613 }
11614 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 int arg1 ;
11617 wxMouseEvent *arg2 = 0 ;
11618 long arg3 ;
11619 long arg4 ;
11620 wxTextUrlEvent *result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 PyObject * obj2 = 0 ;
11624 PyObject * obj3 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11630 {
11631 arg1 = (int)(SWIG_As_int(obj0));
11632 if (SWIG_arg_fail(1)) SWIG_fail;
11633 }
11634 {
11635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11636 if (SWIG_arg_fail(2)) SWIG_fail;
11637 if (arg2 == NULL) {
11638 SWIG_null_ref("wxMouseEvent");
11639 }
11640 if (SWIG_arg_fail(2)) SWIG_fail;
11641 }
11642 {
11643 arg3 = (long)(SWIG_As_long(obj2));
11644 if (SWIG_arg_fail(3)) SWIG_fail;
11645 }
11646 {
11647 arg4 = (long)(SWIG_As_long(obj3));
11648 if (SWIG_arg_fail(4)) SWIG_fail;
11649 }
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11658 return resultobj;
11659 fail:
11660 return NULL;
11661 }
11662
11663
11664 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11667 wxMouseEvent *result;
11668 PyObject * obj0 = 0 ;
11669 char *kwnames[] = {
11670 (char *) "self", NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11675 if (SWIG_arg_fail(1)) SWIG_fail;
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 {
11679 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11680 result = (wxMouseEvent *) &_result_ref;
11681 }
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11687 return resultobj;
11688 fail:
11689 return NULL;
11690 }
11691
11692
11693 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11696 long result;
11697 PyObject * obj0 = 0 ;
11698 char *kwnames[] = {
11699 (char *) "self", NULL
11700 };
11701
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11704 if (SWIG_arg_fail(1)) SWIG_fail;
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 {
11713 resultobj = SWIG_From_long((long)(result));
11714 }
11715 return resultobj;
11716 fail:
11717 return NULL;
11718 }
11719
11720
11721 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11724 long result;
11725 PyObject * obj0 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail;
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 {
11741 resultobj = SWIG_From_long((long)(result));
11742 }
11743 return resultobj;
11744 fail:
11745 return NULL;
11746 }
11747
11748
11749 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11750 PyObject *obj;
11751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11752 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11753 Py_INCREF(obj);
11754 return Py_BuildValue((char *)"");
11755 }
11756 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11757 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11758 return 1;
11759 }
11760
11761
11762 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11763 PyObject *pyobj;
11764
11765 {
11766 #if wxUSE_UNICODE
11767 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11768 #else
11769 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11770 #endif
11771 }
11772 return pyobj;
11773 }
11774
11775
11776 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxWindow *arg1 = (wxWindow *) 0 ;
11779 int arg2 = (int) -1 ;
11780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11782 wxSize const &arg4_defvalue = wxDefaultSize ;
11783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11784 long arg5 = (long) wxSB_HORIZONTAL ;
11785 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11786 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11787 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11788 wxString *arg7 = (wxString *) &arg7_defvalue ;
11789 wxScrollBar *result;
11790 wxPoint temp3 ;
11791 wxSize temp4 ;
11792 bool temp7 = false ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 PyObject * obj2 = 0 ;
11796 PyObject * obj3 = 0 ;
11797 PyObject * obj4 = 0 ;
11798 PyObject * obj5 = 0 ;
11799 PyObject * obj6 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail;
11807 if (obj1) {
11808 {
11809 arg2 = (int)(SWIG_As_int(obj1));
11810 if (SWIG_arg_fail(2)) SWIG_fail;
11811 }
11812 }
11813 if (obj2) {
11814 {
11815 arg3 = &temp3;
11816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11817 }
11818 }
11819 if (obj3) {
11820 {
11821 arg4 = &temp4;
11822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11823 }
11824 }
11825 if (obj4) {
11826 {
11827 arg5 = (long)(SWIG_As_long(obj4));
11828 if (SWIG_arg_fail(5)) SWIG_fail;
11829 }
11830 }
11831 if (obj5) {
11832 {
11833 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11834 if (SWIG_arg_fail(6)) SWIG_fail;
11835 if (arg6 == NULL) {
11836 SWIG_null_ref("wxValidator");
11837 }
11838 if (SWIG_arg_fail(6)) SWIG_fail;
11839 }
11840 }
11841 if (obj6) {
11842 {
11843 arg7 = wxString_in_helper(obj6);
11844 if (arg7 == NULL) SWIG_fail;
11845 temp7 = true;
11846 }
11847 }
11848 {
11849 if (!wxPyCheckForApp()) SWIG_fail;
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11857 {
11858 if (temp7)
11859 delete arg7;
11860 }
11861 return resultobj;
11862 fail:
11863 {
11864 if (temp7)
11865 delete arg7;
11866 }
11867 return NULL;
11868 }
11869
11870
11871 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj;
11873 wxScrollBar *result;
11874 char *kwnames[] = {
11875 NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11879 {
11880 if (!wxPyCheckForApp()) SWIG_fail;
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (wxScrollBar *)new wxScrollBar();
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11897 wxWindow *arg2 = (wxWindow *) 0 ;
11898 int arg3 = (int) -1 ;
11899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11901 wxSize const &arg5_defvalue = wxDefaultSize ;
11902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11903 long arg6 = (long) wxSB_HORIZONTAL ;
11904 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11905 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11906 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11907 wxString *arg8 = (wxString *) &arg8_defvalue ;
11908 bool result;
11909 wxPoint temp4 ;
11910 wxSize temp5 ;
11911 bool temp8 = false ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 PyObject * obj3 = 0 ;
11916 PyObject * obj4 = 0 ;
11917 PyObject * obj5 = 0 ;
11918 PyObject * obj6 = 0 ;
11919 PyObject * obj7 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail;
11927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11928 if (SWIG_arg_fail(2)) SWIG_fail;
11929 if (obj2) {
11930 {
11931 arg3 = (int)(SWIG_As_int(obj2));
11932 if (SWIG_arg_fail(3)) SWIG_fail;
11933 }
11934 }
11935 if (obj3) {
11936 {
11937 arg4 = &temp4;
11938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11939 }
11940 }
11941 if (obj4) {
11942 {
11943 arg5 = &temp5;
11944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11945 }
11946 }
11947 if (obj5) {
11948 {
11949 arg6 = (long)(SWIG_As_long(obj5));
11950 if (SWIG_arg_fail(6)) SWIG_fail;
11951 }
11952 }
11953 if (obj6) {
11954 {
11955 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11956 if (SWIG_arg_fail(7)) SWIG_fail;
11957 if (arg7 == NULL) {
11958 SWIG_null_ref("wxValidator");
11959 }
11960 if (SWIG_arg_fail(7)) SWIG_fail;
11961 }
11962 }
11963 if (obj7) {
11964 {
11965 arg8 = wxString_in_helper(obj7);
11966 if (arg8 == NULL) SWIG_fail;
11967 temp8 = true;
11968 }
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 {
11978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11979 }
11980 {
11981 if (temp8)
11982 delete arg8;
11983 }
11984 return resultobj;
11985 fail:
11986 {
11987 if (temp8)
11988 delete arg8;
11989 }
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11997 int result;
11998 PyObject * obj0 = 0 ;
11999 char *kwnames[] = {
12000 (char *) "self", NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail;
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 {
12014 resultobj = SWIG_From_int((int)(result));
12015 }
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12025 int result;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12033 if (SWIG_arg_fail(1)) SWIG_fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 resultobj = SWIG_From_int((int)(result));
12043 }
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12053 int result;
12054 PyObject * obj0 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail;
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 {
12070 resultobj = SWIG_From_int((int)(result));
12071 }
12072 return resultobj;
12073 fail:
12074 return NULL;
12075 }
12076
12077
12078 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12079 PyObject *resultobj;
12080 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12081 int result;
12082 PyObject * obj0 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail;
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 result = (int)((wxScrollBar const *)arg1)->GetRange();
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 {
12098 resultobj = SWIG_From_int((int)(result));
12099 }
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj;
12108 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12109 bool result;
12110 PyObject * obj0 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail;
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 {
12126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12127 }
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj;
12136 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12137 int arg2 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "viewStart", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail;
12147 {
12148 arg2 = (int)(SWIG_As_int(obj1));
12149 if (SWIG_arg_fail(2)) SWIG_fail;
12150 }
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetThumbPosition(arg2);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12168 int arg2 ;
12169 int arg3 ;
12170 int arg4 ;
12171 int arg5 ;
12172 bool arg6 = (bool) true ;
12173 PyObject * obj0 = 0 ;
12174 PyObject * obj1 = 0 ;
12175 PyObject * obj2 = 0 ;
12176 PyObject * obj3 = 0 ;
12177 PyObject * obj4 = 0 ;
12178 PyObject * obj5 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail;
12186 {
12187 arg2 = (int)(SWIG_As_int(obj1));
12188 if (SWIG_arg_fail(2)) SWIG_fail;
12189 }
12190 {
12191 arg3 = (int)(SWIG_As_int(obj2));
12192 if (SWIG_arg_fail(3)) SWIG_fail;
12193 }
12194 {
12195 arg4 = (int)(SWIG_As_int(obj3));
12196 if (SWIG_arg_fail(4)) SWIG_fail;
12197 }
12198 {
12199 arg5 = (int)(SWIG_As_int(obj4));
12200 if (SWIG_arg_fail(5)) SWIG_fail;
12201 }
12202 if (obj5) {
12203 {
12204 arg6 = (bool)(SWIG_As_bool(obj5));
12205 if (SWIG_arg_fail(6)) SWIG_fail;
12206 }
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 Py_INCREF(Py_None); resultobj = Py_None;
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12225 wxVisualAttributes result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "variant", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12232 if (obj0) {
12233 {
12234 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12235 if (SWIG_arg_fail(1)) SWIG_fail;
12236 }
12237 }
12238 {
12239 if (!wxPyCheckForApp()) SWIG_fail;
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247 wxVisualAttributes * resultptr;
12248 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12250 }
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12258 PyObject *obj;
12259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12260 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12261 Py_INCREF(obj);
12262 return Py_BuildValue((char *)"");
12263 }
12264 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12265 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12266 return 1;
12267 }
12268
12269
12270 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12271 PyObject *pyobj;
12272
12273 {
12274 #if wxUSE_UNICODE
12275 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12276 #else
12277 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12278 #endif
12279 }
12280 return pyobj;
12281 }
12282
12283
12284 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12285 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12286 return 1;
12287 }
12288
12289
12290 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12291 PyObject *pyobj;
12292
12293 {
12294 #if wxUSE_UNICODE
12295 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12296 #else
12297 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12298 #endif
12299 }
12300 return pyobj;
12301 }
12302
12303
12304 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12305 PyObject *resultobj;
12306 wxWindow *arg1 = (wxWindow *) 0 ;
12307 int arg2 = (int) -1 ;
12308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12310 wxSize const &arg4_defvalue = wxDefaultSize ;
12311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12312 long arg5 = (long) wxSP_HORIZONTAL ;
12313 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12314 wxString *arg6 = (wxString *) &arg6_defvalue ;
12315 wxSpinButton *result;
12316 wxPoint temp3 ;
12317 wxSize temp4 ;
12318 bool temp6 = false ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 PyObject * obj2 = 0 ;
12322 PyObject * obj3 = 0 ;
12323 PyObject * obj4 = 0 ;
12324 PyObject * obj5 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
12332 if (obj1) {
12333 {
12334 arg2 = (int)(SWIG_As_int(obj1));
12335 if (SWIG_arg_fail(2)) SWIG_fail;
12336 }
12337 }
12338 if (obj2) {
12339 {
12340 arg3 = &temp3;
12341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12342 }
12343 }
12344 if (obj3) {
12345 {
12346 arg4 = &temp4;
12347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12348 }
12349 }
12350 if (obj4) {
12351 {
12352 arg5 = (long)(SWIG_As_long(obj4));
12353 if (SWIG_arg_fail(5)) SWIG_fail;
12354 }
12355 }
12356 if (obj5) {
12357 {
12358 arg6 = wxString_in_helper(obj5);
12359 if (arg6 == NULL) SWIG_fail;
12360 temp6 = true;
12361 }
12362 }
12363 {
12364 if (!wxPyCheckForApp()) SWIG_fail;
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12372 {
12373 if (temp6)
12374 delete arg6;
12375 }
12376 return resultobj;
12377 fail:
12378 {
12379 if (temp6)
12380 delete arg6;
12381 }
12382 return NULL;
12383 }
12384
12385
12386 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxSpinButton *result;
12389 char *kwnames[] = {
12390 NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12394 {
12395 if (!wxPyCheckForApp()) SWIG_fail;
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (wxSpinButton *)new wxSpinButton();
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12412 wxWindow *arg2 = (wxWindow *) 0 ;
12413 int arg3 = (int) -1 ;
12414 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12415 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12416 wxSize const &arg5_defvalue = wxDefaultSize ;
12417 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12418 long arg6 = (long) wxSP_HORIZONTAL ;
12419 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12420 wxString *arg7 = (wxString *) &arg7_defvalue ;
12421 bool result;
12422 wxPoint temp4 ;
12423 wxSize temp5 ;
12424 bool temp7 = false ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 PyObject * obj2 = 0 ;
12428 PyObject * obj3 = 0 ;
12429 PyObject * obj4 = 0 ;
12430 PyObject * obj5 = 0 ;
12431 PyObject * obj6 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail;
12439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12440 if (SWIG_arg_fail(2)) SWIG_fail;
12441 if (obj2) {
12442 {
12443 arg3 = (int)(SWIG_As_int(obj2));
12444 if (SWIG_arg_fail(3)) SWIG_fail;
12445 }
12446 }
12447 if (obj3) {
12448 {
12449 arg4 = &temp4;
12450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12451 }
12452 }
12453 if (obj4) {
12454 {
12455 arg5 = &temp5;
12456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12457 }
12458 }
12459 if (obj5) {
12460 {
12461 arg6 = (long)(SWIG_As_long(obj5));
12462 if (SWIG_arg_fail(6)) SWIG_fail;
12463 }
12464 }
12465 if (obj6) {
12466 {
12467 arg7 = wxString_in_helper(obj6);
12468 if (arg7 == NULL) SWIG_fail;
12469 temp7 = true;
12470 }
12471 }
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 {
12480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12481 }
12482 {
12483 if (temp7)
12484 delete arg7;
12485 }
12486 return resultobj;
12487 fail:
12488 {
12489 if (temp7)
12490 delete arg7;
12491 }
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12499 int result;
12500 PyObject * obj0 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "self", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (int)((wxSpinButton const *)arg1)->GetValue();
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 {
12516 resultobj = SWIG_From_int((int)(result));
12517 }
12518 return resultobj;
12519 fail:
12520 return NULL;
12521 }
12522
12523
12524 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj;
12526 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12527 int result;
12528 PyObject * obj0 = 0 ;
12529 char *kwnames[] = {
12530 (char *) "self", NULL
12531 };
12532
12533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12535 if (SWIG_arg_fail(1)) SWIG_fail;
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = (int)((wxSpinButton const *)arg1)->GetMin();
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 {
12544 resultobj = SWIG_From_int((int)(result));
12545 }
12546 return resultobj;
12547 fail:
12548 return NULL;
12549 }
12550
12551
12552 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12555 int result;
12556 PyObject * obj0 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12563 if (SWIG_arg_fail(1)) SWIG_fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (int)((wxSpinButton const *)arg1)->GetMax();
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 {
12572 resultobj = SWIG_From_int((int)(result));
12573 }
12574 return resultobj;
12575 fail:
12576 return NULL;
12577 }
12578
12579
12580 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj;
12582 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12583 int arg2 ;
12584 PyObject * obj0 = 0 ;
12585 PyObject * obj1 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self",(char *) "val", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail;
12593 {
12594 arg2 = (int)(SWIG_As_int(obj1));
12595 if (SWIG_arg_fail(2)) SWIG_fail;
12596 }
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->SetValue(arg2);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12614 int arg2 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self",(char *) "minVal", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail;
12624 {
12625 arg2 = (int)(SWIG_As_int(obj1));
12626 if (SWIG_arg_fail(2)) SWIG_fail;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->SetMin(arg2);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 Py_INCREF(Py_None); resultobj = Py_None;
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12645 int arg2 ;
12646 PyObject * obj0 = 0 ;
12647 PyObject * obj1 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self",(char *) "maxVal", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail;
12655 {
12656 arg2 = (int)(SWIG_As_int(obj1));
12657 if (SWIG_arg_fail(2)) SWIG_fail;
12658 }
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 (arg1)->SetMax(arg2);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12676 int arg2 ;
12677 int arg3 ;
12678 PyObject * obj0 = 0 ;
12679 PyObject * obj1 = 0 ;
12680 PyObject * obj2 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail;
12688 {
12689 arg2 = (int)(SWIG_As_int(obj1));
12690 if (SWIG_arg_fail(2)) SWIG_fail;
12691 }
12692 {
12693 arg3 = (int)(SWIG_As_int(obj2));
12694 if (SWIG_arg_fail(3)) SWIG_fail;
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->SetRange(arg2,arg3);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12713 bool result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail;
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 {
12730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12731 }
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12741 wxVisualAttributes result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "variant", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12748 if (obj0) {
12749 {
12750 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12751 if (SWIG_arg_fail(1)) SWIG_fail;
12752 }
12753 }
12754 {
12755 if (!wxPyCheckForApp()) SWIG_fail;
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 {
12763 wxVisualAttributes * resultptr;
12764 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12766 }
12767 return resultobj;
12768 fail:
12769 return NULL;
12770 }
12771
12772
12773 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12774 PyObject *obj;
12775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12777 Py_INCREF(obj);
12778 return Py_BuildValue((char *)"");
12779 }
12780 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12781 PyObject *resultobj;
12782 wxWindow *arg1 = (wxWindow *) 0 ;
12783 int arg2 = (int) -1 ;
12784 wxString const &arg3_defvalue = wxPyEmptyString ;
12785 wxString *arg3 = (wxString *) &arg3_defvalue ;
12786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12788 wxSize const &arg5_defvalue = wxDefaultSize ;
12789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12790 long arg6 = (long) wxSP_ARROW_KEYS ;
12791 int arg7 = (int) 0 ;
12792 int arg8 = (int) 100 ;
12793 int arg9 = (int) 0 ;
12794 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12795 wxString *arg10 = (wxString *) &arg10_defvalue ;
12796 wxSpinCtrl *result;
12797 bool temp3 = false ;
12798 wxPoint temp4 ;
12799 wxSize temp5 ;
12800 bool temp10 = false ;
12801 PyObject * obj0 = 0 ;
12802 PyObject * obj1 = 0 ;
12803 PyObject * obj2 = 0 ;
12804 PyObject * obj3 = 0 ;
12805 PyObject * obj4 = 0 ;
12806 PyObject * obj5 = 0 ;
12807 PyObject * obj6 = 0 ;
12808 PyObject * obj7 = 0 ;
12809 PyObject * obj8 = 0 ;
12810 PyObject * obj9 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail;
12818 if (obj1) {
12819 {
12820 arg2 = (int)(SWIG_As_int(obj1));
12821 if (SWIG_arg_fail(2)) SWIG_fail;
12822 }
12823 }
12824 if (obj2) {
12825 {
12826 arg3 = wxString_in_helper(obj2);
12827 if (arg3 == NULL) SWIG_fail;
12828 temp3 = true;
12829 }
12830 }
12831 if (obj3) {
12832 {
12833 arg4 = &temp4;
12834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12835 }
12836 }
12837 if (obj4) {
12838 {
12839 arg5 = &temp5;
12840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12841 }
12842 }
12843 if (obj5) {
12844 {
12845 arg6 = (long)(SWIG_As_long(obj5));
12846 if (SWIG_arg_fail(6)) SWIG_fail;
12847 }
12848 }
12849 if (obj6) {
12850 {
12851 arg7 = (int)(SWIG_As_int(obj6));
12852 if (SWIG_arg_fail(7)) SWIG_fail;
12853 }
12854 }
12855 if (obj7) {
12856 {
12857 arg8 = (int)(SWIG_As_int(obj7));
12858 if (SWIG_arg_fail(8)) SWIG_fail;
12859 }
12860 }
12861 if (obj8) {
12862 {
12863 arg9 = (int)(SWIG_As_int(obj8));
12864 if (SWIG_arg_fail(9)) SWIG_fail;
12865 }
12866 }
12867 if (obj9) {
12868 {
12869 arg10 = wxString_in_helper(obj9);
12870 if (arg10 == NULL) SWIG_fail;
12871 temp10 = true;
12872 }
12873 }
12874 {
12875 if (!wxPyCheckForApp()) SWIG_fail;
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12883 {
12884 if (temp3)
12885 delete arg3;
12886 }
12887 {
12888 if (temp10)
12889 delete arg10;
12890 }
12891 return resultobj;
12892 fail:
12893 {
12894 if (temp3)
12895 delete arg3;
12896 }
12897 {
12898 if (temp10)
12899 delete arg10;
12900 }
12901 return NULL;
12902 }
12903
12904
12905 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12906 PyObject *resultobj;
12907 wxSpinCtrl *result;
12908 char *kwnames[] = {
12909 NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12913 {
12914 if (!wxPyCheckForApp()) SWIG_fail;
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (wxSpinCtrl *)new wxSpinCtrl();
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12922 return resultobj;
12923 fail:
12924 return NULL;
12925 }
12926
12927
12928 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12931 wxWindow *arg2 = (wxWindow *) 0 ;
12932 int arg3 = (int) -1 ;
12933 wxString const &arg4_defvalue = wxPyEmptyString ;
12934 wxString *arg4 = (wxString *) &arg4_defvalue ;
12935 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12936 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12937 wxSize const &arg6_defvalue = wxDefaultSize ;
12938 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12939 long arg7 = (long) wxSP_ARROW_KEYS ;
12940 int arg8 = (int) 0 ;
12941 int arg9 = (int) 100 ;
12942 int arg10 = (int) 0 ;
12943 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12944 wxString *arg11 = (wxString *) &arg11_defvalue ;
12945 bool result;
12946 bool temp4 = false ;
12947 wxPoint temp5 ;
12948 wxSize temp6 ;
12949 bool temp11 = false ;
12950 PyObject * obj0 = 0 ;
12951 PyObject * obj1 = 0 ;
12952 PyObject * obj2 = 0 ;
12953 PyObject * obj3 = 0 ;
12954 PyObject * obj4 = 0 ;
12955 PyObject * obj5 = 0 ;
12956 PyObject * obj6 = 0 ;
12957 PyObject * obj7 = 0 ;
12958 PyObject * obj8 = 0 ;
12959 PyObject * obj9 = 0 ;
12960 PyObject * obj10 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12969 if (SWIG_arg_fail(2)) SWIG_fail;
12970 if (obj2) {
12971 {
12972 arg3 = (int)(SWIG_As_int(obj2));
12973 if (SWIG_arg_fail(3)) SWIG_fail;
12974 }
12975 }
12976 if (obj3) {
12977 {
12978 arg4 = wxString_in_helper(obj3);
12979 if (arg4 == NULL) SWIG_fail;
12980 temp4 = true;
12981 }
12982 }
12983 if (obj4) {
12984 {
12985 arg5 = &temp5;
12986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12987 }
12988 }
12989 if (obj5) {
12990 {
12991 arg6 = &temp6;
12992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12993 }
12994 }
12995 if (obj6) {
12996 {
12997 arg7 = (long)(SWIG_As_long(obj6));
12998 if (SWIG_arg_fail(7)) SWIG_fail;
12999 }
13000 }
13001 if (obj7) {
13002 {
13003 arg8 = (int)(SWIG_As_int(obj7));
13004 if (SWIG_arg_fail(8)) SWIG_fail;
13005 }
13006 }
13007 if (obj8) {
13008 {
13009 arg9 = (int)(SWIG_As_int(obj8));
13010 if (SWIG_arg_fail(9)) SWIG_fail;
13011 }
13012 }
13013 if (obj9) {
13014 {
13015 arg10 = (int)(SWIG_As_int(obj9));
13016 if (SWIG_arg_fail(10)) SWIG_fail;
13017 }
13018 }
13019 if (obj10) {
13020 {
13021 arg11 = wxString_in_helper(obj10);
13022 if (arg11 == NULL) SWIG_fail;
13023 temp11 = true;
13024 }
13025 }
13026 {
13027 PyThreadState* __tstate = wxPyBeginAllowThreads();
13028 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13029
13030 wxPyEndAllowThreads(__tstate);
13031 if (PyErr_Occurred()) SWIG_fail;
13032 }
13033 {
13034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13035 }
13036 {
13037 if (temp4)
13038 delete arg4;
13039 }
13040 {
13041 if (temp11)
13042 delete arg11;
13043 }
13044 return resultobj;
13045 fail:
13046 {
13047 if (temp4)
13048 delete arg4;
13049 }
13050 {
13051 if (temp11)
13052 delete arg11;
13053 }
13054 return NULL;
13055 }
13056
13057
13058 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13061 int result;
13062 PyObject * obj0 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13069 if (SWIG_arg_fail(1)) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 {
13078 resultobj = SWIG_From_int((int)(result));
13079 }
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13089 int arg2 ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "value", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail;
13099 {
13100 arg2 = (int)(SWIG_As_int(obj1));
13101 if (SWIG_arg_fail(2)) SWIG_fail;
13102 }
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 (arg1)->SetValue(arg2);
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 Py_INCREF(Py_None); resultobj = Py_None;
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13120 wxString *arg2 = 0 ;
13121 bool temp2 = false ;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "text", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 {
13132 arg2 = wxString_in_helper(obj1);
13133 if (arg2 == NULL) SWIG_fail;
13134 temp2 = true;
13135 }
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->SetValue((wxString const &)*arg2);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 {
13145 if (temp2)
13146 delete arg2;
13147 }
13148 return resultobj;
13149 fail:
13150 {
13151 if (temp2)
13152 delete arg2;
13153 }
13154 return NULL;
13155 }
13156
13157
13158 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj;
13160 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13161 int arg2 ;
13162 int arg3 ;
13163 PyObject * obj0 = 0 ;
13164 PyObject * obj1 = 0 ;
13165 PyObject * obj2 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13172 if (SWIG_arg_fail(1)) SWIG_fail;
13173 {
13174 arg2 = (int)(SWIG_As_int(obj1));
13175 if (SWIG_arg_fail(2)) SWIG_fail;
13176 }
13177 {
13178 arg3 = (int)(SWIG_As_int(obj2));
13179 if (SWIG_arg_fail(3)) SWIG_fail;
13180 }
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 (arg1)->SetRange(arg2,arg3);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 Py_INCREF(Py_None); resultobj = Py_None;
13189 return resultobj;
13190 fail:
13191 return NULL;
13192 }
13193
13194
13195 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13196 PyObject *resultobj;
13197 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13198 int result;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13206 if (SWIG_arg_fail(1)) SWIG_fail;
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 {
13215 resultobj = SWIG_From_int((int)(result));
13216 }
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13226 int result;
13227 PyObject * obj0 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
13243 resultobj = SWIG_From_int((int)(result));
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13254 long arg2 ;
13255 long arg3 ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 PyObject * obj2 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self",(char *) "from",(char *) "to", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail;
13266 {
13267 arg2 = (long)(SWIG_As_long(obj1));
13268 if (SWIG_arg_fail(2)) SWIG_fail;
13269 }
13270 {
13271 arg3 = (long)(SWIG_As_long(obj2));
13272 if (SWIG_arg_fail(3)) SWIG_fail;
13273 }
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->SetSelection(arg2,arg3);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 Py_INCREF(Py_None); resultobj = Py_None;
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13291 wxVisualAttributes result;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "variant", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13298 if (obj0) {
13299 {
13300 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13301 if (SWIG_arg_fail(1)) SWIG_fail;
13302 }
13303 }
13304 {
13305 if (!wxPyCheckForApp()) SWIG_fail;
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 {
13313 wxVisualAttributes * resultptr;
13314 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13316 }
13317 return resultobj;
13318 fail:
13319 return NULL;
13320 }
13321
13322
13323 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13324 PyObject *obj;
13325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13327 Py_INCREF(obj);
13328 return Py_BuildValue((char *)"");
13329 }
13330 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13333 int arg2 = (int) 0 ;
13334 wxSpinEvent *result;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "commandType",(char *) "winid", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13342 if (obj0) {
13343 {
13344 arg1 = (wxEventType)(SWIG_As_int(obj0));
13345 if (SWIG_arg_fail(1)) SWIG_fail;
13346 }
13347 }
13348 if (obj1) {
13349 {
13350 arg2 = (int)(SWIG_As_int(obj1));
13351 if (SWIG_arg_fail(2)) SWIG_fail;
13352 }
13353 }
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13362 return resultobj;
13363 fail:
13364 return NULL;
13365 }
13366
13367
13368 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13369 PyObject *resultobj;
13370 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13371 int result;
13372 PyObject * obj0 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13379 if (SWIG_arg_fail(1)) SWIG_fail;
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 {
13388 resultobj = SWIG_From_int((int)(result));
13389 }
13390 return resultobj;
13391 fail:
13392 return NULL;
13393 }
13394
13395
13396 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13399 int arg2 ;
13400 PyObject * obj0 = 0 ;
13401 PyObject * obj1 = 0 ;
13402 char *kwnames[] = {
13403 (char *) "self",(char *) "pos", NULL
13404 };
13405
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail;
13409 {
13410 arg2 = (int)(SWIG_As_int(obj1));
13411 if (SWIG_arg_fail(2)) SWIG_fail;
13412 }
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 (arg1)->SetPosition(arg2);
13416
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 Py_INCREF(Py_None); resultobj = Py_None;
13421 return resultobj;
13422 fail:
13423 return NULL;
13424 }
13425
13426
13427 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13428 PyObject *obj;
13429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13430 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13431 Py_INCREF(obj);
13432 return Py_BuildValue((char *)"");
13433 }
13434 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13435 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13436 return 1;
13437 }
13438
13439
13440 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13441 PyObject *pyobj;
13442
13443 {
13444 #if wxUSE_UNICODE
13445 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13446 #else
13447 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13448 #endif
13449 }
13450 return pyobj;
13451 }
13452
13453
13454 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13455 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13456 return 1;
13457 }
13458
13459
13460 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13461 PyObject *pyobj;
13462
13463 {
13464 #if wxUSE_UNICODE
13465 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13466 #else
13467 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13468 #endif
13469 }
13470 return pyobj;
13471 }
13472
13473
13474 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxWindow *arg1 = (wxWindow *) 0 ;
13477 int arg2 = (int) -1 ;
13478 wxString const &arg3_defvalue = wxPyEmptyString ;
13479 wxString *arg3 = (wxString *) &arg3_defvalue ;
13480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13482 wxSize const &arg5_defvalue = wxDefaultSize ;
13483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13484 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13485 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13486 int arg7 = (int) 0 ;
13487 long arg8 = (long) wxRA_HORIZONTAL ;
13488 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13489 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13490 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13491 wxString *arg10 = (wxString *) &arg10_defvalue ;
13492 wxRadioBox *result;
13493 bool temp3 = false ;
13494 wxPoint temp4 ;
13495 wxSize temp5 ;
13496 bool temp6 = false ;
13497 bool temp10 = false ;
13498 PyObject * obj0 = 0 ;
13499 PyObject * obj1 = 0 ;
13500 PyObject * obj2 = 0 ;
13501 PyObject * obj3 = 0 ;
13502 PyObject * obj4 = 0 ;
13503 PyObject * obj5 = 0 ;
13504 PyObject * obj6 = 0 ;
13505 PyObject * obj7 = 0 ;
13506 PyObject * obj8 = 0 ;
13507 PyObject * obj9 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail;
13515 if (obj1) {
13516 {
13517 arg2 = (int)(SWIG_As_int(obj1));
13518 if (SWIG_arg_fail(2)) SWIG_fail;
13519 }
13520 }
13521 if (obj2) {
13522 {
13523 arg3 = wxString_in_helper(obj2);
13524 if (arg3 == NULL) SWIG_fail;
13525 temp3 = true;
13526 }
13527 }
13528 if (obj3) {
13529 {
13530 arg4 = &temp4;
13531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13532 }
13533 }
13534 if (obj4) {
13535 {
13536 arg5 = &temp5;
13537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13538 }
13539 }
13540 if (obj5) {
13541 {
13542 if (! PySequence_Check(obj5)) {
13543 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13544 SWIG_fail;
13545 }
13546 arg6 = new wxArrayString;
13547 temp6 = true;
13548 int i, len=PySequence_Length(obj5);
13549 for (i=0; i<len; i++) {
13550 PyObject* item = PySequence_GetItem(obj5, i);
13551 wxString* s = wxString_in_helper(item);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 arg6->Add(*s);
13554 delete s;
13555 Py_DECREF(item);
13556 }
13557 }
13558 }
13559 if (obj6) {
13560 {
13561 arg7 = (int)(SWIG_As_int(obj6));
13562 if (SWIG_arg_fail(7)) SWIG_fail;
13563 }
13564 }
13565 if (obj7) {
13566 {
13567 arg8 = (long)(SWIG_As_long(obj7));
13568 if (SWIG_arg_fail(8)) SWIG_fail;
13569 }
13570 }
13571 if (obj8) {
13572 {
13573 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13574 if (SWIG_arg_fail(9)) SWIG_fail;
13575 if (arg9 == NULL) {
13576 SWIG_null_ref("wxValidator");
13577 }
13578 if (SWIG_arg_fail(9)) SWIG_fail;
13579 }
13580 }
13581 if (obj9) {
13582 {
13583 arg10 = wxString_in_helper(obj9);
13584 if (arg10 == NULL) SWIG_fail;
13585 temp10 = true;
13586 }
13587 }
13588 {
13589 if (!wxPyCheckForApp()) SWIG_fail;
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 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);
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13597 {
13598 if (temp3)
13599 delete arg3;
13600 }
13601 {
13602 if (temp6) delete arg6;
13603 }
13604 {
13605 if (temp10)
13606 delete arg10;
13607 }
13608 return resultobj;
13609 fail:
13610 {
13611 if (temp3)
13612 delete arg3;
13613 }
13614 {
13615 if (temp6) delete arg6;
13616 }
13617 {
13618 if (temp10)
13619 delete arg10;
13620 }
13621 return NULL;
13622 }
13623
13624
13625 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj;
13627 wxRadioBox *result;
13628 char *kwnames[] = {
13629 NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13633 {
13634 if (!wxPyCheckForApp()) SWIG_fail;
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 result = (wxRadioBox *)new wxRadioBox();
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13642 return resultobj;
13643 fail:
13644 return NULL;
13645 }
13646
13647
13648 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13651 wxWindow *arg2 = (wxWindow *) 0 ;
13652 int arg3 = (int) -1 ;
13653 wxString const &arg4_defvalue = wxPyEmptyString ;
13654 wxString *arg4 = (wxString *) &arg4_defvalue ;
13655 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13656 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13657 wxSize const &arg6_defvalue = wxDefaultSize ;
13658 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13659 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13660 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13661 int arg8 = (int) 0 ;
13662 long arg9 = (long) wxRA_HORIZONTAL ;
13663 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13664 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13665 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13666 wxString *arg11 = (wxString *) &arg11_defvalue ;
13667 bool result;
13668 bool temp4 = false ;
13669 wxPoint temp5 ;
13670 wxSize temp6 ;
13671 bool temp7 = false ;
13672 bool temp11 = false ;
13673 PyObject * obj0 = 0 ;
13674 PyObject * obj1 = 0 ;
13675 PyObject * obj2 = 0 ;
13676 PyObject * obj3 = 0 ;
13677 PyObject * obj4 = 0 ;
13678 PyObject * obj5 = 0 ;
13679 PyObject * obj6 = 0 ;
13680 PyObject * obj7 = 0 ;
13681 PyObject * obj8 = 0 ;
13682 PyObject * obj9 = 0 ;
13683 PyObject * obj10 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13690 if (SWIG_arg_fail(1)) SWIG_fail;
13691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(2)) SWIG_fail;
13693 if (obj2) {
13694 {
13695 arg3 = (int)(SWIG_As_int(obj2));
13696 if (SWIG_arg_fail(3)) SWIG_fail;
13697 }
13698 }
13699 if (obj3) {
13700 {
13701 arg4 = wxString_in_helper(obj3);
13702 if (arg4 == NULL) SWIG_fail;
13703 temp4 = true;
13704 }
13705 }
13706 if (obj4) {
13707 {
13708 arg5 = &temp5;
13709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13710 }
13711 }
13712 if (obj5) {
13713 {
13714 arg6 = &temp6;
13715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13716 }
13717 }
13718 if (obj6) {
13719 {
13720 if (! PySequence_Check(obj6)) {
13721 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13722 SWIG_fail;
13723 }
13724 arg7 = new wxArrayString;
13725 temp7 = true;
13726 int i, len=PySequence_Length(obj6);
13727 for (i=0; i<len; i++) {
13728 PyObject* item = PySequence_GetItem(obj6, i);
13729 wxString* s = wxString_in_helper(item);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 arg7->Add(*s);
13732 delete s;
13733 Py_DECREF(item);
13734 }
13735 }
13736 }
13737 if (obj7) {
13738 {
13739 arg8 = (int)(SWIG_As_int(obj7));
13740 if (SWIG_arg_fail(8)) SWIG_fail;
13741 }
13742 }
13743 if (obj8) {
13744 {
13745 arg9 = (long)(SWIG_As_long(obj8));
13746 if (SWIG_arg_fail(9)) SWIG_fail;
13747 }
13748 }
13749 if (obj9) {
13750 {
13751 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13752 if (SWIG_arg_fail(10)) SWIG_fail;
13753 if (arg10 == NULL) {
13754 SWIG_null_ref("wxValidator");
13755 }
13756 if (SWIG_arg_fail(10)) SWIG_fail;
13757 }
13758 }
13759 if (obj10) {
13760 {
13761 arg11 = wxString_in_helper(obj10);
13762 if (arg11 == NULL) SWIG_fail;
13763 temp11 = true;
13764 }
13765 }
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 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);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13775 }
13776 {
13777 if (temp4)
13778 delete arg4;
13779 }
13780 {
13781 if (temp7) delete arg7;
13782 }
13783 {
13784 if (temp11)
13785 delete arg11;
13786 }
13787 return resultobj;
13788 fail:
13789 {
13790 if (temp4)
13791 delete arg4;
13792 }
13793 {
13794 if (temp7) delete arg7;
13795 }
13796 {
13797 if (temp11)
13798 delete arg11;
13799 }
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13807 int arg2 ;
13808 PyObject * obj0 = 0 ;
13809 PyObject * obj1 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self",(char *) "n", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13816 if (SWIG_arg_fail(1)) SWIG_fail;
13817 {
13818 arg2 = (int)(SWIG_As_int(obj1));
13819 if (SWIG_arg_fail(2)) SWIG_fail;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 (arg1)->SetSelection(arg2);
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 Py_INCREF(Py_None); resultobj = Py_None;
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13838 int result;
13839 PyObject * obj0 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "self", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13846 if (SWIG_arg_fail(1)) SWIG_fail;
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 {
13855 resultobj = SWIG_From_int((int)(result));
13856 }
13857 return resultobj;
13858 fail:
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13866 wxString result;
13867 PyObject * obj0 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 {
13883 #if wxUSE_UNICODE
13884 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13885 #else
13886 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13887 #endif
13888 }
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13898 wxString *arg2 = 0 ;
13899 bool result;
13900 bool temp2 = false ;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "s", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
13912 if (arg2 == NULL) SWIG_fail;
13913 temp2 = true;
13914 }
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 {
13923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13924 }
13925 {
13926 if (temp2)
13927 delete arg2;
13928 }
13929 return resultobj;
13930 fail:
13931 {
13932 if (temp2)
13933 delete arg2;
13934 }
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13942 int result;
13943 PyObject * obj0 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail;
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (int)((wxRadioBox const *)arg1)->GetCount();
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959 resultobj = SWIG_From_int((int)(result));
13960 }
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13970 wxString *arg2 = 0 ;
13971 int result;
13972 bool temp2 = false ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "s", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
13980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail;
13982 {
13983 arg2 = wxString_in_helper(obj1);
13984 if (arg2 == NULL) SWIG_fail;
13985 temp2 = true;
13986 }
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 {
13995 resultobj = SWIG_From_int((int)(result));
13996 }
13997 {
13998 if (temp2)
13999 delete arg2;
14000 }
14001 return resultobj;
14002 fail:
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return NULL;
14008 }
14009
14010
14011 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14014 int arg2 ;
14015 wxString result;
14016 PyObject * obj0 = 0 ;
14017 PyObject * obj1 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self",(char *) "n", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14024 if (SWIG_arg_fail(1)) SWIG_fail;
14025 {
14026 arg2 = (int)(SWIG_As_int(obj1));
14027 if (SWIG_arg_fail(2)) SWIG_fail;
14028 }
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 #if wxUSE_UNICODE
14038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14039 #else
14040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14041 #endif
14042 }
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14052 int arg2 ;
14053 wxString *arg3 = 0 ;
14054 bool temp3 = false ;
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057 PyObject * obj2 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self",(char *) "n",(char *) "label", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail;
14065 {
14066 arg2 = (int)(SWIG_As_int(obj1));
14067 if (SWIG_arg_fail(2)) SWIG_fail;
14068 }
14069 {
14070 arg3 = wxString_in_helper(obj2);
14071 if (arg3 == NULL) SWIG_fail;
14072 temp3 = true;
14073 }
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 (arg1)->SetString(arg2,(wxString const &)*arg3);
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 Py_INCREF(Py_None); resultobj = Py_None;
14082 {
14083 if (temp3)
14084 delete arg3;
14085 }
14086 return resultobj;
14087 fail:
14088 {
14089 if (temp3)
14090 delete arg3;
14091 }
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14099 int arg2 ;
14100 bool arg3 = (bool) true ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj1 = 0 ;
14103 PyObject * obj2 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self",(char *) "n",(char *) "enable", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail;
14111 {
14112 arg2 = (int)(SWIG_As_int(obj1));
14113 if (SWIG_arg_fail(2)) SWIG_fail;
14114 }
14115 if (obj2) {
14116 {
14117 arg3 = (bool)(SWIG_As_bool(obj2));
14118 if (SWIG_arg_fail(3)) SWIG_fail;
14119 }
14120 }
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 (arg1)->Enable(arg2,arg3);
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 Py_INCREF(Py_None); resultobj = Py_None;
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14138 int arg2 ;
14139 bool arg3 = (bool) true ;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 PyObject * obj2 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "n",(char *) "show", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail;
14150 {
14151 arg2 = (int)(SWIG_As_int(obj1));
14152 if (SWIG_arg_fail(2)) SWIG_fail;
14153 }
14154 if (obj2) {
14155 {
14156 arg3 = (bool)(SWIG_As_bool(obj2));
14157 if (SWIG_arg_fail(3)) SWIG_fail;
14158 }
14159 }
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 (arg1)->Show(arg2,arg3);
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 Py_INCREF(Py_None); resultobj = Py_None;
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14177 int result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14185 if (SWIG_arg_fail(1)) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 resultobj = SWIG_From_int((int)(result));
14195 }
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14205 int result;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 resultobj = SWIG_From_int((int)(result));
14223 }
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14233 int arg2 ;
14234 wxDirection arg3 ;
14235 long arg4 ;
14236 int result;
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj1 = 0 ;
14239 PyObject * obj2 = 0 ;
14240 PyObject * obj3 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail;
14248 {
14249 arg2 = (int)(SWIG_As_int(obj1));
14250 if (SWIG_arg_fail(2)) SWIG_fail;
14251 }
14252 {
14253 arg3 = (wxDirection)(SWIG_As_int(obj2));
14254 if (SWIG_arg_fail(3)) SWIG_fail;
14255 }
14256 {
14257 arg4 = (long)(SWIG_As_long(obj3));
14258 if (SWIG_arg_fail(4)) SWIG_fail;
14259 }
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 {
14268 resultobj = SWIG_From_int((int)(result));
14269 }
14270 return resultobj;
14271 fail:
14272 return NULL;
14273 }
14274
14275
14276 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14277 PyObject *resultobj;
14278 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14279 wxVisualAttributes result;
14280 PyObject * obj0 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "variant", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14286 if (obj0) {
14287 {
14288 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14289 if (SWIG_arg_fail(1)) SWIG_fail;
14290 }
14291 }
14292 {
14293 if (!wxPyCheckForApp()) SWIG_fail;
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 {
14301 wxVisualAttributes * resultptr;
14302 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14304 }
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14312 PyObject *obj;
14313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14314 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14315 Py_INCREF(obj);
14316 return Py_BuildValue((char *)"");
14317 }
14318 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxWindow *arg1 = (wxWindow *) 0 ;
14321 int arg2 = (int) -1 ;
14322 wxString const &arg3_defvalue = wxPyEmptyString ;
14323 wxString *arg3 = (wxString *) &arg3_defvalue ;
14324 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14325 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14326 wxSize const &arg5_defvalue = wxDefaultSize ;
14327 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14328 long arg6 = (long) 0 ;
14329 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14330 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14331 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14332 wxString *arg8 = (wxString *) &arg8_defvalue ;
14333 wxRadioButton *result;
14334 bool temp3 = false ;
14335 wxPoint temp4 ;
14336 wxSize temp5 ;
14337 bool temp8 = false ;
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14340 PyObject * obj2 = 0 ;
14341 PyObject * obj3 = 0 ;
14342 PyObject * obj4 = 0 ;
14343 PyObject * obj5 = 0 ;
14344 PyObject * obj6 = 0 ;
14345 PyObject * obj7 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail;
14353 if (obj1) {
14354 {
14355 arg2 = (int)(SWIG_As_int(obj1));
14356 if (SWIG_arg_fail(2)) SWIG_fail;
14357 }
14358 }
14359 if (obj2) {
14360 {
14361 arg3 = wxString_in_helper(obj2);
14362 if (arg3 == NULL) SWIG_fail;
14363 temp3 = true;
14364 }
14365 }
14366 if (obj3) {
14367 {
14368 arg4 = &temp4;
14369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14370 }
14371 }
14372 if (obj4) {
14373 {
14374 arg5 = &temp5;
14375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14376 }
14377 }
14378 if (obj5) {
14379 {
14380 arg6 = (long)(SWIG_As_long(obj5));
14381 if (SWIG_arg_fail(6)) SWIG_fail;
14382 }
14383 }
14384 if (obj6) {
14385 {
14386 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(7)) SWIG_fail;
14388 if (arg7 == NULL) {
14389 SWIG_null_ref("wxValidator");
14390 }
14391 if (SWIG_arg_fail(7)) SWIG_fail;
14392 }
14393 }
14394 if (obj7) {
14395 {
14396 arg8 = wxString_in_helper(obj7);
14397 if (arg8 == NULL) SWIG_fail;
14398 temp8 = true;
14399 }
14400 }
14401 {
14402 if (!wxPyCheckForApp()) SWIG_fail;
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14410 {
14411 if (temp3)
14412 delete arg3;
14413 }
14414 {
14415 if (temp8)
14416 delete arg8;
14417 }
14418 return resultobj;
14419 fail:
14420 {
14421 if (temp3)
14422 delete arg3;
14423 }
14424 {
14425 if (temp8)
14426 delete arg8;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxRadioButton *result;
14435 char *kwnames[] = {
14436 NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14440 {
14441 if (!wxPyCheckForApp()) SWIG_fail;
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (wxRadioButton *)new wxRadioButton();
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14458 wxWindow *arg2 = (wxWindow *) 0 ;
14459 int arg3 = (int) -1 ;
14460 wxString const &arg4_defvalue = wxPyEmptyString ;
14461 wxString *arg4 = (wxString *) &arg4_defvalue ;
14462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14464 wxSize const &arg6_defvalue = wxDefaultSize ;
14465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14466 long arg7 = (long) 0 ;
14467 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14468 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14469 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14470 wxString *arg9 = (wxString *) &arg9_defvalue ;
14471 bool result;
14472 bool temp4 = false ;
14473 wxPoint temp5 ;
14474 wxSize temp6 ;
14475 bool temp9 = false ;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 PyObject * obj2 = 0 ;
14479 PyObject * obj3 = 0 ;
14480 PyObject * obj4 = 0 ;
14481 PyObject * obj5 = 0 ;
14482 PyObject * obj6 = 0 ;
14483 PyObject * obj7 = 0 ;
14484 PyObject * obj8 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail;
14492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14493 if (SWIG_arg_fail(2)) SWIG_fail;
14494 if (obj2) {
14495 {
14496 arg3 = (int)(SWIG_As_int(obj2));
14497 if (SWIG_arg_fail(3)) SWIG_fail;
14498 }
14499 }
14500 if (obj3) {
14501 {
14502 arg4 = wxString_in_helper(obj3);
14503 if (arg4 == NULL) SWIG_fail;
14504 temp4 = true;
14505 }
14506 }
14507 if (obj4) {
14508 {
14509 arg5 = &temp5;
14510 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14511 }
14512 }
14513 if (obj5) {
14514 {
14515 arg6 = &temp6;
14516 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14517 }
14518 }
14519 if (obj6) {
14520 {
14521 arg7 = (long)(SWIG_As_long(obj6));
14522 if (SWIG_arg_fail(7)) SWIG_fail;
14523 }
14524 }
14525 if (obj7) {
14526 {
14527 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(8)) SWIG_fail;
14529 if (arg8 == NULL) {
14530 SWIG_null_ref("wxValidator");
14531 }
14532 if (SWIG_arg_fail(8)) SWIG_fail;
14533 }
14534 }
14535 if (obj8) {
14536 {
14537 arg9 = wxString_in_helper(obj8);
14538 if (arg9 == NULL) SWIG_fail;
14539 temp9 = true;
14540 }
14541 }
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 {
14550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14551 }
14552 {
14553 if (temp4)
14554 delete arg4;
14555 }
14556 {
14557 if (temp9)
14558 delete arg9;
14559 }
14560 return resultobj;
14561 fail:
14562 {
14563 if (temp4)
14564 delete arg4;
14565 }
14566 {
14567 if (temp9)
14568 delete arg9;
14569 }
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14577 bool result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (bool)(arg1)->GetValue();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14595 }
14596 return resultobj;
14597 fail:
14598 return NULL;
14599 }
14600
14601
14602 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14603 PyObject *resultobj;
14604 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14605 bool arg2 ;
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self",(char *) "value", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail;
14615 {
14616 arg2 = (bool)(SWIG_As_bool(obj1));
14617 if (SWIG_arg_fail(2)) SWIG_fail;
14618 }
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->SetValue(arg2);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14636 wxVisualAttributes result;
14637 PyObject * obj0 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "variant", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14643 if (obj0) {
14644 {
14645 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14646 if (SWIG_arg_fail(1)) SWIG_fail;
14647 }
14648 }
14649 {
14650 if (!wxPyCheckForApp()) SWIG_fail;
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658 wxVisualAttributes * resultptr;
14659 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14661 }
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14669 PyObject *obj;
14670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14671 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14672 Py_INCREF(obj);
14673 return Py_BuildValue((char *)"");
14674 }
14675 static int _wrap_SliderNameStr_set(PyObject *) {
14676 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14677 return 1;
14678 }
14679
14680
14681 static PyObject *_wrap_SliderNameStr_get(void) {
14682 PyObject *pyobj;
14683
14684 {
14685 #if wxUSE_UNICODE
14686 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14687 #else
14688 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14689 #endif
14690 }
14691 return pyobj;
14692 }
14693
14694
14695 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxWindow *arg1 = (wxWindow *) 0 ;
14698 int arg2 = (int) -1 ;
14699 int arg3 = (int) 0 ;
14700 int arg4 = (int) 0 ;
14701 int arg5 = (int) 100 ;
14702 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14703 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14704 wxSize const &arg7_defvalue = wxDefaultSize ;
14705 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14706 long arg8 = (long) wxSL_HORIZONTAL ;
14707 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14708 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14709 wxString const &arg10_defvalue = wxPySliderNameStr ;
14710 wxString *arg10 = (wxString *) &arg10_defvalue ;
14711 wxSlider *result;
14712 wxPoint temp6 ;
14713 wxSize temp7 ;
14714 bool temp10 = false ;
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 PyObject * obj2 = 0 ;
14718 PyObject * obj3 = 0 ;
14719 PyObject * obj4 = 0 ;
14720 PyObject * obj5 = 0 ;
14721 PyObject * obj6 = 0 ;
14722 PyObject * obj7 = 0 ;
14723 PyObject * obj8 = 0 ;
14724 PyObject * obj9 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail;
14732 if (obj1) {
14733 {
14734 arg2 = (int)(SWIG_As_int(obj1));
14735 if (SWIG_arg_fail(2)) SWIG_fail;
14736 }
14737 }
14738 if (obj2) {
14739 {
14740 arg3 = (int)(SWIG_As_int(obj2));
14741 if (SWIG_arg_fail(3)) SWIG_fail;
14742 }
14743 }
14744 if (obj3) {
14745 {
14746 arg4 = (int)(SWIG_As_int(obj3));
14747 if (SWIG_arg_fail(4)) SWIG_fail;
14748 }
14749 }
14750 if (obj4) {
14751 {
14752 arg5 = (int)(SWIG_As_int(obj4));
14753 if (SWIG_arg_fail(5)) SWIG_fail;
14754 }
14755 }
14756 if (obj5) {
14757 {
14758 arg6 = &temp6;
14759 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14760 }
14761 }
14762 if (obj6) {
14763 {
14764 arg7 = &temp7;
14765 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14766 }
14767 }
14768 if (obj7) {
14769 {
14770 arg8 = (long)(SWIG_As_long(obj7));
14771 if (SWIG_arg_fail(8)) SWIG_fail;
14772 }
14773 }
14774 if (obj8) {
14775 {
14776 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14777 if (SWIG_arg_fail(9)) SWIG_fail;
14778 if (arg9 == NULL) {
14779 SWIG_null_ref("wxValidator");
14780 }
14781 if (SWIG_arg_fail(9)) SWIG_fail;
14782 }
14783 }
14784 if (obj9) {
14785 {
14786 arg10 = wxString_in_helper(obj9);
14787 if (arg10 == NULL) SWIG_fail;
14788 temp10 = true;
14789 }
14790 }
14791 {
14792 if (!wxPyCheckForApp()) SWIG_fail;
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14800 {
14801 if (temp10)
14802 delete arg10;
14803 }
14804 return resultobj;
14805 fail:
14806 {
14807 if (temp10)
14808 delete arg10;
14809 }
14810 return NULL;
14811 }
14812
14813
14814 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14815 PyObject *resultobj;
14816 wxSlider *result;
14817 char *kwnames[] = {
14818 NULL
14819 };
14820
14821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14822 {
14823 if (!wxPyCheckForApp()) SWIG_fail;
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (wxSlider *)new wxSlider();
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxSlider *arg1 = (wxSlider *) 0 ;
14840 wxWindow *arg2 = (wxWindow *) 0 ;
14841 int arg3 = (int) -1 ;
14842 int arg4 = (int) 0 ;
14843 int arg5 = (int) 0 ;
14844 int arg6 = (int) 100 ;
14845 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14846 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14847 wxSize const &arg8_defvalue = wxDefaultSize ;
14848 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14849 long arg9 = (long) wxSL_HORIZONTAL ;
14850 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14851 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14852 wxString const &arg11_defvalue = wxPySliderNameStr ;
14853 wxString *arg11 = (wxString *) &arg11_defvalue ;
14854 bool result;
14855 wxPoint temp7 ;
14856 wxSize temp8 ;
14857 bool temp11 = false ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 PyObject * obj2 = 0 ;
14861 PyObject * obj3 = 0 ;
14862 PyObject * obj4 = 0 ;
14863 PyObject * obj5 = 0 ;
14864 PyObject * obj6 = 0 ;
14865 PyObject * obj7 = 0 ;
14866 PyObject * obj8 = 0 ;
14867 PyObject * obj9 = 0 ;
14868 PyObject * obj10 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail;
14876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14877 if (SWIG_arg_fail(2)) SWIG_fail;
14878 if (obj2) {
14879 {
14880 arg3 = (int)(SWIG_As_int(obj2));
14881 if (SWIG_arg_fail(3)) SWIG_fail;
14882 }
14883 }
14884 if (obj3) {
14885 {
14886 arg4 = (int)(SWIG_As_int(obj3));
14887 if (SWIG_arg_fail(4)) SWIG_fail;
14888 }
14889 }
14890 if (obj4) {
14891 {
14892 arg5 = (int)(SWIG_As_int(obj4));
14893 if (SWIG_arg_fail(5)) SWIG_fail;
14894 }
14895 }
14896 if (obj5) {
14897 {
14898 arg6 = (int)(SWIG_As_int(obj5));
14899 if (SWIG_arg_fail(6)) SWIG_fail;
14900 }
14901 }
14902 if (obj6) {
14903 {
14904 arg7 = &temp7;
14905 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14906 }
14907 }
14908 if (obj7) {
14909 {
14910 arg8 = &temp8;
14911 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14912 }
14913 }
14914 if (obj8) {
14915 {
14916 arg9 = (long)(SWIG_As_long(obj8));
14917 if (SWIG_arg_fail(9)) SWIG_fail;
14918 }
14919 }
14920 if (obj9) {
14921 {
14922 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14923 if (SWIG_arg_fail(10)) SWIG_fail;
14924 if (arg10 == NULL) {
14925 SWIG_null_ref("wxValidator");
14926 }
14927 if (SWIG_arg_fail(10)) SWIG_fail;
14928 }
14929 }
14930 if (obj10) {
14931 {
14932 arg11 = wxString_in_helper(obj10);
14933 if (arg11 == NULL) SWIG_fail;
14934 temp11 = true;
14935 }
14936 }
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 {
14945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14946 }
14947 {
14948 if (temp11)
14949 delete arg11;
14950 }
14951 return resultobj;
14952 fail:
14953 {
14954 if (temp11)
14955 delete arg11;
14956 }
14957 return NULL;
14958 }
14959
14960
14961 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxSlider *arg1 = (wxSlider *) 0 ;
14964 int result;
14965 PyObject * obj0 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
14971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14972 if (SWIG_arg_fail(1)) SWIG_fail;
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (int)((wxSlider const *)arg1)->GetValue();
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 {
14981 resultobj = SWIG_From_int((int)(result));
14982 }
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxSlider *arg1 = (wxSlider *) 0 ;
14992 int arg2 ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self",(char *) "value", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail;
15002 {
15003 arg2 = (int)(SWIG_As_int(obj1));
15004 if (SWIG_arg_fail(2)) SWIG_fail;
15005 }
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 (arg1)->SetValue(arg2);
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 Py_INCREF(Py_None); resultobj = Py_None;
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxSlider *arg1 = (wxSlider *) 0 ;
15023 int arg2 ;
15024 int arg3 ;
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
15027 PyObject * obj2 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail;
15035 {
15036 arg2 = (int)(SWIG_As_int(obj1));
15037 if (SWIG_arg_fail(2)) SWIG_fail;
15038 }
15039 {
15040 arg3 = (int)(SWIG_As_int(obj2));
15041 if (SWIG_arg_fail(3)) SWIG_fail;
15042 }
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 (arg1)->SetRange(arg2,arg3);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 wxSlider *arg1 = (wxSlider *) 0 ;
15060 int result;
15061 PyObject * obj0 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail;
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (int)((wxSlider const *)arg1)->GetMin();
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 {
15077 resultobj = SWIG_From_int((int)(result));
15078 }
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxSlider *arg1 = (wxSlider *) 0 ;
15088 int result;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (int)((wxSlider const *)arg1)->GetMax();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 {
15105 resultobj = SWIG_From_int((int)(result));
15106 }
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxSlider *arg1 = (wxSlider *) 0 ;
15116 int arg2 ;
15117 PyObject * obj0 = 0 ;
15118 PyObject * obj1 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self",(char *) "minValue", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail;
15126 {
15127 arg2 = (int)(SWIG_As_int(obj1));
15128 if (SWIG_arg_fail(2)) SWIG_fail;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->SetMin(arg2);
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 Py_INCREF(Py_None); resultobj = Py_None;
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxSlider *arg1 = (wxSlider *) 0 ;
15147 int arg2 ;
15148 PyObject * obj0 = 0 ;
15149 PyObject * obj1 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self",(char *) "maxValue", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail;
15157 {
15158 arg2 = (int)(SWIG_As_int(obj1));
15159 if (SWIG_arg_fail(2)) SWIG_fail;
15160 }
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->SetMax(arg2);
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 Py_INCREF(Py_None); resultobj = Py_None;
15169 return resultobj;
15170 fail:
15171 return NULL;
15172 }
15173
15174
15175 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxSlider *arg1 = (wxSlider *) 0 ;
15178 int arg2 ;
15179 PyObject * obj0 = 0 ;
15180 PyObject * obj1 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self",(char *) "lineSize", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15187 if (SWIG_arg_fail(1)) SWIG_fail;
15188 {
15189 arg2 = (int)(SWIG_As_int(obj1));
15190 if (SWIG_arg_fail(2)) SWIG_fail;
15191 }
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 (arg1)->SetLineSize(arg2);
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 Py_INCREF(Py_None); resultobj = Py_None;
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxSlider *arg1 = (wxSlider *) 0 ;
15209 int arg2 ;
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self",(char *) "pageSize", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail;
15219 {
15220 arg2 = (int)(SWIG_As_int(obj1));
15221 if (SWIG_arg_fail(2)) SWIG_fail;
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 (arg1)->SetPageSize(arg2);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 Py_INCREF(Py_None); resultobj = Py_None;
15231 return resultobj;
15232 fail:
15233 return NULL;
15234 }
15235
15236
15237 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15238 PyObject *resultobj;
15239 wxSlider *arg1 = (wxSlider *) 0 ;
15240 int result;
15241 PyObject * obj0 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 result = (int)((wxSlider const *)arg1)->GetLineSize();
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 {
15257 resultobj = SWIG_From_int((int)(result));
15258 }
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxSlider *arg1 = (wxSlider *) 0 ;
15268 int result;
15269 PyObject * obj0 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail;
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (int)((wxSlider const *)arg1)->GetPageSize();
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
15285 resultobj = SWIG_From_int((int)(result));
15286 }
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxSlider *arg1 = (wxSlider *) 0 ;
15296 int arg2 ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self",(char *) "lenPixels", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail;
15306 {
15307 arg2 = (int)(SWIG_As_int(obj1));
15308 if (SWIG_arg_fail(2)) SWIG_fail;
15309 }
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 (arg1)->SetThumbLength(arg2);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 Py_INCREF(Py_None); resultobj = Py_None;
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxSlider *arg1 = (wxSlider *) 0 ;
15327 int result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 resultobj = SWIG_From_int((int)(result));
15345 }
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxSlider *arg1 = (wxSlider *) 0 ;
15355 int arg2 ;
15356 int arg3 = (int) 1 ;
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 PyObject * obj2 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "n",(char *) "pos", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail;
15367 {
15368 arg2 = (int)(SWIG_As_int(obj1));
15369 if (SWIG_arg_fail(2)) SWIG_fail;
15370 }
15371 if (obj2) {
15372 {
15373 arg3 = (int)(SWIG_As_int(obj2));
15374 if (SWIG_arg_fail(3)) SWIG_fail;
15375 }
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 (arg1)->SetTickFreq(arg2,arg3);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 Py_INCREF(Py_None); resultobj = Py_None;
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxSlider *arg1 = (wxSlider *) 0 ;
15394 int result;
15395 PyObject * obj0 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 {
15411 resultobj = SWIG_From_int((int)(result));
15412 }
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxSlider *arg1 = (wxSlider *) 0 ;
15422 PyObject * obj0 = 0 ;
15423 char *kwnames[] = {
15424 (char *) "self", NULL
15425 };
15426
15427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail;
15430 {
15431 PyThreadState* __tstate = wxPyBeginAllowThreads();
15432 (arg1)->ClearTicks();
15433
15434 wxPyEndAllowThreads(__tstate);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
15437 Py_INCREF(Py_None); resultobj = Py_None;
15438 return resultobj;
15439 fail:
15440 return NULL;
15441 }
15442
15443
15444 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15445 PyObject *resultobj;
15446 wxSlider *arg1 = (wxSlider *) 0 ;
15447 int arg2 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 char *kwnames[] = {
15451 (char *) "self",(char *) "tickPos", NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15456 if (SWIG_arg_fail(1)) SWIG_fail;
15457 {
15458 arg2 = (int)(SWIG_As_int(obj1));
15459 if (SWIG_arg_fail(2)) SWIG_fail;
15460 }
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 (arg1)->SetTick(arg2);
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 Py_INCREF(Py_None); resultobj = Py_None;
15469 return resultobj;
15470 fail:
15471 return NULL;
15472 }
15473
15474
15475 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxSlider *arg1 = (wxSlider *) 0 ;
15478 PyObject * obj0 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 (arg1)->ClearSel();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 Py_INCREF(Py_None); resultobj = Py_None;
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj;
15502 wxSlider *arg1 = (wxSlider *) 0 ;
15503 int result;
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "self", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 {
15520 resultobj = SWIG_From_int((int)(result));
15521 }
15522 return resultobj;
15523 fail:
15524 return NULL;
15525 }
15526
15527
15528 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj;
15530 wxSlider *arg1 = (wxSlider *) 0 ;
15531 int result;
15532 PyObject * obj0 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15539 if (SWIG_arg_fail(1)) SWIG_fail;
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 result = (int)((wxSlider const *)arg1)->GetSelStart();
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 {
15548 resultobj = SWIG_From_int((int)(result));
15549 }
15550 return resultobj;
15551 fail:
15552 return NULL;
15553 }
15554
15555
15556 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj;
15558 wxSlider *arg1 = (wxSlider *) 0 ;
15559 int arg2 ;
15560 int arg3 ;
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 PyObject * obj2 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "self",(char *) "min",(char *) "max", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15570 if (SWIG_arg_fail(1)) SWIG_fail;
15571 {
15572 arg2 = (int)(SWIG_As_int(obj1));
15573 if (SWIG_arg_fail(2)) SWIG_fail;
15574 }
15575 {
15576 arg3 = (int)(SWIG_As_int(obj2));
15577 if (SWIG_arg_fail(3)) SWIG_fail;
15578 }
15579 {
15580 PyThreadState* __tstate = wxPyBeginAllowThreads();
15581 (arg1)->SetSelection(arg2,arg3);
15582
15583 wxPyEndAllowThreads(__tstate);
15584 if (PyErr_Occurred()) SWIG_fail;
15585 }
15586 Py_INCREF(Py_None); resultobj = Py_None;
15587 return resultobj;
15588 fail:
15589 return NULL;
15590 }
15591
15592
15593 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15594 PyObject *resultobj;
15595 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15596 wxVisualAttributes result;
15597 PyObject * obj0 = 0 ;
15598 char *kwnames[] = {
15599 (char *) "variant", NULL
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15603 if (obj0) {
15604 {
15605 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15606 if (SWIG_arg_fail(1)) SWIG_fail;
15607 }
15608 }
15609 {
15610 if (!wxPyCheckForApp()) SWIG_fail;
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 {
15618 wxVisualAttributes * resultptr;
15619 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15629 PyObject *obj;
15630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15632 Py_INCREF(obj);
15633 return Py_BuildValue((char *)"");
15634 }
15635 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15636 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15637 return 1;
15638 }
15639
15640
15641 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15642 PyObject *pyobj;
15643
15644 {
15645 #if wxUSE_UNICODE
15646 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15647 #else
15648 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15649 #endif
15650 }
15651 return pyobj;
15652 }
15653
15654
15655 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxWindow *arg1 = (wxWindow *) 0 ;
15658 int arg2 = (int) -1 ;
15659 wxString const &arg3_defvalue = wxPyEmptyString ;
15660 wxString *arg3 = (wxString *) &arg3_defvalue ;
15661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15663 wxSize const &arg5_defvalue = wxDefaultSize ;
15664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15665 long arg6 = (long) 0 ;
15666 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15667 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15668 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15669 wxString *arg8 = (wxString *) &arg8_defvalue ;
15670 wxToggleButton *result;
15671 bool temp3 = false ;
15672 wxPoint temp4 ;
15673 wxSize temp5 ;
15674 bool temp8 = false ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 PyObject * obj3 = 0 ;
15679 PyObject * obj4 = 0 ;
15680 PyObject * obj5 = 0 ;
15681 PyObject * obj6 = 0 ;
15682 PyObject * obj7 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail;
15690 if (obj1) {
15691 {
15692 arg2 = (int)(SWIG_As_int(obj1));
15693 if (SWIG_arg_fail(2)) SWIG_fail;
15694 }
15695 }
15696 if (obj2) {
15697 {
15698 arg3 = wxString_in_helper(obj2);
15699 if (arg3 == NULL) SWIG_fail;
15700 temp3 = true;
15701 }
15702 }
15703 if (obj3) {
15704 {
15705 arg4 = &temp4;
15706 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15707 }
15708 }
15709 if (obj4) {
15710 {
15711 arg5 = &temp5;
15712 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15713 }
15714 }
15715 if (obj5) {
15716 {
15717 arg6 = (long)(SWIG_As_long(obj5));
15718 if (SWIG_arg_fail(6)) SWIG_fail;
15719 }
15720 }
15721 if (obj6) {
15722 {
15723 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(7)) SWIG_fail;
15725 if (arg7 == NULL) {
15726 SWIG_null_ref("wxValidator");
15727 }
15728 if (SWIG_arg_fail(7)) SWIG_fail;
15729 }
15730 }
15731 if (obj7) {
15732 {
15733 arg8 = wxString_in_helper(obj7);
15734 if (arg8 == NULL) SWIG_fail;
15735 temp8 = true;
15736 }
15737 }
15738 {
15739 if (!wxPyCheckForApp()) SWIG_fail;
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15747 {
15748 if (temp3)
15749 delete arg3;
15750 }
15751 {
15752 if (temp8)
15753 delete arg8;
15754 }
15755 return resultobj;
15756 fail:
15757 {
15758 if (temp3)
15759 delete arg3;
15760 }
15761 {
15762 if (temp8)
15763 delete arg8;
15764 }
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxToggleButton *result;
15772 char *kwnames[] = {
15773 NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15777 {
15778 if (!wxPyCheckForApp()) SWIG_fail;
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (wxToggleButton *)new wxToggleButton();
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15795 wxWindow *arg2 = (wxWindow *) 0 ;
15796 int arg3 = (int) -1 ;
15797 wxString const &arg4_defvalue = wxPyEmptyString ;
15798 wxString *arg4 = (wxString *) &arg4_defvalue ;
15799 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15800 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15801 wxSize const &arg6_defvalue = wxDefaultSize ;
15802 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15803 long arg7 = (long) 0 ;
15804 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15805 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15806 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15807 wxString *arg9 = (wxString *) &arg9_defvalue ;
15808 bool result;
15809 bool temp4 = false ;
15810 wxPoint temp5 ;
15811 wxSize temp6 ;
15812 bool temp9 = false ;
15813 PyObject * obj0 = 0 ;
15814 PyObject * obj1 = 0 ;
15815 PyObject * obj2 = 0 ;
15816 PyObject * obj3 = 0 ;
15817 PyObject * obj4 = 0 ;
15818 PyObject * obj5 = 0 ;
15819 PyObject * obj6 = 0 ;
15820 PyObject * obj7 = 0 ;
15821 PyObject * obj8 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail;
15829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15830 if (SWIG_arg_fail(2)) SWIG_fail;
15831 if (obj2) {
15832 {
15833 arg3 = (int)(SWIG_As_int(obj2));
15834 if (SWIG_arg_fail(3)) SWIG_fail;
15835 }
15836 }
15837 if (obj3) {
15838 {
15839 arg4 = wxString_in_helper(obj3);
15840 if (arg4 == NULL) SWIG_fail;
15841 temp4 = true;
15842 }
15843 }
15844 if (obj4) {
15845 {
15846 arg5 = &temp5;
15847 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15848 }
15849 }
15850 if (obj5) {
15851 {
15852 arg6 = &temp6;
15853 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15854 }
15855 }
15856 if (obj6) {
15857 {
15858 arg7 = (long)(SWIG_As_long(obj6));
15859 if (SWIG_arg_fail(7)) SWIG_fail;
15860 }
15861 }
15862 if (obj7) {
15863 {
15864 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15865 if (SWIG_arg_fail(8)) SWIG_fail;
15866 if (arg8 == NULL) {
15867 SWIG_null_ref("wxValidator");
15868 }
15869 if (SWIG_arg_fail(8)) SWIG_fail;
15870 }
15871 }
15872 if (obj8) {
15873 {
15874 arg9 = wxString_in_helper(obj8);
15875 if (arg9 == NULL) SWIG_fail;
15876 temp9 = true;
15877 }
15878 }
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 {
15887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15888 }
15889 {
15890 if (temp4)
15891 delete arg4;
15892 }
15893 {
15894 if (temp9)
15895 delete arg9;
15896 }
15897 return resultobj;
15898 fail:
15899 {
15900 if (temp4)
15901 delete arg4;
15902 }
15903 {
15904 if (temp9)
15905 delete arg9;
15906 }
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15914 bool arg2 ;
15915 PyObject * obj0 = 0 ;
15916 PyObject * obj1 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self",(char *) "value", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail;
15924 {
15925 arg2 = (bool)(SWIG_As_bool(obj1));
15926 if (SWIG_arg_fail(2)) SWIG_fail;
15927 }
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->SetValue(arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15945 bool result;
15946 PyObject * obj0 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15953 if (SWIG_arg_fail(1)) SWIG_fail;
15954 {
15955 PyThreadState* __tstate = wxPyBeginAllowThreads();
15956 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15957
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 {
15962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15963 }
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15973 wxString *arg2 = 0 ;
15974 bool temp2 = false ;
15975 PyObject * obj0 = 0 ;
15976 PyObject * obj1 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self",(char *) "label", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15983 if (SWIG_arg_fail(1)) SWIG_fail;
15984 {
15985 arg2 = wxString_in_helper(obj1);
15986 if (arg2 == NULL) SWIG_fail;
15987 temp2 = true;
15988 }
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 (arg1)->SetLabel((wxString const &)*arg2);
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 Py_INCREF(Py_None); resultobj = Py_None;
15997 {
15998 if (temp2)
15999 delete arg2;
16000 }
16001 return resultobj;
16002 fail:
16003 {
16004 if (temp2)
16005 delete arg2;
16006 }
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16014 wxVisualAttributes result;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "variant", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16021 if (obj0) {
16022 {
16023 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16024 if (SWIG_arg_fail(1)) SWIG_fail;
16025 }
16026 }
16027 {
16028 if (!wxPyCheckForApp()) SWIG_fail;
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 wxVisualAttributes * resultptr;
16037 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16047 PyObject *obj;
16048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16049 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16050 Py_INCREF(obj);
16051 return Py_BuildValue((char *)"");
16052 }
16053 static int _wrap_NotebookNameStr_set(PyObject *) {
16054 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16055 return 1;
16056 }
16057
16058
16059 static PyObject *_wrap_NotebookNameStr_get(void) {
16060 PyObject *pyobj;
16061
16062 {
16063 #if wxUSE_UNICODE
16064 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16065 #else
16066 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16067 #endif
16068 }
16069 return pyobj;
16070 }
16071
16072
16073 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16076 size_t result;
16077 PyObject * obj0 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self", NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16084 if (SWIG_arg_fail(1)) SWIG_fail;
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16094 }
16095 return resultobj;
16096 fail:
16097 return NULL;
16098 }
16099
16100
16101 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj;
16103 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16104 size_t arg2 ;
16105 wxWindow *result;
16106 PyObject * obj0 = 0 ;
16107 PyObject * obj1 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self",(char *) "n", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail;
16115 {
16116 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16117 if (SWIG_arg_fail(2)) SWIG_fail;
16118 }
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 result = (wxWindow *)(arg1)->GetPage(arg2);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 {
16127 resultobj = wxPyMake_wxObject(result, 0);
16128 }
16129 return resultobj;
16130 fail:
16131 return NULL;
16132 }
16133
16134
16135 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj;
16137 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16138 wxWindow *result;
16139 PyObject * obj0 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16146 if (SWIG_arg_fail(1)) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 {
16155 resultobj = wxPyMake_wxObject(result, 0);
16156 }
16157 return resultobj;
16158 fail:
16159 return NULL;
16160 }
16161
16162
16163 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16164 PyObject *resultobj;
16165 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16166 int result;
16167 PyObject * obj0 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self", NULL
16170 };
16171
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 {
16183 resultobj = SWIG_From_int((int)(result));
16184 }
16185 return resultobj;
16186 fail:
16187 return NULL;
16188 }
16189
16190
16191 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16194 size_t arg2 ;
16195 wxString *arg3 = 0 ;
16196 bool result;
16197 bool temp3 = false ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 PyObject * obj2 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "n",(char *) "strText", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
16208 {
16209 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16210 if (SWIG_arg_fail(2)) SWIG_fail;
16211 }
16212 {
16213 arg3 = wxString_in_helper(obj2);
16214 if (arg3 == NULL) SWIG_fail;
16215 temp3 = true;
16216 }
16217 {
16218 PyThreadState* __tstate = wxPyBeginAllowThreads();
16219 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16220
16221 wxPyEndAllowThreads(__tstate);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 {
16225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16226 }
16227 {
16228 if (temp3)
16229 delete arg3;
16230 }
16231 return resultobj;
16232 fail:
16233 {
16234 if (temp3)
16235 delete arg3;
16236 }
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16244 size_t arg2 ;
16245 wxString result;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "n", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail;
16255 {
16256 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16257 if (SWIG_arg_fail(2)) SWIG_fail;
16258 }
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 {
16267 #if wxUSE_UNICODE
16268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16269 #else
16270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16271 #endif
16272 }
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16282 wxImageList *arg2 = (wxImageList *) 0 ;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "imageList", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail;
16292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16293 if (SWIG_arg_fail(2)) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 (arg1)->SetImageList(arg2);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 Py_INCREF(Py_None); resultobj = Py_None;
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16311 wxImageList *arg2 = (wxImageList *) 0 ;
16312 PyObject * obj0 = 0 ;
16313 PyObject * obj1 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self",(char *) "imageList", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail;
16321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16322 if (SWIG_arg_fail(2)) SWIG_fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 (arg1)->AssignImageList(arg2);
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 Py_INCREF(Py_None); resultobj = Py_None;
16331 return resultobj;
16332 fail:
16333 return NULL;
16334 }
16335
16336
16337 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16340 wxImageList *result;
16341 PyObject * obj0 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail;
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16352
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 {
16357 resultobj = wxPyMake_wxObject(result, 0);
16358 }
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16368 size_t arg2 ;
16369 int result;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "n", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail;
16379 {
16380 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16381 if (SWIG_arg_fail(2)) SWIG_fail;
16382 }
16383 {
16384 PyThreadState* __tstate = wxPyBeginAllowThreads();
16385 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16386
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 {
16391 resultobj = SWIG_From_int((int)(result));
16392 }
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16402 size_t arg2 ;
16403 int arg3 ;
16404 bool result;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 PyObject * obj2 = 0 ;
16408 char *kwnames[] = {
16409 (char *) "self",(char *) "n",(char *) "imageId", NULL
16410 };
16411
16412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16414 if (SWIG_arg_fail(1)) SWIG_fail;
16415 {
16416 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16417 if (SWIG_arg_fail(2)) SWIG_fail;
16418 }
16419 {
16420 arg3 = (int)(SWIG_As_int(obj2));
16421 if (SWIG_arg_fail(3)) SWIG_fail;
16422 }
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 {
16431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16432 }
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16442 wxSize *arg2 = 0 ;
16443 wxSize temp2 ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "size", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail;
16453 {
16454 arg2 = &temp2;
16455 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16456 }
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->SetPageSize((wxSize const &)*arg2);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16474 wxSize *arg2 = 0 ;
16475 wxSize result;
16476 wxSize temp2 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self",(char *) "sizePage", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail;
16486 {
16487 arg2 = &temp2;
16488 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16489 }
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 {
16498 wxSize * resultptr;
16499 resultptr = new wxSize((wxSize &)(result));
16500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16501 }
16502 return resultobj;
16503 fail:
16504 return NULL;
16505 }
16506
16507
16508 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16511 size_t arg2 ;
16512 bool result;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self",(char *) "n", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail;
16522 {
16523 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16524 if (SWIG_arg_fail(2)) SWIG_fail;
16525 }
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->DeletePage(arg2);
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16535 }
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16545 size_t arg2 ;
16546 bool result;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "n", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail;
16556 {
16557 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16558 if (SWIG_arg_fail(2)) SWIG_fail;
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (bool)(arg1)->RemovePage(arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16569 }
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16579 bool result;
16580 PyObject * obj0 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "self", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16587 if (SWIG_arg_fail(1)) SWIG_fail;
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 result = (bool)(arg1)->DeleteAllPages();
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 {
16596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16607 wxWindow *arg2 = (wxWindow *) 0 ;
16608 wxString *arg3 = 0 ;
16609 bool arg4 = (bool) false ;
16610 int arg5 = (int) -1 ;
16611 bool result;
16612 bool temp3 = false ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj1 = 0 ;
16615 PyObject * obj2 = 0 ;
16616 PyObject * obj3 = 0 ;
16617 PyObject * obj4 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(1)) SWIG_fail;
16625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16626 if (SWIG_arg_fail(2)) SWIG_fail;
16627 {
16628 arg3 = wxString_in_helper(obj2);
16629 if (arg3 == NULL) SWIG_fail;
16630 temp3 = true;
16631 }
16632 if (obj3) {
16633 {
16634 arg4 = (bool)(SWIG_As_bool(obj3));
16635 if (SWIG_arg_fail(4)) SWIG_fail;
16636 }
16637 }
16638 if (obj4) {
16639 {
16640 arg5 = (int)(SWIG_As_int(obj4));
16641 if (SWIG_arg_fail(5)) SWIG_fail;
16642 }
16643 }
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 {
16652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16653 }
16654 {
16655 if (temp3)
16656 delete arg3;
16657 }
16658 return resultobj;
16659 fail:
16660 {
16661 if (temp3)
16662 delete arg3;
16663 }
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16671 size_t arg2 ;
16672 wxWindow *arg3 = (wxWindow *) 0 ;
16673 wxString *arg4 = 0 ;
16674 bool arg5 = (bool) false ;
16675 int arg6 = (int) -1 ;
16676 bool result;
16677 bool temp4 = false ;
16678 PyObject * obj0 = 0 ;
16679 PyObject * obj1 = 0 ;
16680 PyObject * obj2 = 0 ;
16681 PyObject * obj3 = 0 ;
16682 PyObject * obj4 = 0 ;
16683 PyObject * obj5 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail;
16691 {
16692 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16693 if (SWIG_arg_fail(2)) SWIG_fail;
16694 }
16695 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16696 if (SWIG_arg_fail(3)) SWIG_fail;
16697 {
16698 arg4 = wxString_in_helper(obj3);
16699 if (arg4 == NULL) SWIG_fail;
16700 temp4 = true;
16701 }
16702 if (obj4) {
16703 {
16704 arg5 = (bool)(SWIG_As_bool(obj4));
16705 if (SWIG_arg_fail(5)) SWIG_fail;
16706 }
16707 }
16708 if (obj5) {
16709 {
16710 arg6 = (int)(SWIG_As_int(obj5));
16711 if (SWIG_arg_fail(6)) SWIG_fail;
16712 }
16713 }
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16723 }
16724 {
16725 if (temp4)
16726 delete arg4;
16727 }
16728 return resultobj;
16729 fail:
16730 {
16731 if (temp4)
16732 delete arg4;
16733 }
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16741 size_t arg2 ;
16742 int result;
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "n", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail;
16752 {
16753 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16754 if (SWIG_arg_fail(2)) SWIG_fail;
16755 }
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (int)(arg1)->SetSelection(arg2);
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 {
16764 resultobj = SWIG_From_int((int)(result));
16765 }
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16775 bool arg2 = (bool) true ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "forward", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail;
16785 if (obj1) {
16786 {
16787 arg2 = (bool)(SWIG_As_bool(obj1));
16788 if (SWIG_arg_fail(2)) SWIG_fail;
16789 }
16790 }
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 (arg1)->AdvanceSelection(arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 Py_INCREF(Py_None); resultobj = Py_None;
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16808 wxVisualAttributes result;
16809 PyObject * obj0 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "variant", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16815 if (obj0) {
16816 {
16817 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16818 if (SWIG_arg_fail(1)) SWIG_fail;
16819 }
16820 }
16821 {
16822 if (!wxPyCheckForApp()) SWIG_fail;
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 wxVisualAttributes * resultptr;
16831 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16833 }
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16841 PyObject *obj;
16842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16843 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16844 Py_INCREF(obj);
16845 return Py_BuildValue((char *)"");
16846 }
16847 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj;
16849 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16850 int arg2 = (int) 0 ;
16851 int arg3 = (int) -1 ;
16852 int arg4 = (int) -1 ;
16853 wxBookCtrlBaseEvent *result;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 PyObject * obj2 = 0 ;
16857 PyObject * obj3 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16863 if (obj0) {
16864 {
16865 arg1 = (wxEventType)(SWIG_As_int(obj0));
16866 if (SWIG_arg_fail(1)) SWIG_fail;
16867 }
16868 }
16869 if (obj1) {
16870 {
16871 arg2 = (int)(SWIG_As_int(obj1));
16872 if (SWIG_arg_fail(2)) SWIG_fail;
16873 }
16874 }
16875 if (obj2) {
16876 {
16877 arg3 = (int)(SWIG_As_int(obj2));
16878 if (SWIG_arg_fail(3)) SWIG_fail;
16879 }
16880 }
16881 if (obj3) {
16882 {
16883 arg4 = (int)(SWIG_As_int(obj3));
16884 if (SWIG_arg_fail(4)) SWIG_fail;
16885 }
16886 }
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16904 int result;
16905 PyObject * obj0 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "self", NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16912 if (SWIG_arg_fail(1)) SWIG_fail;
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 {
16921 resultobj = SWIG_From_int((int)(result));
16922 }
16923 return resultobj;
16924 fail:
16925 return NULL;
16926 }
16927
16928
16929 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16932 int arg2 ;
16933 PyObject * obj0 = 0 ;
16934 PyObject * obj1 = 0 ;
16935 char *kwnames[] = {
16936 (char *) "self",(char *) "nSel", NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail;
16942 {
16943 arg2 = (int)(SWIG_As_int(obj1));
16944 if (SWIG_arg_fail(2)) SWIG_fail;
16945 }
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 (arg1)->SetSelection(arg2);
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 Py_INCREF(Py_None); resultobj = Py_None;
16954 return resultobj;
16955 fail:
16956 return NULL;
16957 }
16958
16959
16960 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16963 int result;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "self", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
16970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 resultobj = SWIG_From_int((int)(result));
16981 }
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16991 int arg2 ;
16992 PyObject * obj0 = 0 ;
16993 PyObject * obj1 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self",(char *) "nOldSel", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
16999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17000 if (SWIG_arg_fail(1)) SWIG_fail;
17001 {
17002 arg2 = (int)(SWIG_As_int(obj1));
17003 if (SWIG_arg_fail(2)) SWIG_fail;
17004 }
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 (arg1)->SetOldSelection(arg2);
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 Py_INCREF(Py_None); resultobj = Py_None;
17013 return resultobj;
17014 fail:
17015 return NULL;
17016 }
17017
17018
17019 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17020 PyObject *obj;
17021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17022 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17023 Py_INCREF(obj);
17024 return Py_BuildValue((char *)"");
17025 }
17026 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxWindow *arg1 = (wxWindow *) 0 ;
17029 int arg2 = (int) -1 ;
17030 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17031 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17032 wxSize const &arg4_defvalue = wxDefaultSize ;
17033 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17034 long arg5 = (long) 0 ;
17035 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17036 wxString *arg6 = (wxString *) &arg6_defvalue ;
17037 wxNotebook *result;
17038 wxPoint temp3 ;
17039 wxSize temp4 ;
17040 bool temp6 = false ;
17041 PyObject * obj0 = 0 ;
17042 PyObject * obj1 = 0 ;
17043 PyObject * obj2 = 0 ;
17044 PyObject * obj3 = 0 ;
17045 PyObject * obj4 = 0 ;
17046 PyObject * obj5 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail;
17054 if (obj1) {
17055 {
17056 arg2 = (int)(SWIG_As_int(obj1));
17057 if (SWIG_arg_fail(2)) SWIG_fail;
17058 }
17059 }
17060 if (obj2) {
17061 {
17062 arg3 = &temp3;
17063 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17064 }
17065 }
17066 if (obj3) {
17067 {
17068 arg4 = &temp4;
17069 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17070 }
17071 }
17072 if (obj4) {
17073 {
17074 arg5 = (long)(SWIG_As_long(obj4));
17075 if (SWIG_arg_fail(5)) SWIG_fail;
17076 }
17077 }
17078 if (obj5) {
17079 {
17080 arg6 = wxString_in_helper(obj5);
17081 if (arg6 == NULL) SWIG_fail;
17082 temp6 = true;
17083 }
17084 }
17085 {
17086 if (!wxPyCheckForApp()) SWIG_fail;
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17094 {
17095 if (temp6)
17096 delete arg6;
17097 }
17098 return resultobj;
17099 fail:
17100 {
17101 if (temp6)
17102 delete arg6;
17103 }
17104 return NULL;
17105 }
17106
17107
17108 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxNotebook *result;
17111 char *kwnames[] = {
17112 NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17116 {
17117 if (!wxPyCheckForApp()) SWIG_fail;
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 result = (wxNotebook *)new wxNotebook();
17120
17121 wxPyEndAllowThreads(__tstate);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 }
17124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17125 return resultobj;
17126 fail:
17127 return NULL;
17128 }
17129
17130
17131 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17132 PyObject *resultobj;
17133 wxNotebook *arg1 = (wxNotebook *) 0 ;
17134 wxWindow *arg2 = (wxWindow *) 0 ;
17135 int arg3 = (int) -1 ;
17136 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17137 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17138 wxSize const &arg5_defvalue = wxDefaultSize ;
17139 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17140 long arg6 = (long) 0 ;
17141 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17142 wxString *arg7 = (wxString *) &arg7_defvalue ;
17143 bool result;
17144 wxPoint temp4 ;
17145 wxSize temp5 ;
17146 bool temp7 = false ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 PyObject * obj3 = 0 ;
17151 PyObject * obj4 = 0 ;
17152 PyObject * obj5 = 0 ;
17153 PyObject * obj6 = 0 ;
17154 char *kwnames[] = {
17155 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17156 };
17157
17158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail;
17161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17162 if (SWIG_arg_fail(2)) SWIG_fail;
17163 if (obj2) {
17164 {
17165 arg3 = (int)(SWIG_As_int(obj2));
17166 if (SWIG_arg_fail(3)) SWIG_fail;
17167 }
17168 }
17169 if (obj3) {
17170 {
17171 arg4 = &temp4;
17172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17173 }
17174 }
17175 if (obj4) {
17176 {
17177 arg5 = &temp5;
17178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17179 }
17180 }
17181 if (obj5) {
17182 {
17183 arg6 = (long)(SWIG_As_long(obj5));
17184 if (SWIG_arg_fail(6)) SWIG_fail;
17185 }
17186 }
17187 if (obj6) {
17188 {
17189 arg7 = wxString_in_helper(obj6);
17190 if (arg7 == NULL) SWIG_fail;
17191 temp7 = true;
17192 }
17193 }
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 {
17202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17203 }
17204 {
17205 if (temp7)
17206 delete arg7;
17207 }
17208 return resultobj;
17209 fail:
17210 {
17211 if (temp7)
17212 delete arg7;
17213 }
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxNotebook *arg1 = (wxNotebook *) 0 ;
17221 int result;
17222 PyObject * obj0 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail;
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 {
17238 resultobj = SWIG_From_int((int)(result));
17239 }
17240 return resultobj;
17241 fail:
17242 return NULL;
17243 }
17244
17245
17246 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17247 PyObject *resultobj;
17248 wxNotebook *arg1 = (wxNotebook *) 0 ;
17249 wxSize *arg2 = 0 ;
17250 wxSize temp2 ;
17251 PyObject * obj0 = 0 ;
17252 PyObject * obj1 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self",(char *) "padding", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17259 if (SWIG_arg_fail(1)) SWIG_fail;
17260 {
17261 arg2 = &temp2;
17262 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetPadding((wxSize const &)*arg2);
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 Py_INCREF(Py_None); resultobj = Py_None;
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxNotebook *arg1 = (wxNotebook *) 0 ;
17281 wxSize *arg2 = 0 ;
17282 wxSize temp2 ;
17283 PyObject * obj0 = 0 ;
17284 PyObject * obj1 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self",(char *) "sz", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17291 if (SWIG_arg_fail(1)) SWIG_fail;
17292 {
17293 arg2 = &temp2;
17294 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17295 }
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->SetTabSize((wxSize const &)*arg2);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxNotebook *arg1 = (wxNotebook *) 0 ;
17313 wxPoint *arg2 = 0 ;
17314 long *arg3 = (long *) 0 ;
17315 int result;
17316 wxPoint temp2 ;
17317 long temp3 ;
17318 int res3 = 0 ;
17319 PyObject * obj0 = 0 ;
17320 PyObject * obj1 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self",(char *) "pt", NULL
17323 };
17324
17325 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail;
17329 {
17330 arg2 = &temp2;
17331 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17332 }
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 {
17341 resultobj = SWIG_From_int((int)(result));
17342 }
17343 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17344 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxNotebook *arg1 = (wxNotebook *) 0 ;
17354 wxSize *arg2 = 0 ;
17355 wxSize result;
17356 wxSize temp2 ;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "sizePage", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail;
17366 {
17367 arg2 = &temp2;
17368 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17369 }
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 {
17378 wxSize * resultptr;
17379 resultptr = new wxSize((wxSize &)(result));
17380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17381 }
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj;
17390 wxNotebook *arg1 = (wxNotebook *) 0 ;
17391 wxColour result;
17392 PyObject * obj0 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
17408 wxColour * resultptr;
17409 resultptr = new wxColour((wxColour &)(result));
17410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17411 }
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17421 wxVisualAttributes result;
17422 PyObject * obj0 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "variant", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17428 if (obj0) {
17429 {
17430 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17431 if (SWIG_arg_fail(1)) SWIG_fail;
17432 }
17433 }
17434 {
17435 if (!wxPyCheckForApp()) SWIG_fail;
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 wxVisualAttributes * resultptr;
17444 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17446 }
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17454 PyObject *obj;
17455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17456 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17457 Py_INCREF(obj);
17458 return Py_BuildValue((char *)"");
17459 }
17460 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17463 int arg2 = (int) 0 ;
17464 int arg3 = (int) -1 ;
17465 int arg4 = (int) -1 ;
17466 wxNotebookEvent *result;
17467 PyObject * obj0 = 0 ;
17468 PyObject * obj1 = 0 ;
17469 PyObject * obj2 = 0 ;
17470 PyObject * obj3 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17476 if (obj0) {
17477 {
17478 arg1 = (wxEventType)(SWIG_As_int(obj0));
17479 if (SWIG_arg_fail(1)) SWIG_fail;
17480 }
17481 }
17482 if (obj1) {
17483 {
17484 arg2 = (int)(SWIG_As_int(obj1));
17485 if (SWIG_arg_fail(2)) SWIG_fail;
17486 }
17487 }
17488 if (obj2) {
17489 {
17490 arg3 = (int)(SWIG_As_int(obj2));
17491 if (SWIG_arg_fail(3)) SWIG_fail;
17492 }
17493 }
17494 if (obj3) {
17495 {
17496 arg4 = (int)(SWIG_As_int(obj3));
17497 if (SWIG_arg_fail(4)) SWIG_fail;
17498 }
17499 }
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17515 PyObject *obj;
17516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17518 Py_INCREF(obj);
17519 return Py_BuildValue((char *)"");
17520 }
17521 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxWindow *arg1 = (wxWindow *) 0 ;
17524 int arg2 = (int) -1 ;
17525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17527 wxSize const &arg4_defvalue = wxDefaultSize ;
17528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17529 long arg5 = (long) 0 ;
17530 wxString const &arg6_defvalue = wxPyEmptyString ;
17531 wxString *arg6 = (wxString *) &arg6_defvalue ;
17532 wxListbook *result;
17533 wxPoint temp3 ;
17534 wxSize temp4 ;
17535 bool temp6 = false ;
17536 PyObject * obj0 = 0 ;
17537 PyObject * obj1 = 0 ;
17538 PyObject * obj2 = 0 ;
17539 PyObject * obj3 = 0 ;
17540 PyObject * obj4 = 0 ;
17541 PyObject * obj5 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17548 if (SWIG_arg_fail(1)) SWIG_fail;
17549 if (obj1) {
17550 {
17551 arg2 = (int)(SWIG_As_int(obj1));
17552 if (SWIG_arg_fail(2)) SWIG_fail;
17553 }
17554 }
17555 if (obj2) {
17556 {
17557 arg3 = &temp3;
17558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17559 }
17560 }
17561 if (obj3) {
17562 {
17563 arg4 = &temp4;
17564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17565 }
17566 }
17567 if (obj4) {
17568 {
17569 arg5 = (long)(SWIG_As_long(obj4));
17570 if (SWIG_arg_fail(5)) SWIG_fail;
17571 }
17572 }
17573 if (obj5) {
17574 {
17575 arg6 = wxString_in_helper(obj5);
17576 if (arg6 == NULL) SWIG_fail;
17577 temp6 = true;
17578 }
17579 }
17580 {
17581 if (!wxPyCheckForApp()) SWIG_fail;
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17589 {
17590 if (temp6)
17591 delete arg6;
17592 }
17593 return resultobj;
17594 fail:
17595 {
17596 if (temp6)
17597 delete arg6;
17598 }
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxListbook *result;
17606 char *kwnames[] = {
17607 NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17611 {
17612 if (!wxPyCheckForApp()) SWIG_fail;
17613 PyThreadState* __tstate = wxPyBeginAllowThreads();
17614 result = (wxListbook *)new wxListbook();
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17620 return resultobj;
17621 fail:
17622 return NULL;
17623 }
17624
17625
17626 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17627 PyObject *resultobj;
17628 wxListbook *arg1 = (wxListbook *) 0 ;
17629 wxWindow *arg2 = (wxWindow *) 0 ;
17630 int arg3 = (int) -1 ;
17631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17633 wxSize const &arg5_defvalue = wxDefaultSize ;
17634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17635 long arg6 = (long) 0 ;
17636 wxString const &arg7_defvalue = wxPyEmptyString ;
17637 wxString *arg7 = (wxString *) &arg7_defvalue ;
17638 bool result;
17639 wxPoint temp4 ;
17640 wxSize temp5 ;
17641 bool temp7 = false ;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 PyObject * obj2 = 0 ;
17645 PyObject * obj3 = 0 ;
17646 PyObject * obj4 = 0 ;
17647 PyObject * obj5 = 0 ;
17648 PyObject * obj6 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17655 if (SWIG_arg_fail(1)) SWIG_fail;
17656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17657 if (SWIG_arg_fail(2)) SWIG_fail;
17658 if (obj2) {
17659 {
17660 arg3 = (int)(SWIG_As_int(obj2));
17661 if (SWIG_arg_fail(3)) SWIG_fail;
17662 }
17663 }
17664 if (obj3) {
17665 {
17666 arg4 = &temp4;
17667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17668 }
17669 }
17670 if (obj4) {
17671 {
17672 arg5 = &temp5;
17673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17674 }
17675 }
17676 if (obj5) {
17677 {
17678 arg6 = (long)(SWIG_As_long(obj5));
17679 if (SWIG_arg_fail(6)) SWIG_fail;
17680 }
17681 }
17682 if (obj6) {
17683 {
17684 arg7 = wxString_in_helper(obj6);
17685 if (arg7 == NULL) SWIG_fail;
17686 temp7 = true;
17687 }
17688 }
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 {
17697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17698 }
17699 {
17700 if (temp7)
17701 delete arg7;
17702 }
17703 return resultobj;
17704 fail:
17705 {
17706 if (temp7)
17707 delete arg7;
17708 }
17709 return NULL;
17710 }
17711
17712
17713 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxListbook *arg1 = (wxListbook *) 0 ;
17716 bool result;
17717 PyObject * obj0 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17724 if (SWIG_arg_fail(1)) SWIG_fail;
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 result = (bool)((wxListbook const *)arg1)->IsVertical();
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 {
17733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17734 }
17735 return resultobj;
17736 fail:
17737 return NULL;
17738 }
17739
17740
17741 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxListbook *arg1 = (wxListbook *) 0 ;
17744 wxListView *result;
17745 PyObject * obj0 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail;
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (wxListView *)(arg1)->GetListView();
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17761 return resultobj;
17762 fail:
17763 return NULL;
17764 }
17765
17766
17767 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17768 PyObject *obj;
17769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17770 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17771 Py_INCREF(obj);
17772 return Py_BuildValue((char *)"");
17773 }
17774 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17777 int arg2 = (int) 0 ;
17778 int arg3 = (int) -1 ;
17779 int arg4 = (int) -1 ;
17780 wxListbookEvent *result;
17781 PyObject * obj0 = 0 ;
17782 PyObject * obj1 = 0 ;
17783 PyObject * obj2 = 0 ;
17784 PyObject * obj3 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17790 if (obj0) {
17791 {
17792 arg1 = (wxEventType)(SWIG_As_int(obj0));
17793 if (SWIG_arg_fail(1)) SWIG_fail;
17794 }
17795 }
17796 if (obj1) {
17797 {
17798 arg2 = (int)(SWIG_As_int(obj1));
17799 if (SWIG_arg_fail(2)) SWIG_fail;
17800 }
17801 }
17802 if (obj2) {
17803 {
17804 arg3 = (int)(SWIG_As_int(obj2));
17805 if (SWIG_arg_fail(3)) SWIG_fail;
17806 }
17807 }
17808 if (obj3) {
17809 {
17810 arg4 = (int)(SWIG_As_int(obj3));
17811 if (SWIG_arg_fail(4)) SWIG_fail;
17812 }
17813 }
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17829 PyObject *obj;
17830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17831 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17832 Py_INCREF(obj);
17833 return Py_BuildValue((char *)"");
17834 }
17835 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 wxWindow *arg1 = (wxWindow *) 0 ;
17838 int arg2 ;
17839 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17840 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17841 wxSize const &arg4_defvalue = wxDefaultSize ;
17842 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17843 long arg5 = (long) 0 ;
17844 wxString const &arg6_defvalue = wxPyEmptyString ;
17845 wxString *arg6 = (wxString *) &arg6_defvalue ;
17846 wxChoicebook *result;
17847 wxPoint temp3 ;
17848 wxSize temp4 ;
17849 bool temp6 = false ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 PyObject * obj2 = 0 ;
17853 PyObject * obj3 = 0 ;
17854 PyObject * obj4 = 0 ;
17855 PyObject * obj5 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17862 if (SWIG_arg_fail(1)) SWIG_fail;
17863 {
17864 arg2 = (int)(SWIG_As_int(obj1));
17865 if (SWIG_arg_fail(2)) SWIG_fail;
17866 }
17867 if (obj2) {
17868 {
17869 arg3 = &temp3;
17870 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17871 }
17872 }
17873 if (obj3) {
17874 {
17875 arg4 = &temp4;
17876 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17877 }
17878 }
17879 if (obj4) {
17880 {
17881 arg5 = (long)(SWIG_As_long(obj4));
17882 if (SWIG_arg_fail(5)) SWIG_fail;
17883 }
17884 }
17885 if (obj5) {
17886 {
17887 arg6 = wxString_in_helper(obj5);
17888 if (arg6 == NULL) SWIG_fail;
17889 temp6 = true;
17890 }
17891 }
17892 {
17893 if (!wxPyCheckForApp()) SWIG_fail;
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17901 {
17902 if (temp6)
17903 delete arg6;
17904 }
17905 return resultobj;
17906 fail:
17907 {
17908 if (temp6)
17909 delete arg6;
17910 }
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxChoicebook *result;
17918 char *kwnames[] = {
17919 NULL
17920 };
17921
17922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17923 {
17924 if (!wxPyCheckForApp()) SWIG_fail;
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 result = (wxChoicebook *)new wxChoicebook();
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17941 wxWindow *arg2 = (wxWindow *) 0 ;
17942 int arg3 ;
17943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17945 wxSize const &arg5_defvalue = wxDefaultSize ;
17946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17947 long arg6 = (long) 0 ;
17948 wxString const &arg7_defvalue = wxPyEmptyString ;
17949 wxString *arg7 = (wxString *) &arg7_defvalue ;
17950 bool result;
17951 wxPoint temp4 ;
17952 wxSize temp5 ;
17953 bool temp7 = false ;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 PyObject * obj2 = 0 ;
17957 PyObject * obj3 = 0 ;
17958 PyObject * obj4 = 0 ;
17959 PyObject * obj5 = 0 ;
17960 PyObject * obj6 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17967 if (SWIG_arg_fail(1)) SWIG_fail;
17968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17969 if (SWIG_arg_fail(2)) SWIG_fail;
17970 {
17971 arg3 = (int)(SWIG_As_int(obj2));
17972 if (SWIG_arg_fail(3)) SWIG_fail;
17973 }
17974 if (obj3) {
17975 {
17976 arg4 = &temp4;
17977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17978 }
17979 }
17980 if (obj4) {
17981 {
17982 arg5 = &temp5;
17983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17984 }
17985 }
17986 if (obj5) {
17987 {
17988 arg6 = (long)(SWIG_As_long(obj5));
17989 if (SWIG_arg_fail(6)) SWIG_fail;
17990 }
17991 }
17992 if (obj6) {
17993 {
17994 arg7 = wxString_in_helper(obj6);
17995 if (arg7 == NULL) SWIG_fail;
17996 temp7 = true;
17997 }
17998 }
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18008 }
18009 {
18010 if (temp7)
18011 delete arg7;
18012 }
18013 return resultobj;
18014 fail:
18015 {
18016 if (temp7)
18017 delete arg7;
18018 }
18019 return NULL;
18020 }
18021
18022
18023 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj;
18025 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18026 bool result;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail;
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 {
18043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18044 }
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18054 wxChoice *result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18080 bool result;
18081 PyObject * obj0 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail;
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = (bool)(arg1)->DeleteAllPages();
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 {
18097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18098 }
18099 return resultobj;
18100 fail:
18101 return NULL;
18102 }
18103
18104
18105 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18106 PyObject *obj;
18107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18108 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18109 Py_INCREF(obj);
18110 return Py_BuildValue((char *)"");
18111 }
18112 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18115 int arg2 = (int) 0 ;
18116 int arg3 = (int) -1 ;
18117 int arg4 = (int) -1 ;
18118 wxChoicebookEvent *result;
18119 PyObject * obj0 = 0 ;
18120 PyObject * obj1 = 0 ;
18121 PyObject * obj2 = 0 ;
18122 PyObject * obj3 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18128 if (obj0) {
18129 {
18130 arg1 = (wxEventType)(SWIG_As_int(obj0));
18131 if (SWIG_arg_fail(1)) SWIG_fail;
18132 }
18133 }
18134 if (obj1) {
18135 {
18136 arg2 = (int)(SWIG_As_int(obj1));
18137 if (SWIG_arg_fail(2)) SWIG_fail;
18138 }
18139 }
18140 if (obj2) {
18141 {
18142 arg3 = (int)(SWIG_As_int(obj2));
18143 if (SWIG_arg_fail(3)) SWIG_fail;
18144 }
18145 }
18146 if (obj3) {
18147 {
18148 arg4 = (int)(SWIG_As_int(obj3));
18149 if (SWIG_arg_fail(4)) SWIG_fail;
18150 }
18151 }
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18167 PyObject *obj;
18168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18169 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18170 Py_INCREF(obj);
18171 return Py_BuildValue((char *)"");
18172 }
18173 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18176 wxBookCtrlSizer *result;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "nb", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18202 PyObject * obj0 = 0 ;
18203 char *kwnames[] = {
18204 (char *) "self", NULL
18205 };
18206
18207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->RecalcSizes();
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18227 wxSize result;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 result = (arg1)->CalcMin();
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 {
18244 wxSize * resultptr;
18245 resultptr = new wxSize((wxSize &)(result));
18246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18247 }
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18257 wxBookCtrlBase *result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (wxBookCtrlBase *)(arg1)->GetControl();
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18281 PyObject *obj;
18282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18283 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18284 Py_INCREF(obj);
18285 return Py_BuildValue((char *)"");
18286 }
18287 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxNotebook *arg1 = (wxNotebook *) 0 ;
18290 wxNotebookSizer *result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "nb", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18307 return resultobj;
18308 fail:
18309 return NULL;
18310 }
18311
18312
18313 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18323 if (SWIG_arg_fail(1)) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 (arg1)->RecalcSizes();
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 Py_INCREF(Py_None); resultobj = Py_None;
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18341 wxSize result;
18342 PyObject * obj0 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail;
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = (arg1)->CalcMin();
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 {
18358 wxSize * resultptr;
18359 resultptr = new wxSize((wxSize &)(result));
18360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18361 }
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18371 wxNotebook *result;
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18379 if (SWIG_arg_fail(1)) SWIG_fail;
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 result = (wxNotebook *)(arg1)->GetNotebook();
18383
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 {
18388 resultobj = wxPyMake_wxObject(result, 0);
18389 }
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18397 PyObject *obj;
18398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18399 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18400 Py_INCREF(obj);
18401 return Py_BuildValue((char *)"");
18402 }
18403 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18406 int result;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail;
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (int)(arg1)->GetId();
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 resultobj = SWIG_From_int((int)(result));
18424 }
18425 return resultobj;
18426 fail:
18427 return NULL;
18428 }
18429
18430
18431 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18434 wxControl *result;
18435 PyObject * obj0 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (wxControl *)(arg1)->GetControl();
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 {
18451 resultobj = wxPyMake_wxObject(result, 0);
18452 }
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18462 wxToolBarBase *result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (wxToolBarBase *)(arg1)->GetToolBar();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 {
18479 resultobj = wxPyMake_wxObject(result, 0);
18480 }
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
18489 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18490 int result;
18491 PyObject * obj0 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (int)(arg1)->IsButton();
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 resultobj = SWIG_From_int((int)(result));
18508 }
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18518 int result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (int)(arg1)->IsControl();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 resultobj = SWIG_From_int((int)(result));
18536 }
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18546 int result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (int)(arg1)->IsSeparator();
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 {
18563 resultobj = SWIG_From_int((int)(result));
18564 }
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18574 int result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (int)(arg1)->GetStyle();
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 {
18591 resultobj = SWIG_From_int((int)(result));
18592 }
18593 return resultobj;
18594 fail:
18595 return NULL;
18596 }
18597
18598
18599 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18600 PyObject *resultobj;
18601 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18602 wxItemKind result;
18603 PyObject * obj0 = 0 ;
18604 char *kwnames[] = {
18605 (char *) "self", NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail;
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (wxItemKind)(arg1)->GetKind();
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 resultobj = SWIG_From_int((result));
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18628 bool result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (bool)(arg1)->IsEnabled();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18646 }
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18656 bool result;
18657 PyObject * obj0 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail;
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (bool)(arg1)->IsToggled();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 {
18673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18674 }
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18684 bool result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail;
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (bool)(arg1)->CanBeToggled();
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 {
18701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18702 }
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18712 wxBitmap *result;
18713 PyObject * obj0 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail;
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 {
18724 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18725 result = (wxBitmap *) &_result_ref;
18726 }
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 {
18732 wxBitmap* resultptr = new wxBitmap(*result);
18733 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18734 }
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18744 wxBitmap *result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 {
18756 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18757 result = (wxBitmap *) &_result_ref;
18758 }
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764 wxBitmap* resultptr = new wxBitmap(*result);
18765 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18766 }
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18776 wxBitmap result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail;
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (arg1)->GetBitmap();
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 wxBitmap * resultptr;
18794 resultptr = new wxBitmap((wxBitmap &)(result));
18795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18796 }
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18806 wxString result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18814 if (SWIG_arg_fail(1)) SWIG_fail;
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (arg1)->GetLabel();
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
18823 #if wxUSE_UNICODE
18824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18825 #else
18826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18827 #endif
18828 }
18829 return resultobj;
18830 fail:
18831 return NULL;
18832 }
18833
18834
18835 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18838 wxString result;
18839 PyObject * obj0 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail;
18847 {
18848 PyThreadState* __tstate = wxPyBeginAllowThreads();
18849 result = (arg1)->GetShortHelp();
18850
18851 wxPyEndAllowThreads(__tstate);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 #if wxUSE_UNICODE
18856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18857 #else
18858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18859 #endif
18860 }
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18870 wxString result;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (arg1)->GetLongHelp();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
18887 #if wxUSE_UNICODE
18888 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18889 #else
18890 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18891 #endif
18892 }
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18902 bool arg2 ;
18903 bool result;
18904 PyObject * obj0 = 0 ;
18905 PyObject * obj1 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self",(char *) "enable", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail;
18913 {
18914 arg2 = (bool)(SWIG_As_bool(obj1));
18915 if (SWIG_arg_fail(2)) SWIG_fail;
18916 }
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (bool)(arg1)->Enable(arg2);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18926 }
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->Toggle();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 Py_INCREF(Py_None); resultobj = Py_None;
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18961 bool arg2 ;
18962 bool result;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self",(char *) "toggle", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18971 if (SWIG_arg_fail(1)) SWIG_fail;
18972 {
18973 arg2 = (bool)(SWIG_As_bool(obj1));
18974 if (SWIG_arg_fail(2)) SWIG_fail;
18975 }
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 result = (bool)(arg1)->SetToggle(arg2);
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 {
18984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18995 wxString *arg2 = 0 ;
18996 bool result;
18997 bool temp2 = false ;
18998 PyObject * obj0 = 0 ;
18999 PyObject * obj1 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self",(char *) "help", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail;
19007 {
19008 arg2 = wxString_in_helper(obj1);
19009 if (arg2 == NULL) SWIG_fail;
19010 temp2 = true;
19011 }
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 {
19023 if (temp2)
19024 delete arg2;
19025 }
19026 return resultobj;
19027 fail:
19028 {
19029 if (temp2)
19030 delete arg2;
19031 }
19032 return NULL;
19033 }
19034
19035
19036 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19039 wxString *arg2 = 0 ;
19040 bool result;
19041 bool temp2 = false ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self",(char *) "help", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19050 if (SWIG_arg_fail(1)) SWIG_fail;
19051 {
19052 arg2 = wxString_in_helper(obj1);
19053 if (arg2 == NULL) SWIG_fail;
19054 temp2 = true;
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 {
19064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19065 }
19066 {
19067 if (temp2)
19068 delete arg2;
19069 }
19070 return resultobj;
19071 fail:
19072 {
19073 if (temp2)
19074 delete arg2;
19075 }
19076 return NULL;
19077 }
19078
19079
19080 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19083 wxBitmap *arg2 = 0 ;
19084 PyObject * obj0 = 0 ;
19085 PyObject * obj1 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self",(char *) "bmp", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail;
19093 {
19094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19095 if (SWIG_arg_fail(2)) SWIG_fail;
19096 if (arg2 == NULL) {
19097 SWIG_null_ref("wxBitmap");
19098 }
19099 if (SWIG_arg_fail(2)) SWIG_fail;
19100 }
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 Py_INCREF(Py_None); resultobj = Py_None;
19109 return resultobj;
19110 fail:
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19118 wxBitmap *arg2 = 0 ;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self",(char *) "bmp", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail;
19128 {
19129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19130 if (SWIG_arg_fail(2)) SWIG_fail;
19131 if (arg2 == NULL) {
19132 SWIG_null_ref("wxBitmap");
19133 }
19134 if (SWIG_arg_fail(2)) SWIG_fail;
19135 }
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 Py_INCREF(Py_None); resultobj = Py_None;
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19153 wxString *arg2 = 0 ;
19154 bool temp2 = false ;
19155 PyObject * obj0 = 0 ;
19156 PyObject * obj1 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self",(char *) "label", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail;
19164 {
19165 arg2 = wxString_in_helper(obj1);
19166 if (arg2 == NULL) SWIG_fail;
19167 temp2 = true;
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->SetLabel((wxString const &)*arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 {
19178 if (temp2)
19179 delete arg2;
19180 }
19181 return resultobj;
19182 fail:
19183 {
19184 if (temp2)
19185 delete arg2;
19186 }
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19194 PyObject * obj0 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->Detach();
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19219 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "tbar", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail;
19229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19230 if (SWIG_arg_fail(2)) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->Attach(arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19248 PyObject *result;
19249 PyObject * obj0 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 resultobj = result;
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19274 PyObject *arg2 = (PyObject *) 0 ;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "clientData", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19283 if (SWIG_arg_fail(1)) SWIG_fail;
19284 arg2 = obj1;
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 wxToolBarToolBase_SetClientData(arg1,arg2);
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19300 PyObject *obj;
19301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19302 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19303 Py_INCREF(obj);
19304 return Py_BuildValue((char *)"");
19305 }
19306 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19309 int arg2 ;
19310 wxString *arg3 = 0 ;
19311 wxBitmap *arg4 = 0 ;
19312 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19313 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19314 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19315 wxString const &arg7_defvalue = wxPyEmptyString ;
19316 wxString *arg7 = (wxString *) &arg7_defvalue ;
19317 wxString const &arg8_defvalue = wxPyEmptyString ;
19318 wxString *arg8 = (wxString *) &arg8_defvalue ;
19319 PyObject *arg9 = (PyObject *) NULL ;
19320 wxToolBarToolBase *result;
19321 bool temp3 = false ;
19322 bool temp7 = false ;
19323 bool temp8 = false ;
19324 PyObject * obj0 = 0 ;
19325 PyObject * obj1 = 0 ;
19326 PyObject * obj2 = 0 ;
19327 PyObject * obj3 = 0 ;
19328 PyObject * obj4 = 0 ;
19329 PyObject * obj5 = 0 ;
19330 PyObject * obj6 = 0 ;
19331 PyObject * obj7 = 0 ;
19332 PyObject * obj8 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19339 if (SWIG_arg_fail(1)) SWIG_fail;
19340 {
19341 arg2 = (int)(SWIG_As_int(obj1));
19342 if (SWIG_arg_fail(2)) SWIG_fail;
19343 }
19344 {
19345 arg3 = wxString_in_helper(obj2);
19346 if (arg3 == NULL) SWIG_fail;
19347 temp3 = true;
19348 }
19349 {
19350 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19351 if (SWIG_arg_fail(4)) SWIG_fail;
19352 if (arg4 == NULL) {
19353 SWIG_null_ref("wxBitmap");
19354 }
19355 if (SWIG_arg_fail(4)) SWIG_fail;
19356 }
19357 if (obj4) {
19358 {
19359 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(5)) SWIG_fail;
19361 if (arg5 == NULL) {
19362 SWIG_null_ref("wxBitmap");
19363 }
19364 if (SWIG_arg_fail(5)) SWIG_fail;
19365 }
19366 }
19367 if (obj5) {
19368 {
19369 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19370 if (SWIG_arg_fail(6)) SWIG_fail;
19371 }
19372 }
19373 if (obj6) {
19374 {
19375 arg7 = wxString_in_helper(obj6);
19376 if (arg7 == NULL) SWIG_fail;
19377 temp7 = true;
19378 }
19379 }
19380 if (obj7) {
19381 {
19382 arg8 = wxString_in_helper(obj7);
19383 if (arg8 == NULL) SWIG_fail;
19384 temp8 = true;
19385 }
19386 }
19387 if (obj8) {
19388 arg9 = obj8;
19389 }
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 {
19398 resultobj = wxPyMake_wxObject(result, 0);
19399 }
19400 {
19401 if (temp3)
19402 delete arg3;
19403 }
19404 {
19405 if (temp7)
19406 delete arg7;
19407 }
19408 {
19409 if (temp8)
19410 delete arg8;
19411 }
19412 return resultobj;
19413 fail:
19414 {
19415 if (temp3)
19416 delete arg3;
19417 }
19418 {
19419 if (temp7)
19420 delete arg7;
19421 }
19422 {
19423 if (temp8)
19424 delete arg8;
19425 }
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19433 size_t arg2 ;
19434 int arg3 ;
19435 wxString *arg4 = 0 ;
19436 wxBitmap *arg5 = 0 ;
19437 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19438 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19439 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19440 wxString const &arg8_defvalue = wxPyEmptyString ;
19441 wxString *arg8 = (wxString *) &arg8_defvalue ;
19442 wxString const &arg9_defvalue = wxPyEmptyString ;
19443 wxString *arg9 = (wxString *) &arg9_defvalue ;
19444 PyObject *arg10 = (PyObject *) NULL ;
19445 wxToolBarToolBase *result;
19446 bool temp4 = false ;
19447 bool temp8 = false ;
19448 bool temp9 = false ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 PyObject * obj3 = 0 ;
19453 PyObject * obj4 = 0 ;
19454 PyObject * obj5 = 0 ;
19455 PyObject * obj6 = 0 ;
19456 PyObject * obj7 = 0 ;
19457 PyObject * obj8 = 0 ;
19458 PyObject * obj9 = 0 ;
19459 char *kwnames[] = {
19460 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19461 };
19462
19463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19465 if (SWIG_arg_fail(1)) SWIG_fail;
19466 {
19467 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19468 if (SWIG_arg_fail(2)) SWIG_fail;
19469 }
19470 {
19471 arg3 = (int)(SWIG_As_int(obj2));
19472 if (SWIG_arg_fail(3)) SWIG_fail;
19473 }
19474 {
19475 arg4 = wxString_in_helper(obj3);
19476 if (arg4 == NULL) SWIG_fail;
19477 temp4 = true;
19478 }
19479 {
19480 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19481 if (SWIG_arg_fail(5)) SWIG_fail;
19482 if (arg5 == NULL) {
19483 SWIG_null_ref("wxBitmap");
19484 }
19485 if (SWIG_arg_fail(5)) SWIG_fail;
19486 }
19487 if (obj5) {
19488 {
19489 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19490 if (SWIG_arg_fail(6)) SWIG_fail;
19491 if (arg6 == NULL) {
19492 SWIG_null_ref("wxBitmap");
19493 }
19494 if (SWIG_arg_fail(6)) SWIG_fail;
19495 }
19496 }
19497 if (obj6) {
19498 {
19499 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19500 if (SWIG_arg_fail(7)) SWIG_fail;
19501 }
19502 }
19503 if (obj7) {
19504 {
19505 arg8 = wxString_in_helper(obj7);
19506 if (arg8 == NULL) SWIG_fail;
19507 temp8 = true;
19508 }
19509 }
19510 if (obj8) {
19511 {
19512 arg9 = wxString_in_helper(obj8);
19513 if (arg9 == NULL) SWIG_fail;
19514 temp9 = true;
19515 }
19516 }
19517 if (obj9) {
19518 arg10 = obj9;
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 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);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 {
19528 resultobj = wxPyMake_wxObject(result, 0);
19529 }
19530 {
19531 if (temp4)
19532 delete arg4;
19533 }
19534 {
19535 if (temp8)
19536 delete arg8;
19537 }
19538 {
19539 if (temp9)
19540 delete arg9;
19541 }
19542 return resultobj;
19543 fail:
19544 {
19545 if (temp4)
19546 delete arg4;
19547 }
19548 {
19549 if (temp8)
19550 delete arg8;
19551 }
19552 {
19553 if (temp9)
19554 delete arg9;
19555 }
19556 return NULL;
19557 }
19558
19559
19560 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19563 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19564 wxToolBarToolBase *result;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "tool", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19573 if (SWIG_arg_fail(1)) SWIG_fail;
19574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19575 if (SWIG_arg_fail(2)) SWIG_fail;
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 {
19584 resultobj = wxPyMake_wxObject(result, 0);
19585 }
19586 return resultobj;
19587 fail:
19588 return NULL;
19589 }
19590
19591
19592 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19595 size_t arg2 ;
19596 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19597 wxToolBarToolBase *result;
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 PyObject * obj2 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self",(char *) "pos",(char *) "tool", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail;
19608 {
19609 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19610 if (SWIG_arg_fail(2)) SWIG_fail;
19611 }
19612 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19613 if (SWIG_arg_fail(3)) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 resultobj = wxPyMake_wxObject(result, 0);
19623 }
19624 return resultobj;
19625 fail:
19626 return NULL;
19627 }
19628
19629
19630 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19633 wxControl *arg2 = (wxControl *) 0 ;
19634 wxToolBarToolBase *result;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "control", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
19644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19645 if (SWIG_arg_fail(2)) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
19654 resultobj = wxPyMake_wxObject(result, 0);
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19665 size_t arg2 ;
19666 wxControl *arg3 = (wxControl *) 0 ;
19667 wxToolBarToolBase *result;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 PyObject * obj2 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "pos",(char *) "control", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail;
19678 {
19679 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19680 if (SWIG_arg_fail(2)) SWIG_fail;
19681 }
19682 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19683 if (SWIG_arg_fail(3)) SWIG_fail;
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
19692 resultobj = wxPyMake_wxObject(result, 0);
19693 }
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19703 int arg2 ;
19704 wxControl *result;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "self",(char *) "id", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19713 if (SWIG_arg_fail(1)) SWIG_fail;
19714 {
19715 arg2 = (int)(SWIG_As_int(obj1));
19716 if (SWIG_arg_fail(2)) SWIG_fail;
19717 }
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxControl *)(arg1)->FindControl(arg2);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 {
19726 resultobj = wxPyMake_wxObject(result, 0);
19727 }
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19737 wxToolBarToolBase *result;
19738 PyObject * obj0 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail;
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 {
19754 resultobj = wxPyMake_wxObject(result, 0);
19755 }
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19765 size_t arg2 ;
19766 wxToolBarToolBase *result;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "pos", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail;
19776 {
19777 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19778 if (SWIG_arg_fail(2)) SWIG_fail;
19779 }
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = wxPyMake_wxObject(result, 0);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19799 int arg2 ;
19800 wxToolBarToolBase *result;
19801 PyObject * obj0 = 0 ;
19802 PyObject * obj1 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "id", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail;
19810 {
19811 arg2 = (int)(SWIG_As_int(obj1));
19812 if (SWIG_arg_fail(2)) SWIG_fail;
19813 }
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = wxPyMake_wxObject(result, 0);
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19833 size_t arg2 ;
19834 bool result;
19835 PyObject * obj0 = 0 ;
19836 PyObject * obj1 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "pos", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail;
19844 {
19845 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19846 if (SWIG_arg_fail(2)) SWIG_fail;
19847 }
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->DeleteToolByPos(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 {
19856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19857 }
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19867 int arg2 ;
19868 bool result;
19869 PyObject * obj0 = 0 ;
19870 PyObject * obj1 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self",(char *) "id", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19877 if (SWIG_arg_fail(1)) SWIG_fail;
19878 {
19879 arg2 = (int)(SWIG_As_int(obj1));
19880 if (SWIG_arg_fail(2)) SWIG_fail;
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)(arg1)->DeleteTool(arg2);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
19890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19901 PyObject * obj0 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail;
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 (arg1)->ClearTools();
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 Py_INCREF(Py_None); resultobj = Py_None;
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19926 bool result;
19927 PyObject * obj0 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (bool)(arg1)->Realize();
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19944 }
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19954 int arg2 ;
19955 bool arg3 ;
19956 PyObject * obj0 = 0 ;
19957 PyObject * obj1 = 0 ;
19958 PyObject * obj2 = 0 ;
19959 char *kwnames[] = {
19960 (char *) "self",(char *) "id",(char *) "enable", NULL
19961 };
19962
19963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail;
19966 {
19967 arg2 = (int)(SWIG_As_int(obj1));
19968 if (SWIG_arg_fail(2)) SWIG_fail;
19969 }
19970 {
19971 arg3 = (bool)(SWIG_As_bool(obj2));
19972 if (SWIG_arg_fail(3)) SWIG_fail;
19973 }
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 (arg1)->EnableTool(arg2,arg3);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 Py_INCREF(Py_None); resultobj = Py_None;
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19991 int arg2 ;
19992 bool arg3 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 PyObject * obj2 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "id",(char *) "toggle", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20002 if (SWIG_arg_fail(1)) SWIG_fail;
20003 {
20004 arg2 = (int)(SWIG_As_int(obj1));
20005 if (SWIG_arg_fail(2)) SWIG_fail;
20006 }
20007 {
20008 arg3 = (bool)(SWIG_As_bool(obj2));
20009 if (SWIG_arg_fail(3)) SWIG_fail;
20010 }
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 (arg1)->ToggleTool(arg2,arg3);
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 Py_INCREF(Py_None); resultobj = Py_None;
20019 return resultobj;
20020 fail:
20021 return NULL;
20022 }
20023
20024
20025 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20028 int arg2 ;
20029 bool arg3 ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 PyObject * obj2 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "id",(char *) "toggle", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20039 if (SWIG_arg_fail(1)) SWIG_fail;
20040 {
20041 arg2 = (int)(SWIG_As_int(obj1));
20042 if (SWIG_arg_fail(2)) SWIG_fail;
20043 }
20044 {
20045 arg3 = (bool)(SWIG_As_bool(obj2));
20046 if (SWIG_arg_fail(3)) SWIG_fail;
20047 }
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 (arg1)->SetToggle(arg2,arg3);
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 Py_INCREF(Py_None); resultobj = Py_None;
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20065 int arg2 ;
20066 PyObject *result;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "id", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail;
20076 {
20077 arg2 = (int)(SWIG_As_int(obj1));
20078 if (SWIG_arg_fail(2)) SWIG_fail;
20079 }
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = result;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20097 int arg2 ;
20098 PyObject *arg3 = (PyObject *) 0 ;
20099 PyObject * obj0 = 0 ;
20100 PyObject * obj1 = 0 ;
20101 PyObject * obj2 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "id",(char *) "clientData", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail;
20109 {
20110 arg2 = (int)(SWIG_As_int(obj1));
20111 if (SWIG_arg_fail(2)) SWIG_fail;
20112 }
20113 arg3 = obj2;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 Py_INCREF(Py_None); resultobj = Py_None;
20122 return resultobj;
20123 fail:
20124 return NULL;
20125 }
20126
20127
20128 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20129 PyObject *resultobj;
20130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20131 int arg2 ;
20132 int result;
20133 PyObject * obj0 = 0 ;
20134 PyObject * obj1 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self",(char *) "id", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail;
20142 {
20143 arg2 = (int)(SWIG_As_int(obj1));
20144 if (SWIG_arg_fail(2)) SWIG_fail;
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = SWIG_From_int((int)(result));
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20165 int arg2 ;
20166 bool result;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "id", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail;
20176 {
20177 arg2 = (int)(SWIG_As_int(obj1));
20178 if (SWIG_arg_fail(2)) SWIG_fail;
20179 }
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 result = (bool)(arg1)->GetToolState(arg2);
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 {
20188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20189 }
20190 return resultobj;
20191 fail:
20192 return NULL;
20193 }
20194
20195
20196 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj;
20198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20199 int arg2 ;
20200 bool result;
20201 PyObject * obj0 = 0 ;
20202 PyObject * obj1 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self",(char *) "id", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail;
20210 {
20211 arg2 = (int)(SWIG_As_int(obj1));
20212 if (SWIG_arg_fail(2)) SWIG_fail;
20213 }
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (bool)(arg1)->GetToolEnabled(arg2);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 {
20222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20223 }
20224 return resultobj;
20225 fail:
20226 return NULL;
20227 }
20228
20229
20230 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20231 PyObject *resultobj;
20232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20233 int arg2 ;
20234 wxString *arg3 = 0 ;
20235 bool temp3 = false ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 PyObject * obj2 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "id",(char *) "helpString", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 arg2 = (int)(SWIG_As_int(obj1));
20248 if (SWIG_arg_fail(2)) SWIG_fail;
20249 }
20250 {
20251 arg3 = wxString_in_helper(obj2);
20252 if (arg3 == NULL) SWIG_fail;
20253 temp3 = true;
20254 }
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 Py_INCREF(Py_None); resultobj = Py_None;
20263 {
20264 if (temp3)
20265 delete arg3;
20266 }
20267 return resultobj;
20268 fail:
20269 {
20270 if (temp3)
20271 delete arg3;
20272 }
20273 return NULL;
20274 }
20275
20276
20277 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20280 int arg2 ;
20281 wxString result;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self",(char *) "id", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail;
20291 {
20292 arg2 = (int)(SWIG_As_int(obj1));
20293 if (SWIG_arg_fail(2)) SWIG_fail;
20294 }
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = (arg1)->GetToolShortHelp(arg2);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 {
20303 #if wxUSE_UNICODE
20304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20305 #else
20306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20307 #endif
20308 }
20309 return resultobj;
20310 fail:
20311 return NULL;
20312 }
20313
20314
20315 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj;
20317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20318 int arg2 ;
20319 wxString *arg3 = 0 ;
20320 bool temp3 = false ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 PyObject * obj2 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "id",(char *) "helpString", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail;
20331 {
20332 arg2 = (int)(SWIG_As_int(obj1));
20333 if (SWIG_arg_fail(2)) SWIG_fail;
20334 }
20335 {
20336 arg3 = wxString_in_helper(obj2);
20337 if (arg3 == NULL) SWIG_fail;
20338 temp3 = true;
20339 }
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 Py_INCREF(Py_None); resultobj = Py_None;
20348 {
20349 if (temp3)
20350 delete arg3;
20351 }
20352 return resultobj;
20353 fail:
20354 {
20355 if (temp3)
20356 delete arg3;
20357 }
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20365 int arg2 ;
20366 wxString result;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self",(char *) "id", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20375 if (SWIG_arg_fail(1)) SWIG_fail;
20376 {
20377 arg2 = (int)(SWIG_As_int(obj1));
20378 if (SWIG_arg_fail(2)) SWIG_fail;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 result = (arg1)->GetToolLongHelp(arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 {
20388 #if wxUSE_UNICODE
20389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20390 #else
20391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20392 #endif
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20403 int arg2 ;
20404 int arg3 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 PyObject * obj2 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self",(char *) "x",(char *) "y", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail;
20415 {
20416 arg2 = (int)(SWIG_As_int(obj1));
20417 if (SWIG_arg_fail(2)) SWIG_fail;
20418 }
20419 {
20420 arg3 = (int)(SWIG_As_int(obj2));
20421 if (SWIG_arg_fail(3)) SWIG_fail;
20422 }
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 (arg1)->SetMargins(arg2,arg3);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 Py_INCREF(Py_None); resultobj = Py_None;
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20440 wxSize *arg2 = 0 ;
20441 wxSize temp2 ;
20442 PyObject * obj0 = 0 ;
20443 PyObject * obj1 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self",(char *) "size", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail;
20451 {
20452 arg2 = &temp2;
20453 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20454 }
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 (arg1)->SetMargins((wxSize const &)*arg2);
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 Py_INCREF(Py_None); resultobj = Py_None;
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20472 int arg2 ;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self",(char *) "packing", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail;
20482 {
20483 arg2 = (int)(SWIG_As_int(obj1));
20484 if (SWIG_arg_fail(2)) SWIG_fail;
20485 }
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 (arg1)->SetToolPacking(arg2);
20489
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 Py_INCREF(Py_None); resultobj = Py_None;
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20503 int arg2 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "separation", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail;
20513 {
20514 arg2 = (int)(SWIG_As_int(obj1));
20515 if (SWIG_arg_fail(2)) SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 (arg1)->SetToolSeparation(arg2);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 Py_INCREF(Py_None); resultobj = Py_None;
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20534 wxSize result;
20535 PyObject * obj0 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20542 if (SWIG_arg_fail(1)) SWIG_fail;
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = (arg1)->GetToolMargins();
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 {
20551 wxSize * resultptr;
20552 resultptr = new wxSize((wxSize &)(result));
20553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20554 }
20555 return resultobj;
20556 fail:
20557 return NULL;
20558 }
20559
20560
20561 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj;
20563 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20564 wxSize result;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (arg1)->GetMargins();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 {
20581 wxSize * resultptr;
20582 resultptr = new wxSize((wxSize &)(result));
20583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20584 }
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20594 int result;
20595 PyObject * obj0 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 result = (int)(arg1)->GetToolPacking();
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 {
20611 resultobj = SWIG_From_int((int)(result));
20612 }
20613 return resultobj;
20614 fail:
20615 return NULL;
20616 }
20617
20618
20619 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20620 PyObject *resultobj;
20621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20622 int result;
20623 PyObject * obj0 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self", NULL
20626 };
20627
20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = (int)(arg1)->GetToolSeparation();
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 {
20639 resultobj = SWIG_From_int((int)(result));
20640 }
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20650 int arg2 ;
20651 PyObject * obj0 = 0 ;
20652 PyObject * obj1 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self",(char *) "nRows", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail;
20660 {
20661 arg2 = (int)(SWIG_As_int(obj1));
20662 if (SWIG_arg_fail(2)) SWIG_fail;
20663 }
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 (arg1)->SetRows(arg2);
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 Py_INCREF(Py_None); resultobj = Py_None;
20672 return resultobj;
20673 fail:
20674 return NULL;
20675 }
20676
20677
20678 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20679 PyObject *resultobj;
20680 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20681 int arg2 ;
20682 int arg3 ;
20683 PyObject * obj0 = 0 ;
20684 PyObject * obj1 = 0 ;
20685 PyObject * obj2 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self",(char *) "rows",(char *) "cols", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail;
20693 {
20694 arg2 = (int)(SWIG_As_int(obj1));
20695 if (SWIG_arg_fail(2)) SWIG_fail;
20696 }
20697 {
20698 arg3 = (int)(SWIG_As_int(obj2));
20699 if (SWIG_arg_fail(3)) SWIG_fail;
20700 }
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 (arg1)->SetMaxRowsCols(arg2,arg3);
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 Py_INCREF(Py_None); resultobj = Py_None;
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20718 int result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = (int)(arg1)->GetMaxRows();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 {
20735 resultobj = SWIG_From_int((int)(result));
20736 }
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20746 int result;
20747 PyObject * obj0 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (int)(arg1)->GetMaxCols();
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 resultobj = SWIG_From_int((int)(result));
20764 }
20765 return resultobj;
20766 fail:
20767 return NULL;
20768 }
20769
20770
20771 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20774 wxSize *arg2 = 0 ;
20775 wxSize temp2 ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "size", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail;
20785 {
20786 arg2 = &temp2;
20787 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20788 }
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 Py_INCREF(Py_None); resultobj = Py_None;
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20806 wxSize result;
20807 PyObject * obj0 = 0 ;
20808 char *kwnames[] = {
20809 (char *) "self", NULL
20810 };
20811
20812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20814 if (SWIG_arg_fail(1)) SWIG_fail;
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (arg1)->GetToolBitmapSize();
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 {
20823 wxSize * resultptr;
20824 resultptr = new wxSize((wxSize &)(result));
20825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20826 }
20827 return resultobj;
20828 fail:
20829 return NULL;
20830 }
20831
20832
20833 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20834 PyObject *resultobj;
20835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20836 wxSize result;
20837 PyObject * obj0 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20844 if (SWIG_arg_fail(1)) SWIG_fail;
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 result = (arg1)->GetToolSize();
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 {
20853 wxSize * resultptr;
20854 resultptr = new wxSize((wxSize &)(result));
20855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20856 }
20857 return resultobj;
20858 fail:
20859 return NULL;
20860 }
20861
20862
20863 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20866 int arg2 ;
20867 int arg3 ;
20868 wxToolBarToolBase *result;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871 PyObject * obj2 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "x",(char *) "y", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail;
20879 {
20880 arg2 = (int)(SWIG_As_int(obj1));
20881 if (SWIG_arg_fail(2)) SWIG_fail;
20882 }
20883 {
20884 arg3 = (int)(SWIG_As_int(obj2));
20885 if (SWIG_arg_fail(3)) SWIG_fail;
20886 }
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 {
20895 resultobj = wxPyMake_wxObject(result, 0);
20896 }
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20906 int arg2 ;
20907 wxToolBarToolBase *result;
20908 PyObject * obj0 = 0 ;
20909 PyObject * obj1 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self",(char *) "toolid", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20916 if (SWIG_arg_fail(1)) SWIG_fail;
20917 {
20918 arg2 = (int)(SWIG_As_int(obj1));
20919 if (SWIG_arg_fail(2)) SWIG_fail;
20920 }
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 {
20929 resultobj = wxPyMake_wxObject(result, 0);
20930 }
20931 return resultobj;
20932 fail:
20933 return NULL;
20934 }
20935
20936
20937 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20940 bool result;
20941 PyObject * obj0 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail;
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (bool)(arg1)->IsVertical();
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 {
20957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20958 }
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20966 PyObject *obj;
20967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20968 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20969 Py_INCREF(obj);
20970 return Py_BuildValue((char *)"");
20971 }
20972 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxWindow *arg1 = (wxWindow *) 0 ;
20975 int arg2 = (int) -1 ;
20976 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20977 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20978 wxSize const &arg4_defvalue = wxDefaultSize ;
20979 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20980 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20981 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20982 wxString *arg6 = (wxString *) &arg6_defvalue ;
20983 wxToolBar *result;
20984 wxPoint temp3 ;
20985 wxSize temp4 ;
20986 bool temp6 = false ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 PyObject * obj2 = 0 ;
20990 PyObject * obj3 = 0 ;
20991 PyObject * obj4 = 0 ;
20992 PyObject * obj5 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail;
21000 if (obj1) {
21001 {
21002 arg2 = (int)(SWIG_As_int(obj1));
21003 if (SWIG_arg_fail(2)) SWIG_fail;
21004 }
21005 }
21006 if (obj2) {
21007 {
21008 arg3 = &temp3;
21009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21010 }
21011 }
21012 if (obj3) {
21013 {
21014 arg4 = &temp4;
21015 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21016 }
21017 }
21018 if (obj4) {
21019 {
21020 arg5 = (long)(SWIG_As_long(obj4));
21021 if (SWIG_arg_fail(5)) SWIG_fail;
21022 }
21023 }
21024 if (obj5) {
21025 {
21026 arg6 = wxString_in_helper(obj5);
21027 if (arg6 == NULL) SWIG_fail;
21028 temp6 = true;
21029 }
21030 }
21031 {
21032 if (!wxPyCheckForApp()) SWIG_fail;
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21040 {
21041 if (temp6)
21042 delete arg6;
21043 }
21044 return resultobj;
21045 fail:
21046 {
21047 if (temp6)
21048 delete arg6;
21049 }
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxToolBar *result;
21057 char *kwnames[] = {
21058 NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21062 {
21063 if (!wxPyCheckForApp()) SWIG_fail;
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = (wxToolBar *)new wxToolBar();
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxToolBar *arg1 = (wxToolBar *) 0 ;
21080 wxWindow *arg2 = (wxWindow *) 0 ;
21081 int arg3 = (int) -1 ;
21082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21084 wxSize const &arg5_defvalue = wxDefaultSize ;
21085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21086 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21087 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21088 wxString *arg7 = (wxString *) &arg7_defvalue ;
21089 bool result;
21090 wxPoint temp4 ;
21091 wxSize temp5 ;
21092 bool temp7 = false ;
21093 PyObject * obj0 = 0 ;
21094 PyObject * obj1 = 0 ;
21095 PyObject * obj2 = 0 ;
21096 PyObject * obj3 = 0 ;
21097 PyObject * obj4 = 0 ;
21098 PyObject * obj5 = 0 ;
21099 PyObject * obj6 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21106 if (SWIG_arg_fail(1)) SWIG_fail;
21107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21108 if (SWIG_arg_fail(2)) SWIG_fail;
21109 if (obj2) {
21110 {
21111 arg3 = (int)(SWIG_As_int(obj2));
21112 if (SWIG_arg_fail(3)) SWIG_fail;
21113 }
21114 }
21115 if (obj3) {
21116 {
21117 arg4 = &temp4;
21118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21119 }
21120 }
21121 if (obj4) {
21122 {
21123 arg5 = &temp5;
21124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21125 }
21126 }
21127 if (obj5) {
21128 {
21129 arg6 = (long)(SWIG_As_long(obj5));
21130 if (SWIG_arg_fail(6)) SWIG_fail;
21131 }
21132 }
21133 if (obj6) {
21134 {
21135 arg7 = wxString_in_helper(obj6);
21136 if (arg7 == NULL) SWIG_fail;
21137 temp7 = true;
21138 }
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 {
21148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21149 }
21150 {
21151 if (temp7)
21152 delete arg7;
21153 }
21154 return resultobj;
21155 fail:
21156 {
21157 if (temp7)
21158 delete arg7;
21159 }
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxToolBar *arg1 = (wxToolBar *) 0 ;
21167 int arg2 ;
21168 int arg3 ;
21169 wxToolBarToolBase *result;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 PyObject * obj2 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self",(char *) "x",(char *) "y", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail;
21180 {
21181 arg2 = (int)(SWIG_As_int(obj1));
21182 if (SWIG_arg_fail(2)) SWIG_fail;
21183 }
21184 {
21185 arg3 = (int)(SWIG_As_int(obj2));
21186 if (SWIG_arg_fail(3)) SWIG_fail;
21187 }
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196 resultobj = wxPyMake_wxObject(result, 0);
21197 }
21198 return resultobj;
21199 fail:
21200 return NULL;
21201 }
21202
21203
21204 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21207 wxVisualAttributes result;
21208 PyObject * obj0 = 0 ;
21209 char *kwnames[] = {
21210 (char *) "variant", NULL
21211 };
21212
21213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21214 if (obj0) {
21215 {
21216 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21217 if (SWIG_arg_fail(1)) SWIG_fail;
21218 }
21219 }
21220 {
21221 if (!wxPyCheckForApp()) SWIG_fail;
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 wxVisualAttributes * resultptr;
21230 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21232 }
21233 return resultobj;
21234 fail:
21235 return NULL;
21236 }
21237
21238
21239 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21240 PyObject *obj;
21241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21242 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21243 Py_INCREF(obj);
21244 return Py_BuildValue((char *)"");
21245 }
21246 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21247 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21248 return 1;
21249 }
21250
21251
21252 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21253 PyObject *pyobj;
21254
21255 {
21256 #if wxUSE_UNICODE
21257 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21258 #else
21259 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21260 #endif
21261 }
21262 return pyobj;
21263 }
21264
21265
21266 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj;
21268 wxColour const &arg1_defvalue = wxNullColour ;
21269 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21270 wxColour const &arg2_defvalue = wxNullColour ;
21271 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21272 wxFont const &arg3_defvalue = wxNullFont ;
21273 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21274 wxListItemAttr *result;
21275 wxColour temp1 ;
21276 wxColour temp2 ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 PyObject * obj2 = 0 ;
21280 char *kwnames[] = {
21281 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21282 };
21283
21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21285 if (obj0) {
21286 {
21287 arg1 = &temp1;
21288 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21289 }
21290 }
21291 if (obj1) {
21292 {
21293 arg2 = &temp2;
21294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21295 }
21296 }
21297 if (obj2) {
21298 {
21299 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21300 if (SWIG_arg_fail(3)) SWIG_fail;
21301 if (arg3 == NULL) {
21302 SWIG_null_ref("wxFont");
21303 }
21304 if (SWIG_arg_fail(3)) SWIG_fail;
21305 }
21306 }
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21324 wxColour *arg2 = 0 ;
21325 wxColour temp2 ;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "colText", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail;
21335 {
21336 arg2 = &temp2;
21337 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21338 }
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->SetTextColour((wxColour const &)*arg2);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21356 wxColour *arg2 = 0 ;
21357 wxColour temp2 ;
21358 PyObject * obj0 = 0 ;
21359 PyObject * obj1 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self",(char *) "colBack", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail;
21367 {
21368 arg2 = &temp2;
21369 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21370 }
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21374
21375 wxPyEndAllowThreads(__tstate);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 }
21378 Py_INCREF(Py_None); resultobj = Py_None;
21379 return resultobj;
21380 fail:
21381 return NULL;
21382 }
21383
21384
21385 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21386 PyObject *resultobj;
21387 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21388 wxFont *arg2 = 0 ;
21389 PyObject * obj0 = 0 ;
21390 PyObject * obj1 = 0 ;
21391 char *kwnames[] = {
21392 (char *) "self",(char *) "font", NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail;
21398 {
21399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21400 if (SWIG_arg_fail(2)) SWIG_fail;
21401 if (arg2 == NULL) {
21402 SWIG_null_ref("wxFont");
21403 }
21404 if (SWIG_arg_fail(2)) SWIG_fail;
21405 }
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->SetFont((wxFont const &)*arg2);
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 Py_INCREF(Py_None); resultobj = Py_None;
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21423 bool result;
21424 PyObject * obj0 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 result = (bool)(arg1)->HasTextColour();
21435
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
21439 {
21440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21441 }
21442 return resultobj;
21443 fail:
21444 return NULL;
21445 }
21446
21447
21448 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21451 bool result;
21452 PyObject * obj0 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (bool)(arg1)->HasBackgroundColour();
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 {
21468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21469 }
21470 return resultobj;
21471 fail:
21472 return NULL;
21473 }
21474
21475
21476 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21479 bool result;
21480 PyObject * obj0 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "self", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21487 if (SWIG_arg_fail(1)) SWIG_fail;
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 result = (bool)(arg1)->HasFont();
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 {
21496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21497 }
21498 return resultobj;
21499 fail:
21500 return NULL;
21501 }
21502
21503
21504 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj;
21506 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21507 wxColour result;
21508 PyObject * obj0 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail;
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (arg1)->GetTextColour();
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 {
21524 wxColour * resultptr;
21525 resultptr = new wxColour((wxColour &)(result));
21526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21527 }
21528 return resultobj;
21529 fail:
21530 return NULL;
21531 }
21532
21533
21534 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj;
21536 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21537 wxColour result;
21538 PyObject * obj0 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail;
21546 {
21547 PyThreadState* __tstate = wxPyBeginAllowThreads();
21548 result = (arg1)->GetBackgroundColour();
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 {
21554 wxColour * resultptr;
21555 resultptr = new wxColour((wxColour &)(result));
21556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21557 }
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21567 wxFont result;
21568 PyObject * obj0 = 0 ;
21569 char *kwnames[] = {
21570 (char *) "self", NULL
21571 };
21572
21573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21575 if (SWIG_arg_fail(1)) SWIG_fail;
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (arg1)->GetFont();
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 {
21584 wxFont * resultptr;
21585 resultptr = new wxFont((wxFont &)(result));
21586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21587 }
21588 return resultobj;
21589 fail:
21590 return NULL;
21591 }
21592
21593
21594 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21595 PyObject *resultobj;
21596 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21597 PyObject * obj0 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail;
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 wxListItemAttr_Destroy(arg1);
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 Py_INCREF(Py_None); resultobj = Py_None;
21613 return resultobj;
21614 fail:
21615 return NULL;
21616 }
21617
21618
21619 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21620 PyObject *obj;
21621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21622 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21623 Py_INCREF(obj);
21624 return Py_BuildValue((char *)"");
21625 }
21626 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21627 PyObject *resultobj;
21628 wxListItem *result;
21629 char *kwnames[] = {
21630 NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 result = (wxListItem *)new wxListItem();
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 {
21642 resultobj = wxPyMake_wxObject(result, 1);
21643 }
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxListItem *arg1 = (wxListItem *) 0 ;
21653 PyObject * obj0 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21660 if (SWIG_arg_fail(1)) SWIG_fail;
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 delete arg1;
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 Py_INCREF(Py_None); resultobj = Py_None;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxListItem *arg1 = (wxListItem *) 0 ;
21678 PyObject * obj0 = 0 ;
21679 char *kwnames[] = {
21680 (char *) "self", NULL
21681 };
21682
21683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->Clear();
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxListItem *arg1 = (wxListItem *) 0 ;
21703 PyObject * obj0 = 0 ;
21704 char *kwnames[] = {
21705 (char *) "self", NULL
21706 };
21707
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail;
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 (arg1)->ClearAttributes();
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 Py_INCREF(Py_None); resultobj = Py_None;
21719 return resultobj;
21720 fail:
21721 return NULL;
21722 }
21723
21724
21725 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21726 PyObject *resultobj;
21727 wxListItem *arg1 = (wxListItem *) 0 ;
21728 long arg2 ;
21729 PyObject * obj0 = 0 ;
21730 PyObject * obj1 = 0 ;
21731 char *kwnames[] = {
21732 (char *) "self",(char *) "mask", NULL
21733 };
21734
21735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21737 if (SWIG_arg_fail(1)) SWIG_fail;
21738 {
21739 arg2 = (long)(SWIG_As_long(obj1));
21740 if (SWIG_arg_fail(2)) SWIG_fail;
21741 }
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 (arg1)->SetMask(arg2);
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 Py_INCREF(Py_None); resultobj = Py_None;
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxListItem *arg1 = (wxListItem *) 0 ;
21759 long arg2 ;
21760 PyObject * obj0 = 0 ;
21761 PyObject * obj1 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "id", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21768 if (SWIG_arg_fail(1)) SWIG_fail;
21769 {
21770 arg2 = (long)(SWIG_As_long(obj1));
21771 if (SWIG_arg_fail(2)) SWIG_fail;
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->SetId(arg2);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxListItem *arg1 = (wxListItem *) 0 ;
21790 int arg2 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "col", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail;
21800 {
21801 arg2 = (int)(SWIG_As_int(obj1));
21802 if (SWIG_arg_fail(2)) SWIG_fail;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->SetColumn(arg2);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxListItem *arg1 = (wxListItem *) 0 ;
21821 long arg2 ;
21822 PyObject * obj0 = 0 ;
21823 PyObject * obj1 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self",(char *) "state", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21830 if (SWIG_arg_fail(1)) SWIG_fail;
21831 {
21832 arg2 = (long)(SWIG_As_long(obj1));
21833 if (SWIG_arg_fail(2)) SWIG_fail;
21834 }
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 (arg1)->SetState(arg2);
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 Py_INCREF(Py_None); resultobj = Py_None;
21843 return resultobj;
21844 fail:
21845 return NULL;
21846 }
21847
21848
21849 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21850 PyObject *resultobj;
21851 wxListItem *arg1 = (wxListItem *) 0 ;
21852 long arg2 ;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "stateMask", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21861 if (SWIG_arg_fail(1)) SWIG_fail;
21862 {
21863 arg2 = (long)(SWIG_As_long(obj1));
21864 if (SWIG_arg_fail(2)) SWIG_fail;
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetStateMask(arg2);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxListItem *arg1 = (wxListItem *) 0 ;
21883 wxString *arg2 = 0 ;
21884 bool temp2 = false ;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self",(char *) "text", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail;
21894 {
21895 arg2 = wxString_in_helper(obj1);
21896 if (arg2 == NULL) SWIG_fail;
21897 temp2 = true;
21898 }
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->SetText((wxString const &)*arg2);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 {
21908 if (temp2)
21909 delete arg2;
21910 }
21911 return resultobj;
21912 fail:
21913 {
21914 if (temp2)
21915 delete arg2;
21916 }
21917 return NULL;
21918 }
21919
21920
21921 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxListItem *arg1 = (wxListItem *) 0 ;
21924 int arg2 ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 char *kwnames[] = {
21928 (char *) "self",(char *) "image", NULL
21929 };
21930
21931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21933 if (SWIG_arg_fail(1)) SWIG_fail;
21934 {
21935 arg2 = (int)(SWIG_As_int(obj1));
21936 if (SWIG_arg_fail(2)) SWIG_fail;
21937 }
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 (arg1)->SetImage(arg2);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 Py_INCREF(Py_None); resultobj = Py_None;
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxListItem *arg1 = (wxListItem *) 0 ;
21955 long arg2 ;
21956 PyObject * obj0 = 0 ;
21957 PyObject * obj1 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "data", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail;
21965 {
21966 arg2 = (long)(SWIG_As_long(obj1));
21967 if (SWIG_arg_fail(2)) SWIG_fail;
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 (arg1)->SetData(arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 Py_INCREF(Py_None); resultobj = Py_None;
21977 return resultobj;
21978 fail:
21979 return NULL;
21980 }
21981
21982
21983 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21984 PyObject *resultobj;
21985 wxListItem *arg1 = (wxListItem *) 0 ;
21986 int arg2 ;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self",(char *) "width", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
21994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail;
21996 {
21997 arg2 = (int)(SWIG_As_int(obj1));
21998 if (SWIG_arg_fail(2)) SWIG_fail;
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->SetWidth(arg2);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxListItem *arg1 = (wxListItem *) 0 ;
22017 wxListColumnFormat arg2 ;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self",(char *) "align", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22026 if (SWIG_arg_fail(1)) SWIG_fail;
22027 {
22028 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22029 if (SWIG_arg_fail(2)) SWIG_fail;
22030 }
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 (arg1)->SetAlign((wxListColumnFormat )arg2);
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 Py_INCREF(Py_None); resultobj = Py_None;
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxListItem *arg1 = (wxListItem *) 0 ;
22048 wxColour *arg2 = 0 ;
22049 wxColour temp2 ;
22050 PyObject * obj0 = 0 ;
22051 PyObject * obj1 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "colText", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22058 if (SWIG_arg_fail(1)) SWIG_fail;
22059 {
22060 arg2 = &temp2;
22061 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22062 }
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 (arg1)->SetTextColour((wxColour const &)*arg2);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 Py_INCREF(Py_None); resultobj = Py_None;
22071 return resultobj;
22072 fail:
22073 return NULL;
22074 }
22075
22076
22077 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22078 PyObject *resultobj;
22079 wxListItem *arg1 = (wxListItem *) 0 ;
22080 wxColour *arg2 = 0 ;
22081 wxColour temp2 ;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "colBack", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22090 if (SWIG_arg_fail(1)) SWIG_fail;
22091 {
22092 arg2 = &temp2;
22093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22094 }
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 Py_INCREF(Py_None); resultobj = Py_None;
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxListItem *arg1 = (wxListItem *) 0 ;
22112 wxFont *arg2 = 0 ;
22113 PyObject * obj0 = 0 ;
22114 PyObject * obj1 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "font", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail;
22122 {
22123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22124 if (SWIG_arg_fail(2)) SWIG_fail;
22125 if (arg2 == NULL) {
22126 SWIG_null_ref("wxFont");
22127 }
22128 if (SWIG_arg_fail(2)) SWIG_fail;
22129 }
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 (arg1)->SetFont((wxFont const &)*arg2);
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 Py_INCREF(Py_None); resultobj = Py_None;
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj;
22146 wxListItem *arg1 = (wxListItem *) 0 ;
22147 long result;
22148 PyObject * obj0 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (long)(arg1)->GetMask();
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 resultobj = SWIG_From_long((long)(result));
22165 }
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxListItem *arg1 = (wxListItem *) 0 ;
22175 long result;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (long)(arg1)->GetId();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 resultobj = SWIG_From_long((long)(result));
22193 }
22194 return resultobj;
22195 fail:
22196 return NULL;
22197 }
22198
22199
22200 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22201 PyObject *resultobj;
22202 wxListItem *arg1 = (wxListItem *) 0 ;
22203 int result;
22204 PyObject * obj0 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail;
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 result = (int)(arg1)->GetColumn();
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220 resultobj = SWIG_From_int((int)(result));
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxListItem *arg1 = (wxListItem *) 0 ;
22231 long result;
22232 PyObject * obj0 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (long)(arg1)->GetState();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 resultobj = SWIG_From_long((long)(result));
22249 }
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxListItem *arg1 = (wxListItem *) 0 ;
22259 wxString *result;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail;
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 {
22271 wxString const &_result_ref = (arg1)->GetText();
22272 result = (wxString *) &_result_ref;
22273 }
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 {
22279 #if wxUSE_UNICODE
22280 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22281 #else
22282 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22283 #endif
22284 }
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxListItem *arg1 = (wxListItem *) 0 ;
22294 int result;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = (int)(arg1)->GetImage();
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 {
22311 resultobj = SWIG_From_int((int)(result));
22312 }
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxListItem *arg1 = (wxListItem *) 0 ;
22322 long result;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (long)(arg1)->GetData();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 resultobj = SWIG_From_long((long)(result));
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxListItem *arg1 = (wxListItem *) 0 ;
22350 int result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (int)(arg1)->GetWidth();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 {
22367 resultobj = SWIG_From_int((int)(result));
22368 }
22369 return resultobj;
22370 fail:
22371 return NULL;
22372 }
22373
22374
22375 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxListItem *arg1 = (wxListItem *) 0 ;
22378 wxListColumnFormat result;
22379 PyObject * obj0 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (wxListColumnFormat)(arg1)->GetAlign();
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_From_int((result));
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxListItem *arg1 = (wxListItem *) 0 ;
22404 wxListItemAttr *result;
22405 PyObject * obj0 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail;
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (wxListItemAttr *)(arg1)->GetAttributes();
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj;
22429 wxListItem *arg1 = (wxListItem *) 0 ;
22430 bool result;
22431 PyObject * obj0 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail;
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = (bool)(arg1)->HasAttributes();
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 {
22447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22448 }
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxListItem *arg1 = (wxListItem *) 0 ;
22458 wxColour result;
22459 PyObject * obj0 = 0 ;
22460 char *kwnames[] = {
22461 (char *) "self", NULL
22462 };
22463
22464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22466 if (SWIG_arg_fail(1)) SWIG_fail;
22467 {
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 result = ((wxListItem const *)arg1)->GetTextColour();
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 {
22475 wxColour * resultptr;
22476 resultptr = new wxColour((wxColour &)(result));
22477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22478 }
22479 return resultobj;
22480 fail:
22481 return NULL;
22482 }
22483
22484
22485 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxListItem *arg1 = (wxListItem *) 0 ;
22488 wxColour result;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22496 if (SWIG_arg_fail(1)) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 {
22505 wxColour * resultptr;
22506 resultptr = new wxColour((wxColour &)(result));
22507 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22508 }
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxListItem *arg1 = (wxListItem *) 0 ;
22518 wxFont result;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22526 if (SWIG_arg_fail(1)) SWIG_fail;
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 result = ((wxListItem const *)arg1)->GetFont();
22530
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 {
22535 wxFont * resultptr;
22536 resultptr = new wxFont((wxFont &)(result));
22537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22538 }
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxListItem *arg1 = (wxListItem *) 0 ;
22548 long arg2 ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self",(char *) "m_mask", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail;
22558 {
22559 arg2 = (long)(SWIG_As_long(obj1));
22560 if (SWIG_arg_fail(2)) SWIG_fail;
22561 }
22562 if (arg1) (arg1)->m_mask = arg2;
22563
22564 Py_INCREF(Py_None); resultobj = Py_None;
22565 return resultobj;
22566 fail:
22567 return NULL;
22568 }
22569
22570
22571 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj;
22573 wxListItem *arg1 = (wxListItem *) 0 ;
22574 long result;
22575 PyObject * obj0 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22582 if (SWIG_arg_fail(1)) SWIG_fail;
22583 result = (long) ((arg1)->m_mask);
22584
22585 {
22586 resultobj = SWIG_From_long((long)(result));
22587 }
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxListItem *arg1 = (wxListItem *) 0 ;
22597 long arg2 ;
22598 PyObject * obj0 = 0 ;
22599 PyObject * obj1 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self",(char *) "m_itemId", NULL
22602 };
22603
22604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail;
22607 {
22608 arg2 = (long)(SWIG_As_long(obj1));
22609 if (SWIG_arg_fail(2)) SWIG_fail;
22610 }
22611 if (arg1) (arg1)->m_itemId = arg2;
22612
22613 Py_INCREF(Py_None); resultobj = Py_None;
22614 return resultobj;
22615 fail:
22616 return NULL;
22617 }
22618
22619
22620 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxListItem *arg1 = (wxListItem *) 0 ;
22623 long result;
22624 PyObject * obj0 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail;
22632 result = (long) ((arg1)->m_itemId);
22633
22634 {
22635 resultobj = SWIG_From_long((long)(result));
22636 }
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxListItem *arg1 = (wxListItem *) 0 ;
22646 int arg2 ;
22647 PyObject * obj0 = 0 ;
22648 PyObject * obj1 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self",(char *) "m_col", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail;
22656 {
22657 arg2 = (int)(SWIG_As_int(obj1));
22658 if (SWIG_arg_fail(2)) SWIG_fail;
22659 }
22660 if (arg1) (arg1)->m_col = arg2;
22661
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxListItem *arg1 = (wxListItem *) 0 ;
22672 int result;
22673 PyObject * obj0 = 0 ;
22674 char *kwnames[] = {
22675 (char *) "self", NULL
22676 };
22677
22678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail;
22681 result = (int) ((arg1)->m_col);
22682
22683 {
22684 resultobj = SWIG_From_int((int)(result));
22685 }
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxListItem *arg1 = (wxListItem *) 0 ;
22695 long arg2 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "m_state", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22704 if (SWIG_arg_fail(1)) SWIG_fail;
22705 {
22706 arg2 = (long)(SWIG_As_long(obj1));
22707 if (SWIG_arg_fail(2)) SWIG_fail;
22708 }
22709 if (arg1) (arg1)->m_state = arg2;
22710
22711 Py_INCREF(Py_None); resultobj = Py_None;
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxListItem *arg1 = (wxListItem *) 0 ;
22721 long result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail;
22730 result = (long) ((arg1)->m_state);
22731
22732 {
22733 resultobj = SWIG_From_long((long)(result));
22734 }
22735 return resultobj;
22736 fail:
22737 return NULL;
22738 }
22739
22740
22741 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj;
22743 wxListItem *arg1 = (wxListItem *) 0 ;
22744 long arg2 ;
22745 PyObject * obj0 = 0 ;
22746 PyObject * obj1 = 0 ;
22747 char *kwnames[] = {
22748 (char *) "self",(char *) "m_stateMask", NULL
22749 };
22750
22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22753 if (SWIG_arg_fail(1)) SWIG_fail;
22754 {
22755 arg2 = (long)(SWIG_As_long(obj1));
22756 if (SWIG_arg_fail(2)) SWIG_fail;
22757 }
22758 if (arg1) (arg1)->m_stateMask = arg2;
22759
22760 Py_INCREF(Py_None); resultobj = Py_None;
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxListItem *arg1 = (wxListItem *) 0 ;
22770 long result;
22771 PyObject * obj0 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail;
22779 result = (long) ((arg1)->m_stateMask);
22780
22781 {
22782 resultobj = SWIG_From_long((long)(result));
22783 }
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj;
22792 wxListItem *arg1 = (wxListItem *) 0 ;
22793 wxString *arg2 = (wxString *) 0 ;
22794 bool temp2 = false ;
22795 PyObject * obj0 = 0 ;
22796 PyObject * obj1 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self",(char *) "m_text", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail;
22804 {
22805 arg2 = wxString_in_helper(obj1);
22806 if (arg2 == NULL) SWIG_fail;
22807 temp2 = true;
22808 }
22809 if (arg1) (arg1)->m_text = *arg2;
22810
22811 Py_INCREF(Py_None); resultobj = Py_None;
22812 {
22813 if (temp2)
22814 delete arg2;
22815 }
22816 return resultobj;
22817 fail:
22818 {
22819 if (temp2)
22820 delete arg2;
22821 }
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxListItem *arg1 = (wxListItem *) 0 ;
22829 wxString *result;
22830 PyObject * obj0 = 0 ;
22831 char *kwnames[] = {
22832 (char *) "self", NULL
22833 };
22834
22835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail;
22838 result = (wxString *)& ((arg1)->m_text);
22839
22840 {
22841 #if wxUSE_UNICODE
22842 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22843 #else
22844 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22845 #endif
22846 }
22847 return resultobj;
22848 fail:
22849 return NULL;
22850 }
22851
22852
22853 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxListItem *arg1 = (wxListItem *) 0 ;
22856 int arg2 ;
22857 PyObject * obj0 = 0 ;
22858 PyObject * obj1 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "self",(char *) "m_image", NULL
22861 };
22862
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22865 if (SWIG_arg_fail(1)) SWIG_fail;
22866 {
22867 arg2 = (int)(SWIG_As_int(obj1));
22868 if (SWIG_arg_fail(2)) SWIG_fail;
22869 }
22870 if (arg1) (arg1)->m_image = arg2;
22871
22872 Py_INCREF(Py_None); resultobj = Py_None;
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxListItem *arg1 = (wxListItem *) 0 ;
22882 int result;
22883 PyObject * obj0 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail;
22891 result = (int) ((arg1)->m_image);
22892
22893 {
22894 resultobj = SWIG_From_int((int)(result));
22895 }
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxListItem *arg1 = (wxListItem *) 0 ;
22905 long arg2 ;
22906 PyObject * obj0 = 0 ;
22907 PyObject * obj1 = 0 ;
22908 char *kwnames[] = {
22909 (char *) "self",(char *) "m_data", NULL
22910 };
22911
22912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail;
22915 {
22916 arg2 = (long)(SWIG_As_long(obj1));
22917 if (SWIG_arg_fail(2)) SWIG_fail;
22918 }
22919 if (arg1) (arg1)->m_data = arg2;
22920
22921 Py_INCREF(Py_None); resultobj = Py_None;
22922 return resultobj;
22923 fail:
22924 return NULL;
22925 }
22926
22927
22928 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj;
22930 wxListItem *arg1 = (wxListItem *) 0 ;
22931 long result;
22932 PyObject * obj0 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22939 if (SWIG_arg_fail(1)) SWIG_fail;
22940 result = (long) ((arg1)->m_data);
22941
22942 {
22943 resultobj = SWIG_From_long((long)(result));
22944 }
22945 return resultobj;
22946 fail:
22947 return NULL;
22948 }
22949
22950
22951 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22952 PyObject *resultobj;
22953 wxListItem *arg1 = (wxListItem *) 0 ;
22954 int arg2 ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "m_format", NULL
22959 };
22960
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail;
22964 {
22965 arg2 = (int)(SWIG_As_int(obj1));
22966 if (SWIG_arg_fail(2)) SWIG_fail;
22967 }
22968 if (arg1) (arg1)->m_format = arg2;
22969
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxListItem *arg1 = (wxListItem *) 0 ;
22980 int result;
22981 PyObject * obj0 = 0 ;
22982 char *kwnames[] = {
22983 (char *) "self", NULL
22984 };
22985
22986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22988 if (SWIG_arg_fail(1)) SWIG_fail;
22989 result = (int) ((arg1)->m_format);
22990
22991 {
22992 resultobj = SWIG_From_int((int)(result));
22993 }
22994 return resultobj;
22995 fail:
22996 return NULL;
22997 }
22998
22999
23000 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj;
23002 wxListItem *arg1 = (wxListItem *) 0 ;
23003 int arg2 ;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006 char *kwnames[] = {
23007 (char *) "self",(char *) "m_width", NULL
23008 };
23009
23010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23012 if (SWIG_arg_fail(1)) SWIG_fail;
23013 {
23014 arg2 = (int)(SWIG_As_int(obj1));
23015 if (SWIG_arg_fail(2)) SWIG_fail;
23016 }
23017 if (arg1) (arg1)->m_width = arg2;
23018
23019 Py_INCREF(Py_None); resultobj = Py_None;
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxListItem *arg1 = (wxListItem *) 0 ;
23029 int result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail;
23038 result = (int) ((arg1)->m_width);
23039
23040 {
23041 resultobj = SWIG_From_int((int)(result));
23042 }
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23050 PyObject *obj;
23051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23052 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23053 Py_INCREF(obj);
23054 return Py_BuildValue((char *)"");
23055 }
23056 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj;
23058 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23059 int arg2 = (int) 0 ;
23060 wxListEvent *result;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "commandType",(char *) "id", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23068 if (obj0) {
23069 {
23070 arg1 = (wxEventType)(SWIG_As_int(obj0));
23071 if (SWIG_arg_fail(1)) SWIG_fail;
23072 }
23073 }
23074 if (obj1) {
23075 {
23076 arg2 = (int)(SWIG_As_int(obj1));
23077 if (SWIG_arg_fail(2)) SWIG_fail;
23078 }
23079 }
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23088 return resultobj;
23089 fail:
23090 return NULL;
23091 }
23092
23093
23094 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23095 PyObject *resultobj;
23096 wxListEvent *arg1 = (wxListEvent *) 0 ;
23097 int arg2 ;
23098 PyObject * obj0 = 0 ;
23099 PyObject * obj1 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self",(char *) "m_code", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23106 if (SWIG_arg_fail(1)) SWIG_fail;
23107 {
23108 arg2 = (int)(SWIG_As_int(obj1));
23109 if (SWIG_arg_fail(2)) SWIG_fail;
23110 }
23111 if (arg1) (arg1)->m_code = arg2;
23112
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117 }
23118
23119
23120 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 wxListEvent *arg1 = (wxListEvent *) 0 ;
23123 int result;
23124 PyObject * obj0 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23131 if (SWIG_arg_fail(1)) SWIG_fail;
23132 result = (int) ((arg1)->m_code);
23133
23134 {
23135 resultobj = SWIG_From_int((int)(result));
23136 }
23137 return resultobj;
23138 fail:
23139 return NULL;
23140 }
23141
23142
23143 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23144 PyObject *resultobj;
23145 wxListEvent *arg1 = (wxListEvent *) 0 ;
23146 long arg2 ;
23147 PyObject * obj0 = 0 ;
23148 PyObject * obj1 = 0 ;
23149 char *kwnames[] = {
23150 (char *) "self",(char *) "m_oldItemIndex", NULL
23151 };
23152
23153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail;
23156 {
23157 arg2 = (long)(SWIG_As_long(obj1));
23158 if (SWIG_arg_fail(2)) SWIG_fail;
23159 }
23160 if (arg1) (arg1)->m_oldItemIndex = arg2;
23161
23162 Py_INCREF(Py_None); resultobj = Py_None;
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxListEvent *arg1 = (wxListEvent *) 0 ;
23172 long result;
23173 PyObject * obj0 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail;
23181 result = (long) ((arg1)->m_oldItemIndex);
23182
23183 {
23184 resultobj = SWIG_From_long((long)(result));
23185 }
23186 return resultobj;
23187 fail:
23188 return NULL;
23189 }
23190
23191
23192 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj;
23194 wxListEvent *arg1 = (wxListEvent *) 0 ;
23195 long arg2 ;
23196 PyObject * obj0 = 0 ;
23197 PyObject * obj1 = 0 ;
23198 char *kwnames[] = {
23199 (char *) "self",(char *) "m_itemIndex", NULL
23200 };
23201
23202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23204 if (SWIG_arg_fail(1)) SWIG_fail;
23205 {
23206 arg2 = (long)(SWIG_As_long(obj1));
23207 if (SWIG_arg_fail(2)) SWIG_fail;
23208 }
23209 if (arg1) (arg1)->m_itemIndex = arg2;
23210
23211 Py_INCREF(Py_None); resultobj = Py_None;
23212 return resultobj;
23213 fail:
23214 return NULL;
23215 }
23216
23217
23218 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23219 PyObject *resultobj;
23220 wxListEvent *arg1 = (wxListEvent *) 0 ;
23221 long result;
23222 PyObject * obj0 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail;
23230 result = (long) ((arg1)->m_itemIndex);
23231
23232 {
23233 resultobj = SWIG_From_long((long)(result));
23234 }
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxListEvent *arg1 = (wxListEvent *) 0 ;
23244 int arg2 ;
23245 PyObject * obj0 = 0 ;
23246 PyObject * obj1 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self",(char *) "m_col", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail;
23254 {
23255 arg2 = (int)(SWIG_As_int(obj1));
23256 if (SWIG_arg_fail(2)) SWIG_fail;
23257 }
23258 if (arg1) (arg1)->m_col = arg2;
23259
23260 Py_INCREF(Py_None); resultobj = Py_None;
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxListEvent *arg1 = (wxListEvent *) 0 ;
23270 int result;
23271 PyObject * obj0 = 0 ;
23272 char *kwnames[] = {
23273 (char *) "self", NULL
23274 };
23275
23276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail;
23279 result = (int) ((arg1)->m_col);
23280
23281 {
23282 resultobj = SWIG_From_int((int)(result));
23283 }
23284 return resultobj;
23285 fail:
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxListEvent *arg1 = (wxListEvent *) 0 ;
23293 wxPoint *arg2 = (wxPoint *) 0 ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "m_pointDrag", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail;
23305 if (arg1) (arg1)->m_pointDrag = *arg2;
23306
23307 Py_INCREF(Py_None); resultobj = Py_None;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxListEvent *arg1 = (wxListEvent *) 0 ;
23317 wxPoint *result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
23326 result = (wxPoint *)& ((arg1)->m_pointDrag);
23327
23328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxListEvent *arg1 = (wxListEvent *) 0 ;
23338 wxListItem *result;
23339 PyObject * obj0 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail;
23347 result = (wxListItem *)& ((arg1)->m_item);
23348
23349 {
23350 resultobj = wxPyMake_wxObject(result, 0);
23351 }
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxListEvent *arg1 = (wxListEvent *) 0 ;
23361 int result;
23362 PyObject * obj0 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail;
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (int)(arg1)->GetKeyCode();
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 {
23378 resultobj = SWIG_From_int((int)(result));
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxListEvent *arg1 = (wxListEvent *) 0 ;
23389 long result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (long)(arg1)->GetIndex();
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 {
23406 resultobj = SWIG_From_long((long)(result));
23407 }
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxListEvent *arg1 = (wxListEvent *) 0 ;
23417 int result;
23418 PyObject * obj0 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (int)(arg1)->GetColumn();
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 {
23434 resultobj = SWIG_From_int((int)(result));
23435 }
23436 return resultobj;
23437 fail:
23438 return NULL;
23439 }
23440
23441
23442 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23443 PyObject *resultobj;
23444 wxListEvent *arg1 = (wxListEvent *) 0 ;
23445 wxPoint result;
23446 PyObject * obj0 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 result = (arg1)->GetPoint();
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 {
23462 wxPoint * resultptr;
23463 resultptr = new wxPoint((wxPoint &)(result));
23464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23465 }
23466 return resultobj;
23467 fail:
23468 return NULL;
23469 }
23470
23471
23472 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxListEvent *arg1 = (wxListEvent *) 0 ;
23475 wxString *result;
23476 PyObject * obj0 = 0 ;
23477 char *kwnames[] = {
23478 (char *) "self", NULL
23479 };
23480
23481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23483 if (SWIG_arg_fail(1)) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 {
23487 wxString const &_result_ref = (arg1)->GetLabel();
23488 result = (wxString *) &_result_ref;
23489 }
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 #if wxUSE_UNICODE
23496 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23497 #else
23498 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23499 #endif
23500 }
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxListEvent *arg1 = (wxListEvent *) 0 ;
23510 wxString *result;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail;
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 {
23522 wxString const &_result_ref = (arg1)->GetText();
23523 result = (wxString *) &_result_ref;
23524 }
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 {
23530 #if wxUSE_UNICODE
23531 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23532 #else
23533 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23534 #endif
23535 }
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj;
23544 wxListEvent *arg1 = (wxListEvent *) 0 ;
23545 int result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (int)(arg1)->GetImage();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562 resultobj = SWIG_From_int((int)(result));
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxListEvent *arg1 = (wxListEvent *) 0 ;
23573 long result;
23574 PyObject * obj0 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail;
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (long)(arg1)->GetData();
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 resultobj = SWIG_From_long((long)(result));
23591 }
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxListEvent *arg1 = (wxListEvent *) 0 ;
23601 long result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (long)(arg1)->GetMask();
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 {
23618 resultobj = SWIG_From_long((long)(result));
23619 }
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxListEvent *arg1 = (wxListEvent *) 0 ;
23629 wxListItem *result;
23630 PyObject * obj0 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "self", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23637 if (SWIG_arg_fail(1)) SWIG_fail;
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 {
23641 wxListItem const &_result_ref = (arg1)->GetItem();
23642 result = (wxListItem *) &_result_ref;
23643 }
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxListEvent *arg1 = (wxListEvent *) 0 ;
23658 long result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (long)(arg1)->GetCacheFrom();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = SWIG_From_long((long)(result));
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxListEvent *arg1 = (wxListEvent *) 0 ;
23686 long result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 result = (long)(arg1)->GetCacheTo();
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 {
23703 resultobj = SWIG_From_long((long)(result));
23704 }
23705 return resultobj;
23706 fail:
23707 return NULL;
23708 }
23709
23710
23711 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23712 PyObject *resultobj;
23713 wxListEvent *arg1 = (wxListEvent *) 0 ;
23714 bool result;
23715 PyObject * obj0 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23722 if (SWIG_arg_fail(1)) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 {
23731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23732 }
23733 return resultobj;
23734 fail:
23735 return NULL;
23736 }
23737
23738
23739 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxListEvent *arg1 = (wxListEvent *) 0 ;
23742 bool arg2 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "editCancelled", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail;
23752 {
23753 arg2 = (bool)(SWIG_As_bool(obj1));
23754 if (SWIG_arg_fail(2)) SWIG_fail;
23755 }
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 (arg1)->SetEditCanceled(arg2);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767 }
23768
23769
23770 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23771 PyObject *obj;
23772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23773 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23774 Py_INCREF(obj);
23775 return Py_BuildValue((char *)"");
23776 }
23777 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxWindow *arg1 = (wxWindow *) 0 ;
23780 int arg2 = (int) -1 ;
23781 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23782 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23783 wxSize const &arg4_defvalue = wxDefaultSize ;
23784 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23785 long arg5 = (long) wxLC_ICON ;
23786 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23787 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23788 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23789 wxString *arg7 = (wxString *) &arg7_defvalue ;
23790 wxPyListCtrl *result;
23791 wxPoint temp3 ;
23792 wxSize temp4 ;
23793 bool temp7 = false ;
23794 PyObject * obj0 = 0 ;
23795 PyObject * obj1 = 0 ;
23796 PyObject * obj2 = 0 ;
23797 PyObject * obj3 = 0 ;
23798 PyObject * obj4 = 0 ;
23799 PyObject * obj5 = 0 ;
23800 PyObject * obj6 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23807 if (SWIG_arg_fail(1)) SWIG_fail;
23808 if (obj1) {
23809 {
23810 arg2 = (int)(SWIG_As_int(obj1));
23811 if (SWIG_arg_fail(2)) SWIG_fail;
23812 }
23813 }
23814 if (obj2) {
23815 {
23816 arg3 = &temp3;
23817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23818 }
23819 }
23820 if (obj3) {
23821 {
23822 arg4 = &temp4;
23823 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23824 }
23825 }
23826 if (obj4) {
23827 {
23828 arg5 = (long)(SWIG_As_long(obj4));
23829 if (SWIG_arg_fail(5)) SWIG_fail;
23830 }
23831 }
23832 if (obj5) {
23833 {
23834 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23835 if (SWIG_arg_fail(6)) SWIG_fail;
23836 if (arg6 == NULL) {
23837 SWIG_null_ref("wxValidator");
23838 }
23839 if (SWIG_arg_fail(6)) SWIG_fail;
23840 }
23841 }
23842 if (obj6) {
23843 {
23844 arg7 = wxString_in_helper(obj6);
23845 if (arg7 == NULL) SWIG_fail;
23846 temp7 = true;
23847 }
23848 }
23849 {
23850 if (!wxPyCheckForApp()) SWIG_fail;
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23858 {
23859 if (temp7)
23860 delete arg7;
23861 }
23862 return resultobj;
23863 fail:
23864 {
23865 if (temp7)
23866 delete arg7;
23867 }
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxPyListCtrl *result;
23875 char *kwnames[] = {
23876 NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23880 {
23881 if (!wxPyCheckForApp()) SWIG_fail;
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (wxPyListCtrl *)new wxPyListCtrl();
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj;
23897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23898 wxWindow *arg2 = (wxWindow *) 0 ;
23899 int arg3 = (int) -1 ;
23900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23902 wxSize const &arg5_defvalue = wxDefaultSize ;
23903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23904 long arg6 = (long) wxLC_ICON ;
23905 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23906 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23907 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23908 wxString *arg8 = (wxString *) &arg8_defvalue ;
23909 bool result;
23910 wxPoint temp4 ;
23911 wxSize temp5 ;
23912 bool temp8 = false ;
23913 PyObject * obj0 = 0 ;
23914 PyObject * obj1 = 0 ;
23915 PyObject * obj2 = 0 ;
23916 PyObject * obj3 = 0 ;
23917 PyObject * obj4 = 0 ;
23918 PyObject * obj5 = 0 ;
23919 PyObject * obj6 = 0 ;
23920 PyObject * obj7 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23923 };
23924
23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23927 if (SWIG_arg_fail(1)) SWIG_fail;
23928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23929 if (SWIG_arg_fail(2)) SWIG_fail;
23930 if (obj2) {
23931 {
23932 arg3 = (int)(SWIG_As_int(obj2));
23933 if (SWIG_arg_fail(3)) SWIG_fail;
23934 }
23935 }
23936 if (obj3) {
23937 {
23938 arg4 = &temp4;
23939 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23940 }
23941 }
23942 if (obj4) {
23943 {
23944 arg5 = &temp5;
23945 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23946 }
23947 }
23948 if (obj5) {
23949 {
23950 arg6 = (long)(SWIG_As_long(obj5));
23951 if (SWIG_arg_fail(6)) SWIG_fail;
23952 }
23953 }
23954 if (obj6) {
23955 {
23956 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23957 if (SWIG_arg_fail(7)) SWIG_fail;
23958 if (arg7 == NULL) {
23959 SWIG_null_ref("wxValidator");
23960 }
23961 if (SWIG_arg_fail(7)) SWIG_fail;
23962 }
23963 }
23964 if (obj7) {
23965 {
23966 arg8 = wxString_in_helper(obj7);
23967 if (arg8 == NULL) SWIG_fail;
23968 temp8 = true;
23969 }
23970 }
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 {
23979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23980 }
23981 {
23982 if (temp8)
23983 delete arg8;
23984 }
23985 return resultobj;
23986 fail:
23987 {
23988 if (temp8)
23989 delete arg8;
23990 }
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23998 PyObject *arg2 = (PyObject *) 0 ;
23999 PyObject *arg3 = (PyObject *) 0 ;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 PyObject * obj2 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "self",(char *) "_class", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24009 if (SWIG_arg_fail(1)) SWIG_fail;
24010 arg2 = obj1;
24011 arg3 = obj2;
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 (arg1)->_setCallbackInfo(arg2,arg3);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 Py_INCREF(Py_None); resultobj = Py_None;
24020 return resultobj;
24021 fail:
24022 return NULL;
24023 }
24024
24025
24026 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24029 wxColour *arg2 = 0 ;
24030 bool result;
24031 wxColour temp2 ;
24032 PyObject * obj0 = 0 ;
24033 PyObject * obj1 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self",(char *) "col", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail;
24041 {
24042 arg2 = &temp2;
24043 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24044 }
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 {
24053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24054 }
24055 return resultobj;
24056 fail:
24057 return NULL;
24058 }
24059
24060
24061 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj;
24063 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24064 wxColour *arg2 = 0 ;
24065 bool result;
24066 wxColour temp2 ;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self",(char *) "col", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24075 if (SWIG_arg_fail(1)) SWIG_fail;
24076 {
24077 arg2 = &temp2;
24078 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24079 }
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 {
24088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24089 }
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24099 int arg2 ;
24100 wxListItem *result;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "col", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24109 if (SWIG_arg_fail(1)) SWIG_fail;
24110 {
24111 arg2 = (int)(SWIG_As_int(obj1));
24112 if (SWIG_arg_fail(2)) SWIG_fail;
24113 }
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 {
24122 resultobj = wxPyMake_wxObject(result, 0);
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24133 int arg2 ;
24134 wxListItem *arg3 = 0 ;
24135 bool result;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 PyObject * obj2 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self",(char *) "col",(char *) "item", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail;
24146 {
24147 arg2 = (int)(SWIG_As_int(obj1));
24148 if (SWIG_arg_fail(2)) SWIG_fail;
24149 }
24150 {
24151 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24152 if (SWIG_arg_fail(3)) SWIG_fail;
24153 if (arg3 == NULL) {
24154 SWIG_null_ref("wxListItem");
24155 }
24156 if (SWIG_arg_fail(3)) SWIG_fail;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 {
24166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24167 }
24168 return resultobj;
24169 fail:
24170 return NULL;
24171 }
24172
24173
24174 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj;
24176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24177 int arg2 ;
24178 int result;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "col", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail;
24188 {
24189 arg2 = (int)(SWIG_As_int(obj1));
24190 if (SWIG_arg_fail(2)) SWIG_fail;
24191 }
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 {
24200 resultobj = SWIG_From_int((int)(result));
24201 }
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24211 int arg2 ;
24212 int arg3 ;
24213 bool result;
24214 PyObject * obj0 = 0 ;
24215 PyObject * obj1 = 0 ;
24216 PyObject * obj2 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self",(char *) "col",(char *) "width", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail;
24224 {
24225 arg2 = (int)(SWIG_As_int(obj1));
24226 if (SWIG_arg_fail(2)) SWIG_fail;
24227 }
24228 {
24229 arg3 = (int)(SWIG_As_int(obj2));
24230 if (SWIG_arg_fail(3)) SWIG_fail;
24231 }
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 {
24240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24241 }
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj;
24250 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24251 int result;
24252 PyObject * obj0 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail;
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24263
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 {
24268 resultobj = SWIG_From_int((int)(result));
24269 }
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24279 wxRect result;
24280 PyObject * obj0 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 {
24296 wxRect * resultptr;
24297 resultptr = new wxRect((wxRect &)(result));
24298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24299 }
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj;
24308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24309 long arg2 ;
24310 int arg3 = (int) 0 ;
24311 wxListItem *result;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 PyObject * obj2 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self",(char *) "itemId",(char *) "col", NULL
24317 };
24318
24319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24321 if (SWIG_arg_fail(1)) SWIG_fail;
24322 {
24323 arg2 = (long)(SWIG_As_long(obj1));
24324 if (SWIG_arg_fail(2)) SWIG_fail;
24325 }
24326 if (obj2) {
24327 {
24328 arg3 = (int)(SWIG_As_int(obj2));
24329 if (SWIG_arg_fail(3)) SWIG_fail;
24330 }
24331 }
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24335
24336 wxPyEndAllowThreads(__tstate);
24337 if (PyErr_Occurred()) SWIG_fail;
24338 }
24339 {
24340 resultobj = wxPyMake_wxObject(result, 0);
24341 }
24342 return resultobj;
24343 fail:
24344 return NULL;
24345 }
24346
24347
24348 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj;
24350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24351 wxListItem *arg2 = 0 ;
24352 bool result;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self",(char *) "info", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail;
24362 {
24363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24364 if (SWIG_arg_fail(2)) SWIG_fail;
24365 if (arg2 == NULL) {
24366 SWIG_null_ref("wxListItem");
24367 }
24368 if (SWIG_arg_fail(2)) SWIG_fail;
24369 }
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 result = (bool)(arg1)->SetItem(*arg2);
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 {
24378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24379 }
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24389 long arg2 ;
24390 int arg3 ;
24391 wxString *arg4 = 0 ;
24392 int arg5 = (int) -1 ;
24393 long result;
24394 bool temp4 = false ;
24395 PyObject * obj0 = 0 ;
24396 PyObject * obj1 = 0 ;
24397 PyObject * obj2 = 0 ;
24398 PyObject * obj3 = 0 ;
24399 PyObject * obj4 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail;
24407 {
24408 arg2 = (long)(SWIG_As_long(obj1));
24409 if (SWIG_arg_fail(2)) SWIG_fail;
24410 }
24411 {
24412 arg3 = (int)(SWIG_As_int(obj2));
24413 if (SWIG_arg_fail(3)) SWIG_fail;
24414 }
24415 {
24416 arg4 = wxString_in_helper(obj3);
24417 if (arg4 == NULL) SWIG_fail;
24418 temp4 = true;
24419 }
24420 if (obj4) {
24421 {
24422 arg5 = (int)(SWIG_As_int(obj4));
24423 if (SWIG_arg_fail(5)) SWIG_fail;
24424 }
24425 }
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 {
24434 resultobj = SWIG_From_long((long)(result));
24435 }
24436 {
24437 if (temp4)
24438 delete arg4;
24439 }
24440 return resultobj;
24441 fail:
24442 {
24443 if (temp4)
24444 delete arg4;
24445 }
24446 return NULL;
24447 }
24448
24449
24450 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24451 PyObject *resultobj;
24452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24453 long arg2 ;
24454 long arg3 ;
24455 int result;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 PyObject * obj2 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail;
24466 {
24467 arg2 = (long)(SWIG_As_long(obj1));
24468 if (SWIG_arg_fail(2)) SWIG_fail;
24469 }
24470 {
24471 arg3 = (long)(SWIG_As_long(obj2));
24472 if (SWIG_arg_fail(3)) SWIG_fail;
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 {
24482 resultobj = SWIG_From_int((int)(result));
24483 }
24484 return resultobj;
24485 fail:
24486 return NULL;
24487 }
24488
24489
24490 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj;
24492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24493 long arg2 ;
24494 long arg3 ;
24495 long arg4 ;
24496 bool result;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 PyObject * obj2 = 0 ;
24500 PyObject * obj3 = 0 ;
24501 char *kwnames[] = {
24502 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24503 };
24504
24505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24507 if (SWIG_arg_fail(1)) SWIG_fail;
24508 {
24509 arg2 = (long)(SWIG_As_long(obj1));
24510 if (SWIG_arg_fail(2)) SWIG_fail;
24511 }
24512 {
24513 arg3 = (long)(SWIG_As_long(obj2));
24514 if (SWIG_arg_fail(3)) SWIG_fail;
24515 }
24516 {
24517 arg4 = (long)(SWIG_As_long(obj3));
24518 if (SWIG_arg_fail(4)) SWIG_fail;
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24529 }
24530 return resultobj;
24531 fail:
24532 return NULL;
24533 }
24534
24535
24536 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24537 PyObject *resultobj;
24538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24539 long arg2 ;
24540 int arg3 ;
24541 int arg4 = (int) -1 ;
24542 bool result;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 PyObject * obj2 = 0 ;
24546 PyObject * obj3 = 0 ;
24547 char *kwnames[] = {
24548 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24549 };
24550
24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail;
24554 {
24555 arg2 = (long)(SWIG_As_long(obj1));
24556 if (SWIG_arg_fail(2)) SWIG_fail;
24557 }
24558 {
24559 arg3 = (int)(SWIG_As_int(obj2));
24560 if (SWIG_arg_fail(3)) SWIG_fail;
24561 }
24562 if (obj3) {
24563 {
24564 arg4 = (int)(SWIG_As_int(obj3));
24565 if (SWIG_arg_fail(4)) SWIG_fail;
24566 }
24567 }
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 {
24576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24577 }
24578 return resultobj;
24579 fail:
24580 return NULL;
24581 }
24582
24583
24584 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24585 PyObject *resultobj;
24586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24587 long arg2 ;
24588 wxString result;
24589 PyObject * obj0 = 0 ;
24590 PyObject * obj1 = 0 ;
24591 char *kwnames[] = {
24592 (char *) "self",(char *) "item", NULL
24593 };
24594
24595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24597 if (SWIG_arg_fail(1)) SWIG_fail;
24598 {
24599 arg2 = (long)(SWIG_As_long(obj1));
24600 if (SWIG_arg_fail(2)) SWIG_fail;
24601 }
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 {
24610 #if wxUSE_UNICODE
24611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24612 #else
24613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24614 #endif
24615 }
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24625 long arg2 ;
24626 wxString *arg3 = 0 ;
24627 bool temp3 = false ;
24628 PyObject * obj0 = 0 ;
24629 PyObject * obj1 = 0 ;
24630 PyObject * obj2 = 0 ;
24631 char *kwnames[] = {
24632 (char *) "self",(char *) "item",(char *) "str", NULL
24633 };
24634
24635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail;
24638 {
24639 arg2 = (long)(SWIG_As_long(obj1));
24640 if (SWIG_arg_fail(2)) SWIG_fail;
24641 }
24642 {
24643 arg3 = wxString_in_helper(obj2);
24644 if (arg3 == NULL) SWIG_fail;
24645 temp3 = true;
24646 }
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 Py_INCREF(Py_None); resultobj = Py_None;
24655 {
24656 if (temp3)
24657 delete arg3;
24658 }
24659 return resultobj;
24660 fail:
24661 {
24662 if (temp3)
24663 delete arg3;
24664 }
24665 return NULL;
24666 }
24667
24668
24669 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24670 PyObject *resultobj;
24671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24672 long arg2 ;
24673 long result;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 char *kwnames[] = {
24677 (char *) "self",(char *) "item", NULL
24678 };
24679
24680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail;
24683 {
24684 arg2 = (long)(SWIG_As_long(obj1));
24685 if (SWIG_arg_fail(2)) SWIG_fail;
24686 }
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 {
24695 resultobj = SWIG_From_long((long)(result));
24696 }
24697 return resultobj;
24698 fail:
24699 return NULL;
24700 }
24701
24702
24703 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj;
24705 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24706 long arg2 ;
24707 long arg3 ;
24708 bool result;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 PyObject * obj2 = 0 ;
24712 char *kwnames[] = {
24713 (char *) "self",(char *) "item",(char *) "data", NULL
24714 };
24715
24716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24718 if (SWIG_arg_fail(1)) SWIG_fail;
24719 {
24720 arg2 = (long)(SWIG_As_long(obj1));
24721 if (SWIG_arg_fail(2)) SWIG_fail;
24722 }
24723 {
24724 arg3 = (long)(SWIG_As_long(obj2));
24725 if (SWIG_arg_fail(3)) SWIG_fail;
24726 }
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 result = (bool)(arg1)->SetItemData(arg2,arg3);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 {
24735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24736 }
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24746 long arg2 ;
24747 wxPoint result;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self",(char *) "item", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail;
24757 {
24758 arg2 = (long)(SWIG_As_long(obj1));
24759 if (SWIG_arg_fail(2)) SWIG_fail;
24760 }
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 {
24769 wxPoint * resultptr;
24770 resultptr = new wxPoint((wxPoint &)(result));
24771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24772 }
24773 return resultobj;
24774 fail:
24775 return NULL;
24776 }
24777
24778
24779 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24782 long arg2 ;
24783 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24784 wxRect result;
24785 PyObject * obj0 = 0 ;
24786 PyObject * obj1 = 0 ;
24787 PyObject * obj2 = 0 ;
24788 char *kwnames[] = {
24789 (char *) "self",(char *) "item",(char *) "code", NULL
24790 };
24791
24792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail;
24795 {
24796 arg2 = (long)(SWIG_As_long(obj1));
24797 if (SWIG_arg_fail(2)) SWIG_fail;
24798 }
24799 if (obj2) {
24800 {
24801 arg3 = (int)(SWIG_As_int(obj2));
24802 if (SWIG_arg_fail(3)) SWIG_fail;
24803 }
24804 }
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 {
24813 wxRect * resultptr;
24814 resultptr = new wxRect((wxRect &)(result));
24815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24816 }
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj;
24825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24826 long arg2 ;
24827 wxPoint *arg3 = 0 ;
24828 bool result;
24829 wxPoint temp3 ;
24830 PyObject * obj0 = 0 ;
24831 PyObject * obj1 = 0 ;
24832 PyObject * obj2 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "item",(char *) "pos", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail;
24840 {
24841 arg2 = (long)(SWIG_As_long(obj1));
24842 if (SWIG_arg_fail(2)) SWIG_fail;
24843 }
24844 {
24845 arg3 = &temp3;
24846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24847 }
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 {
24856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24857 }
24858 return resultobj;
24859 fail:
24860 return NULL;
24861 }
24862
24863
24864 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj;
24866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24867 int result;
24868 PyObject * obj0 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self", NULL
24871 };
24872
24873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail;
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 {
24884 resultobj = SWIG_From_int((int)(result));
24885 }
24886 return resultobj;
24887 fail:
24888 return NULL;
24889 }
24890
24891
24892 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj;
24894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24895 int result;
24896 PyObject * obj0 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 resultobj = SWIG_From_int((int)(result));
24913 }
24914 return resultobj;
24915 fail:
24916 return NULL;
24917 }
24918
24919
24920 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj;
24922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24923 wxSize result;
24924 PyObject * obj0 = 0 ;
24925 char *kwnames[] = {
24926 (char *) "self", NULL
24927 };
24928
24929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24931 if (SWIG_arg_fail(1)) SWIG_fail;
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24935
24936 wxPyEndAllowThreads(__tstate);
24937 if (PyErr_Occurred()) SWIG_fail;
24938 }
24939 {
24940 wxSize * resultptr;
24941 resultptr = new wxSize((wxSize &)(result));
24942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24943 }
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24953 int arg2 ;
24954 bool arg3 = (bool) false ;
24955 PyObject * obj0 = 0 ;
24956 PyObject * obj1 = 0 ;
24957 PyObject * obj2 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
24965 {
24966 arg2 = (int)(SWIG_As_int(obj1));
24967 if (SWIG_arg_fail(2)) SWIG_fail;
24968 }
24969 if (obj2) {
24970 {
24971 arg3 = (bool)(SWIG_As_bool(obj2));
24972 if (SWIG_arg_fail(3)) SWIG_fail;
24973 }
24974 }
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 (arg1)->SetItemSpacing(arg2,arg3);
24978
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 Py_INCREF(Py_None); resultobj = Py_None;
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24992 int result;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
24999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25000 if (SWIG_arg_fail(1)) SWIG_fail;
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 {
25009 resultobj = SWIG_From_int((int)(result));
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25018 PyObject *resultobj;
25019 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25020 wxColour result;
25021 PyObject * obj0 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25028 if (SWIG_arg_fail(1)) SWIG_fail;
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 {
25037 wxColour * resultptr;
25038 resultptr = new wxColour((wxColour &)(result));
25039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25040 }
25041 return resultobj;
25042 fail:
25043 return NULL;
25044 }
25045
25046
25047 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25048 PyObject *resultobj;
25049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25050 wxColour *arg2 = 0 ;
25051 wxColour temp2 ;
25052 PyObject * obj0 = 0 ;
25053 PyObject * obj1 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self",(char *) "col", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25060 if (SWIG_arg_fail(1)) SWIG_fail;
25061 {
25062 arg2 = &temp2;
25063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25064 }
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 (arg1)->SetTextColour((wxColour const &)*arg2);
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 Py_INCREF(Py_None); resultobj = Py_None;
25073 return resultobj;
25074 fail:
25075 return NULL;
25076 }
25077
25078
25079 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj;
25081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25082 long result;
25083 PyObject * obj0 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail;
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 {
25099 resultobj = SWIG_From_long((long)(result));
25100 }
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25110 long arg2 ;
25111 bool arg3 = (bool) true ;
25112 PyObject * obj0 = 0 ;
25113 PyObject * obj1 = 0 ;
25114 PyObject * obj2 = 0 ;
25115 char *kwnames[] = {
25116 (char *) "self",(char *) "style",(char *) "add", NULL
25117 };
25118
25119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25121 if (SWIG_arg_fail(1)) SWIG_fail;
25122 {
25123 arg2 = (long)(SWIG_As_long(obj1));
25124 if (SWIG_arg_fail(2)) SWIG_fail;
25125 }
25126 if (obj2) {
25127 {
25128 arg3 = (bool)(SWIG_As_bool(obj2));
25129 if (SWIG_arg_fail(3)) SWIG_fail;
25130 }
25131 }
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 (arg1)->SetSingleStyle(arg2,arg3);
25135
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 Py_INCREF(Py_None); resultobj = Py_None;
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25147 PyObject *resultobj;
25148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25149 long arg2 ;
25150 PyObject * obj0 = 0 ;
25151 PyObject * obj1 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "self",(char *) "style", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25158 if (SWIG_arg_fail(1)) SWIG_fail;
25159 {
25160 arg2 = (long)(SWIG_As_long(obj1));
25161 if (SWIG_arg_fail(2)) SWIG_fail;
25162 }
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 (arg1)->SetWindowStyleFlag(arg2);
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 Py_INCREF(Py_None); resultobj = Py_None;
25171 return resultobj;
25172 fail:
25173 return NULL;
25174 }
25175
25176
25177 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25180 long arg2 ;
25181 int arg3 = (int) wxLIST_NEXT_ALL ;
25182 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25183 long result;
25184 PyObject * obj0 = 0 ;
25185 PyObject * obj1 = 0 ;
25186 PyObject * obj2 = 0 ;
25187 PyObject * obj3 = 0 ;
25188 char *kwnames[] = {
25189 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25190 };
25191
25192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail;
25195 {
25196 arg2 = (long)(SWIG_As_long(obj1));
25197 if (SWIG_arg_fail(2)) SWIG_fail;
25198 }
25199 if (obj2) {
25200 {
25201 arg3 = (int)(SWIG_As_int(obj2));
25202 if (SWIG_arg_fail(3)) SWIG_fail;
25203 }
25204 }
25205 if (obj3) {
25206 {
25207 arg4 = (int)(SWIG_As_int(obj3));
25208 if (SWIG_arg_fail(4)) SWIG_fail;
25209 }
25210 }
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25214
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 {
25219 resultobj = SWIG_From_long((long)(result));
25220 }
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25230 int arg2 ;
25231 wxImageList *result;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "which", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail;
25241 {
25242 arg2 = (int)(SWIG_As_int(obj1));
25243 if (SWIG_arg_fail(2)) SWIG_fail;
25244 }
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 {
25253 resultobj = wxPyMake_wxObject(result, 0);
25254 }
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25264 wxImageList *arg2 = (wxImageList *) 0 ;
25265 int arg3 ;
25266 PyObject * obj0 = 0 ;
25267 PyObject * obj1 = 0 ;
25268 PyObject * obj2 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "imageList",(char *) "which", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25275 if (SWIG_arg_fail(1)) SWIG_fail;
25276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25277 if (SWIG_arg_fail(2)) SWIG_fail;
25278 {
25279 arg3 = (int)(SWIG_As_int(obj2));
25280 if (SWIG_arg_fail(3)) SWIG_fail;
25281 }
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 (arg1)->SetImageList(arg2,arg3);
25285
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 Py_INCREF(Py_None); resultobj = Py_None;
25290 return resultobj;
25291 fail:
25292 return NULL;
25293 }
25294
25295
25296 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25297 PyObject *resultobj;
25298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25299 wxImageList *arg2 = (wxImageList *) 0 ;
25300 int arg3 ;
25301 PyObject * obj0 = 0 ;
25302 PyObject * obj1 = 0 ;
25303 PyObject * obj2 = 0 ;
25304 char *kwnames[] = {
25305 (char *) "self",(char *) "imageList",(char *) "which", NULL
25306 };
25307
25308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25310 if (SWIG_arg_fail(1)) SWIG_fail;
25311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25312 if (SWIG_arg_fail(2)) SWIG_fail;
25313 {
25314 arg3 = (int)(SWIG_As_int(obj2));
25315 if (SWIG_arg_fail(3)) SWIG_fail;
25316 }
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 (arg1)->AssignImageList(arg2,arg3);
25320
25321 wxPyEndAllowThreads(__tstate);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 Py_INCREF(Py_None); resultobj = Py_None;
25325 return resultobj;
25326 fail:
25327 return NULL;
25328 }
25329
25330
25331 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25332 PyObject *resultobj;
25333 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25334 bool result;
25335 PyObject * obj0 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail;
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 {
25351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25352 }
25353 return resultobj;
25354 fail:
25355 return NULL;
25356 }
25357
25358
25359 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25360 PyObject *resultobj;
25361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25362 bool result;
25363 PyObject * obj0 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail;
25371 {
25372 PyThreadState* __tstate = wxPyBeginAllowThreads();
25373 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25374
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 {
25379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25380 }
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25390 long arg2 ;
25391 PyObject * obj0 = 0 ;
25392 PyObject * obj1 = 0 ;
25393 char *kwnames[] = {
25394 (char *) "self",(char *) "item", NULL
25395 };
25396
25397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25399 if (SWIG_arg_fail(1)) SWIG_fail;
25400 {
25401 arg2 = (long)(SWIG_As_long(obj1));
25402 if (SWIG_arg_fail(2)) SWIG_fail;
25403 }
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 (arg1)->RefreshItem(arg2);
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 Py_INCREF(Py_None); resultobj = Py_None;
25412 return resultobj;
25413 fail:
25414 return NULL;
25415 }
25416
25417
25418 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25419 PyObject *resultobj;
25420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25421 long arg2 ;
25422 long arg3 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 PyObject * obj2 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail;
25433 {
25434 arg2 = (long)(SWIG_As_long(obj1));
25435 if (SWIG_arg_fail(2)) SWIG_fail;
25436 }
25437 {
25438 arg3 = (long)(SWIG_As_long(obj2));
25439 if (SWIG_arg_fail(3)) SWIG_fail;
25440 }
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 (arg1)->RefreshItems(arg2,arg3);
25444
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 Py_INCREF(Py_None); resultobj = Py_None;
25449 return resultobj;
25450 fail:
25451 return NULL;
25452 }
25453
25454
25455 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25456 PyObject *resultobj;
25457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25458 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25459 bool result;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "flag", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail;
25469 if (obj1) {
25470 {
25471 arg2 = (int)(SWIG_As_int(obj1));
25472 if (SWIG_arg_fail(2)) SWIG_fail;
25473 }
25474 }
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 result = (bool)(arg1)->Arrange(arg2);
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 {
25483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25494 long arg2 ;
25495 bool result;
25496 PyObject * obj0 = 0 ;
25497 PyObject * obj1 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "item", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail;
25505 {
25506 arg2 = (long)(SWIG_As_long(obj1));
25507 if (SWIG_arg_fail(2)) SWIG_fail;
25508 }
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (bool)(arg1)->DeleteItem(arg2);
25512
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25528 bool result;
25529 PyObject * obj0 = 0 ;
25530 char *kwnames[] = {
25531 (char *) "self", NULL
25532 };
25533
25534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25536 if (SWIG_arg_fail(1)) SWIG_fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = (bool)(arg1)->DeleteAllItems();
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 {
25545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25546 }
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25554 PyObject *resultobj;
25555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25556 int arg2 ;
25557 bool result;
25558 PyObject * obj0 = 0 ;
25559 PyObject * obj1 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self",(char *) "col", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail;
25567 {
25568 arg2 = (int)(SWIG_As_int(obj1));
25569 if (SWIG_arg_fail(2)) SWIG_fail;
25570 }
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 result = (bool)(arg1)->DeleteColumn(arg2);
25574
25575 wxPyEndAllowThreads(__tstate);
25576 if (PyErr_Occurred()) SWIG_fail;
25577 }
25578 {
25579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25580 }
25581 return resultobj;
25582 fail:
25583 return NULL;
25584 }
25585
25586
25587 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25590 bool result;
25591 PyObject * obj0 = 0 ;
25592 char *kwnames[] = {
25593 (char *) "self", NULL
25594 };
25595
25596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25598 if (SWIG_arg_fail(1)) SWIG_fail;
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = (bool)(arg1)->DeleteAllColumns();
25602
25603 wxPyEndAllowThreads(__tstate);
25604 if (PyErr_Occurred()) SWIG_fail;
25605 }
25606 {
25607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25608 }
25609 return resultobj;
25610 fail:
25611 return NULL;
25612 }
25613
25614
25615 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25616 PyObject *resultobj;
25617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25618 PyObject * obj0 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "self", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail;
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 (arg1)->ClearAll();
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 Py_INCREF(Py_None); resultobj = Py_None;
25634 return resultobj;
25635 fail:
25636 return NULL;
25637 }
25638
25639
25640 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25641 PyObject *resultobj;
25642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25643 long arg2 ;
25644 PyObject * obj0 = 0 ;
25645 PyObject * obj1 = 0 ;
25646 char *kwnames[] = {
25647 (char *) "self",(char *) "item", NULL
25648 };
25649
25650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail;
25653 {
25654 arg2 = (long)(SWIG_As_long(obj1));
25655 if (SWIG_arg_fail(2)) SWIG_fail;
25656 }
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 (arg1)->EditLabel(arg2);
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 Py_INCREF(Py_None); resultobj = Py_None;
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25674 long arg2 ;
25675 bool result;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self",(char *) "item", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25684 if (SWIG_arg_fail(1)) SWIG_fail;
25685 {
25686 arg2 = (long)(SWIG_As_long(obj1));
25687 if (SWIG_arg_fail(2)) SWIG_fail;
25688 }
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 result = (bool)(arg1)->EnsureVisible(arg2);
25692
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 {
25697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25698 }
25699 return resultobj;
25700 fail:
25701 return NULL;
25702 }
25703
25704
25705 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj;
25707 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25708 long arg2 ;
25709 wxString *arg3 = 0 ;
25710 bool arg4 = (bool) false ;
25711 long result;
25712 bool temp3 = false ;
25713 PyObject * obj0 = 0 ;
25714 PyObject * obj1 = 0 ;
25715 PyObject * obj2 = 0 ;
25716 PyObject * obj3 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail;
25724 {
25725 arg2 = (long)(SWIG_As_long(obj1));
25726 if (SWIG_arg_fail(2)) SWIG_fail;
25727 }
25728 {
25729 arg3 = wxString_in_helper(obj2);
25730 if (arg3 == NULL) SWIG_fail;
25731 temp3 = true;
25732 }
25733 if (obj3) {
25734 {
25735 arg4 = (bool)(SWIG_As_bool(obj3));
25736 if (SWIG_arg_fail(4)) SWIG_fail;
25737 }
25738 }
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 {
25747 resultobj = SWIG_From_long((long)(result));
25748 }
25749 {
25750 if (temp3)
25751 delete arg3;
25752 }
25753 return resultobj;
25754 fail:
25755 {
25756 if (temp3)
25757 delete arg3;
25758 }
25759 return NULL;
25760 }
25761
25762
25763 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25764 PyObject *resultobj;
25765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25766 long arg2 ;
25767 long arg3 ;
25768 long result;
25769 PyObject * obj0 = 0 ;
25770 PyObject * obj1 = 0 ;
25771 PyObject * obj2 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self",(char *) "start",(char *) "data", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25778 if (SWIG_arg_fail(1)) SWIG_fail;
25779 {
25780 arg2 = (long)(SWIG_As_long(obj1));
25781 if (SWIG_arg_fail(2)) SWIG_fail;
25782 }
25783 {
25784 arg3 = (long)(SWIG_As_long(obj2));
25785 if (SWIG_arg_fail(3)) SWIG_fail;
25786 }
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 result = (long)(arg1)->FindItem(arg2,arg3);
25790
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 {
25795 resultobj = SWIG_From_long((long)(result));
25796 }
25797 return resultobj;
25798 fail:
25799 return NULL;
25800 }
25801
25802
25803 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25804 PyObject *resultobj;
25805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25806 long arg2 ;
25807 wxPoint *arg3 = 0 ;
25808 int arg4 ;
25809 long result;
25810 wxPoint temp3 ;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj1 = 0 ;
25813 PyObject * obj2 = 0 ;
25814 PyObject * obj3 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
25822 {
25823 arg2 = (long)(SWIG_As_long(obj1));
25824 if (SWIG_arg_fail(2)) SWIG_fail;
25825 }
25826 {
25827 arg3 = &temp3;
25828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25829 }
25830 {
25831 arg4 = (int)(SWIG_As_int(obj3));
25832 if (SWIG_arg_fail(4)) SWIG_fail;
25833 }
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
25841 {
25842 resultobj = SWIG_From_long((long)(result));
25843 }
25844 return resultobj;
25845 fail:
25846 return NULL;
25847 }
25848
25849
25850 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25853 wxPoint *arg2 = 0 ;
25854 int *arg3 = 0 ;
25855 long result;
25856 wxPoint temp2 ;
25857 int temp3 ;
25858 int res3 = 0 ;
25859 PyObject * obj0 = 0 ;
25860 PyObject * obj1 = 0 ;
25861 char *kwnames[] = {
25862 (char *) "self",(char *) "point", NULL
25863 };
25864
25865 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail;
25869 {
25870 arg2 = &temp2;
25871 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 resultobj = SWIG_From_long((long)(result));
25882 }
25883 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25884 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25894 wxListItem *arg2 = 0 ;
25895 long result;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "info", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail;
25905 {
25906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25907 if (SWIG_arg_fail(2)) SWIG_fail;
25908 if (arg2 == NULL) {
25909 SWIG_null_ref("wxListItem");
25910 }
25911 if (SWIG_arg_fail(2)) SWIG_fail;
25912 }
25913 {
25914 PyThreadState* __tstate = wxPyBeginAllowThreads();
25915 result = (long)(arg1)->InsertItem(*arg2);
25916
25917 wxPyEndAllowThreads(__tstate);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 }
25920 {
25921 resultobj = SWIG_From_long((long)(result));
25922 }
25923 return resultobj;
25924 fail:
25925 return NULL;
25926 }
25927
25928
25929 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25932 long arg2 ;
25933 wxString *arg3 = 0 ;
25934 long result;
25935 bool temp3 = false ;
25936 PyObject * obj0 = 0 ;
25937 PyObject * obj1 = 0 ;
25938 PyObject * obj2 = 0 ;
25939 char *kwnames[] = {
25940 (char *) "self",(char *) "index",(char *) "label", NULL
25941 };
25942
25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25945 if (SWIG_arg_fail(1)) SWIG_fail;
25946 {
25947 arg2 = (long)(SWIG_As_long(obj1));
25948 if (SWIG_arg_fail(2)) SWIG_fail;
25949 }
25950 {
25951 arg3 = wxString_in_helper(obj2);
25952 if (arg3 == NULL) SWIG_fail;
25953 temp3 = true;
25954 }
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25958
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 {
25963 resultobj = SWIG_From_long((long)(result));
25964 }
25965 {
25966 if (temp3)
25967 delete arg3;
25968 }
25969 return resultobj;
25970 fail:
25971 {
25972 if (temp3)
25973 delete arg3;
25974 }
25975 return NULL;
25976 }
25977
25978
25979 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25980 PyObject *resultobj;
25981 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25982 long arg2 ;
25983 int arg3 ;
25984 long result;
25985 PyObject * obj0 = 0 ;
25986 PyObject * obj1 = 0 ;
25987 PyObject * obj2 = 0 ;
25988 char *kwnames[] = {
25989 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25990 };
25991
25992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25994 if (SWIG_arg_fail(1)) SWIG_fail;
25995 {
25996 arg2 = (long)(SWIG_As_long(obj1));
25997 if (SWIG_arg_fail(2)) SWIG_fail;
25998 }
25999 {
26000 arg3 = (int)(SWIG_As_int(obj2));
26001 if (SWIG_arg_fail(3)) SWIG_fail;
26002 }
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 result = (long)(arg1)->InsertItem(arg2,arg3);
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 {
26011 resultobj = SWIG_From_long((long)(result));
26012 }
26013 return resultobj;
26014 fail:
26015 return NULL;
26016 }
26017
26018
26019 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26022 long arg2 ;
26023 wxString *arg3 = 0 ;
26024 int arg4 ;
26025 long result;
26026 bool temp3 = false ;
26027 PyObject * obj0 = 0 ;
26028 PyObject * obj1 = 0 ;
26029 PyObject * obj2 = 0 ;
26030 PyObject * obj3 = 0 ;
26031 char *kwnames[] = {
26032 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail;
26038 {
26039 arg2 = (long)(SWIG_As_long(obj1));
26040 if (SWIG_arg_fail(2)) SWIG_fail;
26041 }
26042 {
26043 arg3 = wxString_in_helper(obj2);
26044 if (arg3 == NULL) SWIG_fail;
26045 temp3 = true;
26046 }
26047 {
26048 arg4 = (int)(SWIG_As_int(obj3));
26049 if (SWIG_arg_fail(4)) SWIG_fail;
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26054
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
26058 {
26059 resultobj = SWIG_From_long((long)(result));
26060 }
26061 {
26062 if (temp3)
26063 delete arg3;
26064 }
26065 return resultobj;
26066 fail:
26067 {
26068 if (temp3)
26069 delete arg3;
26070 }
26071 return NULL;
26072 }
26073
26074
26075 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj;
26077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26078 long arg2 ;
26079 wxListItem *arg3 = 0 ;
26080 long result;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 PyObject * obj2 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "col",(char *) "info", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail;
26091 {
26092 arg2 = (long)(SWIG_As_long(obj1));
26093 if (SWIG_arg_fail(2)) SWIG_fail;
26094 }
26095 {
26096 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26097 if (SWIG_arg_fail(3)) SWIG_fail;
26098 if (arg3 == NULL) {
26099 SWIG_null_ref("wxListItem");
26100 }
26101 if (SWIG_arg_fail(3)) SWIG_fail;
26102 }
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26106
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 {
26111 resultobj = SWIG_From_long((long)(result));
26112 }
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26122 long arg2 ;
26123 wxString *arg3 = 0 ;
26124 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26125 int arg5 = (int) -1 ;
26126 long result;
26127 bool temp3 = false ;
26128 PyObject * obj0 = 0 ;
26129 PyObject * obj1 = 0 ;
26130 PyObject * obj2 = 0 ;
26131 PyObject * obj3 = 0 ;
26132 PyObject * obj4 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail;
26140 {
26141 arg2 = (long)(SWIG_As_long(obj1));
26142 if (SWIG_arg_fail(2)) SWIG_fail;
26143 }
26144 {
26145 arg3 = wxString_in_helper(obj2);
26146 if (arg3 == NULL) SWIG_fail;
26147 temp3 = true;
26148 }
26149 if (obj3) {
26150 {
26151 arg4 = (int)(SWIG_As_int(obj3));
26152 if (SWIG_arg_fail(4)) SWIG_fail;
26153 }
26154 }
26155 if (obj4) {
26156 {
26157 arg5 = (int)(SWIG_As_int(obj4));
26158 if (SWIG_arg_fail(5)) SWIG_fail;
26159 }
26160 }
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 {
26169 resultobj = SWIG_From_long((long)(result));
26170 }
26171 {
26172 if (temp3)
26173 delete arg3;
26174 }
26175 return resultobj;
26176 fail:
26177 {
26178 if (temp3)
26179 delete arg3;
26180 }
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj;
26187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26188 long arg2 ;
26189 PyObject * obj0 = 0 ;
26190 PyObject * obj1 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self",(char *) "count", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail;
26198 {
26199 arg2 = (long)(SWIG_As_long(obj1));
26200 if (SWIG_arg_fail(2)) SWIG_fail;
26201 }
26202 {
26203 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 (arg1)->SetItemCount(arg2);
26205
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 Py_INCREF(Py_None); resultobj = Py_None;
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26217 PyObject *resultobj;
26218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26219 int arg2 ;
26220 int arg3 ;
26221 bool result;
26222 PyObject * obj0 = 0 ;
26223 PyObject * obj1 = 0 ;
26224 PyObject * obj2 = 0 ;
26225 char *kwnames[] = {
26226 (char *) "self",(char *) "dx",(char *) "dy", NULL
26227 };
26228
26229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail;
26232 {
26233 arg2 = (int)(SWIG_As_int(obj1));
26234 if (SWIG_arg_fail(2)) SWIG_fail;
26235 }
26236 {
26237 arg3 = (int)(SWIG_As_int(obj2));
26238 if (SWIG_arg_fail(3)) SWIG_fail;
26239 }
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 result = (bool)(arg1)->ScrollList(arg2,arg3);
26243
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 {
26248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26249 }
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj;
26258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26259 long arg2 ;
26260 wxColour *arg3 = 0 ;
26261 wxColour temp3 ;
26262 PyObject * obj0 = 0 ;
26263 PyObject * obj1 = 0 ;
26264 PyObject * obj2 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "self",(char *) "item",(char *) "col", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail;
26272 {
26273 arg2 = (long)(SWIG_As_long(obj1));
26274 if (SWIG_arg_fail(2)) SWIG_fail;
26275 }
26276 {
26277 arg3 = &temp3;
26278 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291 }
26292
26293
26294 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj;
26296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26297 long arg2 ;
26298 wxColour result;
26299 PyObject * obj0 = 0 ;
26300 PyObject * obj1 = 0 ;
26301 char *kwnames[] = {
26302 (char *) "self",(char *) "item", NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26307 if (SWIG_arg_fail(1)) SWIG_fail;
26308 {
26309 arg2 = (long)(SWIG_As_long(obj1));
26310 if (SWIG_arg_fail(2)) SWIG_fail;
26311 }
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 {
26320 wxColour * resultptr;
26321 resultptr = new wxColour((wxColour &)(result));
26322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26323 }
26324 return resultobj;
26325 fail:
26326 return NULL;
26327 }
26328
26329
26330 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26331 PyObject *resultobj;
26332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26333 long arg2 ;
26334 wxColour *arg3 = 0 ;
26335 wxColour temp3 ;
26336 PyObject * obj0 = 0 ;
26337 PyObject * obj1 = 0 ;
26338 PyObject * obj2 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "item",(char *) "col", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail;
26346 {
26347 arg2 = (long)(SWIG_As_long(obj1));
26348 if (SWIG_arg_fail(2)) SWIG_fail;
26349 }
26350 {
26351 arg3 = &temp3;
26352 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26353 }
26354 {
26355 PyThreadState* __tstate = wxPyBeginAllowThreads();
26356 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26357
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
26361 Py_INCREF(Py_None); resultobj = Py_None;
26362 return resultobj;
26363 fail:
26364 return NULL;
26365 }
26366
26367
26368 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26371 long arg2 ;
26372 wxColour result;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "item", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail;
26382 {
26383 arg2 = (long)(SWIG_As_long(obj1));
26384 if (SWIG_arg_fail(2)) SWIG_fail;
26385 }
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 {
26394 wxColour * resultptr;
26395 resultptr = new wxColour((wxColour &)(result));
26396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26397 }
26398 return resultobj;
26399 fail:
26400 return NULL;
26401 }
26402
26403
26404 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26405 PyObject *resultobj;
26406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26407 PyObject *arg2 = (PyObject *) 0 ;
26408 bool result;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char *kwnames[] = {
26412 (char *) "self",(char *) "func", NULL
26413 };
26414
26415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail;
26418 arg2 = obj1;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26428 }
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj;
26437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26438 wxWindow *result;
26439 PyObject * obj0 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail;
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26450
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 {
26455 resultobj = wxPyMake_wxObject(result, 0);
26456 }
26457 return resultobj;
26458 fail:
26459 return NULL;
26460 }
26461
26462
26463 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26464 PyObject *resultobj;
26465 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26466 wxVisualAttributes result;
26467 PyObject * obj0 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "variant", NULL
26470 };
26471
26472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26473 if (obj0) {
26474 {
26475 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26476 if (SWIG_arg_fail(1)) SWIG_fail;
26477 }
26478 }
26479 {
26480 if (!wxPyCheckForApp()) SWIG_fail;
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 {
26488 wxVisualAttributes * resultptr;
26489 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26491 }
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26499 PyObject *obj;
26500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26501 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26502 Py_INCREF(obj);
26503 return Py_BuildValue((char *)"");
26504 }
26505 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26506 PyObject *resultobj;
26507 wxWindow *arg1 = (wxWindow *) 0 ;
26508 int arg2 = (int) -1 ;
26509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26511 wxSize const &arg4_defvalue = wxDefaultSize ;
26512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26513 long arg5 = (long) wxLC_REPORT ;
26514 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26515 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26516 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26517 wxString *arg7 = (wxString *) &arg7_defvalue ;
26518 wxListView *result;
26519 wxPoint temp3 ;
26520 wxSize temp4 ;
26521 bool temp7 = false ;
26522 PyObject * obj0 = 0 ;
26523 PyObject * obj1 = 0 ;
26524 PyObject * obj2 = 0 ;
26525 PyObject * obj3 = 0 ;
26526 PyObject * obj4 = 0 ;
26527 PyObject * obj5 = 0 ;
26528 PyObject * obj6 = 0 ;
26529 char *kwnames[] = {
26530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26531 };
26532
26533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26535 if (SWIG_arg_fail(1)) SWIG_fail;
26536 if (obj1) {
26537 {
26538 arg2 = (int)(SWIG_As_int(obj1));
26539 if (SWIG_arg_fail(2)) SWIG_fail;
26540 }
26541 }
26542 if (obj2) {
26543 {
26544 arg3 = &temp3;
26545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26546 }
26547 }
26548 if (obj3) {
26549 {
26550 arg4 = &temp4;
26551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26552 }
26553 }
26554 if (obj4) {
26555 {
26556 arg5 = (long)(SWIG_As_long(obj4));
26557 if (SWIG_arg_fail(5)) SWIG_fail;
26558 }
26559 }
26560 if (obj5) {
26561 {
26562 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26563 if (SWIG_arg_fail(6)) SWIG_fail;
26564 if (arg6 == NULL) {
26565 SWIG_null_ref("wxValidator");
26566 }
26567 if (SWIG_arg_fail(6)) SWIG_fail;
26568 }
26569 }
26570 if (obj6) {
26571 {
26572 arg7 = wxString_in_helper(obj6);
26573 if (arg7 == NULL) SWIG_fail;
26574 temp7 = true;
26575 }
26576 }
26577 {
26578 if (!wxPyCheckForApp()) SWIG_fail;
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26581
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26586 {
26587 if (temp7)
26588 delete arg7;
26589 }
26590 return resultobj;
26591 fail:
26592 {
26593 if (temp7)
26594 delete arg7;
26595 }
26596 return NULL;
26597 }
26598
26599
26600 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26601 PyObject *resultobj;
26602 wxListView *result;
26603 char *kwnames[] = {
26604 NULL
26605 };
26606
26607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26608 {
26609 if (!wxPyCheckForApp()) SWIG_fail;
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 result = (wxListView *)new wxListView();
26612
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26617 return resultobj;
26618 fail:
26619 return NULL;
26620 }
26621
26622
26623 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj;
26625 wxListView *arg1 = (wxListView *) 0 ;
26626 wxWindow *arg2 = (wxWindow *) 0 ;
26627 int arg3 = (int) -1 ;
26628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26630 wxSize const &arg5_defvalue = wxDefaultSize ;
26631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26632 long arg6 = (long) wxLC_REPORT ;
26633 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26634 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26635 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26636 wxString *arg8 = (wxString *) &arg8_defvalue ;
26637 bool result;
26638 wxPoint temp4 ;
26639 wxSize temp5 ;
26640 bool temp8 = false ;
26641 PyObject * obj0 = 0 ;
26642 PyObject * obj1 = 0 ;
26643 PyObject * obj2 = 0 ;
26644 PyObject * obj3 = 0 ;
26645 PyObject * obj4 = 0 ;
26646 PyObject * obj5 = 0 ;
26647 PyObject * obj6 = 0 ;
26648 PyObject * obj7 = 0 ;
26649 char *kwnames[] = {
26650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26651 };
26652
26653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26655 if (SWIG_arg_fail(1)) SWIG_fail;
26656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26657 if (SWIG_arg_fail(2)) SWIG_fail;
26658 if (obj2) {
26659 {
26660 arg3 = (int)(SWIG_As_int(obj2));
26661 if (SWIG_arg_fail(3)) SWIG_fail;
26662 }
26663 }
26664 if (obj3) {
26665 {
26666 arg4 = &temp4;
26667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26668 }
26669 }
26670 if (obj4) {
26671 {
26672 arg5 = &temp5;
26673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26674 }
26675 }
26676 if (obj5) {
26677 {
26678 arg6 = (long)(SWIG_As_long(obj5));
26679 if (SWIG_arg_fail(6)) SWIG_fail;
26680 }
26681 }
26682 if (obj6) {
26683 {
26684 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26685 if (SWIG_arg_fail(7)) SWIG_fail;
26686 if (arg7 == NULL) {
26687 SWIG_null_ref("wxValidator");
26688 }
26689 if (SWIG_arg_fail(7)) SWIG_fail;
26690 }
26691 }
26692 if (obj7) {
26693 {
26694 arg8 = wxString_in_helper(obj7);
26695 if (arg8 == NULL) SWIG_fail;
26696 temp8 = true;
26697 }
26698 }
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 {
26707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26708 }
26709 {
26710 if (temp8)
26711 delete arg8;
26712 }
26713 return resultobj;
26714 fail:
26715 {
26716 if (temp8)
26717 delete arg8;
26718 }
26719 return NULL;
26720 }
26721
26722
26723 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj;
26725 wxListView *arg1 = (wxListView *) 0 ;
26726 long arg2 ;
26727 bool arg3 = (bool) true ;
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 PyObject * obj2 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "n",(char *) "on", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail;
26738 {
26739 arg2 = (long)(SWIG_As_long(obj1));
26740 if (SWIG_arg_fail(2)) SWIG_fail;
26741 }
26742 if (obj2) {
26743 {
26744 arg3 = (bool)(SWIG_As_bool(obj2));
26745 if (SWIG_arg_fail(3)) SWIG_fail;
26746 }
26747 }
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 (arg1)->Select(arg2,arg3);
26751
26752 wxPyEndAllowThreads(__tstate);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
26755 Py_INCREF(Py_None); resultobj = Py_None;
26756 return resultobj;
26757 fail:
26758 return NULL;
26759 }
26760
26761
26762 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26763 PyObject *resultobj;
26764 wxListView *arg1 = (wxListView *) 0 ;
26765 long arg2 ;
26766 PyObject * obj0 = 0 ;
26767 PyObject * obj1 = 0 ;
26768 char *kwnames[] = {
26769 (char *) "self",(char *) "index", NULL
26770 };
26771
26772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail;
26775 {
26776 arg2 = (long)(SWIG_As_long(obj1));
26777 if (SWIG_arg_fail(2)) SWIG_fail;
26778 }
26779 {
26780 PyThreadState* __tstate = wxPyBeginAllowThreads();
26781 (arg1)->Focus(arg2);
26782
26783 wxPyEndAllowThreads(__tstate);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 Py_INCREF(Py_None); resultobj = Py_None;
26787 return resultobj;
26788 fail:
26789 return NULL;
26790 }
26791
26792
26793 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26794 PyObject *resultobj;
26795 wxListView *arg1 = (wxListView *) 0 ;
26796 long result;
26797 PyObject * obj0 = 0 ;
26798 char *kwnames[] = {
26799 (char *) "self", NULL
26800 };
26801
26802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26804 if (SWIG_arg_fail(1)) SWIG_fail;
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 resultobj = SWIG_From_long((long)(result));
26814 }
26815 return resultobj;
26816 fail:
26817 return NULL;
26818 }
26819
26820
26821 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26822 PyObject *resultobj;
26823 wxListView *arg1 = (wxListView *) 0 ;
26824 long arg2 ;
26825 long result;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 char *kwnames[] = {
26829 (char *) "self",(char *) "item", NULL
26830 };
26831
26832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26834 if (SWIG_arg_fail(1)) SWIG_fail;
26835 {
26836 arg2 = (long)(SWIG_As_long(obj1));
26837 if (SWIG_arg_fail(2)) SWIG_fail;
26838 }
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26842
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 {
26847 resultobj = SWIG_From_long((long)(result));
26848 }
26849 return resultobj;
26850 fail:
26851 return NULL;
26852 }
26853
26854
26855 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxListView *arg1 = (wxListView *) 0 ;
26858 long result;
26859 PyObject * obj0 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "self", NULL
26862 };
26863
26864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail;
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26870
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 {
26875 resultobj = SWIG_From_long((long)(result));
26876 }
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj;
26885 wxListView *arg1 = (wxListView *) 0 ;
26886 long arg2 ;
26887 bool result;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self",(char *) "index", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail;
26897 {
26898 arg2 = (long)(SWIG_As_long(obj1));
26899 if (SWIG_arg_fail(2)) SWIG_fail;
26900 }
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 result = (bool)(arg1)->IsSelected(arg2);
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 {
26909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26910 }
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26918 PyObject *resultobj;
26919 wxListView *arg1 = (wxListView *) 0 ;
26920 int arg2 ;
26921 int arg3 ;
26922 PyObject * obj0 = 0 ;
26923 PyObject * obj1 = 0 ;
26924 PyObject * obj2 = 0 ;
26925 char *kwnames[] = {
26926 (char *) "self",(char *) "col",(char *) "image", NULL
26927 };
26928
26929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail;
26932 {
26933 arg2 = (int)(SWIG_As_int(obj1));
26934 if (SWIG_arg_fail(2)) SWIG_fail;
26935 }
26936 {
26937 arg3 = (int)(SWIG_As_int(obj2));
26938 if (SWIG_arg_fail(3)) SWIG_fail;
26939 }
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 (arg1)->SetColumnImage(arg2,arg3);
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 Py_INCREF(Py_None); resultobj = Py_None;
26948 return resultobj;
26949 fail:
26950 return NULL;
26951 }
26952
26953
26954 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26955 PyObject *resultobj;
26956 wxListView *arg1 = (wxListView *) 0 ;
26957 int arg2 ;
26958 PyObject * obj0 = 0 ;
26959 PyObject * obj1 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self",(char *) "col", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail;
26967 {
26968 arg2 = (int)(SWIG_As_int(obj1));
26969 if (SWIG_arg_fail(2)) SWIG_fail;
26970 }
26971 {
26972 PyThreadState* __tstate = wxPyBeginAllowThreads();
26973 (arg1)->ClearColumnImage(arg2);
26974
26975 wxPyEndAllowThreads(__tstate);
26976 if (PyErr_Occurred()) SWIG_fail;
26977 }
26978 Py_INCREF(Py_None); resultobj = Py_None;
26979 return resultobj;
26980 fail:
26981 return NULL;
26982 }
26983
26984
26985 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26986 PyObject *obj;
26987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26988 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26989 Py_INCREF(obj);
26990 return Py_BuildValue((char *)"");
26991 }
26992 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
26993 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26994 return 1;
26995 }
26996
26997
26998 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
26999 PyObject *pyobj;
27000
27001 {
27002 #if wxUSE_UNICODE
27003 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27004 #else
27005 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27006 #endif
27007 }
27008 return pyobj;
27009 }
27010
27011
27012 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27013 PyObject *resultobj;
27014 wxTreeItemId *result;
27015 char *kwnames[] = {
27016 NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (wxTreeItemId *)new wxTreeItemId();
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27028 return resultobj;
27029 fail:
27030 return NULL;
27031 }
27032
27033
27034 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj;
27036 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27037 PyObject * obj0 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27044 if (SWIG_arg_fail(1)) SWIG_fail;
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 delete arg1;
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
27052 Py_INCREF(Py_None); resultobj = Py_None;
27053 return resultobj;
27054 fail:
27055 return NULL;
27056 }
27057
27058
27059 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27060 PyObject *resultobj;
27061 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27062 bool result;
27063 PyObject * obj0 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self", NULL
27066 };
27067
27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail;
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27074
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 {
27079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27080 }
27081 return resultobj;
27082 fail:
27083 return NULL;
27084 }
27085
27086
27087 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27088 PyObject *resultobj;
27089 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27090 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27091 bool result;
27092 PyObject * obj0 = 0 ;
27093 PyObject * obj1 = 0 ;
27094 char *kwnames[] = {
27095 (char *) "self",(char *) "other", NULL
27096 };
27097
27098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27100 if (SWIG_arg_fail(1)) SWIG_fail;
27101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27102 if (SWIG_arg_fail(2)) SWIG_fail;
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 {
27111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27112 }
27113 return resultobj;
27114 fail:
27115 return NULL;
27116 }
27117
27118
27119 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27120 PyObject *resultobj;
27121 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27122 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27123 bool result;
27124 PyObject * obj0 = 0 ;
27125 PyObject * obj1 = 0 ;
27126 char *kwnames[] = {
27127 (char *) "self",(char *) "other", NULL
27128 };
27129
27130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail;
27133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27134 if (SWIG_arg_fail(2)) SWIG_fail;
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
27137 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27138
27139 wxPyEndAllowThreads(__tstate);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 {
27143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27144 }
27145 return resultobj;
27146 fail:
27147 return NULL;
27148 }
27149
27150
27151 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27152 PyObject *resultobj;
27153 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27154 void *arg2 = (void *) 0 ;
27155 PyObject * obj0 = 0 ;
27156 PyObject * obj1 = 0 ;
27157 char *kwnames[] = {
27158 (char *) "self",(char *) "m_pItem", NULL
27159 };
27160
27161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail;
27164 {
27165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27166 SWIG_arg_fail(2);SWIG_fail;
27167 }
27168 }
27169 if (arg1) (arg1)->m_pItem = arg2;
27170
27171 Py_INCREF(Py_None); resultobj = Py_None;
27172 return resultobj;
27173 fail:
27174 return NULL;
27175 }
27176
27177
27178 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj;
27180 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27181 void *result;
27182 PyObject * obj0 = 0 ;
27183 char *kwnames[] = {
27184 (char *) "self", NULL
27185 };
27186
27187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail;
27190 result = (void *) ((arg1)->m_pItem);
27191
27192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27193 return resultobj;
27194 fail:
27195 return NULL;
27196 }
27197
27198
27199 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27200 PyObject *obj;
27201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27202 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27203 Py_INCREF(obj);
27204 return Py_BuildValue((char *)"");
27205 }
27206 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj;
27208 PyObject *arg1 = (PyObject *) NULL ;
27209 wxPyTreeItemData *result;
27210 PyObject * obj0 = 0 ;
27211 char *kwnames[] = {
27212 (char *) "obj", NULL
27213 };
27214
27215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27216 if (obj0) {
27217 arg1 = obj0;
27218 }
27219 {
27220 PyThreadState* __tstate = wxPyBeginAllowThreads();
27221 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27222
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27227 return resultobj;
27228 fail:
27229 return NULL;
27230 }
27231
27232
27233 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27236 PyObject *result;
27237 PyObject * obj0 = 0 ;
27238 char *kwnames[] = {
27239 (char *) "self", NULL
27240 };
27241
27242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail;
27245 {
27246 PyThreadState* __tstate = wxPyBeginAllowThreads();
27247 result = (PyObject *)(arg1)->GetData();
27248
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 resultobj = result;
27253 return resultobj;
27254 fail:
27255 return NULL;
27256 }
27257
27258
27259 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27260 PyObject *resultobj;
27261 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27262 PyObject *arg2 = (PyObject *) 0 ;
27263 PyObject * obj0 = 0 ;
27264 PyObject * obj1 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self",(char *) "obj", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail;
27272 arg2 = obj1;
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 (arg1)->SetData(arg2);
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 Py_INCREF(Py_None); resultobj = Py_None;
27281 return resultobj;
27282 fail:
27283 return NULL;
27284 }
27285
27286
27287 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27290 wxTreeItemId *result;
27291 PyObject * obj0 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail;
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 {
27302 wxTreeItemId const &_result_ref = (arg1)->GetId();
27303 result = (wxTreeItemId *) &_result_ref;
27304 }
27305
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27317 PyObject *resultobj;
27318 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27319 wxTreeItemId *arg2 = 0 ;
27320 PyObject * obj0 = 0 ;
27321 PyObject * obj1 = 0 ;
27322 char *kwnames[] = {
27323 (char *) "self",(char *) "id", NULL
27324 };
27325
27326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail;
27329 {
27330 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(2)) SWIG_fail;
27332 if (arg2 == NULL) {
27333 SWIG_null_ref("wxTreeItemId");
27334 }
27335 if (SWIG_arg_fail(2)) SWIG_fail;
27336 }
27337 {
27338 PyThreadState* __tstate = wxPyBeginAllowThreads();
27339 (arg1)->SetId((wxTreeItemId const &)*arg2);
27340
27341 wxPyEndAllowThreads(__tstate);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 Py_INCREF(Py_None); resultobj = Py_None;
27345 return resultobj;
27346 fail:
27347 return NULL;
27348 }
27349
27350
27351 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27352 PyObject *resultobj;
27353 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27354 PyObject * obj0 = 0 ;
27355 char *kwnames[] = {
27356 (char *) "self", NULL
27357 };
27358
27359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27361 if (SWIG_arg_fail(1)) SWIG_fail;
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 wxPyTreeItemData_Destroy(arg1);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 Py_INCREF(Py_None); resultobj = Py_None;
27370 return resultobj;
27371 fail:
27372 return NULL;
27373 }
27374
27375
27376 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27377 PyObject *obj;
27378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27379 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27380 Py_INCREF(obj);
27381 return Py_BuildValue((char *)"");
27382 }
27383 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj;
27385 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27386 int arg2 = (int) 0 ;
27387 wxTreeEvent *result;
27388 PyObject * obj0 = 0 ;
27389 PyObject * obj1 = 0 ;
27390 char *kwnames[] = {
27391 (char *) "commandType",(char *) "id", NULL
27392 };
27393
27394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27395 if (obj0) {
27396 {
27397 arg1 = (wxEventType)(SWIG_As_int(obj0));
27398 if (SWIG_arg_fail(1)) SWIG_fail;
27399 }
27400 }
27401 if (obj1) {
27402 {
27403 arg2 = (int)(SWIG_As_int(obj1));
27404 if (SWIG_arg_fail(2)) SWIG_fail;
27405 }
27406 }
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27422 PyObject *resultobj;
27423 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27424 wxTreeItemId result;
27425 PyObject * obj0 = 0 ;
27426 char *kwnames[] = {
27427 (char *) "self", NULL
27428 };
27429
27430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail;
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 result = ((wxTreeEvent const *)arg1)->GetItem();
27436
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 {
27441 wxTreeItemId * resultptr;
27442 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27444 }
27445 return resultobj;
27446 fail:
27447 return NULL;
27448 }
27449
27450
27451 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27452 PyObject *resultobj;
27453 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27454 wxTreeItemId *arg2 = 0 ;
27455 PyObject * obj0 = 0 ;
27456 PyObject * obj1 = 0 ;
27457 char *kwnames[] = {
27458 (char *) "self",(char *) "item", NULL
27459 };
27460
27461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail;
27464 {
27465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail;
27467 if (arg2 == NULL) {
27468 SWIG_null_ref("wxTreeItemId");
27469 }
27470 if (SWIG_arg_fail(2)) SWIG_fail;
27471 }
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27475
27476 wxPyEndAllowThreads(__tstate);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 Py_INCREF(Py_None); resultobj = Py_None;
27480 return resultobj;
27481 fail:
27482 return NULL;
27483 }
27484
27485
27486 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27487 PyObject *resultobj;
27488 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27489 wxTreeItemId result;
27490 PyObject * obj0 = 0 ;
27491 char *kwnames[] = {
27492 (char *) "self", NULL
27493 };
27494
27495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27497 if (SWIG_arg_fail(1)) SWIG_fail;
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
27500 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27501
27502 wxPyEndAllowThreads(__tstate);
27503 if (PyErr_Occurred()) SWIG_fail;
27504 }
27505 {
27506 wxTreeItemId * resultptr;
27507 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27509 }
27510 return resultobj;
27511 fail:
27512 return NULL;
27513 }
27514
27515
27516 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27517 PyObject *resultobj;
27518 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27519 wxTreeItemId *arg2 = 0 ;
27520 PyObject * obj0 = 0 ;
27521 PyObject * obj1 = 0 ;
27522 char *kwnames[] = {
27523 (char *) "self",(char *) "item", NULL
27524 };
27525
27526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail;
27529 {
27530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27531 if (SWIG_arg_fail(2)) SWIG_fail;
27532 if (arg2 == NULL) {
27533 SWIG_null_ref("wxTreeItemId");
27534 }
27535 if (SWIG_arg_fail(2)) SWIG_fail;
27536 }
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27540
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 Py_INCREF(Py_None); resultobj = Py_None;
27545 return resultobj;
27546 fail:
27547 return NULL;
27548 }
27549
27550
27551 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj;
27553 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27554 wxPoint result;
27555 PyObject * obj0 = 0 ;
27556 char *kwnames[] = {
27557 (char *) "self", NULL
27558 };
27559
27560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27562 if (SWIG_arg_fail(1)) SWIG_fail;
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 result = ((wxTreeEvent const *)arg1)->GetPoint();
27566
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 {
27571 wxPoint * resultptr;
27572 resultptr = new wxPoint((wxPoint &)(result));
27573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27574 }
27575 return resultobj;
27576 fail:
27577 return NULL;
27578 }
27579
27580
27581 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27582 PyObject *resultobj;
27583 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27584 wxPoint *arg2 = 0 ;
27585 wxPoint temp2 ;
27586 PyObject * obj0 = 0 ;
27587 PyObject * obj1 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self",(char *) "pt", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail;
27595 {
27596 arg2 = &temp2;
27597 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27598 }
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 (arg1)->SetPoint((wxPoint const &)*arg2);
27602
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 Py_INCREF(Py_None); resultobj = Py_None;
27607 return resultobj;
27608 fail:
27609 return NULL;
27610 }
27611
27612
27613 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27614 PyObject *resultobj;
27615 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27616 wxKeyEvent *result;
27617 PyObject * obj0 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self", NULL
27620 };
27621
27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail;
27625 {
27626 PyThreadState* __tstate = wxPyBeginAllowThreads();
27627 {
27628 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27629 result = (wxKeyEvent *) &_result_ref;
27630 }
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27636 return resultobj;
27637 fail:
27638 return NULL;
27639 }
27640
27641
27642 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj;
27644 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27645 int result;
27646 PyObject * obj0 = 0 ;
27647 char *kwnames[] = {
27648 (char *) "self", NULL
27649 };
27650
27651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27653 if (SWIG_arg_fail(1)) SWIG_fail;
27654 {
27655 PyThreadState* __tstate = wxPyBeginAllowThreads();
27656 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27657
27658 wxPyEndAllowThreads(__tstate);
27659 if (PyErr_Occurred()) SWIG_fail;
27660 }
27661 {
27662 resultobj = SWIG_From_int((int)(result));
27663 }
27664 return resultobj;
27665 fail:
27666 return NULL;
27667 }
27668
27669
27670 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj;
27672 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27673 wxKeyEvent *arg2 = 0 ;
27674 PyObject * obj0 = 0 ;
27675 PyObject * obj1 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self",(char *) "evt", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail;
27683 {
27684 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27685 if (SWIG_arg_fail(2)) SWIG_fail;
27686 if (arg2 == NULL) {
27687 SWIG_null_ref("wxKeyEvent");
27688 }
27689 if (SWIG_arg_fail(2)) SWIG_fail;
27690 }
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27694
27695 wxPyEndAllowThreads(__tstate);
27696 if (PyErr_Occurred()) SWIG_fail;
27697 }
27698 Py_INCREF(Py_None); resultobj = Py_None;
27699 return resultobj;
27700 fail:
27701 return NULL;
27702 }
27703
27704
27705 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27708 wxString *result;
27709 PyObject * obj0 = 0 ;
27710 char *kwnames[] = {
27711 (char *) "self", NULL
27712 };
27713
27714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail;
27717 {
27718 PyThreadState* __tstate = wxPyBeginAllowThreads();
27719 {
27720 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27721 result = (wxString *) &_result_ref;
27722 }
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 {
27728 #if wxUSE_UNICODE
27729 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27730 #else
27731 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27732 #endif
27733 }
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27741 PyObject *resultobj;
27742 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27743 wxString *arg2 = 0 ;
27744 bool temp2 = false ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "label", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail;
27754 {
27755 arg2 = wxString_in_helper(obj1);
27756 if (arg2 == NULL) SWIG_fail;
27757 temp2 = true;
27758 }
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 (arg1)->SetLabel((wxString const &)*arg2);
27762
27763 wxPyEndAllowThreads(__tstate);
27764 if (PyErr_Occurred()) SWIG_fail;
27765 }
27766 Py_INCREF(Py_None); resultobj = Py_None;
27767 {
27768 if (temp2)
27769 delete arg2;
27770 }
27771 return resultobj;
27772 fail:
27773 {
27774 if (temp2)
27775 delete arg2;
27776 }
27777 return NULL;
27778 }
27779
27780
27781 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27784 bool result;
27785 PyObject * obj0 = 0 ;
27786 char *kwnames[] = {
27787 (char *) "self", NULL
27788 };
27789
27790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27792 if (SWIG_arg_fail(1)) SWIG_fail;
27793 {
27794 PyThreadState* __tstate = wxPyBeginAllowThreads();
27795 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27796
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
27800 {
27801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27802 }
27803 return resultobj;
27804 fail:
27805 return NULL;
27806 }
27807
27808
27809 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27810 PyObject *resultobj;
27811 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27812 bool arg2 ;
27813 PyObject * obj0 = 0 ;
27814 PyObject * obj1 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "self",(char *) "editCancelled", NULL
27817 };
27818
27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail;
27822 {
27823 arg2 = (bool)(SWIG_As_bool(obj1));
27824 if (SWIG_arg_fail(2)) SWIG_fail;
27825 }
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 (arg1)->SetEditCanceled(arg2);
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 Py_INCREF(Py_None); resultobj = Py_None;
27834 return resultobj;
27835 fail:
27836 return NULL;
27837 }
27838
27839
27840 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27841 PyObject *resultobj;
27842 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27843 wxString *arg2 = 0 ;
27844 bool temp2 = false ;
27845 PyObject * obj0 = 0 ;
27846 PyObject * obj1 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self",(char *) "toolTip", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail;
27854 {
27855 arg2 = wxString_in_helper(obj1);
27856 if (arg2 == NULL) SWIG_fail;
27857 temp2 = true;
27858 }
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 (arg1)->SetToolTip((wxString const &)*arg2);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 Py_INCREF(Py_None); resultobj = Py_None;
27867 {
27868 if (temp2)
27869 delete arg2;
27870 }
27871 return resultobj;
27872 fail:
27873 {
27874 if (temp2)
27875 delete arg2;
27876 }
27877 return NULL;
27878 }
27879
27880
27881 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27882 PyObject *resultobj;
27883 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27884 wxString result;
27885 PyObject * obj0 = 0 ;
27886 char *kwnames[] = {
27887 (char *) "self", NULL
27888 };
27889
27890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27892 if (SWIG_arg_fail(1)) SWIG_fail;
27893 {
27894 PyThreadState* __tstate = wxPyBeginAllowThreads();
27895 result = (arg1)->GetToolTip();
27896
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 {
27901 #if wxUSE_UNICODE
27902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27903 #else
27904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27905 #endif
27906 }
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27914 PyObject *obj;
27915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27916 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27917 Py_INCREF(obj);
27918 return Py_BuildValue((char *)"");
27919 }
27920 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27921 PyObject *resultobj;
27922 wxWindow *arg1 = (wxWindow *) 0 ;
27923 int arg2 = (int) -1 ;
27924 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27925 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27926 wxSize const &arg4_defvalue = wxDefaultSize ;
27927 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27928 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27929 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27930 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27931 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27932 wxString *arg7 = (wxString *) &arg7_defvalue ;
27933 wxPyTreeCtrl *result;
27934 wxPoint temp3 ;
27935 wxSize temp4 ;
27936 bool temp7 = false ;
27937 PyObject * obj0 = 0 ;
27938 PyObject * obj1 = 0 ;
27939 PyObject * obj2 = 0 ;
27940 PyObject * obj3 = 0 ;
27941 PyObject * obj4 = 0 ;
27942 PyObject * obj5 = 0 ;
27943 PyObject * obj6 = 0 ;
27944 char *kwnames[] = {
27945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27946 };
27947
27948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27950 if (SWIG_arg_fail(1)) SWIG_fail;
27951 if (obj1) {
27952 {
27953 arg2 = (int)(SWIG_As_int(obj1));
27954 if (SWIG_arg_fail(2)) SWIG_fail;
27955 }
27956 }
27957 if (obj2) {
27958 {
27959 arg3 = &temp3;
27960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27961 }
27962 }
27963 if (obj3) {
27964 {
27965 arg4 = &temp4;
27966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27967 }
27968 }
27969 if (obj4) {
27970 {
27971 arg5 = (long)(SWIG_As_long(obj4));
27972 if (SWIG_arg_fail(5)) SWIG_fail;
27973 }
27974 }
27975 if (obj5) {
27976 {
27977 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27978 if (SWIG_arg_fail(6)) SWIG_fail;
27979 if (arg6 == NULL) {
27980 SWIG_null_ref("wxValidator");
27981 }
27982 if (SWIG_arg_fail(6)) SWIG_fail;
27983 }
27984 }
27985 if (obj6) {
27986 {
27987 arg7 = wxString_in_helper(obj6);
27988 if (arg7 == NULL) SWIG_fail;
27989 temp7 = true;
27990 }
27991 }
27992 {
27993 if (!wxPyCheckForApp()) SWIG_fail;
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28001 {
28002 if (temp7)
28003 delete arg7;
28004 }
28005 return resultobj;
28006 fail:
28007 {
28008 if (temp7)
28009 delete arg7;
28010 }
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxPyTreeCtrl *result;
28018 char *kwnames[] = {
28019 NULL
28020 };
28021
28022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28023 {
28024 if (!wxPyCheckForApp()) SWIG_fail;
28025 PyThreadState* __tstate = wxPyBeginAllowThreads();
28026 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28027
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28039 PyObject *resultobj;
28040 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28041 wxWindow *arg2 = (wxWindow *) 0 ;
28042 int arg3 = (int) -1 ;
28043 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28044 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28045 wxSize const &arg5_defvalue = wxDefaultSize ;
28046 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28047 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28048 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28049 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28050 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28051 wxString *arg8 = (wxString *) &arg8_defvalue ;
28052 bool result;
28053 wxPoint temp4 ;
28054 wxSize temp5 ;
28055 bool temp8 = false ;
28056 PyObject * obj0 = 0 ;
28057 PyObject * obj1 = 0 ;
28058 PyObject * obj2 = 0 ;
28059 PyObject * obj3 = 0 ;
28060 PyObject * obj4 = 0 ;
28061 PyObject * obj5 = 0 ;
28062 PyObject * obj6 = 0 ;
28063 PyObject * obj7 = 0 ;
28064 char *kwnames[] = {
28065 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28066 };
28067
28068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail;
28071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28072 if (SWIG_arg_fail(2)) SWIG_fail;
28073 if (obj2) {
28074 {
28075 arg3 = (int)(SWIG_As_int(obj2));
28076 if (SWIG_arg_fail(3)) SWIG_fail;
28077 }
28078 }
28079 if (obj3) {
28080 {
28081 arg4 = &temp4;
28082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28083 }
28084 }
28085 if (obj4) {
28086 {
28087 arg5 = &temp5;
28088 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28089 }
28090 }
28091 if (obj5) {
28092 {
28093 arg6 = (long)(SWIG_As_long(obj5));
28094 if (SWIG_arg_fail(6)) SWIG_fail;
28095 }
28096 }
28097 if (obj6) {
28098 {
28099 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28100 if (SWIG_arg_fail(7)) SWIG_fail;
28101 if (arg7 == NULL) {
28102 SWIG_null_ref("wxValidator");
28103 }
28104 if (SWIG_arg_fail(7)) SWIG_fail;
28105 }
28106 }
28107 if (obj7) {
28108 {
28109 arg8 = wxString_in_helper(obj7);
28110 if (arg8 == NULL) SWIG_fail;
28111 temp8 = true;
28112 }
28113 }
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 {
28122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28123 }
28124 {
28125 if (temp8)
28126 delete arg8;
28127 }
28128 return resultobj;
28129 fail:
28130 {
28131 if (temp8)
28132 delete arg8;
28133 }
28134 return NULL;
28135 }
28136
28137
28138 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28139 PyObject *resultobj;
28140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28141 PyObject *arg2 = (PyObject *) 0 ;
28142 PyObject *arg3 = (PyObject *) 0 ;
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 char *kwnames[] = {
28147 (char *) "self",(char *) "self",(char *) "_class", NULL
28148 };
28149
28150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail;
28153 arg2 = obj1;
28154 arg3 = obj2;
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 (arg1)->_setCallbackInfo(arg2,arg3);
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 Py_INCREF(Py_None); resultobj = Py_None;
28163 return resultobj;
28164 fail:
28165 return NULL;
28166 }
28167
28168
28169 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28172 size_t result;
28173 PyObject * obj0 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail;
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 {
28189 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28190 }
28191 return resultobj;
28192 fail:
28193 return NULL;
28194 }
28195
28196
28197 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28198 PyObject *resultobj;
28199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28200 unsigned int result;
28201 PyObject * obj0 = 0 ;
28202 char *kwnames[] = {
28203 (char *) "self", NULL
28204 };
28205
28206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail;
28209 {
28210 PyThreadState* __tstate = wxPyBeginAllowThreads();
28211 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28212
28213 wxPyEndAllowThreads(__tstate);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
28216 {
28217 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28218 }
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28228 unsigned int arg2 ;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 char *kwnames[] = {
28232 (char *) "self",(char *) "indent", NULL
28233 };
28234
28235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28237 if (SWIG_arg_fail(1)) SWIG_fail;
28238 {
28239 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28240 if (SWIG_arg_fail(2)) SWIG_fail;
28241 }
28242 {
28243 PyThreadState* __tstate = wxPyBeginAllowThreads();
28244 (arg1)->SetIndent(arg2);
28245
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 Py_INCREF(Py_None); resultobj = Py_None;
28250 return resultobj;
28251 fail:
28252 return NULL;
28253 }
28254
28255
28256 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28257 PyObject *resultobj;
28258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28259 unsigned int result;
28260 PyObject * obj0 = 0 ;
28261 char *kwnames[] = {
28262 (char *) "self", NULL
28263 };
28264
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail;
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 {
28276 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28277 }
28278 return resultobj;
28279 fail:
28280 return NULL;
28281 }
28282
28283
28284 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28285 PyObject *resultobj;
28286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28287 unsigned int arg2 ;
28288 PyObject * obj0 = 0 ;
28289 PyObject * obj1 = 0 ;
28290 char *kwnames[] = {
28291 (char *) "self",(char *) "spacing", NULL
28292 };
28293
28294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28296 if (SWIG_arg_fail(1)) SWIG_fail;
28297 {
28298 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28299 if (SWIG_arg_fail(2)) SWIG_fail;
28300 }
28301 {
28302 PyThreadState* __tstate = wxPyBeginAllowThreads();
28303 (arg1)->SetSpacing(arg2);
28304
28305 wxPyEndAllowThreads(__tstate);
28306 if (PyErr_Occurred()) SWIG_fail;
28307 }
28308 Py_INCREF(Py_None); resultobj = Py_None;
28309 return resultobj;
28310 fail:
28311 return NULL;
28312 }
28313
28314
28315 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28316 PyObject *resultobj;
28317 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28318 wxImageList *result;
28319 PyObject * obj0 = 0 ;
28320 char *kwnames[] = {
28321 (char *) "self", NULL
28322 };
28323
28324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28326 if (SWIG_arg_fail(1)) SWIG_fail;
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 {
28335 resultobj = wxPyMake_wxObject(result, 0);
28336 }
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj;
28345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28346 wxImageList *result;
28347 PyObject * obj0 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28354 if (SWIG_arg_fail(1)) SWIG_fail;
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 {
28363 resultobj = wxPyMake_wxObject(result, 0);
28364 }
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj;
28373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28374 wxImageList *arg2 = (wxImageList *) 0 ;
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 char *kwnames[] = {
28378 (char *) "self",(char *) "imageList", NULL
28379 };
28380
28381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail;
28384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28385 if (SWIG_arg_fail(2)) SWIG_fail;
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
28388 (arg1)->SetImageList(arg2);
28389
28390 wxPyEndAllowThreads(__tstate);
28391 if (PyErr_Occurred()) SWIG_fail;
28392 }
28393 Py_INCREF(Py_None); resultobj = Py_None;
28394 return resultobj;
28395 fail:
28396 return NULL;
28397 }
28398
28399
28400 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28401 PyObject *resultobj;
28402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28403 wxImageList *arg2 = (wxImageList *) 0 ;
28404 PyObject * obj0 = 0 ;
28405 PyObject * obj1 = 0 ;
28406 char *kwnames[] = {
28407 (char *) "self",(char *) "imageList", NULL
28408 };
28409
28410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28412 if (SWIG_arg_fail(1)) SWIG_fail;
28413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28414 if (SWIG_arg_fail(2)) SWIG_fail;
28415 {
28416 PyThreadState* __tstate = wxPyBeginAllowThreads();
28417 (arg1)->SetStateImageList(arg2);
28418
28419 wxPyEndAllowThreads(__tstate);
28420 if (PyErr_Occurred()) SWIG_fail;
28421 }
28422 Py_INCREF(Py_None); resultobj = Py_None;
28423 return resultobj;
28424 fail:
28425 return NULL;
28426 }
28427
28428
28429 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28430 PyObject *resultobj;
28431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28432 wxImageList *arg2 = (wxImageList *) 0 ;
28433 PyObject * obj0 = 0 ;
28434 PyObject * obj1 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self",(char *) "imageList", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail;
28442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28443 if (SWIG_arg_fail(2)) SWIG_fail;
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 (arg1)->AssignImageList(arg2);
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
28451 Py_INCREF(Py_None); resultobj = Py_None;
28452 return resultobj;
28453 fail:
28454 return NULL;
28455 }
28456
28457
28458 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28459 PyObject *resultobj;
28460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28461 wxImageList *arg2 = (wxImageList *) 0 ;
28462 PyObject * obj0 = 0 ;
28463 PyObject * obj1 = 0 ;
28464 char *kwnames[] = {
28465 (char *) "self",(char *) "imageList", NULL
28466 };
28467
28468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28470 if (SWIG_arg_fail(1)) SWIG_fail;
28471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28472 if (SWIG_arg_fail(2)) SWIG_fail;
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 (arg1)->AssignStateImageList(arg2);
28476
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 Py_INCREF(Py_None); resultobj = Py_None;
28481 return resultobj;
28482 fail:
28483 return NULL;
28484 }
28485
28486
28487 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28488 PyObject *resultobj;
28489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28490 wxTreeItemId *arg2 = 0 ;
28491 wxString result;
28492 PyObject * obj0 = 0 ;
28493 PyObject * obj1 = 0 ;
28494 char *kwnames[] = {
28495 (char *) "self",(char *) "item", NULL
28496 };
28497
28498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28500 if (SWIG_arg_fail(1)) SWIG_fail;
28501 {
28502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28503 if (SWIG_arg_fail(2)) SWIG_fail;
28504 if (arg2 == NULL) {
28505 SWIG_null_ref("wxTreeItemId");
28506 }
28507 if (SWIG_arg_fail(2)) SWIG_fail;
28508 }
28509 {
28510 PyThreadState* __tstate = wxPyBeginAllowThreads();
28511 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28512
28513 wxPyEndAllowThreads(__tstate);
28514 if (PyErr_Occurred()) SWIG_fail;
28515 }
28516 {
28517 #if wxUSE_UNICODE
28518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28519 #else
28520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28521 #endif
28522 }
28523 return resultobj;
28524 fail:
28525 return NULL;
28526 }
28527
28528
28529 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28530 PyObject *resultobj;
28531 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28532 wxTreeItemId *arg2 = 0 ;
28533 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28534 int result;
28535 PyObject * obj0 = 0 ;
28536 PyObject * obj1 = 0 ;
28537 PyObject * obj2 = 0 ;
28538 char *kwnames[] = {
28539 (char *) "self",(char *) "item",(char *) "which", NULL
28540 };
28541
28542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28544 if (SWIG_arg_fail(1)) SWIG_fail;
28545 {
28546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28547 if (SWIG_arg_fail(2)) SWIG_fail;
28548 if (arg2 == NULL) {
28549 SWIG_null_ref("wxTreeItemId");
28550 }
28551 if (SWIG_arg_fail(2)) SWIG_fail;
28552 }
28553 if (obj2) {
28554 {
28555 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28556 if (SWIG_arg_fail(3)) SWIG_fail;
28557 }
28558 }
28559 {
28560 PyThreadState* __tstate = wxPyBeginAllowThreads();
28561 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28562
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 {
28567 resultobj = SWIG_From_int((int)(result));
28568 }
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28576 PyObject *resultobj;
28577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28578 wxTreeItemId *arg2 = 0 ;
28579 wxPyTreeItemData *result;
28580 PyObject * obj0 = 0 ;
28581 PyObject * obj1 = 0 ;
28582 char *kwnames[] = {
28583 (char *) "self",(char *) "item", NULL
28584 };
28585
28586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28588 if (SWIG_arg_fail(1)) SWIG_fail;
28589 {
28590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28591 if (SWIG_arg_fail(2)) SWIG_fail;
28592 if (arg2 == NULL) {
28593 SWIG_null_ref("wxTreeItemId");
28594 }
28595 if (SWIG_arg_fail(2)) SWIG_fail;
28596 }
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28600
28601 wxPyEndAllowThreads(__tstate);
28602 if (PyErr_Occurred()) SWIG_fail;
28603 }
28604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28605 return resultobj;
28606 fail:
28607 return NULL;
28608 }
28609
28610
28611 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28612 PyObject *resultobj;
28613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28614 wxTreeItemId *arg2 = 0 ;
28615 PyObject *result;
28616 PyObject * obj0 = 0 ;
28617 PyObject * obj1 = 0 ;
28618 char *kwnames[] = {
28619 (char *) "self",(char *) "item", NULL
28620 };
28621
28622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail;
28625 {
28626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28627 if (SWIG_arg_fail(2)) SWIG_fail;
28628 if (arg2 == NULL) {
28629 SWIG_null_ref("wxTreeItemId");
28630 }
28631 if (SWIG_arg_fail(2)) SWIG_fail;
28632 }
28633 {
28634 PyThreadState* __tstate = wxPyBeginAllowThreads();
28635 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28636
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 resultobj = result;
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28648 PyObject *resultobj;
28649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28650 wxTreeItemId *arg2 = 0 ;
28651 wxColour result;
28652 PyObject * obj0 = 0 ;
28653 PyObject * obj1 = 0 ;
28654 char *kwnames[] = {
28655 (char *) "self",(char *) "item", NULL
28656 };
28657
28658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28660 if (SWIG_arg_fail(1)) SWIG_fail;
28661 {
28662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28663 if (SWIG_arg_fail(2)) SWIG_fail;
28664 if (arg2 == NULL) {
28665 SWIG_null_ref("wxTreeItemId");
28666 }
28667 if (SWIG_arg_fail(2)) SWIG_fail;
28668 }
28669 {
28670 PyThreadState* __tstate = wxPyBeginAllowThreads();
28671 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28672
28673 wxPyEndAllowThreads(__tstate);
28674 if (PyErr_Occurred()) SWIG_fail;
28675 }
28676 {
28677 wxColour * resultptr;
28678 resultptr = new wxColour((wxColour &)(result));
28679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28680 }
28681 return resultobj;
28682 fail:
28683 return NULL;
28684 }
28685
28686
28687 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28688 PyObject *resultobj;
28689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28690 wxTreeItemId *arg2 = 0 ;
28691 wxColour result;
28692 PyObject * obj0 = 0 ;
28693 PyObject * obj1 = 0 ;
28694 char *kwnames[] = {
28695 (char *) "self",(char *) "item", NULL
28696 };
28697
28698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail;
28701 {
28702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28703 if (SWIG_arg_fail(2)) SWIG_fail;
28704 if (arg2 == NULL) {
28705 SWIG_null_ref("wxTreeItemId");
28706 }
28707 if (SWIG_arg_fail(2)) SWIG_fail;
28708 }
28709 {
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28712
28713 wxPyEndAllowThreads(__tstate);
28714 if (PyErr_Occurred()) SWIG_fail;
28715 }
28716 {
28717 wxColour * resultptr;
28718 resultptr = new wxColour((wxColour &)(result));
28719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28720 }
28721 return resultobj;
28722 fail:
28723 return NULL;
28724 }
28725
28726
28727 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28728 PyObject *resultobj;
28729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28730 wxTreeItemId *arg2 = 0 ;
28731 wxFont result;
28732 PyObject * obj0 = 0 ;
28733 PyObject * obj1 = 0 ;
28734 char *kwnames[] = {
28735 (char *) "self",(char *) "item", NULL
28736 };
28737
28738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28740 if (SWIG_arg_fail(1)) SWIG_fail;
28741 {
28742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28743 if (SWIG_arg_fail(2)) SWIG_fail;
28744 if (arg2 == NULL) {
28745 SWIG_null_ref("wxTreeItemId");
28746 }
28747 if (SWIG_arg_fail(2)) SWIG_fail;
28748 }
28749 {
28750 PyThreadState* __tstate = wxPyBeginAllowThreads();
28751 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28752
28753 wxPyEndAllowThreads(__tstate);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 }
28756 {
28757 wxFont * resultptr;
28758 resultptr = new wxFont((wxFont &)(result));
28759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28760 }
28761 return resultobj;
28762 fail:
28763 return NULL;
28764 }
28765
28766
28767 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28768 PyObject *resultobj;
28769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28770 wxTreeItemId *arg2 = 0 ;
28771 wxString *arg3 = 0 ;
28772 bool temp3 = false ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 PyObject * obj2 = 0 ;
28776 char *kwnames[] = {
28777 (char *) "self",(char *) "item",(char *) "text", NULL
28778 };
28779
28780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28782 if (SWIG_arg_fail(1)) SWIG_fail;
28783 {
28784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28785 if (SWIG_arg_fail(2)) SWIG_fail;
28786 if (arg2 == NULL) {
28787 SWIG_null_ref("wxTreeItemId");
28788 }
28789 if (SWIG_arg_fail(2)) SWIG_fail;
28790 }
28791 {
28792 arg3 = wxString_in_helper(obj2);
28793 if (arg3 == NULL) SWIG_fail;
28794 temp3 = true;
28795 }
28796 {
28797 PyThreadState* __tstate = wxPyBeginAllowThreads();
28798 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28799
28800 wxPyEndAllowThreads(__tstate);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 Py_INCREF(Py_None); resultobj = Py_None;
28804 {
28805 if (temp3)
28806 delete arg3;
28807 }
28808 return resultobj;
28809 fail:
28810 {
28811 if (temp3)
28812 delete arg3;
28813 }
28814 return NULL;
28815 }
28816
28817
28818 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28819 PyObject *resultobj;
28820 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28821 wxTreeItemId *arg2 = 0 ;
28822 int arg3 ;
28823 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28824 PyObject * obj0 = 0 ;
28825 PyObject * obj1 = 0 ;
28826 PyObject * obj2 = 0 ;
28827 PyObject * obj3 = 0 ;
28828 char *kwnames[] = {
28829 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28830 };
28831
28832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28834 if (SWIG_arg_fail(1)) SWIG_fail;
28835 {
28836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28837 if (SWIG_arg_fail(2)) SWIG_fail;
28838 if (arg2 == NULL) {
28839 SWIG_null_ref("wxTreeItemId");
28840 }
28841 if (SWIG_arg_fail(2)) SWIG_fail;
28842 }
28843 {
28844 arg3 = (int)(SWIG_As_int(obj2));
28845 if (SWIG_arg_fail(3)) SWIG_fail;
28846 }
28847 if (obj3) {
28848 {
28849 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28850 if (SWIG_arg_fail(4)) SWIG_fail;
28851 }
28852 }
28853 {
28854 PyThreadState* __tstate = wxPyBeginAllowThreads();
28855 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28856
28857 wxPyEndAllowThreads(__tstate);
28858 if (PyErr_Occurred()) SWIG_fail;
28859 }
28860 Py_INCREF(Py_None); resultobj = Py_None;
28861 return resultobj;
28862 fail:
28863 return NULL;
28864 }
28865
28866
28867 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28868 PyObject *resultobj;
28869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28870 wxTreeItemId *arg2 = 0 ;
28871 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28872 PyObject * obj0 = 0 ;
28873 PyObject * obj1 = 0 ;
28874 PyObject * obj2 = 0 ;
28875 char *kwnames[] = {
28876 (char *) "self",(char *) "item",(char *) "data", NULL
28877 };
28878
28879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail;
28882 {
28883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28884 if (SWIG_arg_fail(2)) SWIG_fail;
28885 if (arg2 == NULL) {
28886 SWIG_null_ref("wxTreeItemId");
28887 }
28888 if (SWIG_arg_fail(2)) SWIG_fail;
28889 }
28890 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28891 if (SWIG_arg_fail(3)) SWIG_fail;
28892 {
28893 PyThreadState* __tstate = wxPyBeginAllowThreads();
28894 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28895
28896 wxPyEndAllowThreads(__tstate);
28897 if (PyErr_Occurred()) SWIG_fail;
28898 }
28899 Py_INCREF(Py_None); resultobj = Py_None;
28900 return resultobj;
28901 fail:
28902 return NULL;
28903 }
28904
28905
28906 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28907 PyObject *resultobj;
28908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28909 wxTreeItemId *arg2 = 0 ;
28910 PyObject *arg3 = (PyObject *) 0 ;
28911 PyObject * obj0 = 0 ;
28912 PyObject * obj1 = 0 ;
28913 PyObject * obj2 = 0 ;
28914 char *kwnames[] = {
28915 (char *) "self",(char *) "item",(char *) "obj", NULL
28916 };
28917
28918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail;
28921 {
28922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28923 if (SWIG_arg_fail(2)) SWIG_fail;
28924 if (arg2 == NULL) {
28925 SWIG_null_ref("wxTreeItemId");
28926 }
28927 if (SWIG_arg_fail(2)) SWIG_fail;
28928 }
28929 arg3 = obj2;
28930 {
28931 PyThreadState* __tstate = wxPyBeginAllowThreads();
28932 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28933
28934 wxPyEndAllowThreads(__tstate);
28935 if (PyErr_Occurred()) SWIG_fail;
28936 }
28937 Py_INCREF(Py_None); resultobj = Py_None;
28938 return resultobj;
28939 fail:
28940 return NULL;
28941 }
28942
28943
28944 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28945 PyObject *resultobj;
28946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28947 wxTreeItemId *arg2 = 0 ;
28948 bool arg3 = (bool) true ;
28949 PyObject * obj0 = 0 ;
28950 PyObject * obj1 = 0 ;
28951 PyObject * obj2 = 0 ;
28952 char *kwnames[] = {
28953 (char *) "self",(char *) "item",(char *) "has", NULL
28954 };
28955
28956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28958 if (SWIG_arg_fail(1)) SWIG_fail;
28959 {
28960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28961 if (SWIG_arg_fail(2)) SWIG_fail;
28962 if (arg2 == NULL) {
28963 SWIG_null_ref("wxTreeItemId");
28964 }
28965 if (SWIG_arg_fail(2)) SWIG_fail;
28966 }
28967 if (obj2) {
28968 {
28969 arg3 = (bool)(SWIG_As_bool(obj2));
28970 if (SWIG_arg_fail(3)) SWIG_fail;
28971 }
28972 }
28973 {
28974 PyThreadState* __tstate = wxPyBeginAllowThreads();
28975 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28976
28977 wxPyEndAllowThreads(__tstate);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 Py_INCREF(Py_None); resultobj = Py_None;
28981 return resultobj;
28982 fail:
28983 return NULL;
28984 }
28985
28986
28987 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28988 PyObject *resultobj;
28989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28990 wxTreeItemId *arg2 = 0 ;
28991 bool arg3 = (bool) true ;
28992 PyObject * obj0 = 0 ;
28993 PyObject * obj1 = 0 ;
28994 PyObject * obj2 = 0 ;
28995 char *kwnames[] = {
28996 (char *) "self",(char *) "item",(char *) "bold", NULL
28997 };
28998
28999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29001 if (SWIG_arg_fail(1)) SWIG_fail;
29002 {
29003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29004 if (SWIG_arg_fail(2)) SWIG_fail;
29005 if (arg2 == NULL) {
29006 SWIG_null_ref("wxTreeItemId");
29007 }
29008 if (SWIG_arg_fail(2)) SWIG_fail;
29009 }
29010 if (obj2) {
29011 {
29012 arg3 = (bool)(SWIG_As_bool(obj2));
29013 if (SWIG_arg_fail(3)) SWIG_fail;
29014 }
29015 }
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
29018 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
29023 Py_INCREF(Py_None); resultobj = Py_None;
29024 return resultobj;
29025 fail:
29026 return NULL;
29027 }
29028
29029
29030 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29031 PyObject *resultobj;
29032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29033 wxTreeItemId *arg2 = 0 ;
29034 bool arg3 = (bool) true ;
29035 PyObject * obj0 = 0 ;
29036 PyObject * obj1 = 0 ;
29037 PyObject * obj2 = 0 ;
29038 char *kwnames[] = {
29039 (char *) "self",(char *) "item",(char *) "highlight", NULL
29040 };
29041
29042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29044 if (SWIG_arg_fail(1)) SWIG_fail;
29045 {
29046 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29047 if (SWIG_arg_fail(2)) SWIG_fail;
29048 if (arg2 == NULL) {
29049 SWIG_null_ref("wxTreeItemId");
29050 }
29051 if (SWIG_arg_fail(2)) SWIG_fail;
29052 }
29053 if (obj2) {
29054 {
29055 arg3 = (bool)(SWIG_As_bool(obj2));
29056 if (SWIG_arg_fail(3)) SWIG_fail;
29057 }
29058 }
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29062
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 Py_INCREF(Py_None); resultobj = Py_None;
29067 return resultobj;
29068 fail:
29069 return NULL;
29070 }
29071
29072
29073 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29074 PyObject *resultobj;
29075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29076 wxTreeItemId *arg2 = 0 ;
29077 wxColour *arg3 = 0 ;
29078 wxColour temp3 ;
29079 PyObject * obj0 = 0 ;
29080 PyObject * obj1 = 0 ;
29081 PyObject * obj2 = 0 ;
29082 char *kwnames[] = {
29083 (char *) "self",(char *) "item",(char *) "col", NULL
29084 };
29085
29086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail;
29089 {
29090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29091 if (SWIG_arg_fail(2)) SWIG_fail;
29092 if (arg2 == NULL) {
29093 SWIG_null_ref("wxTreeItemId");
29094 }
29095 if (SWIG_arg_fail(2)) SWIG_fail;
29096 }
29097 {
29098 arg3 = &temp3;
29099 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29100 }
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 Py_INCREF(Py_None); resultobj = Py_None;
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj;
29117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29118 wxTreeItemId *arg2 = 0 ;
29119 wxColour *arg3 = 0 ;
29120 wxColour temp3 ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 PyObject * obj2 = 0 ;
29124 char *kwnames[] = {
29125 (char *) "self",(char *) "item",(char *) "col", NULL
29126 };
29127
29128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29130 if (SWIG_arg_fail(1)) SWIG_fail;
29131 {
29132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29133 if (SWIG_arg_fail(2)) SWIG_fail;
29134 if (arg2 == NULL) {
29135 SWIG_null_ref("wxTreeItemId");
29136 }
29137 if (SWIG_arg_fail(2)) SWIG_fail;
29138 }
29139 {
29140 arg3 = &temp3;
29141 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29142 }
29143 {
29144 PyThreadState* __tstate = wxPyBeginAllowThreads();
29145 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29146
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 Py_INCREF(Py_None); resultobj = Py_None;
29151 return resultobj;
29152 fail:
29153 return NULL;
29154 }
29155
29156
29157 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29158 PyObject *resultobj;
29159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29160 wxTreeItemId *arg2 = 0 ;
29161 wxFont *arg3 = 0 ;
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
29164 PyObject * obj2 = 0 ;
29165 char *kwnames[] = {
29166 (char *) "self",(char *) "item",(char *) "font", NULL
29167 };
29168
29169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29171 if (SWIG_arg_fail(1)) SWIG_fail;
29172 {
29173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29174 if (SWIG_arg_fail(2)) SWIG_fail;
29175 if (arg2 == NULL) {
29176 SWIG_null_ref("wxTreeItemId");
29177 }
29178 if (SWIG_arg_fail(2)) SWIG_fail;
29179 }
29180 {
29181 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29182 if (SWIG_arg_fail(3)) SWIG_fail;
29183 if (arg3 == NULL) {
29184 SWIG_null_ref("wxFont");
29185 }
29186 if (SWIG_arg_fail(3)) SWIG_fail;
29187 }
29188 {
29189 PyThreadState* __tstate = wxPyBeginAllowThreads();
29190 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29191
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 Py_INCREF(Py_None); resultobj = Py_None;
29196 return resultobj;
29197 fail:
29198 return NULL;
29199 }
29200
29201
29202 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29203 PyObject *resultobj;
29204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29205 wxTreeItemId *arg2 = 0 ;
29206 bool result;
29207 PyObject * obj0 = 0 ;
29208 PyObject * obj1 = 0 ;
29209 char *kwnames[] = {
29210 (char *) "self",(char *) "item", NULL
29211 };
29212
29213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29215 if (SWIG_arg_fail(1)) SWIG_fail;
29216 {
29217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29218 if (SWIG_arg_fail(2)) SWIG_fail;
29219 if (arg2 == NULL) {
29220 SWIG_null_ref("wxTreeItemId");
29221 }
29222 if (SWIG_arg_fail(2)) SWIG_fail;
29223 }
29224 {
29225 PyThreadState* __tstate = wxPyBeginAllowThreads();
29226 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29227
29228 wxPyEndAllowThreads(__tstate);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
29231 {
29232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29233 }
29234 return resultobj;
29235 fail:
29236 return NULL;
29237 }
29238
29239
29240 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29241 PyObject *resultobj;
29242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29243 wxTreeItemId *arg2 = 0 ;
29244 bool result;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "self",(char *) "item", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29253 if (SWIG_arg_fail(1)) SWIG_fail;
29254 {
29255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29256 if (SWIG_arg_fail(2)) SWIG_fail;
29257 if (arg2 == NULL) {
29258 SWIG_null_ref("wxTreeItemId");
29259 }
29260 if (SWIG_arg_fail(2)) SWIG_fail;
29261 }
29262 {
29263 PyThreadState* __tstate = wxPyBeginAllowThreads();
29264 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29265
29266 wxPyEndAllowThreads(__tstate);
29267 if (PyErr_Occurred()) SWIG_fail;
29268 }
29269 {
29270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29271 }
29272 return resultobj;
29273 fail:
29274 return NULL;
29275 }
29276
29277
29278 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29279 PyObject *resultobj;
29280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29281 wxTreeItemId *arg2 = 0 ;
29282 bool result;
29283 PyObject * obj0 = 0 ;
29284 PyObject * obj1 = 0 ;
29285 char *kwnames[] = {
29286 (char *) "self",(char *) "item", NULL
29287 };
29288
29289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29291 if (SWIG_arg_fail(1)) SWIG_fail;
29292 {
29293 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29294 if (SWIG_arg_fail(2)) SWIG_fail;
29295 if (arg2 == NULL) {
29296 SWIG_null_ref("wxTreeItemId");
29297 }
29298 if (SWIG_arg_fail(2)) SWIG_fail;
29299 }
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29303
29304 wxPyEndAllowThreads(__tstate);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 }
29307 {
29308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29309 }
29310 return resultobj;
29311 fail:
29312 return NULL;
29313 }
29314
29315
29316 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29317 PyObject *resultobj;
29318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29319 wxTreeItemId *arg2 = 0 ;
29320 bool result;
29321 PyObject * obj0 = 0 ;
29322 PyObject * obj1 = 0 ;
29323 char *kwnames[] = {
29324 (char *) "self",(char *) "item", NULL
29325 };
29326
29327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29329 if (SWIG_arg_fail(1)) SWIG_fail;
29330 {
29331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29332 if (SWIG_arg_fail(2)) SWIG_fail;
29333 if (arg2 == NULL) {
29334 SWIG_null_ref("wxTreeItemId");
29335 }
29336 if (SWIG_arg_fail(2)) SWIG_fail;
29337 }
29338 {
29339 PyThreadState* __tstate = wxPyBeginAllowThreads();
29340 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29341
29342 wxPyEndAllowThreads(__tstate);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 }
29345 {
29346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29347 }
29348 return resultobj;
29349 fail:
29350 return NULL;
29351 }
29352
29353
29354 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29355 PyObject *resultobj;
29356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29357 wxTreeItemId *arg2 = 0 ;
29358 bool result;
29359 PyObject * obj0 = 0 ;
29360 PyObject * obj1 = 0 ;
29361 char *kwnames[] = {
29362 (char *) "self",(char *) "item", NULL
29363 };
29364
29365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail;
29368 {
29369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29370 if (SWIG_arg_fail(2)) SWIG_fail;
29371 if (arg2 == NULL) {
29372 SWIG_null_ref("wxTreeItemId");
29373 }
29374 if (SWIG_arg_fail(2)) SWIG_fail;
29375 }
29376 {
29377 PyThreadState* __tstate = wxPyBeginAllowThreads();
29378 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29379
29380 wxPyEndAllowThreads(__tstate);
29381 if (PyErr_Occurred()) SWIG_fail;
29382 }
29383 {
29384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29385 }
29386 return resultobj;
29387 fail:
29388 return NULL;
29389 }
29390
29391
29392 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29393 PyObject *resultobj;
29394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29395 wxTreeItemId *arg2 = 0 ;
29396 bool arg3 = (bool) true ;
29397 size_t result;
29398 PyObject * obj0 = 0 ;
29399 PyObject * obj1 = 0 ;
29400 PyObject * obj2 = 0 ;
29401 char *kwnames[] = {
29402 (char *) "self",(char *) "item",(char *) "recursively", NULL
29403 };
29404
29405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail;
29408 {
29409 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29410 if (SWIG_arg_fail(2)) SWIG_fail;
29411 if (arg2 == NULL) {
29412 SWIG_null_ref("wxTreeItemId");
29413 }
29414 if (SWIG_arg_fail(2)) SWIG_fail;
29415 }
29416 if (obj2) {
29417 {
29418 arg3 = (bool)(SWIG_As_bool(obj2));
29419 if (SWIG_arg_fail(3)) SWIG_fail;
29420 }
29421 }
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29425
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 {
29430 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29431 }
29432 return resultobj;
29433 fail:
29434 return NULL;
29435 }
29436
29437
29438 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29439 PyObject *resultobj;
29440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29441 wxTreeItemId result;
29442 PyObject * obj0 = 0 ;
29443 char *kwnames[] = {
29444 (char *) "self", NULL
29445 };
29446
29447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail;
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29453
29454 wxPyEndAllowThreads(__tstate);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 }
29457 {
29458 wxTreeItemId * resultptr;
29459 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29461 }
29462 return resultobj;
29463 fail:
29464 return NULL;
29465 }
29466
29467
29468 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29469 PyObject *resultobj;
29470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29471 wxTreeItemId result;
29472 PyObject * obj0 = 0 ;
29473 char *kwnames[] = {
29474 (char *) "self", NULL
29475 };
29476
29477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29479 if (SWIG_arg_fail(1)) SWIG_fail;
29480 {
29481 PyThreadState* __tstate = wxPyBeginAllowThreads();
29482 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29483
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 wxTreeItemId * resultptr;
29489 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29491 }
29492 return resultobj;
29493 fail:
29494 return NULL;
29495 }
29496
29497
29498 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29499 PyObject *resultobj;
29500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29501 PyObject *result;
29502 PyObject * obj0 = 0 ;
29503 char *kwnames[] = {
29504 (char *) "self", NULL
29505 };
29506
29507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail;
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = result;
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29525 PyObject *resultobj;
29526 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29527 wxTreeItemId *arg2 = 0 ;
29528 wxTreeItemId result;
29529 PyObject * obj0 = 0 ;
29530 PyObject * obj1 = 0 ;
29531 char *kwnames[] = {
29532 (char *) "self",(char *) "item", NULL
29533 };
29534
29535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail;
29538 {
29539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29540 if (SWIG_arg_fail(2)) SWIG_fail;
29541 if (arg2 == NULL) {
29542 SWIG_null_ref("wxTreeItemId");
29543 }
29544 if (SWIG_arg_fail(2)) SWIG_fail;
29545 }
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29549
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 {
29554 wxTreeItemId * resultptr;
29555 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29557 }
29558 return resultobj;
29559 fail:
29560 return NULL;
29561 }
29562
29563
29564 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29565 PyObject *resultobj;
29566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29567 wxTreeItemId *arg2 = 0 ;
29568 PyObject *result;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 char *kwnames[] = {
29572 (char *) "self",(char *) "item", NULL
29573 };
29574
29575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29577 if (SWIG_arg_fail(1)) SWIG_fail;
29578 {
29579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29580 if (SWIG_arg_fail(2)) SWIG_fail;
29581 if (arg2 == NULL) {
29582 SWIG_null_ref("wxTreeItemId");
29583 }
29584 if (SWIG_arg_fail(2)) SWIG_fail;
29585 }
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29589
29590 wxPyEndAllowThreads(__tstate);
29591 if (PyErr_Occurred()) SWIG_fail;
29592 }
29593 resultobj = result;
29594 return resultobj;
29595 fail:
29596 return NULL;
29597 }
29598
29599
29600 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29601 PyObject *resultobj;
29602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29603 wxTreeItemId *arg2 = 0 ;
29604 void *arg3 = (void *) 0 ;
29605 PyObject *result;
29606 PyObject * obj0 = 0 ;
29607 PyObject * obj1 = 0 ;
29608 PyObject * obj2 = 0 ;
29609 char *kwnames[] = {
29610 (char *) "self",(char *) "item",(char *) "cookie", NULL
29611 };
29612
29613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29615 if (SWIG_arg_fail(1)) SWIG_fail;
29616 {
29617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29618 if (SWIG_arg_fail(2)) SWIG_fail;
29619 if (arg2 == NULL) {
29620 SWIG_null_ref("wxTreeItemId");
29621 }
29622 if (SWIG_arg_fail(2)) SWIG_fail;
29623 }
29624 {
29625 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29626 SWIG_arg_fail(3);SWIG_fail;
29627 }
29628 }
29629 {
29630 PyThreadState* __tstate = wxPyBeginAllowThreads();
29631 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29632
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 resultobj = result;
29637 return resultobj;
29638 fail:
29639 return NULL;
29640 }
29641
29642
29643 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj;
29645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29646 wxTreeItemId *arg2 = 0 ;
29647 wxTreeItemId result;
29648 PyObject * obj0 = 0 ;
29649 PyObject * obj1 = 0 ;
29650 char *kwnames[] = {
29651 (char *) "self",(char *) "item", NULL
29652 };
29653
29654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29656 if (SWIG_arg_fail(1)) SWIG_fail;
29657 {
29658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29659 if (SWIG_arg_fail(2)) SWIG_fail;
29660 if (arg2 == NULL) {
29661 SWIG_null_ref("wxTreeItemId");
29662 }
29663 if (SWIG_arg_fail(2)) SWIG_fail;
29664 }
29665 {
29666 PyThreadState* __tstate = wxPyBeginAllowThreads();
29667 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29668
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 {
29673 wxTreeItemId * resultptr;
29674 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29676 }
29677 return resultobj;
29678 fail:
29679 return NULL;
29680 }
29681
29682
29683 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29684 PyObject *resultobj;
29685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29686 wxTreeItemId *arg2 = 0 ;
29687 wxTreeItemId result;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "item", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail;
29697 {
29698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29699 if (SWIG_arg_fail(2)) SWIG_fail;
29700 if (arg2 == NULL) {
29701 SWIG_null_ref("wxTreeItemId");
29702 }
29703 if (SWIG_arg_fail(2)) SWIG_fail;
29704 }
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 {
29713 wxTreeItemId * resultptr;
29714 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29716 }
29717 return resultobj;
29718 fail:
29719 return NULL;
29720 }
29721
29722
29723 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj;
29725 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29726 wxTreeItemId *arg2 = 0 ;
29727 wxTreeItemId result;
29728 PyObject * obj0 = 0 ;
29729 PyObject * obj1 = 0 ;
29730 char *kwnames[] = {
29731 (char *) "self",(char *) "item", NULL
29732 };
29733
29734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29736 if (SWIG_arg_fail(1)) SWIG_fail;
29737 {
29738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29739 if (SWIG_arg_fail(2)) SWIG_fail;
29740 if (arg2 == NULL) {
29741 SWIG_null_ref("wxTreeItemId");
29742 }
29743 if (SWIG_arg_fail(2)) SWIG_fail;
29744 }
29745 {
29746 PyThreadState* __tstate = wxPyBeginAllowThreads();
29747 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29748
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 {
29753 wxTreeItemId * resultptr;
29754 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29756 }
29757 return resultobj;
29758 fail:
29759 return NULL;
29760 }
29761
29762
29763 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29764 PyObject *resultobj;
29765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29766 wxTreeItemId result;
29767 PyObject * obj0 = 0 ;
29768 char *kwnames[] = {
29769 (char *) "self", NULL
29770 };
29771
29772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29774 if (SWIG_arg_fail(1)) SWIG_fail;
29775 {
29776 PyThreadState* __tstate = wxPyBeginAllowThreads();
29777 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29778
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 {
29783 wxTreeItemId * resultptr;
29784 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29786 }
29787 return resultobj;
29788 fail:
29789 return NULL;
29790 }
29791
29792
29793 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29794 PyObject *resultobj;
29795 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29796 wxTreeItemId *arg2 = 0 ;
29797 wxTreeItemId result;
29798 PyObject * obj0 = 0 ;
29799 PyObject * obj1 = 0 ;
29800 char *kwnames[] = {
29801 (char *) "self",(char *) "item", NULL
29802 };
29803
29804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29806 if (SWIG_arg_fail(1)) SWIG_fail;
29807 {
29808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29809 if (SWIG_arg_fail(2)) SWIG_fail;
29810 if (arg2 == NULL) {
29811 SWIG_null_ref("wxTreeItemId");
29812 }
29813 if (SWIG_arg_fail(2)) SWIG_fail;
29814 }
29815 {
29816 PyThreadState* __tstate = wxPyBeginAllowThreads();
29817 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29818
29819 wxPyEndAllowThreads(__tstate);
29820 if (PyErr_Occurred()) SWIG_fail;
29821 }
29822 {
29823 wxTreeItemId * resultptr;
29824 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29826 }
29827 return resultobj;
29828 fail:
29829 return NULL;
29830 }
29831
29832
29833 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29834 PyObject *resultobj;
29835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29836 wxTreeItemId *arg2 = 0 ;
29837 wxTreeItemId result;
29838 PyObject * obj0 = 0 ;
29839 PyObject * obj1 = 0 ;
29840 char *kwnames[] = {
29841 (char *) "self",(char *) "item", NULL
29842 };
29843
29844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29846 if (SWIG_arg_fail(1)) SWIG_fail;
29847 {
29848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29849 if (SWIG_arg_fail(2)) SWIG_fail;
29850 if (arg2 == NULL) {
29851 SWIG_null_ref("wxTreeItemId");
29852 }
29853 if (SWIG_arg_fail(2)) SWIG_fail;
29854 }
29855 {
29856 PyThreadState* __tstate = wxPyBeginAllowThreads();
29857 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29858
29859 wxPyEndAllowThreads(__tstate);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 }
29862 {
29863 wxTreeItemId * resultptr;
29864 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29866 }
29867 return resultobj;
29868 fail:
29869 return NULL;
29870 }
29871
29872
29873 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29874 PyObject *resultobj;
29875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29876 wxString *arg2 = 0 ;
29877 int arg3 = (int) -1 ;
29878 int arg4 = (int) -1 ;
29879 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29880 wxTreeItemId result;
29881 bool temp2 = false ;
29882 PyObject * obj0 = 0 ;
29883 PyObject * obj1 = 0 ;
29884 PyObject * obj2 = 0 ;
29885 PyObject * obj3 = 0 ;
29886 PyObject * obj4 = 0 ;
29887 char *kwnames[] = {
29888 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29889 };
29890
29891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail;
29894 {
29895 arg2 = wxString_in_helper(obj1);
29896 if (arg2 == NULL) SWIG_fail;
29897 temp2 = true;
29898 }
29899 if (obj2) {
29900 {
29901 arg3 = (int)(SWIG_As_int(obj2));
29902 if (SWIG_arg_fail(3)) SWIG_fail;
29903 }
29904 }
29905 if (obj3) {
29906 {
29907 arg4 = (int)(SWIG_As_int(obj3));
29908 if (SWIG_arg_fail(4)) SWIG_fail;
29909 }
29910 }
29911 if (obj4) {
29912 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29913 if (SWIG_arg_fail(5)) SWIG_fail;
29914 }
29915 {
29916 PyThreadState* __tstate = wxPyBeginAllowThreads();
29917 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29918
29919 wxPyEndAllowThreads(__tstate);
29920 if (PyErr_Occurred()) SWIG_fail;
29921 }
29922 {
29923 wxTreeItemId * resultptr;
29924 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29926 }
29927 {
29928 if (temp2)
29929 delete arg2;
29930 }
29931 return resultobj;
29932 fail:
29933 {
29934 if (temp2)
29935 delete arg2;
29936 }
29937 return NULL;
29938 }
29939
29940
29941 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29942 PyObject *resultobj;
29943 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29944 wxTreeItemId *arg2 = 0 ;
29945 wxString *arg3 = 0 ;
29946 int arg4 = (int) -1 ;
29947 int arg5 = (int) -1 ;
29948 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29949 wxTreeItemId result;
29950 bool temp3 = false ;
29951 PyObject * obj0 = 0 ;
29952 PyObject * obj1 = 0 ;
29953 PyObject * obj2 = 0 ;
29954 PyObject * obj3 = 0 ;
29955 PyObject * obj4 = 0 ;
29956 PyObject * obj5 = 0 ;
29957 char *kwnames[] = {
29958 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29959 };
29960
29961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29963 if (SWIG_arg_fail(1)) SWIG_fail;
29964 {
29965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29966 if (SWIG_arg_fail(2)) SWIG_fail;
29967 if (arg2 == NULL) {
29968 SWIG_null_ref("wxTreeItemId");
29969 }
29970 if (SWIG_arg_fail(2)) SWIG_fail;
29971 }
29972 {
29973 arg3 = wxString_in_helper(obj2);
29974 if (arg3 == NULL) SWIG_fail;
29975 temp3 = true;
29976 }
29977 if (obj3) {
29978 {
29979 arg4 = (int)(SWIG_As_int(obj3));
29980 if (SWIG_arg_fail(4)) SWIG_fail;
29981 }
29982 }
29983 if (obj4) {
29984 {
29985 arg5 = (int)(SWIG_As_int(obj4));
29986 if (SWIG_arg_fail(5)) SWIG_fail;
29987 }
29988 }
29989 if (obj5) {
29990 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29991 if (SWIG_arg_fail(6)) SWIG_fail;
29992 }
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29996
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 {
30001 wxTreeItemId * resultptr;
30002 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30004 }
30005 {
30006 if (temp3)
30007 delete arg3;
30008 }
30009 return resultobj;
30010 fail:
30011 {
30012 if (temp3)
30013 delete arg3;
30014 }
30015 return NULL;
30016 }
30017
30018
30019 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30020 PyObject *resultobj;
30021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30022 wxTreeItemId *arg2 = 0 ;
30023 wxTreeItemId *arg3 = 0 ;
30024 wxString *arg4 = 0 ;
30025 int arg5 = (int) -1 ;
30026 int arg6 = (int) -1 ;
30027 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30028 wxTreeItemId result;
30029 bool temp4 = false ;
30030 PyObject * obj0 = 0 ;
30031 PyObject * obj1 = 0 ;
30032 PyObject * obj2 = 0 ;
30033 PyObject * obj3 = 0 ;
30034 PyObject * obj4 = 0 ;
30035 PyObject * obj5 = 0 ;
30036 PyObject * obj6 = 0 ;
30037 char *kwnames[] = {
30038 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30039 };
30040
30041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30043 if (SWIG_arg_fail(1)) SWIG_fail;
30044 {
30045 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30046 if (SWIG_arg_fail(2)) SWIG_fail;
30047 if (arg2 == NULL) {
30048 SWIG_null_ref("wxTreeItemId");
30049 }
30050 if (SWIG_arg_fail(2)) SWIG_fail;
30051 }
30052 {
30053 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30054 if (SWIG_arg_fail(3)) SWIG_fail;
30055 if (arg3 == NULL) {
30056 SWIG_null_ref("wxTreeItemId");
30057 }
30058 if (SWIG_arg_fail(3)) SWIG_fail;
30059 }
30060 {
30061 arg4 = wxString_in_helper(obj3);
30062 if (arg4 == NULL) SWIG_fail;
30063 temp4 = true;
30064 }
30065 if (obj4) {
30066 {
30067 arg5 = (int)(SWIG_As_int(obj4));
30068 if (SWIG_arg_fail(5)) SWIG_fail;
30069 }
30070 }
30071 if (obj5) {
30072 {
30073 arg6 = (int)(SWIG_As_int(obj5));
30074 if (SWIG_arg_fail(6)) SWIG_fail;
30075 }
30076 }
30077 if (obj6) {
30078 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30079 if (SWIG_arg_fail(7)) SWIG_fail;
30080 }
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30084
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 {
30089 wxTreeItemId * resultptr;
30090 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30092 }
30093 {
30094 if (temp4)
30095 delete arg4;
30096 }
30097 return resultobj;
30098 fail:
30099 {
30100 if (temp4)
30101 delete arg4;
30102 }
30103 return NULL;
30104 }
30105
30106
30107 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30108 PyObject *resultobj;
30109 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30110 wxTreeItemId *arg2 = 0 ;
30111 size_t arg3 ;
30112 wxString *arg4 = 0 ;
30113 int arg5 = (int) -1 ;
30114 int arg6 = (int) -1 ;
30115 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30116 wxTreeItemId result;
30117 bool temp4 = false ;
30118 PyObject * obj0 = 0 ;
30119 PyObject * obj1 = 0 ;
30120 PyObject * obj2 = 0 ;
30121 PyObject * obj3 = 0 ;
30122 PyObject * obj4 = 0 ;
30123 PyObject * obj5 = 0 ;
30124 PyObject * obj6 = 0 ;
30125 char *kwnames[] = {
30126 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30127 };
30128
30129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30131 if (SWIG_arg_fail(1)) SWIG_fail;
30132 {
30133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30134 if (SWIG_arg_fail(2)) SWIG_fail;
30135 if (arg2 == NULL) {
30136 SWIG_null_ref("wxTreeItemId");
30137 }
30138 if (SWIG_arg_fail(2)) SWIG_fail;
30139 }
30140 {
30141 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30142 if (SWIG_arg_fail(3)) SWIG_fail;
30143 }
30144 {
30145 arg4 = wxString_in_helper(obj3);
30146 if (arg4 == NULL) SWIG_fail;
30147 temp4 = true;
30148 }
30149 if (obj4) {
30150 {
30151 arg5 = (int)(SWIG_As_int(obj4));
30152 if (SWIG_arg_fail(5)) SWIG_fail;
30153 }
30154 }
30155 if (obj5) {
30156 {
30157 arg6 = (int)(SWIG_As_int(obj5));
30158 if (SWIG_arg_fail(6)) SWIG_fail;
30159 }
30160 }
30161 if (obj6) {
30162 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30163 if (SWIG_arg_fail(7)) SWIG_fail;
30164 }
30165 {
30166 PyThreadState* __tstate = wxPyBeginAllowThreads();
30167 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30168
30169 wxPyEndAllowThreads(__tstate);
30170 if (PyErr_Occurred()) SWIG_fail;
30171 }
30172 {
30173 wxTreeItemId * resultptr;
30174 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30176 }
30177 {
30178 if (temp4)
30179 delete arg4;
30180 }
30181 return resultobj;
30182 fail:
30183 {
30184 if (temp4)
30185 delete arg4;
30186 }
30187 return NULL;
30188 }
30189
30190
30191 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30192 PyObject *resultobj;
30193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30194 wxTreeItemId *arg2 = 0 ;
30195 wxString *arg3 = 0 ;
30196 int arg4 = (int) -1 ;
30197 int arg5 = (int) -1 ;
30198 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30199 wxTreeItemId result;
30200 bool temp3 = false ;
30201 PyObject * obj0 = 0 ;
30202 PyObject * obj1 = 0 ;
30203 PyObject * obj2 = 0 ;
30204 PyObject * obj3 = 0 ;
30205 PyObject * obj4 = 0 ;
30206 PyObject * obj5 = 0 ;
30207 char *kwnames[] = {
30208 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30209 };
30210
30211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail;
30214 {
30215 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30216 if (SWIG_arg_fail(2)) SWIG_fail;
30217 if (arg2 == NULL) {
30218 SWIG_null_ref("wxTreeItemId");
30219 }
30220 if (SWIG_arg_fail(2)) SWIG_fail;
30221 }
30222 {
30223 arg3 = wxString_in_helper(obj2);
30224 if (arg3 == NULL) SWIG_fail;
30225 temp3 = true;
30226 }
30227 if (obj3) {
30228 {
30229 arg4 = (int)(SWIG_As_int(obj3));
30230 if (SWIG_arg_fail(4)) SWIG_fail;
30231 }
30232 }
30233 if (obj4) {
30234 {
30235 arg5 = (int)(SWIG_As_int(obj4));
30236 if (SWIG_arg_fail(5)) SWIG_fail;
30237 }
30238 }
30239 if (obj5) {
30240 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30241 if (SWIG_arg_fail(6)) SWIG_fail;
30242 }
30243 {
30244 PyThreadState* __tstate = wxPyBeginAllowThreads();
30245 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30246
30247 wxPyEndAllowThreads(__tstate);
30248 if (PyErr_Occurred()) SWIG_fail;
30249 }
30250 {
30251 wxTreeItemId * resultptr;
30252 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30254 }
30255 {
30256 if (temp3)
30257 delete arg3;
30258 }
30259 return resultobj;
30260 fail:
30261 {
30262 if (temp3)
30263 delete arg3;
30264 }
30265 return NULL;
30266 }
30267
30268
30269 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30270 PyObject *resultobj;
30271 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30272 wxTreeItemId *arg2 = 0 ;
30273 PyObject * obj0 = 0 ;
30274 PyObject * obj1 = 0 ;
30275 char *kwnames[] = {
30276 (char *) "self",(char *) "item", NULL
30277 };
30278
30279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail;
30282 {
30283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30284 if (SWIG_arg_fail(2)) SWIG_fail;
30285 if (arg2 == NULL) {
30286 SWIG_null_ref("wxTreeItemId");
30287 }
30288 if (SWIG_arg_fail(2)) SWIG_fail;
30289 }
30290 {
30291 PyThreadState* __tstate = wxPyBeginAllowThreads();
30292 (arg1)->Delete((wxTreeItemId const &)*arg2);
30293
30294 wxPyEndAllowThreads(__tstate);
30295 if (PyErr_Occurred()) SWIG_fail;
30296 }
30297 Py_INCREF(Py_None); resultobj = Py_None;
30298 return resultobj;
30299 fail:
30300 return NULL;
30301 }
30302
30303
30304 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30305 PyObject *resultobj;
30306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30307 wxTreeItemId *arg2 = 0 ;
30308 PyObject * obj0 = 0 ;
30309 PyObject * obj1 = 0 ;
30310 char *kwnames[] = {
30311 (char *) "self",(char *) "item", NULL
30312 };
30313
30314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30316 if (SWIG_arg_fail(1)) SWIG_fail;
30317 {
30318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30319 if (SWIG_arg_fail(2)) SWIG_fail;
30320 if (arg2 == NULL) {
30321 SWIG_null_ref("wxTreeItemId");
30322 }
30323 if (SWIG_arg_fail(2)) SWIG_fail;
30324 }
30325 {
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30328
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 Py_INCREF(Py_None); resultobj = Py_None;
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30340 PyObject *resultobj;
30341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30342 PyObject * obj0 = 0 ;
30343 char *kwnames[] = {
30344 (char *) "self", NULL
30345 };
30346
30347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail;
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 (arg1)->DeleteAllItems();
30353
30354 wxPyEndAllowThreads(__tstate);
30355 if (PyErr_Occurred()) SWIG_fail;
30356 }
30357 Py_INCREF(Py_None); resultobj = Py_None;
30358 return resultobj;
30359 fail:
30360 return NULL;
30361 }
30362
30363
30364 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30365 PyObject *resultobj;
30366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30367 wxTreeItemId *arg2 = 0 ;
30368 PyObject * obj0 = 0 ;
30369 PyObject * obj1 = 0 ;
30370 char *kwnames[] = {
30371 (char *) "self",(char *) "item", NULL
30372 };
30373
30374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30376 if (SWIG_arg_fail(1)) SWIG_fail;
30377 {
30378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30379 if (SWIG_arg_fail(2)) SWIG_fail;
30380 if (arg2 == NULL) {
30381 SWIG_null_ref("wxTreeItemId");
30382 }
30383 if (SWIG_arg_fail(2)) SWIG_fail;
30384 }
30385 {
30386 PyThreadState* __tstate = wxPyBeginAllowThreads();
30387 (arg1)->Expand((wxTreeItemId const &)*arg2);
30388
30389 wxPyEndAllowThreads(__tstate);
30390 if (PyErr_Occurred()) SWIG_fail;
30391 }
30392 Py_INCREF(Py_None); resultobj = Py_None;
30393 return resultobj;
30394 fail:
30395 return NULL;
30396 }
30397
30398
30399 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30400 PyObject *resultobj;
30401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30402 wxTreeItemId *arg2 = 0 ;
30403 PyObject * obj0 = 0 ;
30404 PyObject * obj1 = 0 ;
30405 char *kwnames[] = {
30406 (char *) "self",(char *) "item", NULL
30407 };
30408
30409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30411 if (SWIG_arg_fail(1)) SWIG_fail;
30412 {
30413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30414 if (SWIG_arg_fail(2)) SWIG_fail;
30415 if (arg2 == NULL) {
30416 SWIG_null_ref("wxTreeItemId");
30417 }
30418 if (SWIG_arg_fail(2)) SWIG_fail;
30419 }
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30423
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 Py_INCREF(Py_None); resultobj = Py_None;
30428 return resultobj;
30429 fail:
30430 return NULL;
30431 }
30432
30433
30434 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30435 PyObject *resultobj;
30436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30437 wxTreeItemId *arg2 = 0 ;
30438 PyObject * obj0 = 0 ;
30439 PyObject * obj1 = 0 ;
30440 char *kwnames[] = {
30441 (char *) "self",(char *) "item", NULL
30442 };
30443
30444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail;
30447 {
30448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30449 if (SWIG_arg_fail(2)) SWIG_fail;
30450 if (arg2 == NULL) {
30451 SWIG_null_ref("wxTreeItemId");
30452 }
30453 if (SWIG_arg_fail(2)) SWIG_fail;
30454 }
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 Py_INCREF(Py_None); resultobj = Py_None;
30463 return resultobj;
30464 fail:
30465 return NULL;
30466 }
30467
30468
30469 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30470 PyObject *resultobj;
30471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30472 wxTreeItemId *arg2 = 0 ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "item", NULL
30477 };
30478
30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail;
30482 {
30483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30484 if (SWIG_arg_fail(2)) SWIG_fail;
30485 if (arg2 == NULL) {
30486 SWIG_null_ref("wxTreeItemId");
30487 }
30488 if (SWIG_arg_fail(2)) SWIG_fail;
30489 }
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30493
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 Py_INCREF(Py_None); resultobj = Py_None;
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj;
30506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30507 PyObject * obj0 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "self", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail;
30515 {
30516 PyThreadState* __tstate = wxPyBeginAllowThreads();
30517 (arg1)->Unselect();
30518
30519 wxPyEndAllowThreads(__tstate);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 }
30522 Py_INCREF(Py_None); resultobj = Py_None;
30523 return resultobj;
30524 fail:
30525 return NULL;
30526 }
30527
30528
30529 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30532 wxTreeItemId *arg2 = 0 ;
30533 PyObject * obj0 = 0 ;
30534 PyObject * obj1 = 0 ;
30535 char *kwnames[] = {
30536 (char *) "self",(char *) "item", NULL
30537 };
30538
30539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30541 if (SWIG_arg_fail(1)) SWIG_fail;
30542 {
30543 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30544 if (SWIG_arg_fail(2)) SWIG_fail;
30545 if (arg2 == NULL) {
30546 SWIG_null_ref("wxTreeItemId");
30547 }
30548 if (SWIG_arg_fail(2)) SWIG_fail;
30549 }
30550 {
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30553
30554 wxPyEndAllowThreads(__tstate);
30555 if (PyErr_Occurred()) SWIG_fail;
30556 }
30557 Py_INCREF(Py_None); resultobj = Py_None;
30558 return resultobj;
30559 fail:
30560 return NULL;
30561 }
30562
30563
30564 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30565 PyObject *resultobj;
30566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30567 PyObject * obj0 = 0 ;
30568 char *kwnames[] = {
30569 (char *) "self", NULL
30570 };
30571
30572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30574 if (SWIG_arg_fail(1)) SWIG_fail;
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 (arg1)->UnselectAll();
30578
30579 wxPyEndAllowThreads(__tstate);
30580 if (PyErr_Occurred()) SWIG_fail;
30581 }
30582 Py_INCREF(Py_None); resultobj = Py_None;
30583 return resultobj;
30584 fail:
30585 return NULL;
30586 }
30587
30588
30589 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30590 PyObject *resultobj;
30591 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30592 wxTreeItemId *arg2 = 0 ;
30593 bool arg3 = (bool) true ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 PyObject * obj2 = 0 ;
30597 char *kwnames[] = {
30598 (char *) "self",(char *) "item",(char *) "select", NULL
30599 };
30600
30601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail;
30604 {
30605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30606 if (SWIG_arg_fail(2)) SWIG_fail;
30607 if (arg2 == NULL) {
30608 SWIG_null_ref("wxTreeItemId");
30609 }
30610 if (SWIG_arg_fail(2)) SWIG_fail;
30611 }
30612 if (obj2) {
30613 {
30614 arg3 = (bool)(SWIG_As_bool(obj2));
30615 if (SWIG_arg_fail(3)) SWIG_fail;
30616 }
30617 }
30618 {
30619 PyThreadState* __tstate = wxPyBeginAllowThreads();
30620 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30621
30622 wxPyEndAllowThreads(__tstate);
30623 if (PyErr_Occurred()) SWIG_fail;
30624 }
30625 Py_INCREF(Py_None); resultobj = Py_None;
30626 return resultobj;
30627 fail:
30628 return NULL;
30629 }
30630
30631
30632 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30633 PyObject *resultobj;
30634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30635 wxTreeItemId *arg2 = 0 ;
30636 PyObject * obj0 = 0 ;
30637 PyObject * obj1 = 0 ;
30638 char *kwnames[] = {
30639 (char *) "self",(char *) "item", NULL
30640 };
30641
30642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30644 if (SWIG_arg_fail(1)) SWIG_fail;
30645 {
30646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30647 if (SWIG_arg_fail(2)) SWIG_fail;
30648 if (arg2 == NULL) {
30649 SWIG_null_ref("wxTreeItemId");
30650 }
30651 if (SWIG_arg_fail(2)) SWIG_fail;
30652 }
30653 {
30654 PyThreadState* __tstate = wxPyBeginAllowThreads();
30655 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30656
30657 wxPyEndAllowThreads(__tstate);
30658 if (PyErr_Occurred()) SWIG_fail;
30659 }
30660 Py_INCREF(Py_None); resultobj = Py_None;
30661 return resultobj;
30662 fail:
30663 return NULL;
30664 }
30665
30666
30667 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30668 PyObject *resultobj;
30669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30670 wxTreeItemId *arg2 = 0 ;
30671 PyObject * obj0 = 0 ;
30672 PyObject * obj1 = 0 ;
30673 char *kwnames[] = {
30674 (char *) "self",(char *) "item", NULL
30675 };
30676
30677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail;
30680 {
30681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30682 if (SWIG_arg_fail(2)) SWIG_fail;
30683 if (arg2 == NULL) {
30684 SWIG_null_ref("wxTreeItemId");
30685 }
30686 if (SWIG_arg_fail(2)) SWIG_fail;
30687 }
30688 {
30689 PyThreadState* __tstate = wxPyBeginAllowThreads();
30690 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30691
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
30695 Py_INCREF(Py_None); resultobj = Py_None;
30696 return resultobj;
30697 fail:
30698 return NULL;
30699 }
30700
30701
30702 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30703 PyObject *resultobj;
30704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30705 wxTreeItemId *arg2 = 0 ;
30706 PyObject * obj0 = 0 ;
30707 PyObject * obj1 = 0 ;
30708 char *kwnames[] = {
30709 (char *) "self",(char *) "item", NULL
30710 };
30711
30712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail;
30715 {
30716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30717 if (SWIG_arg_fail(2)) SWIG_fail;
30718 if (arg2 == NULL) {
30719 SWIG_null_ref("wxTreeItemId");
30720 }
30721 if (SWIG_arg_fail(2)) SWIG_fail;
30722 }
30723 {
30724 PyThreadState* __tstate = wxPyBeginAllowThreads();
30725 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30726
30727 wxPyEndAllowThreads(__tstate);
30728 if (PyErr_Occurred()) SWIG_fail;
30729 }
30730 Py_INCREF(Py_None); resultobj = Py_None;
30731 return resultobj;
30732 fail:
30733 return NULL;
30734 }
30735
30736
30737 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30738 PyObject *resultobj;
30739 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30740 wxTreeItemId *arg2 = 0 ;
30741 PyObject * obj0 = 0 ;
30742 PyObject * obj1 = 0 ;
30743 char *kwnames[] = {
30744 (char *) "self",(char *) "item", NULL
30745 };
30746
30747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30749 if (SWIG_arg_fail(1)) SWIG_fail;
30750 {
30751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30752 if (SWIG_arg_fail(2)) SWIG_fail;
30753 if (arg2 == NULL) {
30754 SWIG_null_ref("wxTreeItemId");
30755 }
30756 if (SWIG_arg_fail(2)) SWIG_fail;
30757 }
30758 {
30759 PyThreadState* __tstate = wxPyBeginAllowThreads();
30760 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30761
30762 wxPyEndAllowThreads(__tstate);
30763 if (PyErr_Occurred()) SWIG_fail;
30764 }
30765 Py_INCREF(Py_None); resultobj = Py_None;
30766 return resultobj;
30767 fail:
30768 return NULL;
30769 }
30770
30771
30772 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30773 PyObject *resultobj;
30774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30775 wxTextCtrl *result;
30776 PyObject * obj0 = 0 ;
30777 char *kwnames[] = {
30778 (char *) "self", NULL
30779 };
30780
30781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail;
30784 {
30785 PyThreadState* __tstate = wxPyBeginAllowThreads();
30786 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30787
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
30791 {
30792 resultobj = wxPyMake_wxObject(result, 0);
30793 }
30794 return resultobj;
30795 fail:
30796 return NULL;
30797 }
30798
30799
30800 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30801 PyObject *resultobj;
30802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30803 wxTreeItemId *arg2 = 0 ;
30804 PyObject * obj0 = 0 ;
30805 PyObject * obj1 = 0 ;
30806 char *kwnames[] = {
30807 (char *) "self",(char *) "item", NULL
30808 };
30809
30810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail;
30813 {
30814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30815 if (SWIG_arg_fail(2)) SWIG_fail;
30816 if (arg2 == NULL) {
30817 SWIG_null_ref("wxTreeItemId");
30818 }
30819 if (SWIG_arg_fail(2)) SWIG_fail;
30820 }
30821 {
30822 PyThreadState* __tstate = wxPyBeginAllowThreads();
30823 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30824
30825 wxPyEndAllowThreads(__tstate);
30826 if (PyErr_Occurred()) SWIG_fail;
30827 }
30828 Py_INCREF(Py_None); resultobj = Py_None;
30829 return resultobj;
30830 fail:
30831 return NULL;
30832 }
30833
30834
30835 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30836 PyObject *resultobj;
30837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30838 wxPoint *arg2 = 0 ;
30839 int *arg3 = 0 ;
30840 wxTreeItemId result;
30841 wxPoint temp2 ;
30842 int temp3 ;
30843 int res3 = 0 ;
30844 PyObject * obj0 = 0 ;
30845 PyObject * obj1 = 0 ;
30846 char *kwnames[] = {
30847 (char *) "self",(char *) "point", NULL
30848 };
30849
30850 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail;
30854 {
30855 arg2 = &temp2;
30856 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30857 }
30858 {
30859 PyThreadState* __tstate = wxPyBeginAllowThreads();
30860 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30861
30862 wxPyEndAllowThreads(__tstate);
30863 if (PyErr_Occurred()) SWIG_fail;
30864 }
30865 {
30866 wxTreeItemId * resultptr;
30867 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30869 }
30870 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30871 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30872 return resultobj;
30873 fail:
30874 return NULL;
30875 }
30876
30877
30878 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30879 PyObject *resultobj;
30880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30881 wxTreeItemId *arg2 = 0 ;
30882 bool arg3 = (bool) false ;
30883 PyObject *result;
30884 PyObject * obj0 = 0 ;
30885 PyObject * obj1 = 0 ;
30886 PyObject * obj2 = 0 ;
30887 char *kwnames[] = {
30888 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30889 };
30890
30891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30893 if (SWIG_arg_fail(1)) SWIG_fail;
30894 {
30895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30896 if (SWIG_arg_fail(2)) SWIG_fail;
30897 if (arg2 == NULL) {
30898 SWIG_null_ref("wxTreeItemId");
30899 }
30900 if (SWIG_arg_fail(2)) SWIG_fail;
30901 }
30902 if (obj2) {
30903 {
30904 arg3 = (bool)(SWIG_As_bool(obj2));
30905 if (SWIG_arg_fail(3)) SWIG_fail;
30906 }
30907 }
30908 {
30909 PyThreadState* __tstate = wxPyBeginAllowThreads();
30910 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30911
30912 wxPyEndAllowThreads(__tstate);
30913 if (PyErr_Occurred()) SWIG_fail;
30914 }
30915 resultobj = result;
30916 return resultobj;
30917 fail:
30918 return NULL;
30919 }
30920
30921
30922 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30923 PyObject *resultobj;
30924 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30925 wxVisualAttributes result;
30926 PyObject * obj0 = 0 ;
30927 char *kwnames[] = {
30928 (char *) "variant", NULL
30929 };
30930
30931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30932 if (obj0) {
30933 {
30934 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30935 if (SWIG_arg_fail(1)) SWIG_fail;
30936 }
30937 }
30938 {
30939 if (!wxPyCheckForApp()) SWIG_fail;
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30942
30943 wxPyEndAllowThreads(__tstate);
30944 if (PyErr_Occurred()) SWIG_fail;
30945 }
30946 {
30947 wxVisualAttributes * resultptr;
30948 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30950 }
30951 return resultobj;
30952 fail:
30953 return NULL;
30954 }
30955
30956
30957 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30958 PyObject *obj;
30959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30961 Py_INCREF(obj);
30962 return Py_BuildValue((char *)"");
30963 }
30964 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30965 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30966 return 1;
30967 }
30968
30969
30970 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30971 PyObject *pyobj;
30972
30973 {
30974 #if wxUSE_UNICODE
30975 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30976 #else
30977 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30978 #endif
30979 }
30980 return pyobj;
30981 }
30982
30983
30984 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30985 PyObject *resultobj;
30986 wxWindow *arg1 = (wxWindow *) 0 ;
30987 int arg2 = (int) (int)-1 ;
30988 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30989 wxString *arg3 = (wxString *) &arg3_defvalue ;
30990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30992 wxSize const &arg5_defvalue = wxDefaultSize ;
30993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30994 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30995 wxString const &arg7_defvalue = wxPyEmptyString ;
30996 wxString *arg7 = (wxString *) &arg7_defvalue ;
30997 int arg8 = (int) 0 ;
30998 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30999 wxString *arg9 = (wxString *) &arg9_defvalue ;
31000 wxGenericDirCtrl *result;
31001 bool temp3 = false ;
31002 wxPoint temp4 ;
31003 wxSize temp5 ;
31004 bool temp7 = false ;
31005 bool temp9 = false ;
31006 PyObject * obj0 = 0 ;
31007 PyObject * obj1 = 0 ;
31008 PyObject * obj2 = 0 ;
31009 PyObject * obj3 = 0 ;
31010 PyObject * obj4 = 0 ;
31011 PyObject * obj5 = 0 ;
31012 PyObject * obj6 = 0 ;
31013 PyObject * obj7 = 0 ;
31014 PyObject * obj8 = 0 ;
31015 char *kwnames[] = {
31016 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31017 };
31018
31019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31021 if (SWIG_arg_fail(1)) SWIG_fail;
31022 if (obj1) {
31023 {
31024 arg2 = (int const)(SWIG_As_int(obj1));
31025 if (SWIG_arg_fail(2)) SWIG_fail;
31026 }
31027 }
31028 if (obj2) {
31029 {
31030 arg3 = wxString_in_helper(obj2);
31031 if (arg3 == NULL) SWIG_fail;
31032 temp3 = true;
31033 }
31034 }
31035 if (obj3) {
31036 {
31037 arg4 = &temp4;
31038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31039 }
31040 }
31041 if (obj4) {
31042 {
31043 arg5 = &temp5;
31044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31045 }
31046 }
31047 if (obj5) {
31048 {
31049 arg6 = (long)(SWIG_As_long(obj5));
31050 if (SWIG_arg_fail(6)) SWIG_fail;
31051 }
31052 }
31053 if (obj6) {
31054 {
31055 arg7 = wxString_in_helper(obj6);
31056 if (arg7 == NULL) SWIG_fail;
31057 temp7 = true;
31058 }
31059 }
31060 if (obj7) {
31061 {
31062 arg8 = (int)(SWIG_As_int(obj7));
31063 if (SWIG_arg_fail(8)) SWIG_fail;
31064 }
31065 }
31066 if (obj8) {
31067 {
31068 arg9 = wxString_in_helper(obj8);
31069 if (arg9 == NULL) SWIG_fail;
31070 temp9 = true;
31071 }
31072 }
31073 {
31074 if (!wxPyCheckForApp()) SWIG_fail;
31075 PyThreadState* __tstate = wxPyBeginAllowThreads();
31076 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31077
31078 wxPyEndAllowThreads(__tstate);
31079 if (PyErr_Occurred()) SWIG_fail;
31080 }
31081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31082 {
31083 if (temp3)
31084 delete arg3;
31085 }
31086 {
31087 if (temp7)
31088 delete arg7;
31089 }
31090 {
31091 if (temp9)
31092 delete arg9;
31093 }
31094 return resultobj;
31095 fail:
31096 {
31097 if (temp3)
31098 delete arg3;
31099 }
31100 {
31101 if (temp7)
31102 delete arg7;
31103 }
31104 {
31105 if (temp9)
31106 delete arg9;
31107 }
31108 return NULL;
31109 }
31110
31111
31112 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31113 PyObject *resultobj;
31114 wxGenericDirCtrl *result;
31115 char *kwnames[] = {
31116 NULL
31117 };
31118
31119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31120 {
31121 if (!wxPyCheckForApp()) SWIG_fail;
31122 PyThreadState* __tstate = wxPyBeginAllowThreads();
31123 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31124
31125 wxPyEndAllowThreads(__tstate);
31126 if (PyErr_Occurred()) SWIG_fail;
31127 }
31128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31129 return resultobj;
31130 fail:
31131 return NULL;
31132 }
31133
31134
31135 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31136 PyObject *resultobj;
31137 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31138 wxWindow *arg2 = (wxWindow *) 0 ;
31139 int arg3 = (int) (int)-1 ;
31140 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31141 wxString *arg4 = (wxString *) &arg4_defvalue ;
31142 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31143 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31144 wxSize const &arg6_defvalue = wxDefaultSize ;
31145 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31146 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31147 wxString const &arg8_defvalue = wxPyEmptyString ;
31148 wxString *arg8 = (wxString *) &arg8_defvalue ;
31149 int arg9 = (int) 0 ;
31150 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31151 wxString *arg10 = (wxString *) &arg10_defvalue ;
31152 bool result;
31153 bool temp4 = false ;
31154 wxPoint temp5 ;
31155 wxSize temp6 ;
31156 bool temp8 = false ;
31157 bool temp10 = false ;
31158 PyObject * obj0 = 0 ;
31159 PyObject * obj1 = 0 ;
31160 PyObject * obj2 = 0 ;
31161 PyObject * obj3 = 0 ;
31162 PyObject * obj4 = 0 ;
31163 PyObject * obj5 = 0 ;
31164 PyObject * obj6 = 0 ;
31165 PyObject * obj7 = 0 ;
31166 PyObject * obj8 = 0 ;
31167 PyObject * obj9 = 0 ;
31168 char *kwnames[] = {
31169 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31170 };
31171
31172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31174 if (SWIG_arg_fail(1)) SWIG_fail;
31175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31176 if (SWIG_arg_fail(2)) SWIG_fail;
31177 if (obj2) {
31178 {
31179 arg3 = (int const)(SWIG_As_int(obj2));
31180 if (SWIG_arg_fail(3)) SWIG_fail;
31181 }
31182 }
31183 if (obj3) {
31184 {
31185 arg4 = wxString_in_helper(obj3);
31186 if (arg4 == NULL) SWIG_fail;
31187 temp4 = true;
31188 }
31189 }
31190 if (obj4) {
31191 {
31192 arg5 = &temp5;
31193 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31194 }
31195 }
31196 if (obj5) {
31197 {
31198 arg6 = &temp6;
31199 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31200 }
31201 }
31202 if (obj6) {
31203 {
31204 arg7 = (long)(SWIG_As_long(obj6));
31205 if (SWIG_arg_fail(7)) SWIG_fail;
31206 }
31207 }
31208 if (obj7) {
31209 {
31210 arg8 = wxString_in_helper(obj7);
31211 if (arg8 == NULL) SWIG_fail;
31212 temp8 = true;
31213 }
31214 }
31215 if (obj8) {
31216 {
31217 arg9 = (int)(SWIG_As_int(obj8));
31218 if (SWIG_arg_fail(9)) SWIG_fail;
31219 }
31220 }
31221 if (obj9) {
31222 {
31223 arg10 = wxString_in_helper(obj9);
31224 if (arg10 == NULL) SWIG_fail;
31225 temp10 = true;
31226 }
31227 }
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31231
31232 wxPyEndAllowThreads(__tstate);
31233 if (PyErr_Occurred()) SWIG_fail;
31234 }
31235 {
31236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31237 }
31238 {
31239 if (temp4)
31240 delete arg4;
31241 }
31242 {
31243 if (temp8)
31244 delete arg8;
31245 }
31246 {
31247 if (temp10)
31248 delete arg10;
31249 }
31250 return resultobj;
31251 fail:
31252 {
31253 if (temp4)
31254 delete arg4;
31255 }
31256 {
31257 if (temp8)
31258 delete arg8;
31259 }
31260 {
31261 if (temp10)
31262 delete arg10;
31263 }
31264 return NULL;
31265 }
31266
31267
31268 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31269 PyObject *resultobj;
31270 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31271 wxString *arg2 = 0 ;
31272 bool result;
31273 bool temp2 = false ;
31274 PyObject * obj0 = 0 ;
31275 PyObject * obj1 = 0 ;
31276 char *kwnames[] = {
31277 (char *) "self",(char *) "path", NULL
31278 };
31279
31280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31282 if (SWIG_arg_fail(1)) SWIG_fail;
31283 {
31284 arg2 = wxString_in_helper(obj1);
31285 if (arg2 == NULL) SWIG_fail;
31286 temp2 = true;
31287 }
31288 {
31289 PyThreadState* __tstate = wxPyBeginAllowThreads();
31290 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31291
31292 wxPyEndAllowThreads(__tstate);
31293 if (PyErr_Occurred()) SWIG_fail;
31294 }
31295 {
31296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31297 }
31298 {
31299 if (temp2)
31300 delete arg2;
31301 }
31302 return resultobj;
31303 fail:
31304 {
31305 if (temp2)
31306 delete arg2;
31307 }
31308 return NULL;
31309 }
31310
31311
31312 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31313 PyObject *resultobj;
31314 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31315 wxString result;
31316 PyObject * obj0 = 0 ;
31317 char *kwnames[] = {
31318 (char *) "self", NULL
31319 };
31320
31321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail;
31324 {
31325 PyThreadState* __tstate = wxPyBeginAllowThreads();
31326 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31327
31328 wxPyEndAllowThreads(__tstate);
31329 if (PyErr_Occurred()) SWIG_fail;
31330 }
31331 {
31332 #if wxUSE_UNICODE
31333 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31334 #else
31335 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31336 #endif
31337 }
31338 return resultobj;
31339 fail:
31340 return NULL;
31341 }
31342
31343
31344 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31345 PyObject *resultobj;
31346 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31347 wxString *arg2 = 0 ;
31348 bool temp2 = false ;
31349 PyObject * obj0 = 0 ;
31350 PyObject * obj1 = 0 ;
31351 char *kwnames[] = {
31352 (char *) "self",(char *) "path", NULL
31353 };
31354
31355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31357 if (SWIG_arg_fail(1)) SWIG_fail;
31358 {
31359 arg2 = wxString_in_helper(obj1);
31360 if (arg2 == NULL) SWIG_fail;
31361 temp2 = true;
31362 }
31363 {
31364 PyThreadState* __tstate = wxPyBeginAllowThreads();
31365 (arg1)->SetDefaultPath((wxString const &)*arg2);
31366
31367 wxPyEndAllowThreads(__tstate);
31368 if (PyErr_Occurred()) SWIG_fail;
31369 }
31370 Py_INCREF(Py_None); resultobj = Py_None;
31371 {
31372 if (temp2)
31373 delete arg2;
31374 }
31375 return resultobj;
31376 fail:
31377 {
31378 if (temp2)
31379 delete arg2;
31380 }
31381 return NULL;
31382 }
31383
31384
31385 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31386 PyObject *resultobj;
31387 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31388 wxString result;
31389 PyObject * obj0 = 0 ;
31390 char *kwnames[] = {
31391 (char *) "self", NULL
31392 };
31393
31394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31396 if (SWIG_arg_fail(1)) SWIG_fail;
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 {
31405 #if wxUSE_UNICODE
31406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31407 #else
31408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31409 #endif
31410 }
31411 return resultobj;
31412 fail:
31413 return NULL;
31414 }
31415
31416
31417 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31418 PyObject *resultobj;
31419 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31420 wxString result;
31421 PyObject * obj0 = 0 ;
31422 char *kwnames[] = {
31423 (char *) "self", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail;
31429 {
31430 PyThreadState* __tstate = wxPyBeginAllowThreads();
31431 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31432
31433 wxPyEndAllowThreads(__tstate);
31434 if (PyErr_Occurred()) SWIG_fail;
31435 }
31436 {
31437 #if wxUSE_UNICODE
31438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31439 #else
31440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31441 #endif
31442 }
31443 return resultobj;
31444 fail:
31445 return NULL;
31446 }
31447
31448
31449 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31450 PyObject *resultobj;
31451 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31452 wxString *arg2 = 0 ;
31453 bool temp2 = false ;
31454 PyObject * obj0 = 0 ;
31455 PyObject * obj1 = 0 ;
31456 char *kwnames[] = {
31457 (char *) "self",(char *) "path", NULL
31458 };
31459
31460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31462 if (SWIG_arg_fail(1)) SWIG_fail;
31463 {
31464 arg2 = wxString_in_helper(obj1);
31465 if (arg2 == NULL) SWIG_fail;
31466 temp2 = true;
31467 }
31468 {
31469 PyThreadState* __tstate = wxPyBeginAllowThreads();
31470 (arg1)->SetPath((wxString const &)*arg2);
31471
31472 wxPyEndAllowThreads(__tstate);
31473 if (PyErr_Occurred()) SWIG_fail;
31474 }
31475 Py_INCREF(Py_None); resultobj = Py_None;
31476 {
31477 if (temp2)
31478 delete arg2;
31479 }
31480 return resultobj;
31481 fail:
31482 {
31483 if (temp2)
31484 delete arg2;
31485 }
31486 return NULL;
31487 }
31488
31489
31490 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31491 PyObject *resultobj;
31492 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31493 bool arg2 ;
31494 PyObject * obj0 = 0 ;
31495 PyObject * obj1 = 0 ;
31496 char *kwnames[] = {
31497 (char *) "self",(char *) "show", NULL
31498 };
31499
31500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31502 if (SWIG_arg_fail(1)) SWIG_fail;
31503 {
31504 arg2 = (bool)(SWIG_As_bool(obj1));
31505 if (SWIG_arg_fail(2)) SWIG_fail;
31506 }
31507 {
31508 PyThreadState* __tstate = wxPyBeginAllowThreads();
31509 (arg1)->ShowHidden(arg2);
31510
31511 wxPyEndAllowThreads(__tstate);
31512 if (PyErr_Occurred()) SWIG_fail;
31513 }
31514 Py_INCREF(Py_None); resultobj = Py_None;
31515 return resultobj;
31516 fail:
31517 return NULL;
31518 }
31519
31520
31521 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31522 PyObject *resultobj;
31523 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31524 bool result;
31525 PyObject * obj0 = 0 ;
31526 char *kwnames[] = {
31527 (char *) "self", NULL
31528 };
31529
31530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31532 if (SWIG_arg_fail(1)) SWIG_fail;
31533 {
31534 PyThreadState* __tstate = wxPyBeginAllowThreads();
31535 result = (bool)(arg1)->GetShowHidden();
31536
31537 wxPyEndAllowThreads(__tstate);
31538 if (PyErr_Occurred()) SWIG_fail;
31539 }
31540 {
31541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31542 }
31543 return resultobj;
31544 fail:
31545 return NULL;
31546 }
31547
31548
31549 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31550 PyObject *resultobj;
31551 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31552 wxString result;
31553 PyObject * obj0 = 0 ;
31554 char *kwnames[] = {
31555 (char *) "self", NULL
31556 };
31557
31558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail;
31561 {
31562 PyThreadState* __tstate = wxPyBeginAllowThreads();
31563 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31564
31565 wxPyEndAllowThreads(__tstate);
31566 if (PyErr_Occurred()) SWIG_fail;
31567 }
31568 {
31569 #if wxUSE_UNICODE
31570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31571 #else
31572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31573 #endif
31574 }
31575 return resultobj;
31576 fail:
31577 return NULL;
31578 }
31579
31580
31581 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31582 PyObject *resultobj;
31583 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31584 wxString *arg2 = 0 ;
31585 bool temp2 = false ;
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "filter", NULL
31590 };
31591
31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail;
31595 {
31596 arg2 = wxString_in_helper(obj1);
31597 if (arg2 == NULL) SWIG_fail;
31598 temp2 = true;
31599 }
31600 {
31601 PyThreadState* __tstate = wxPyBeginAllowThreads();
31602 (arg1)->SetFilter((wxString const &)*arg2);
31603
31604 wxPyEndAllowThreads(__tstate);
31605 if (PyErr_Occurred()) SWIG_fail;
31606 }
31607 Py_INCREF(Py_None); resultobj = Py_None;
31608 {
31609 if (temp2)
31610 delete arg2;
31611 }
31612 return resultobj;
31613 fail:
31614 {
31615 if (temp2)
31616 delete arg2;
31617 }
31618 return NULL;
31619 }
31620
31621
31622 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31623 PyObject *resultobj;
31624 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31625 int result;
31626 PyObject * obj0 = 0 ;
31627 char *kwnames[] = {
31628 (char *) "self", NULL
31629 };
31630
31631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail;
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31637
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 {
31642 resultobj = SWIG_From_int((int)(result));
31643 }
31644 return resultobj;
31645 fail:
31646 return NULL;
31647 }
31648
31649
31650 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31651 PyObject *resultobj;
31652 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31653 int arg2 ;
31654 PyObject * obj0 = 0 ;
31655 PyObject * obj1 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self",(char *) "n", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail;
31663 {
31664 arg2 = (int)(SWIG_As_int(obj1));
31665 if (SWIG_arg_fail(2)) SWIG_fail;
31666 }
31667 {
31668 PyThreadState* __tstate = wxPyBeginAllowThreads();
31669 (arg1)->SetFilterIndex(arg2);
31670
31671 wxPyEndAllowThreads(__tstate);
31672 if (PyErr_Occurred()) SWIG_fail;
31673 }
31674 Py_INCREF(Py_None); resultobj = Py_None;
31675 return resultobj;
31676 fail:
31677 return NULL;
31678 }
31679
31680
31681 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31682 PyObject *resultobj;
31683 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31684 wxTreeItemId result;
31685 PyObject * obj0 = 0 ;
31686 char *kwnames[] = {
31687 (char *) "self", NULL
31688 };
31689
31690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31692 if (SWIG_arg_fail(1)) SWIG_fail;
31693 {
31694 PyThreadState* __tstate = wxPyBeginAllowThreads();
31695 result = (arg1)->GetRootId();
31696
31697 wxPyEndAllowThreads(__tstate);
31698 if (PyErr_Occurred()) SWIG_fail;
31699 }
31700 {
31701 wxTreeItemId * resultptr;
31702 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31704 }
31705 return resultobj;
31706 fail:
31707 return NULL;
31708 }
31709
31710
31711 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31712 PyObject *resultobj;
31713 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31714 wxPyTreeCtrl *result;
31715 PyObject * obj0 = 0 ;
31716 char *kwnames[] = {
31717 (char *) "self", NULL
31718 };
31719
31720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31722 if (SWIG_arg_fail(1)) SWIG_fail;
31723 {
31724 PyThreadState* __tstate = wxPyBeginAllowThreads();
31725 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31726
31727 wxPyEndAllowThreads(__tstate);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
31730 {
31731 resultobj = wxPyMake_wxObject(result, 0);
31732 }
31733 return resultobj;
31734 fail:
31735 return NULL;
31736 }
31737
31738
31739 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31740 PyObject *resultobj;
31741 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31742 wxDirFilterListCtrl *result;
31743 PyObject * obj0 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "self", NULL
31746 };
31747
31748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31750 if (SWIG_arg_fail(1)) SWIG_fail;
31751 {
31752 PyThreadState* __tstate = wxPyBeginAllowThreads();
31753 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31754
31755 wxPyEndAllowThreads(__tstate);
31756 if (PyErr_Occurred()) SWIG_fail;
31757 }
31758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31759 return resultobj;
31760 fail:
31761 return NULL;
31762 }
31763
31764
31765 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31766 PyObject *resultobj;
31767 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31768 wxTreeItemId arg2 ;
31769 wxString *arg3 = 0 ;
31770 bool *arg4 = 0 ;
31771 wxTreeItemId result;
31772 bool temp3 = false ;
31773 bool temp4 ;
31774 int res4 = 0 ;
31775 PyObject * obj0 = 0 ;
31776 PyObject * obj1 = 0 ;
31777 PyObject * obj2 = 0 ;
31778 char *kwnames[] = {
31779 (char *) "self",(char *) "parentId",(char *) "path", NULL
31780 };
31781
31782 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31785 if (SWIG_arg_fail(1)) SWIG_fail;
31786 {
31787 wxTreeItemId * argp;
31788 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31789 if (SWIG_arg_fail(2)) SWIG_fail;
31790 if (argp == NULL) {
31791 SWIG_null_ref("wxTreeItemId");
31792 }
31793 if (SWIG_arg_fail(2)) SWIG_fail;
31794 arg2 = *argp;
31795 }
31796 {
31797 arg3 = wxString_in_helper(obj2);
31798 if (arg3 == NULL) SWIG_fail;
31799 temp3 = true;
31800 }
31801 {
31802 PyThreadState* __tstate = wxPyBeginAllowThreads();
31803 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31804
31805 wxPyEndAllowThreads(__tstate);
31806 if (PyErr_Occurred()) SWIG_fail;
31807 }
31808 {
31809 wxTreeItemId * resultptr;
31810 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31812 }
31813 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31814 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31815 {
31816 if (temp3)
31817 delete arg3;
31818 }
31819 return resultobj;
31820 fail:
31821 {
31822 if (temp3)
31823 delete arg3;
31824 }
31825 return NULL;
31826 }
31827
31828
31829 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31830 PyObject *resultobj;
31831 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31832 PyObject * obj0 = 0 ;
31833 char *kwnames[] = {
31834 (char *) "self", NULL
31835 };
31836
31837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31839 if (SWIG_arg_fail(1)) SWIG_fail;
31840 {
31841 PyThreadState* __tstate = wxPyBeginAllowThreads();
31842 (arg1)->DoResize();
31843
31844 wxPyEndAllowThreads(__tstate);
31845 if (PyErr_Occurred()) SWIG_fail;
31846 }
31847 Py_INCREF(Py_None); resultobj = Py_None;
31848 return resultobj;
31849 fail:
31850 return NULL;
31851 }
31852
31853
31854 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31855 PyObject *resultobj;
31856 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31857 PyObject * obj0 = 0 ;
31858 char *kwnames[] = {
31859 (char *) "self", NULL
31860 };
31861
31862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31864 if (SWIG_arg_fail(1)) SWIG_fail;
31865 {
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 (arg1)->ReCreateTree();
31868
31869 wxPyEndAllowThreads(__tstate);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 }
31872 Py_INCREF(Py_None); resultobj = Py_None;
31873 return resultobj;
31874 fail:
31875 return NULL;
31876 }
31877
31878
31879 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31880 PyObject *obj;
31881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31882 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31883 Py_INCREF(obj);
31884 return Py_BuildValue((char *)"");
31885 }
31886 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31887 PyObject *resultobj;
31888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31889 int arg2 = (int) (int)-1 ;
31890 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31891 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31892 wxSize const &arg4_defvalue = wxDefaultSize ;
31893 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31894 long arg5 = (long) 0 ;
31895 wxDirFilterListCtrl *result;
31896 wxPoint temp3 ;
31897 wxSize temp4 ;
31898 PyObject * obj0 = 0 ;
31899 PyObject * obj1 = 0 ;
31900 PyObject * obj2 = 0 ;
31901 PyObject * obj3 = 0 ;
31902 PyObject * obj4 = 0 ;
31903 char *kwnames[] = {
31904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31905 };
31906
31907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31909 if (SWIG_arg_fail(1)) SWIG_fail;
31910 if (obj1) {
31911 {
31912 arg2 = (int const)(SWIG_As_int(obj1));
31913 if (SWIG_arg_fail(2)) SWIG_fail;
31914 }
31915 }
31916 if (obj2) {
31917 {
31918 arg3 = &temp3;
31919 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31920 }
31921 }
31922 if (obj3) {
31923 {
31924 arg4 = &temp4;
31925 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31926 }
31927 }
31928 if (obj4) {
31929 {
31930 arg5 = (long)(SWIG_As_long(obj4));
31931 if (SWIG_arg_fail(5)) SWIG_fail;
31932 }
31933 }
31934 {
31935 if (!wxPyCheckForApp()) SWIG_fail;
31936 PyThreadState* __tstate = wxPyBeginAllowThreads();
31937 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31938
31939 wxPyEndAllowThreads(__tstate);
31940 if (PyErr_Occurred()) SWIG_fail;
31941 }
31942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31943 return resultobj;
31944 fail:
31945 return NULL;
31946 }
31947
31948
31949 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31950 PyObject *resultobj;
31951 wxDirFilterListCtrl *result;
31952 char *kwnames[] = {
31953 NULL
31954 };
31955
31956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31957 {
31958 if (!wxPyCheckForApp()) SWIG_fail;
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31961
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31966 return resultobj;
31967 fail:
31968 return NULL;
31969 }
31970
31971
31972 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31973 PyObject *resultobj;
31974 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31975 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31976 int arg3 = (int) (int)-1 ;
31977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31979 wxSize const &arg5_defvalue = wxDefaultSize ;
31980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31981 long arg6 = (long) 0 ;
31982 bool result;
31983 wxPoint temp4 ;
31984 wxSize temp5 ;
31985 PyObject * obj0 = 0 ;
31986 PyObject * obj1 = 0 ;
31987 PyObject * obj2 = 0 ;
31988 PyObject * obj3 = 0 ;
31989 PyObject * obj4 = 0 ;
31990 PyObject * obj5 = 0 ;
31991 char *kwnames[] = {
31992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31993 };
31994
31995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31997 if (SWIG_arg_fail(1)) SWIG_fail;
31998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31999 if (SWIG_arg_fail(2)) SWIG_fail;
32000 if (obj2) {
32001 {
32002 arg3 = (int const)(SWIG_As_int(obj2));
32003 if (SWIG_arg_fail(3)) SWIG_fail;
32004 }
32005 }
32006 if (obj3) {
32007 {
32008 arg4 = &temp4;
32009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32010 }
32011 }
32012 if (obj4) {
32013 {
32014 arg5 = &temp5;
32015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32016 }
32017 }
32018 if (obj5) {
32019 {
32020 arg6 = (long)(SWIG_As_long(obj5));
32021 if (SWIG_arg_fail(6)) SWIG_fail;
32022 }
32023 }
32024 {
32025 PyThreadState* __tstate = wxPyBeginAllowThreads();
32026 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32027
32028 wxPyEndAllowThreads(__tstate);
32029 if (PyErr_Occurred()) SWIG_fail;
32030 }
32031 {
32032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32033 }
32034 return resultobj;
32035 fail:
32036 return NULL;
32037 }
32038
32039
32040 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32041 PyObject *resultobj;
32042 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32043 wxString *arg2 = 0 ;
32044 int arg3 ;
32045 bool temp2 = false ;
32046 PyObject * obj0 = 0 ;
32047 PyObject * obj1 = 0 ;
32048 PyObject * obj2 = 0 ;
32049 char *kwnames[] = {
32050 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32051 };
32052
32053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail;
32056 {
32057 arg2 = wxString_in_helper(obj1);
32058 if (arg2 == NULL) SWIG_fail;
32059 temp2 = true;
32060 }
32061 {
32062 arg3 = (int)(SWIG_As_int(obj2));
32063 if (SWIG_arg_fail(3)) SWIG_fail;
32064 }
32065 {
32066 PyThreadState* __tstate = wxPyBeginAllowThreads();
32067 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32068
32069 wxPyEndAllowThreads(__tstate);
32070 if (PyErr_Occurred()) SWIG_fail;
32071 }
32072 Py_INCREF(Py_None); resultobj = Py_None;
32073 {
32074 if (temp2)
32075 delete arg2;
32076 }
32077 return resultobj;
32078 fail:
32079 {
32080 if (temp2)
32081 delete arg2;
32082 }
32083 return NULL;
32084 }
32085
32086
32087 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32088 PyObject *obj;
32089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32090 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32091 Py_INCREF(obj);
32092 return Py_BuildValue((char *)"");
32093 }
32094 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32095 PyObject *resultobj;
32096 wxWindow *arg1 = (wxWindow *) 0 ;
32097 int arg2 = (int) (int)-1 ;
32098 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32099 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32100 wxSize const &arg4_defvalue = wxDefaultSize ;
32101 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32102 long arg5 = (long) 0 ;
32103 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32104 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32105 wxString const &arg7_defvalue = wxPyControlNameStr ;
32106 wxString *arg7 = (wxString *) &arg7_defvalue ;
32107 wxPyControl *result;
32108 wxPoint temp3 ;
32109 wxSize temp4 ;
32110 bool temp7 = false ;
32111 PyObject * obj0 = 0 ;
32112 PyObject * obj1 = 0 ;
32113 PyObject * obj2 = 0 ;
32114 PyObject * obj3 = 0 ;
32115 PyObject * obj4 = 0 ;
32116 PyObject * obj5 = 0 ;
32117 PyObject * obj6 = 0 ;
32118 char *kwnames[] = {
32119 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32120 };
32121
32122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32124 if (SWIG_arg_fail(1)) SWIG_fail;
32125 if (obj1) {
32126 {
32127 arg2 = (int const)(SWIG_As_int(obj1));
32128 if (SWIG_arg_fail(2)) SWIG_fail;
32129 }
32130 }
32131 if (obj2) {
32132 {
32133 arg3 = &temp3;
32134 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32135 }
32136 }
32137 if (obj3) {
32138 {
32139 arg4 = &temp4;
32140 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32141 }
32142 }
32143 if (obj4) {
32144 {
32145 arg5 = (long)(SWIG_As_long(obj4));
32146 if (SWIG_arg_fail(5)) SWIG_fail;
32147 }
32148 }
32149 if (obj5) {
32150 {
32151 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32152 if (SWIG_arg_fail(6)) SWIG_fail;
32153 if (arg6 == NULL) {
32154 SWIG_null_ref("wxValidator");
32155 }
32156 if (SWIG_arg_fail(6)) SWIG_fail;
32157 }
32158 }
32159 if (obj6) {
32160 {
32161 arg7 = wxString_in_helper(obj6);
32162 if (arg7 == NULL) SWIG_fail;
32163 temp7 = true;
32164 }
32165 }
32166 {
32167 if (!wxPyCheckForApp()) SWIG_fail;
32168 PyThreadState* __tstate = wxPyBeginAllowThreads();
32169 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32170
32171 wxPyEndAllowThreads(__tstate);
32172 if (PyErr_Occurred()) SWIG_fail;
32173 }
32174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32175 {
32176 if (temp7)
32177 delete arg7;
32178 }
32179 return resultobj;
32180 fail:
32181 {
32182 if (temp7)
32183 delete arg7;
32184 }
32185 return NULL;
32186 }
32187
32188
32189 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32190 PyObject *resultobj;
32191 wxPyControl *result;
32192 char *kwnames[] = {
32193 NULL
32194 };
32195
32196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32197 {
32198 if (!wxPyCheckForApp()) SWIG_fail;
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 result = (wxPyControl *)new wxPyControl();
32201
32202 wxPyEndAllowThreads(__tstate);
32203 if (PyErr_Occurred()) SWIG_fail;
32204 }
32205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32206 return resultobj;
32207 fail:
32208 return NULL;
32209 }
32210
32211
32212 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32213 PyObject *resultobj;
32214 wxPyControl *arg1 = (wxPyControl *) 0 ;
32215 PyObject *arg2 = (PyObject *) 0 ;
32216 PyObject *arg3 = (PyObject *) 0 ;
32217 PyObject * obj0 = 0 ;
32218 PyObject * obj1 = 0 ;
32219 PyObject * obj2 = 0 ;
32220 char *kwnames[] = {
32221 (char *) "self",(char *) "self",(char *) "_class", NULL
32222 };
32223
32224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32226 if (SWIG_arg_fail(1)) SWIG_fail;
32227 arg2 = obj1;
32228 arg3 = obj2;
32229 {
32230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32231 (arg1)->_setCallbackInfo(arg2,arg3);
32232
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 Py_INCREF(Py_None); resultobj = Py_None;
32237 return resultobj;
32238 fail:
32239 return NULL;
32240 }
32241
32242
32243 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32244 PyObject *resultobj;
32245 wxPyControl *arg1 = (wxPyControl *) 0 ;
32246 wxSize *arg2 = 0 ;
32247 wxSize temp2 ;
32248 PyObject * obj0 = 0 ;
32249 PyObject * obj1 = 0 ;
32250 char *kwnames[] = {
32251 (char *) "self",(char *) "size", NULL
32252 };
32253
32254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32256 if (SWIG_arg_fail(1)) SWIG_fail;
32257 {
32258 arg2 = &temp2;
32259 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32260 }
32261 {
32262 PyThreadState* __tstate = wxPyBeginAllowThreads();
32263 (arg1)->SetBestSize((wxSize const &)*arg2);
32264
32265 wxPyEndAllowThreads(__tstate);
32266 if (PyErr_Occurred()) SWIG_fail;
32267 }
32268 Py_INCREF(Py_None); resultobj = Py_None;
32269 return resultobj;
32270 fail:
32271 return NULL;
32272 }
32273
32274
32275 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32276 PyObject *resultobj;
32277 wxPyControl *arg1 = (wxPyControl *) 0 ;
32278 wxDC *arg2 = (wxDC *) 0 ;
32279 bool result;
32280 PyObject * obj0 = 0 ;
32281 PyObject * obj1 = 0 ;
32282 char *kwnames[] = {
32283 (char *) "self",(char *) "dc", NULL
32284 };
32285
32286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32288 if (SWIG_arg_fail(1)) SWIG_fail;
32289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32290 if (SWIG_arg_fail(2)) SWIG_fail;
32291 {
32292 PyThreadState* __tstate = wxPyBeginAllowThreads();
32293 result = (bool)(arg1)->DoEraseBackground(arg2);
32294
32295 wxPyEndAllowThreads(__tstate);
32296 if (PyErr_Occurred()) SWIG_fail;
32297 }
32298 {
32299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32300 }
32301 return resultobj;
32302 fail:
32303 return NULL;
32304 }
32305
32306
32307 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32308 PyObject *resultobj;
32309 wxPyControl *arg1 = (wxPyControl *) 0 ;
32310 int arg2 ;
32311 int arg3 ;
32312 int arg4 ;
32313 int arg5 ;
32314 PyObject * obj0 = 0 ;
32315 PyObject * obj1 = 0 ;
32316 PyObject * obj2 = 0 ;
32317 PyObject * obj3 = 0 ;
32318 PyObject * obj4 = 0 ;
32319 char *kwnames[] = {
32320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32321 };
32322
32323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32325 if (SWIG_arg_fail(1)) SWIG_fail;
32326 {
32327 arg2 = (int)(SWIG_As_int(obj1));
32328 if (SWIG_arg_fail(2)) SWIG_fail;
32329 }
32330 {
32331 arg3 = (int)(SWIG_As_int(obj2));
32332 if (SWIG_arg_fail(3)) SWIG_fail;
32333 }
32334 {
32335 arg4 = (int)(SWIG_As_int(obj3));
32336 if (SWIG_arg_fail(4)) SWIG_fail;
32337 }
32338 {
32339 arg5 = (int)(SWIG_As_int(obj4));
32340 if (SWIG_arg_fail(5)) SWIG_fail;
32341 }
32342 {
32343 PyThreadState* __tstate = wxPyBeginAllowThreads();
32344 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32345
32346 wxPyEndAllowThreads(__tstate);
32347 if (PyErr_Occurred()) SWIG_fail;
32348 }
32349 Py_INCREF(Py_None); resultobj = Py_None;
32350 return resultobj;
32351 fail:
32352 return NULL;
32353 }
32354
32355
32356 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32357 PyObject *resultobj;
32358 wxPyControl *arg1 = (wxPyControl *) 0 ;
32359 int arg2 ;
32360 int arg3 ;
32361 int arg4 ;
32362 int arg5 ;
32363 int arg6 = (int) wxSIZE_AUTO ;
32364 PyObject * obj0 = 0 ;
32365 PyObject * obj1 = 0 ;
32366 PyObject * obj2 = 0 ;
32367 PyObject * obj3 = 0 ;
32368 PyObject * obj4 = 0 ;
32369 PyObject * obj5 = 0 ;
32370 char *kwnames[] = {
32371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32372 };
32373
32374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32376 if (SWIG_arg_fail(1)) SWIG_fail;
32377 {
32378 arg2 = (int)(SWIG_As_int(obj1));
32379 if (SWIG_arg_fail(2)) SWIG_fail;
32380 }
32381 {
32382 arg3 = (int)(SWIG_As_int(obj2));
32383 if (SWIG_arg_fail(3)) SWIG_fail;
32384 }
32385 {
32386 arg4 = (int)(SWIG_As_int(obj3));
32387 if (SWIG_arg_fail(4)) SWIG_fail;
32388 }
32389 {
32390 arg5 = (int)(SWIG_As_int(obj4));
32391 if (SWIG_arg_fail(5)) SWIG_fail;
32392 }
32393 if (obj5) {
32394 {
32395 arg6 = (int)(SWIG_As_int(obj5));
32396 if (SWIG_arg_fail(6)) SWIG_fail;
32397 }
32398 }
32399 {
32400 PyThreadState* __tstate = wxPyBeginAllowThreads();
32401 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32402
32403 wxPyEndAllowThreads(__tstate);
32404 if (PyErr_Occurred()) SWIG_fail;
32405 }
32406 Py_INCREF(Py_None); resultobj = Py_None;
32407 return resultobj;
32408 fail:
32409 return NULL;
32410 }
32411
32412
32413 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32414 PyObject *resultobj;
32415 wxPyControl *arg1 = (wxPyControl *) 0 ;
32416 int arg2 ;
32417 int arg3 ;
32418 PyObject * obj0 = 0 ;
32419 PyObject * obj1 = 0 ;
32420 PyObject * obj2 = 0 ;
32421 char *kwnames[] = {
32422 (char *) "self",(char *) "width",(char *) "height", NULL
32423 };
32424
32425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32427 if (SWIG_arg_fail(1)) SWIG_fail;
32428 {
32429 arg2 = (int)(SWIG_As_int(obj1));
32430 if (SWIG_arg_fail(2)) SWIG_fail;
32431 }
32432 {
32433 arg3 = (int)(SWIG_As_int(obj2));
32434 if (SWIG_arg_fail(3)) SWIG_fail;
32435 }
32436 {
32437 PyThreadState* __tstate = wxPyBeginAllowThreads();
32438 (arg1)->base_DoSetClientSize(arg2,arg3);
32439
32440 wxPyEndAllowThreads(__tstate);
32441 if (PyErr_Occurred()) SWIG_fail;
32442 }
32443 Py_INCREF(Py_None); resultobj = Py_None;
32444 return resultobj;
32445 fail:
32446 return NULL;
32447 }
32448
32449
32450 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32451 PyObject *resultobj;
32452 wxPyControl *arg1 = (wxPyControl *) 0 ;
32453 int arg2 ;
32454 int arg3 ;
32455 PyObject * obj0 = 0 ;
32456 PyObject * obj1 = 0 ;
32457 PyObject * obj2 = 0 ;
32458 char *kwnames[] = {
32459 (char *) "self",(char *) "x",(char *) "y", NULL
32460 };
32461
32462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32464 if (SWIG_arg_fail(1)) SWIG_fail;
32465 {
32466 arg2 = (int)(SWIG_As_int(obj1));
32467 if (SWIG_arg_fail(2)) SWIG_fail;
32468 }
32469 {
32470 arg3 = (int)(SWIG_As_int(obj2));
32471 if (SWIG_arg_fail(3)) SWIG_fail;
32472 }
32473 {
32474 PyThreadState* __tstate = wxPyBeginAllowThreads();
32475 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32476
32477 wxPyEndAllowThreads(__tstate);
32478 if (PyErr_Occurred()) SWIG_fail;
32479 }
32480 Py_INCREF(Py_None); resultobj = Py_None;
32481 return resultobj;
32482 fail:
32483 return NULL;
32484 }
32485
32486
32487 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32488 PyObject *resultobj;
32489 wxPyControl *arg1 = (wxPyControl *) 0 ;
32490 int *arg2 = (int *) 0 ;
32491 int *arg3 = (int *) 0 ;
32492 int temp2 ;
32493 int res2 = 0 ;
32494 int temp3 ;
32495 int res3 = 0 ;
32496 PyObject * obj0 = 0 ;
32497 char *kwnames[] = {
32498 (char *) "self", NULL
32499 };
32500
32501 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32502 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32505 if (SWIG_arg_fail(1)) SWIG_fail;
32506 {
32507 PyThreadState* __tstate = wxPyBeginAllowThreads();
32508 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32509
32510 wxPyEndAllowThreads(__tstate);
32511 if (PyErr_Occurred()) SWIG_fail;
32512 }
32513 Py_INCREF(Py_None); resultobj = Py_None;
32514 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32515 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32516 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32517 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32518 return resultobj;
32519 fail:
32520 return NULL;
32521 }
32522
32523
32524 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32525 PyObject *resultobj;
32526 wxPyControl *arg1 = (wxPyControl *) 0 ;
32527 int *arg2 = (int *) 0 ;
32528 int *arg3 = (int *) 0 ;
32529 int temp2 ;
32530 int res2 = 0 ;
32531 int temp3 ;
32532 int res3 = 0 ;
32533 PyObject * obj0 = 0 ;
32534 char *kwnames[] = {
32535 (char *) "self", NULL
32536 };
32537
32538 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32539 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32542 if (SWIG_arg_fail(1)) SWIG_fail;
32543 {
32544 PyThreadState* __tstate = wxPyBeginAllowThreads();
32545 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32546
32547 wxPyEndAllowThreads(__tstate);
32548 if (PyErr_Occurred()) SWIG_fail;
32549 }
32550 Py_INCREF(Py_None); resultobj = Py_None;
32551 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32552 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32553 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32554 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32555 return resultobj;
32556 fail:
32557 return NULL;
32558 }
32559
32560
32561 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj;
32563 wxPyControl *arg1 = (wxPyControl *) 0 ;
32564 int *arg2 = (int *) 0 ;
32565 int *arg3 = (int *) 0 ;
32566 int temp2 ;
32567 int res2 = 0 ;
32568 int temp3 ;
32569 int res3 = 0 ;
32570 PyObject * obj0 = 0 ;
32571 char *kwnames[] = {
32572 (char *) "self", NULL
32573 };
32574
32575 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32576 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32579 if (SWIG_arg_fail(1)) SWIG_fail;
32580 {
32581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32582 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32583
32584 wxPyEndAllowThreads(__tstate);
32585 if (PyErr_Occurred()) SWIG_fail;
32586 }
32587 Py_INCREF(Py_None); resultobj = Py_None;
32588 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32589 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32590 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32591 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32592 return resultobj;
32593 fail:
32594 return NULL;
32595 }
32596
32597
32598 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32599 PyObject *resultobj;
32600 wxPyControl *arg1 = (wxPyControl *) 0 ;
32601 wxSize result;
32602 PyObject * obj0 = 0 ;
32603 char *kwnames[] = {
32604 (char *) "self", NULL
32605 };
32606
32607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32609 if (SWIG_arg_fail(1)) SWIG_fail;
32610 {
32611 PyThreadState* __tstate = wxPyBeginAllowThreads();
32612 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32613
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 {
32618 wxSize * resultptr;
32619 resultptr = new wxSize((wxSize &)(result));
32620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32621 }
32622 return resultobj;
32623 fail:
32624 return NULL;
32625 }
32626
32627
32628 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32629 PyObject *resultobj;
32630 wxPyControl *arg1 = (wxPyControl *) 0 ;
32631 wxSize result;
32632 PyObject * obj0 = 0 ;
32633 char *kwnames[] = {
32634 (char *) "self", NULL
32635 };
32636
32637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32639 if (SWIG_arg_fail(1)) SWIG_fail;
32640 {
32641 PyThreadState* __tstate = wxPyBeginAllowThreads();
32642 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32643
32644 wxPyEndAllowThreads(__tstate);
32645 if (PyErr_Occurred()) SWIG_fail;
32646 }
32647 {
32648 wxSize * resultptr;
32649 resultptr = new wxSize((wxSize &)(result));
32650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32651 }
32652 return resultobj;
32653 fail:
32654 return NULL;
32655 }
32656
32657
32658 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32659 PyObject *resultobj;
32660 wxPyControl *arg1 = (wxPyControl *) 0 ;
32661 PyObject * obj0 = 0 ;
32662 char *kwnames[] = {
32663 (char *) "self", NULL
32664 };
32665
32666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32668 if (SWIG_arg_fail(1)) SWIG_fail;
32669 {
32670 PyThreadState* __tstate = wxPyBeginAllowThreads();
32671 (arg1)->base_InitDialog();
32672
32673 wxPyEndAllowThreads(__tstate);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 }
32676 Py_INCREF(Py_None); resultobj = Py_None;
32677 return resultobj;
32678 fail:
32679 return NULL;
32680 }
32681
32682
32683 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32684 PyObject *resultobj;
32685 wxPyControl *arg1 = (wxPyControl *) 0 ;
32686 bool result;
32687 PyObject * obj0 = 0 ;
32688 char *kwnames[] = {
32689 (char *) "self", NULL
32690 };
32691
32692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32694 if (SWIG_arg_fail(1)) SWIG_fail;
32695 {
32696 PyThreadState* __tstate = wxPyBeginAllowThreads();
32697 result = (bool)(arg1)->base_TransferDataToWindow();
32698
32699 wxPyEndAllowThreads(__tstate);
32700 if (PyErr_Occurred()) SWIG_fail;
32701 }
32702 {
32703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32704 }
32705 return resultobj;
32706 fail:
32707 return NULL;
32708 }
32709
32710
32711 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32712 PyObject *resultobj;
32713 wxPyControl *arg1 = (wxPyControl *) 0 ;
32714 bool result;
32715 PyObject * obj0 = 0 ;
32716 char *kwnames[] = {
32717 (char *) "self", NULL
32718 };
32719
32720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32722 if (SWIG_arg_fail(1)) SWIG_fail;
32723 {
32724 PyThreadState* __tstate = wxPyBeginAllowThreads();
32725 result = (bool)(arg1)->base_TransferDataFromWindow();
32726
32727 wxPyEndAllowThreads(__tstate);
32728 if (PyErr_Occurred()) SWIG_fail;
32729 }
32730 {
32731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32732 }
32733 return resultobj;
32734 fail:
32735 return NULL;
32736 }
32737
32738
32739 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32740 PyObject *resultobj;
32741 wxPyControl *arg1 = (wxPyControl *) 0 ;
32742 bool result;
32743 PyObject * obj0 = 0 ;
32744 char *kwnames[] = {
32745 (char *) "self", NULL
32746 };
32747
32748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32750 if (SWIG_arg_fail(1)) SWIG_fail;
32751 {
32752 PyThreadState* __tstate = wxPyBeginAllowThreads();
32753 result = (bool)(arg1)->base_Validate();
32754
32755 wxPyEndAllowThreads(__tstate);
32756 if (PyErr_Occurred()) SWIG_fail;
32757 }
32758 {
32759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32760 }
32761 return resultobj;
32762 fail:
32763 return NULL;
32764 }
32765
32766
32767 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32768 PyObject *resultobj;
32769 wxPyControl *arg1 = (wxPyControl *) 0 ;
32770 bool result;
32771 PyObject * obj0 = 0 ;
32772 char *kwnames[] = {
32773 (char *) "self", NULL
32774 };
32775
32776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail;
32779 {
32780 PyThreadState* __tstate = wxPyBeginAllowThreads();
32781 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32782
32783 wxPyEndAllowThreads(__tstate);
32784 if (PyErr_Occurred()) SWIG_fail;
32785 }
32786 {
32787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32788 }
32789 return resultobj;
32790 fail:
32791 return NULL;
32792 }
32793
32794
32795 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32796 PyObject *resultobj;
32797 wxPyControl *arg1 = (wxPyControl *) 0 ;
32798 bool result;
32799 PyObject * obj0 = 0 ;
32800 char *kwnames[] = {
32801 (char *) "self", NULL
32802 };
32803
32804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail;
32807 {
32808 PyThreadState* __tstate = wxPyBeginAllowThreads();
32809 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32810
32811 wxPyEndAllowThreads(__tstate);
32812 if (PyErr_Occurred()) SWIG_fail;
32813 }
32814 {
32815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32816 }
32817 return resultobj;
32818 fail:
32819 return NULL;
32820 }
32821
32822
32823 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32824 PyObject *resultobj;
32825 wxPyControl *arg1 = (wxPyControl *) 0 ;
32826 wxSize result;
32827 PyObject * obj0 = 0 ;
32828 char *kwnames[] = {
32829 (char *) "self", NULL
32830 };
32831
32832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32834 if (SWIG_arg_fail(1)) SWIG_fail;
32835 {
32836 PyThreadState* __tstate = wxPyBeginAllowThreads();
32837 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32838
32839 wxPyEndAllowThreads(__tstate);
32840 if (PyErr_Occurred()) SWIG_fail;
32841 }
32842 {
32843 wxSize * resultptr;
32844 resultptr = new wxSize((wxSize &)(result));
32845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32846 }
32847 return resultobj;
32848 fail:
32849 return NULL;
32850 }
32851
32852
32853 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32854 PyObject *resultobj;
32855 wxPyControl *arg1 = (wxPyControl *) 0 ;
32856 wxWindow *arg2 = (wxWindow *) 0 ;
32857 PyObject * obj0 = 0 ;
32858 PyObject * obj1 = 0 ;
32859 char *kwnames[] = {
32860 (char *) "self",(char *) "child", NULL
32861 };
32862
32863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32865 if (SWIG_arg_fail(1)) SWIG_fail;
32866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32867 if (SWIG_arg_fail(2)) SWIG_fail;
32868 {
32869 PyThreadState* __tstate = wxPyBeginAllowThreads();
32870 (arg1)->base_AddChild(arg2);
32871
32872 wxPyEndAllowThreads(__tstate);
32873 if (PyErr_Occurred()) SWIG_fail;
32874 }
32875 Py_INCREF(Py_None); resultobj = Py_None;
32876 return resultobj;
32877 fail:
32878 return NULL;
32879 }
32880
32881
32882 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32883 PyObject *resultobj;
32884 wxPyControl *arg1 = (wxPyControl *) 0 ;
32885 wxWindow *arg2 = (wxWindow *) 0 ;
32886 PyObject * obj0 = 0 ;
32887 PyObject * obj1 = 0 ;
32888 char *kwnames[] = {
32889 (char *) "self",(char *) "child", NULL
32890 };
32891
32892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32894 if (SWIG_arg_fail(1)) SWIG_fail;
32895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32896 if (SWIG_arg_fail(2)) SWIG_fail;
32897 {
32898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32899 (arg1)->base_RemoveChild(arg2);
32900
32901 wxPyEndAllowThreads(__tstate);
32902 if (PyErr_Occurred()) SWIG_fail;
32903 }
32904 Py_INCREF(Py_None); resultobj = Py_None;
32905 return resultobj;
32906 fail:
32907 return NULL;
32908 }
32909
32910
32911 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32912 PyObject *resultobj;
32913 wxPyControl *arg1 = (wxPyControl *) 0 ;
32914 bool result;
32915 PyObject * obj0 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail;
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 {
32931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32932 }
32933 return resultobj;
32934 fail:
32935 return NULL;
32936 }
32937
32938
32939 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32940 PyObject *resultobj;
32941 wxPyControl *arg1 = (wxPyControl *) 0 ;
32942 wxVisualAttributes result;
32943 PyObject * obj0 = 0 ;
32944 char *kwnames[] = {
32945 (char *) "self", NULL
32946 };
32947
32948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32950 if (SWIG_arg_fail(1)) SWIG_fail;
32951 {
32952 PyThreadState* __tstate = wxPyBeginAllowThreads();
32953 result = (arg1)->base_GetDefaultAttributes();
32954
32955 wxPyEndAllowThreads(__tstate);
32956 if (PyErr_Occurred()) SWIG_fail;
32957 }
32958 {
32959 wxVisualAttributes * resultptr;
32960 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32962 }
32963 return resultobj;
32964 fail:
32965 return NULL;
32966 }
32967
32968
32969 static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32970 PyObject *resultobj;
32971 wxPyControl *arg1 = (wxPyControl *) 0 ;
32972 PyObject * obj0 = 0 ;
32973 char *kwnames[] = {
32974 (char *) "self", NULL
32975 };
32976
32977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
32978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32979 if (SWIG_arg_fail(1)) SWIG_fail;
32980 {
32981 PyThreadState* __tstate = wxPyBeginAllowThreads();
32982 (arg1)->base_OnInternalIdle();
32983
32984 wxPyEndAllowThreads(__tstate);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 Py_INCREF(Py_None); resultobj = Py_None;
32988 return resultobj;
32989 fail:
32990 return NULL;
32991 }
32992
32993
32994 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32995 PyObject *obj;
32996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32997 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32998 Py_INCREF(obj);
32999 return Py_BuildValue((char *)"");
33000 }
33001 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj;
33003 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33004 int arg2 = (int) 0 ;
33005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33007 wxHelpEvent *result;
33008 wxPoint temp3 ;
33009 PyObject * obj0 = 0 ;
33010 PyObject * obj1 = 0 ;
33011 PyObject * obj2 = 0 ;
33012 char *kwnames[] = {
33013 (char *) "type",(char *) "winid",(char *) "pt", NULL
33014 };
33015
33016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33017 if (obj0) {
33018 {
33019 arg1 = (wxEventType)(SWIG_As_int(obj0));
33020 if (SWIG_arg_fail(1)) SWIG_fail;
33021 }
33022 }
33023 if (obj1) {
33024 {
33025 arg2 = (int)(SWIG_As_int(obj1));
33026 if (SWIG_arg_fail(2)) SWIG_fail;
33027 }
33028 }
33029 if (obj2) {
33030 {
33031 arg3 = &temp3;
33032 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33033 }
33034 }
33035 {
33036 PyThreadState* __tstate = wxPyBeginAllowThreads();
33037 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33038
33039 wxPyEndAllowThreads(__tstate);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 }
33042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33043 return resultobj;
33044 fail:
33045 return NULL;
33046 }
33047
33048
33049 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33050 PyObject *resultobj;
33051 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33052 wxPoint result;
33053 PyObject * obj0 = 0 ;
33054 char *kwnames[] = {
33055 (char *) "self", NULL
33056 };
33057
33058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33060 if (SWIG_arg_fail(1)) SWIG_fail;
33061 {
33062 PyThreadState* __tstate = wxPyBeginAllowThreads();
33063 result = ((wxHelpEvent const *)arg1)->GetPosition();
33064
33065 wxPyEndAllowThreads(__tstate);
33066 if (PyErr_Occurred()) SWIG_fail;
33067 }
33068 {
33069 wxPoint * resultptr;
33070 resultptr = new wxPoint((wxPoint const &)(result));
33071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33072 }
33073 return resultobj;
33074 fail:
33075 return NULL;
33076 }
33077
33078
33079 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33080 PyObject *resultobj;
33081 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33082 wxPoint *arg2 = 0 ;
33083 wxPoint temp2 ;
33084 PyObject * obj0 = 0 ;
33085 PyObject * obj1 = 0 ;
33086 char *kwnames[] = {
33087 (char *) "self",(char *) "pos", NULL
33088 };
33089
33090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail;
33093 {
33094 arg2 = &temp2;
33095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33096 }
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 (arg1)->SetPosition((wxPoint const &)*arg2);
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 Py_INCREF(Py_None); resultobj = Py_None;
33105 return resultobj;
33106 fail:
33107 return NULL;
33108 }
33109
33110
33111 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33112 PyObject *resultobj;
33113 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33114 wxString *result;
33115 PyObject * obj0 = 0 ;
33116 char *kwnames[] = {
33117 (char *) "self", NULL
33118 };
33119
33120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail;
33123 {
33124 PyThreadState* __tstate = wxPyBeginAllowThreads();
33125 {
33126 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33127 result = (wxString *) &_result_ref;
33128 }
33129
33130 wxPyEndAllowThreads(__tstate);
33131 if (PyErr_Occurred()) SWIG_fail;
33132 }
33133 {
33134 #if wxUSE_UNICODE
33135 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33136 #else
33137 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33138 #endif
33139 }
33140 return resultobj;
33141 fail:
33142 return NULL;
33143 }
33144
33145
33146 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33147 PyObject *resultobj;
33148 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33149 wxString *arg2 = 0 ;
33150 bool temp2 = false ;
33151 PyObject * obj0 = 0 ;
33152 PyObject * obj1 = 0 ;
33153 char *kwnames[] = {
33154 (char *) "self",(char *) "link", NULL
33155 };
33156
33157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail;
33160 {
33161 arg2 = wxString_in_helper(obj1);
33162 if (arg2 == NULL) SWIG_fail;
33163 temp2 = true;
33164 }
33165 {
33166 PyThreadState* __tstate = wxPyBeginAllowThreads();
33167 (arg1)->SetLink((wxString const &)*arg2);
33168
33169 wxPyEndAllowThreads(__tstate);
33170 if (PyErr_Occurred()) SWIG_fail;
33171 }
33172 Py_INCREF(Py_None); resultobj = Py_None;
33173 {
33174 if (temp2)
33175 delete arg2;
33176 }
33177 return resultobj;
33178 fail:
33179 {
33180 if (temp2)
33181 delete arg2;
33182 }
33183 return NULL;
33184 }
33185
33186
33187 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33188 PyObject *resultobj;
33189 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33190 wxString *result;
33191 PyObject * obj0 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "self", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail;
33199 {
33200 PyThreadState* __tstate = wxPyBeginAllowThreads();
33201 {
33202 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33203 result = (wxString *) &_result_ref;
33204 }
33205
33206 wxPyEndAllowThreads(__tstate);
33207 if (PyErr_Occurred()) SWIG_fail;
33208 }
33209 {
33210 #if wxUSE_UNICODE
33211 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33212 #else
33213 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33214 #endif
33215 }
33216 return resultobj;
33217 fail:
33218 return NULL;
33219 }
33220
33221
33222 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33223 PyObject *resultobj;
33224 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33225 wxString *arg2 = 0 ;
33226 bool temp2 = false ;
33227 PyObject * obj0 = 0 ;
33228 PyObject * obj1 = 0 ;
33229 char *kwnames[] = {
33230 (char *) "self",(char *) "target", NULL
33231 };
33232
33233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33235 if (SWIG_arg_fail(1)) SWIG_fail;
33236 {
33237 arg2 = wxString_in_helper(obj1);
33238 if (arg2 == NULL) SWIG_fail;
33239 temp2 = true;
33240 }
33241 {
33242 PyThreadState* __tstate = wxPyBeginAllowThreads();
33243 (arg1)->SetTarget((wxString const &)*arg2);
33244
33245 wxPyEndAllowThreads(__tstate);
33246 if (PyErr_Occurred()) SWIG_fail;
33247 }
33248 Py_INCREF(Py_None); resultobj = Py_None;
33249 {
33250 if (temp2)
33251 delete arg2;
33252 }
33253 return resultobj;
33254 fail:
33255 {
33256 if (temp2)
33257 delete arg2;
33258 }
33259 return NULL;
33260 }
33261
33262
33263 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33264 PyObject *obj;
33265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33266 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33267 Py_INCREF(obj);
33268 return Py_BuildValue((char *)"");
33269 }
33270 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33271 PyObject *resultobj;
33272 wxWindow *arg1 = (wxWindow *) NULL ;
33273 bool arg2 = (bool) true ;
33274 wxContextHelp *result;
33275 PyObject * obj0 = 0 ;
33276 PyObject * obj1 = 0 ;
33277 char *kwnames[] = {
33278 (char *) "window",(char *) "doNow", NULL
33279 };
33280
33281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33282 if (obj0) {
33283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33284 if (SWIG_arg_fail(1)) SWIG_fail;
33285 }
33286 if (obj1) {
33287 {
33288 arg2 = (bool)(SWIG_As_bool(obj1));
33289 if (SWIG_arg_fail(2)) SWIG_fail;
33290 }
33291 }
33292 {
33293 if (!wxPyCheckForApp()) SWIG_fail;
33294 PyThreadState* __tstate = wxPyBeginAllowThreads();
33295 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33296
33297 wxPyEndAllowThreads(__tstate);
33298 if (PyErr_Occurred()) SWIG_fail;
33299 }
33300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33301 return resultobj;
33302 fail:
33303 return NULL;
33304 }
33305
33306
33307 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33308 PyObject *resultobj;
33309 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33310 PyObject * obj0 = 0 ;
33311 char *kwnames[] = {
33312 (char *) "self", NULL
33313 };
33314
33315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33317 if (SWIG_arg_fail(1)) SWIG_fail;
33318 {
33319 PyThreadState* __tstate = wxPyBeginAllowThreads();
33320 delete arg1;
33321
33322 wxPyEndAllowThreads(__tstate);
33323 if (PyErr_Occurred()) SWIG_fail;
33324 }
33325 Py_INCREF(Py_None); resultobj = Py_None;
33326 return resultobj;
33327 fail:
33328 return NULL;
33329 }
33330
33331
33332 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33333 PyObject *resultobj;
33334 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33335 wxWindow *arg2 = (wxWindow *) NULL ;
33336 bool result;
33337 PyObject * obj0 = 0 ;
33338 PyObject * obj1 = 0 ;
33339 char *kwnames[] = {
33340 (char *) "self",(char *) "window", NULL
33341 };
33342
33343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33345 if (SWIG_arg_fail(1)) SWIG_fail;
33346 if (obj1) {
33347 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33348 if (SWIG_arg_fail(2)) SWIG_fail;
33349 }
33350 {
33351 PyThreadState* __tstate = wxPyBeginAllowThreads();
33352 result = (bool)(arg1)->BeginContextHelp(arg2);
33353
33354 wxPyEndAllowThreads(__tstate);
33355 if (PyErr_Occurred()) SWIG_fail;
33356 }
33357 {
33358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33359 }
33360 return resultobj;
33361 fail:
33362 return NULL;
33363 }
33364
33365
33366 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33367 PyObject *resultobj;
33368 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33369 bool result;
33370 PyObject * obj0 = 0 ;
33371 char *kwnames[] = {
33372 (char *) "self", NULL
33373 };
33374
33375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33377 if (SWIG_arg_fail(1)) SWIG_fail;
33378 {
33379 PyThreadState* __tstate = wxPyBeginAllowThreads();
33380 result = (bool)(arg1)->EndContextHelp();
33381
33382 wxPyEndAllowThreads(__tstate);
33383 if (PyErr_Occurred()) SWIG_fail;
33384 }
33385 {
33386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33387 }
33388 return resultobj;
33389 fail:
33390 return NULL;
33391 }
33392
33393
33394 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33395 PyObject *obj;
33396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33397 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33398 Py_INCREF(obj);
33399 return Py_BuildValue((char *)"");
33400 }
33401 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33402 PyObject *resultobj;
33403 wxWindow *arg1 = (wxWindow *) 0 ;
33404 int arg2 = (int) wxID_CONTEXT_HELP ;
33405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33407 wxSize const &arg4_defvalue = wxDefaultSize ;
33408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33409 long arg5 = (long) wxBU_AUTODRAW ;
33410 wxContextHelpButton *result;
33411 wxPoint temp3 ;
33412 wxSize temp4 ;
33413 PyObject * obj0 = 0 ;
33414 PyObject * obj1 = 0 ;
33415 PyObject * obj2 = 0 ;
33416 PyObject * obj3 = 0 ;
33417 PyObject * obj4 = 0 ;
33418 char *kwnames[] = {
33419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33420 };
33421
33422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33424 if (SWIG_arg_fail(1)) SWIG_fail;
33425 if (obj1) {
33426 {
33427 arg2 = (int)(SWIG_As_int(obj1));
33428 if (SWIG_arg_fail(2)) SWIG_fail;
33429 }
33430 }
33431 if (obj2) {
33432 {
33433 arg3 = &temp3;
33434 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33435 }
33436 }
33437 if (obj3) {
33438 {
33439 arg4 = &temp4;
33440 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33441 }
33442 }
33443 if (obj4) {
33444 {
33445 arg5 = (long)(SWIG_As_long(obj4));
33446 if (SWIG_arg_fail(5)) SWIG_fail;
33447 }
33448 }
33449 {
33450 if (!wxPyCheckForApp()) SWIG_fail;
33451 PyThreadState* __tstate = wxPyBeginAllowThreads();
33452 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33453
33454 wxPyEndAllowThreads(__tstate);
33455 if (PyErr_Occurred()) SWIG_fail;
33456 }
33457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33458 return resultobj;
33459 fail:
33460 return NULL;
33461 }
33462
33463
33464 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33465 PyObject *obj;
33466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33467 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33468 Py_INCREF(obj);
33469 return Py_BuildValue((char *)"");
33470 }
33471 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33472 PyObject *resultobj;
33473 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33474 wxHelpProvider *result;
33475 PyObject * obj0 = 0 ;
33476 char *kwnames[] = {
33477 (char *) "helpProvider", NULL
33478 };
33479
33480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33482 if (SWIG_arg_fail(1)) SWIG_fail;
33483 {
33484 PyThreadState* __tstate = wxPyBeginAllowThreads();
33485 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33486
33487 wxPyEndAllowThreads(__tstate);
33488 if (PyErr_Occurred()) SWIG_fail;
33489 }
33490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33491 return resultobj;
33492 fail:
33493 return NULL;
33494 }
33495
33496
33497 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33498 PyObject *resultobj;
33499 wxHelpProvider *result;
33500 char *kwnames[] = {
33501 NULL
33502 };
33503
33504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33505 {
33506 PyThreadState* __tstate = wxPyBeginAllowThreads();
33507 result = (wxHelpProvider *)wxHelpProvider::Get();
33508
33509 wxPyEndAllowThreads(__tstate);
33510 if (PyErr_Occurred()) SWIG_fail;
33511 }
33512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33513 return resultobj;
33514 fail:
33515 return NULL;
33516 }
33517
33518
33519 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33520 PyObject *resultobj;
33521 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33522 wxWindow *arg2 = (wxWindow *) 0 ;
33523 wxString result;
33524 PyObject * obj0 = 0 ;
33525 PyObject * obj1 = 0 ;
33526 char *kwnames[] = {
33527 (char *) "self",(char *) "window", NULL
33528 };
33529
33530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33532 if (SWIG_arg_fail(1)) SWIG_fail;
33533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33534 if (SWIG_arg_fail(2)) SWIG_fail;
33535 {
33536 PyThreadState* __tstate = wxPyBeginAllowThreads();
33537 result = (arg1)->GetHelp((wxWindow const *)arg2);
33538
33539 wxPyEndAllowThreads(__tstate);
33540 if (PyErr_Occurred()) SWIG_fail;
33541 }
33542 {
33543 #if wxUSE_UNICODE
33544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33545 #else
33546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33547 #endif
33548 }
33549 return resultobj;
33550 fail:
33551 return NULL;
33552 }
33553
33554
33555 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33556 PyObject *resultobj;
33557 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33558 wxWindow *arg2 = (wxWindow *) 0 ;
33559 bool result;
33560 PyObject * obj0 = 0 ;
33561 PyObject * obj1 = 0 ;
33562 char *kwnames[] = {
33563 (char *) "self",(char *) "window", NULL
33564 };
33565
33566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33568 if (SWIG_arg_fail(1)) SWIG_fail;
33569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33570 if (SWIG_arg_fail(2)) SWIG_fail;
33571 {
33572 PyThreadState* __tstate = wxPyBeginAllowThreads();
33573 result = (bool)(arg1)->ShowHelp(arg2);
33574
33575 wxPyEndAllowThreads(__tstate);
33576 if (PyErr_Occurred()) SWIG_fail;
33577 }
33578 {
33579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33580 }
33581 return resultobj;
33582 fail:
33583 return NULL;
33584 }
33585
33586
33587 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33588 PyObject *resultobj;
33589 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33590 wxWindow *arg2 = (wxWindow *) 0 ;
33591 wxString *arg3 = 0 ;
33592 bool temp3 = false ;
33593 PyObject * obj0 = 0 ;
33594 PyObject * obj1 = 0 ;
33595 PyObject * obj2 = 0 ;
33596 char *kwnames[] = {
33597 (char *) "self",(char *) "window",(char *) "text", NULL
33598 };
33599
33600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33602 if (SWIG_arg_fail(1)) SWIG_fail;
33603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33604 if (SWIG_arg_fail(2)) SWIG_fail;
33605 {
33606 arg3 = wxString_in_helper(obj2);
33607 if (arg3 == NULL) SWIG_fail;
33608 temp3 = true;
33609 }
33610 {
33611 PyThreadState* __tstate = wxPyBeginAllowThreads();
33612 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33613
33614 wxPyEndAllowThreads(__tstate);
33615 if (PyErr_Occurred()) SWIG_fail;
33616 }
33617 Py_INCREF(Py_None); resultobj = Py_None;
33618 {
33619 if (temp3)
33620 delete arg3;
33621 }
33622 return resultobj;
33623 fail:
33624 {
33625 if (temp3)
33626 delete arg3;
33627 }
33628 return NULL;
33629 }
33630
33631
33632 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33633 PyObject *resultobj;
33634 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33635 int arg2 ;
33636 wxString *arg3 = 0 ;
33637 bool temp3 = false ;
33638 PyObject * obj0 = 0 ;
33639 PyObject * obj1 = 0 ;
33640 PyObject * obj2 = 0 ;
33641 char *kwnames[] = {
33642 (char *) "self",(char *) "id",(char *) "text", NULL
33643 };
33644
33645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail;
33648 {
33649 arg2 = (int)(SWIG_As_int(obj1));
33650 if (SWIG_arg_fail(2)) SWIG_fail;
33651 }
33652 {
33653 arg3 = wxString_in_helper(obj2);
33654 if (arg3 == NULL) SWIG_fail;
33655 temp3 = true;
33656 }
33657 {
33658 PyThreadState* __tstate = wxPyBeginAllowThreads();
33659 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33660
33661 wxPyEndAllowThreads(__tstate);
33662 if (PyErr_Occurred()) SWIG_fail;
33663 }
33664 Py_INCREF(Py_None); resultobj = Py_None;
33665 {
33666 if (temp3)
33667 delete arg3;
33668 }
33669 return resultobj;
33670 fail:
33671 {
33672 if (temp3)
33673 delete arg3;
33674 }
33675 return NULL;
33676 }
33677
33678
33679 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33680 PyObject *resultobj;
33681 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33682 wxWindow *arg2 = (wxWindow *) 0 ;
33683 PyObject * obj0 = 0 ;
33684 PyObject * obj1 = 0 ;
33685 char *kwnames[] = {
33686 (char *) "self",(char *) "window", NULL
33687 };
33688
33689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail;
33692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33693 if (SWIG_arg_fail(2)) SWIG_fail;
33694 {
33695 PyThreadState* __tstate = wxPyBeginAllowThreads();
33696 (arg1)->RemoveHelp(arg2);
33697
33698 wxPyEndAllowThreads(__tstate);
33699 if (PyErr_Occurred()) SWIG_fail;
33700 }
33701 Py_INCREF(Py_None); resultobj = Py_None;
33702 return resultobj;
33703 fail:
33704 return NULL;
33705 }
33706
33707
33708 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33709 PyObject *resultobj;
33710 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33711 PyObject * obj0 = 0 ;
33712 char *kwnames[] = {
33713 (char *) "self", NULL
33714 };
33715
33716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail;
33719 {
33720 PyThreadState* __tstate = wxPyBeginAllowThreads();
33721 wxHelpProvider_Destroy(arg1);
33722
33723 wxPyEndAllowThreads(__tstate);
33724 if (PyErr_Occurred()) SWIG_fail;
33725 }
33726 Py_INCREF(Py_None); resultobj = Py_None;
33727 return resultobj;
33728 fail:
33729 return NULL;
33730 }
33731
33732
33733 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33734 PyObject *obj;
33735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33736 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33737 Py_INCREF(obj);
33738 return Py_BuildValue((char *)"");
33739 }
33740 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33741 PyObject *resultobj;
33742 wxSimpleHelpProvider *result;
33743 char *kwnames[] = {
33744 NULL
33745 };
33746
33747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33748 {
33749 PyThreadState* __tstate = wxPyBeginAllowThreads();
33750 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33751
33752 wxPyEndAllowThreads(__tstate);
33753 if (PyErr_Occurred()) SWIG_fail;
33754 }
33755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33756 return resultobj;
33757 fail:
33758 return NULL;
33759 }
33760
33761
33762 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33763 PyObject *obj;
33764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33765 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33766 Py_INCREF(obj);
33767 return Py_BuildValue((char *)"");
33768 }
33769 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33770 PyObject *resultobj;
33771 wxBitmap *arg1 = 0 ;
33772 wxCursor const &arg2_defvalue = wxNullCursor ;
33773 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33774 wxGenericDragImage *result;
33775 PyObject * obj0 = 0 ;
33776 PyObject * obj1 = 0 ;
33777 char *kwnames[] = {
33778 (char *) "image",(char *) "cursor", NULL
33779 };
33780
33781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33782 {
33783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33784 if (SWIG_arg_fail(1)) SWIG_fail;
33785 if (arg1 == NULL) {
33786 SWIG_null_ref("wxBitmap");
33787 }
33788 if (SWIG_arg_fail(1)) SWIG_fail;
33789 }
33790 if (obj1) {
33791 {
33792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33793 if (SWIG_arg_fail(2)) SWIG_fail;
33794 if (arg2 == NULL) {
33795 SWIG_null_ref("wxCursor");
33796 }
33797 if (SWIG_arg_fail(2)) SWIG_fail;
33798 }
33799 }
33800 {
33801 if (!wxPyCheckForApp()) SWIG_fail;
33802 PyThreadState* __tstate = wxPyBeginAllowThreads();
33803 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33804
33805 wxPyEndAllowThreads(__tstate);
33806 if (PyErr_Occurred()) SWIG_fail;
33807 }
33808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33809 return resultobj;
33810 fail:
33811 return NULL;
33812 }
33813
33814
33815 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33816 PyObject *resultobj;
33817 wxIcon *arg1 = 0 ;
33818 wxCursor const &arg2_defvalue = wxNullCursor ;
33819 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33820 wxGenericDragImage *result;
33821 PyObject * obj0 = 0 ;
33822 PyObject * obj1 = 0 ;
33823 char *kwnames[] = {
33824 (char *) "image",(char *) "cursor", NULL
33825 };
33826
33827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33828 {
33829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33830 if (SWIG_arg_fail(1)) SWIG_fail;
33831 if (arg1 == NULL) {
33832 SWIG_null_ref("wxIcon");
33833 }
33834 if (SWIG_arg_fail(1)) SWIG_fail;
33835 }
33836 if (obj1) {
33837 {
33838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33839 if (SWIG_arg_fail(2)) SWIG_fail;
33840 if (arg2 == NULL) {
33841 SWIG_null_ref("wxCursor");
33842 }
33843 if (SWIG_arg_fail(2)) SWIG_fail;
33844 }
33845 }
33846 {
33847 if (!wxPyCheckForApp()) SWIG_fail;
33848 PyThreadState* __tstate = wxPyBeginAllowThreads();
33849 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33850
33851 wxPyEndAllowThreads(__tstate);
33852 if (PyErr_Occurred()) SWIG_fail;
33853 }
33854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33855 return resultobj;
33856 fail:
33857 return NULL;
33858 }
33859
33860
33861 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33862 PyObject *resultobj;
33863 wxString *arg1 = 0 ;
33864 wxCursor const &arg2_defvalue = wxNullCursor ;
33865 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33866 wxGenericDragImage *result;
33867 bool temp1 = false ;
33868 PyObject * obj0 = 0 ;
33869 PyObject * obj1 = 0 ;
33870 char *kwnames[] = {
33871 (char *) "str",(char *) "cursor", NULL
33872 };
33873
33874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33875 {
33876 arg1 = wxString_in_helper(obj0);
33877 if (arg1 == NULL) SWIG_fail;
33878 temp1 = true;
33879 }
33880 if (obj1) {
33881 {
33882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33883 if (SWIG_arg_fail(2)) SWIG_fail;
33884 if (arg2 == NULL) {
33885 SWIG_null_ref("wxCursor");
33886 }
33887 if (SWIG_arg_fail(2)) SWIG_fail;
33888 }
33889 }
33890 {
33891 if (!wxPyCheckForApp()) SWIG_fail;
33892 PyThreadState* __tstate = wxPyBeginAllowThreads();
33893 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33894
33895 wxPyEndAllowThreads(__tstate);
33896 if (PyErr_Occurred()) SWIG_fail;
33897 }
33898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33899 {
33900 if (temp1)
33901 delete arg1;
33902 }
33903 return resultobj;
33904 fail:
33905 {
33906 if (temp1)
33907 delete arg1;
33908 }
33909 return NULL;
33910 }
33911
33912
33913 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33914 PyObject *resultobj;
33915 wxPyTreeCtrl *arg1 = 0 ;
33916 wxTreeItemId *arg2 = 0 ;
33917 wxGenericDragImage *result;
33918 PyObject * obj0 = 0 ;
33919 PyObject * obj1 = 0 ;
33920 char *kwnames[] = {
33921 (char *) "treeCtrl",(char *) "id", NULL
33922 };
33923
33924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33925 {
33926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail;
33928 if (arg1 == NULL) {
33929 SWIG_null_ref("wxPyTreeCtrl");
33930 }
33931 if (SWIG_arg_fail(1)) SWIG_fail;
33932 }
33933 {
33934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33935 if (SWIG_arg_fail(2)) SWIG_fail;
33936 if (arg2 == NULL) {
33937 SWIG_null_ref("wxTreeItemId");
33938 }
33939 if (SWIG_arg_fail(2)) SWIG_fail;
33940 }
33941 {
33942 if (!wxPyCheckForApp()) SWIG_fail;
33943 PyThreadState* __tstate = wxPyBeginAllowThreads();
33944 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33945
33946 wxPyEndAllowThreads(__tstate);
33947 if (PyErr_Occurred()) SWIG_fail;
33948 }
33949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33950 return resultobj;
33951 fail:
33952 return NULL;
33953 }
33954
33955
33956 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33957 PyObject *resultobj;
33958 wxPyListCtrl *arg1 = 0 ;
33959 long arg2 ;
33960 wxGenericDragImage *result;
33961 PyObject * obj0 = 0 ;
33962 PyObject * obj1 = 0 ;
33963 char *kwnames[] = {
33964 (char *) "listCtrl",(char *) "id", NULL
33965 };
33966
33967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33968 {
33969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail;
33971 if (arg1 == NULL) {
33972 SWIG_null_ref("wxPyListCtrl");
33973 }
33974 if (SWIG_arg_fail(1)) SWIG_fail;
33975 }
33976 {
33977 arg2 = (long)(SWIG_As_long(obj1));
33978 if (SWIG_arg_fail(2)) SWIG_fail;
33979 }
33980 {
33981 if (!wxPyCheckForApp()) SWIG_fail;
33982 PyThreadState* __tstate = wxPyBeginAllowThreads();
33983 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33984
33985 wxPyEndAllowThreads(__tstate);
33986 if (PyErr_Occurred()) SWIG_fail;
33987 }
33988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33989 return resultobj;
33990 fail:
33991 return NULL;
33992 }
33993
33994
33995 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33996 PyObject *resultobj;
33997 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33998 PyObject * obj0 = 0 ;
33999 char *kwnames[] = {
34000 (char *) "self", NULL
34001 };
34002
34003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34005 if (SWIG_arg_fail(1)) SWIG_fail;
34006 {
34007 PyThreadState* __tstate = wxPyBeginAllowThreads();
34008 delete arg1;
34009
34010 wxPyEndAllowThreads(__tstate);
34011 if (PyErr_Occurred()) SWIG_fail;
34012 }
34013 Py_INCREF(Py_None); resultobj = Py_None;
34014 return resultobj;
34015 fail:
34016 return NULL;
34017 }
34018
34019
34020 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34021 PyObject *resultobj;
34022 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34023 wxBitmap *arg2 = (wxBitmap *) 0 ;
34024 PyObject * obj0 = 0 ;
34025 PyObject * obj1 = 0 ;
34026 char *kwnames[] = {
34027 (char *) "self",(char *) "bitmap", NULL
34028 };
34029
34030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34032 if (SWIG_arg_fail(1)) SWIG_fail;
34033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34034 if (SWIG_arg_fail(2)) SWIG_fail;
34035 {
34036 PyThreadState* __tstate = wxPyBeginAllowThreads();
34037 (arg1)->SetBackingBitmap(arg2);
34038
34039 wxPyEndAllowThreads(__tstate);
34040 if (PyErr_Occurred()) SWIG_fail;
34041 }
34042 Py_INCREF(Py_None); resultobj = Py_None;
34043 return resultobj;
34044 fail:
34045 return NULL;
34046 }
34047
34048
34049 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34050 PyObject *resultobj;
34051 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34052 wxPoint *arg2 = 0 ;
34053 wxWindow *arg3 = (wxWindow *) 0 ;
34054 bool arg4 = (bool) false ;
34055 wxRect *arg5 = (wxRect *) NULL ;
34056 bool result;
34057 wxPoint temp2 ;
34058 PyObject * obj0 = 0 ;
34059 PyObject * obj1 = 0 ;
34060 PyObject * obj2 = 0 ;
34061 PyObject * obj3 = 0 ;
34062 PyObject * obj4 = 0 ;
34063 char *kwnames[] = {
34064 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34065 };
34066
34067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34069 if (SWIG_arg_fail(1)) SWIG_fail;
34070 {
34071 arg2 = &temp2;
34072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34073 }
34074 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34075 if (SWIG_arg_fail(3)) SWIG_fail;
34076 if (obj3) {
34077 {
34078 arg4 = (bool)(SWIG_As_bool(obj3));
34079 if (SWIG_arg_fail(4)) SWIG_fail;
34080 }
34081 }
34082 if (obj4) {
34083 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34084 if (SWIG_arg_fail(5)) SWIG_fail;
34085 }
34086 {
34087 PyThreadState* __tstate = wxPyBeginAllowThreads();
34088 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34089
34090 wxPyEndAllowThreads(__tstate);
34091 if (PyErr_Occurred()) SWIG_fail;
34092 }
34093 {
34094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34095 }
34096 return resultobj;
34097 fail:
34098 return NULL;
34099 }
34100
34101
34102 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34103 PyObject *resultobj;
34104 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34105 wxPoint *arg2 = 0 ;
34106 wxWindow *arg3 = (wxWindow *) 0 ;
34107 wxWindow *arg4 = (wxWindow *) 0 ;
34108 bool result;
34109 wxPoint temp2 ;
34110 PyObject * obj0 = 0 ;
34111 PyObject * obj1 = 0 ;
34112 PyObject * obj2 = 0 ;
34113 PyObject * obj3 = 0 ;
34114 char *kwnames[] = {
34115 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34116 };
34117
34118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail;
34121 {
34122 arg2 = &temp2;
34123 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34124 }
34125 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34126 if (SWIG_arg_fail(3)) SWIG_fail;
34127 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34128 if (SWIG_arg_fail(4)) SWIG_fail;
34129 {
34130 PyThreadState* __tstate = wxPyBeginAllowThreads();
34131 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34132
34133 wxPyEndAllowThreads(__tstate);
34134 if (PyErr_Occurred()) SWIG_fail;
34135 }
34136 {
34137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34138 }
34139 return resultobj;
34140 fail:
34141 return NULL;
34142 }
34143
34144
34145 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34146 PyObject *resultobj;
34147 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34148 bool result;
34149 PyObject * obj0 = 0 ;
34150 char *kwnames[] = {
34151 (char *) "self", NULL
34152 };
34153
34154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail;
34157 {
34158 PyThreadState* __tstate = wxPyBeginAllowThreads();
34159 result = (bool)(arg1)->EndDrag();
34160
34161 wxPyEndAllowThreads(__tstate);
34162 if (PyErr_Occurred()) SWIG_fail;
34163 }
34164 {
34165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34166 }
34167 return resultobj;
34168 fail:
34169 return NULL;
34170 }
34171
34172
34173 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34174 PyObject *resultobj;
34175 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34176 wxPoint *arg2 = 0 ;
34177 bool result;
34178 wxPoint temp2 ;
34179 PyObject * obj0 = 0 ;
34180 PyObject * obj1 = 0 ;
34181 char *kwnames[] = {
34182 (char *) "self",(char *) "pt", NULL
34183 };
34184
34185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail;
34188 {
34189 arg2 = &temp2;
34190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34191 }
34192 {
34193 PyThreadState* __tstate = wxPyBeginAllowThreads();
34194 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34195
34196 wxPyEndAllowThreads(__tstate);
34197 if (PyErr_Occurred()) SWIG_fail;
34198 }
34199 {
34200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34201 }
34202 return resultobj;
34203 fail:
34204 return NULL;
34205 }
34206
34207
34208 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34209 PyObject *resultobj;
34210 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34211 bool result;
34212 PyObject * obj0 = 0 ;
34213 char *kwnames[] = {
34214 (char *) "self", NULL
34215 };
34216
34217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail;
34220 {
34221 PyThreadState* __tstate = wxPyBeginAllowThreads();
34222 result = (bool)(arg1)->Show();
34223
34224 wxPyEndAllowThreads(__tstate);
34225 if (PyErr_Occurred()) SWIG_fail;
34226 }
34227 {
34228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34229 }
34230 return resultobj;
34231 fail:
34232 return NULL;
34233 }
34234
34235
34236 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34237 PyObject *resultobj;
34238 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34239 bool result;
34240 PyObject * obj0 = 0 ;
34241 char *kwnames[] = {
34242 (char *) "self", NULL
34243 };
34244
34245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34247 if (SWIG_arg_fail(1)) SWIG_fail;
34248 {
34249 PyThreadState* __tstate = wxPyBeginAllowThreads();
34250 result = (bool)(arg1)->Hide();
34251
34252 wxPyEndAllowThreads(__tstate);
34253 if (PyErr_Occurred()) SWIG_fail;
34254 }
34255 {
34256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34257 }
34258 return resultobj;
34259 fail:
34260 return NULL;
34261 }
34262
34263
34264 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34265 PyObject *resultobj;
34266 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34267 wxPoint *arg2 = 0 ;
34268 wxRect result;
34269 wxPoint temp2 ;
34270 PyObject * obj0 = 0 ;
34271 PyObject * obj1 = 0 ;
34272 char *kwnames[] = {
34273 (char *) "self",(char *) "pos", NULL
34274 };
34275
34276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail;
34279 {
34280 arg2 = &temp2;
34281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34282 }
34283 {
34284 PyThreadState* __tstate = wxPyBeginAllowThreads();
34285 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34286
34287 wxPyEndAllowThreads(__tstate);
34288 if (PyErr_Occurred()) SWIG_fail;
34289 }
34290 {
34291 wxRect * resultptr;
34292 resultptr = new wxRect((wxRect &)(result));
34293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34294 }
34295 return resultobj;
34296 fail:
34297 return NULL;
34298 }
34299
34300
34301 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34302 PyObject *resultobj;
34303 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34304 wxDC *arg2 = 0 ;
34305 wxPoint *arg3 = 0 ;
34306 bool result;
34307 wxPoint temp3 ;
34308 PyObject * obj0 = 0 ;
34309 PyObject * obj1 = 0 ;
34310 PyObject * obj2 = 0 ;
34311 char *kwnames[] = {
34312 (char *) "self",(char *) "dc",(char *) "pos", NULL
34313 };
34314
34315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34317 if (SWIG_arg_fail(1)) SWIG_fail;
34318 {
34319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34320 if (SWIG_arg_fail(2)) SWIG_fail;
34321 if (arg2 == NULL) {
34322 SWIG_null_ref("wxDC");
34323 }
34324 if (SWIG_arg_fail(2)) SWIG_fail;
34325 }
34326 {
34327 arg3 = &temp3;
34328 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34329 }
34330 {
34331 PyThreadState* __tstate = wxPyBeginAllowThreads();
34332 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34333
34334 wxPyEndAllowThreads(__tstate);
34335 if (PyErr_Occurred()) SWIG_fail;
34336 }
34337 {
34338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34339 }
34340 return resultobj;
34341 fail:
34342 return NULL;
34343 }
34344
34345
34346 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34347 PyObject *resultobj;
34348 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34349 wxDC *arg2 = 0 ;
34350 wxMemoryDC *arg3 = 0 ;
34351 wxRect *arg4 = 0 ;
34352 wxRect *arg5 = 0 ;
34353 bool result;
34354 wxRect temp4 ;
34355 wxRect temp5 ;
34356 PyObject * obj0 = 0 ;
34357 PyObject * obj1 = 0 ;
34358 PyObject * obj2 = 0 ;
34359 PyObject * obj3 = 0 ;
34360 PyObject * obj4 = 0 ;
34361 char *kwnames[] = {
34362 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34363 };
34364
34365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34367 if (SWIG_arg_fail(1)) SWIG_fail;
34368 {
34369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34370 if (SWIG_arg_fail(2)) SWIG_fail;
34371 if (arg2 == NULL) {
34372 SWIG_null_ref("wxDC");
34373 }
34374 if (SWIG_arg_fail(2)) SWIG_fail;
34375 }
34376 {
34377 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34378 if (SWIG_arg_fail(3)) SWIG_fail;
34379 if (arg3 == NULL) {
34380 SWIG_null_ref("wxMemoryDC");
34381 }
34382 if (SWIG_arg_fail(3)) SWIG_fail;
34383 }
34384 {
34385 arg4 = &temp4;
34386 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34387 }
34388 {
34389 arg5 = &temp5;
34390 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34391 }
34392 {
34393 PyThreadState* __tstate = wxPyBeginAllowThreads();
34394 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34395
34396 wxPyEndAllowThreads(__tstate);
34397 if (PyErr_Occurred()) SWIG_fail;
34398 }
34399 {
34400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34401 }
34402 return resultobj;
34403 fail:
34404 return NULL;
34405 }
34406
34407
34408 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34409 PyObject *resultobj;
34410 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34411 wxPoint *arg2 = 0 ;
34412 wxPoint *arg3 = 0 ;
34413 bool arg4 ;
34414 bool arg5 ;
34415 bool result;
34416 wxPoint temp2 ;
34417 wxPoint temp3 ;
34418 PyObject * obj0 = 0 ;
34419 PyObject * obj1 = 0 ;
34420 PyObject * obj2 = 0 ;
34421 PyObject * obj3 = 0 ;
34422 PyObject * obj4 = 0 ;
34423 char *kwnames[] = {
34424 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34425 };
34426
34427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34429 if (SWIG_arg_fail(1)) SWIG_fail;
34430 {
34431 arg2 = &temp2;
34432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34433 }
34434 {
34435 arg3 = &temp3;
34436 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34437 }
34438 {
34439 arg4 = (bool)(SWIG_As_bool(obj3));
34440 if (SWIG_arg_fail(4)) SWIG_fail;
34441 }
34442 {
34443 arg5 = (bool)(SWIG_As_bool(obj4));
34444 if (SWIG_arg_fail(5)) SWIG_fail;
34445 }
34446 {
34447 PyThreadState* __tstate = wxPyBeginAllowThreads();
34448 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34449
34450 wxPyEndAllowThreads(__tstate);
34451 if (PyErr_Occurred()) SWIG_fail;
34452 }
34453 {
34454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34455 }
34456 return resultobj;
34457 fail:
34458 return NULL;
34459 }
34460
34461
34462 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34463 PyObject *obj;
34464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34465 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34466 Py_INCREF(obj);
34467 return Py_BuildValue((char *)"");
34468 }
34469 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34470 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34471 return 1;
34472 }
34473
34474
34475 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34476 PyObject *pyobj;
34477
34478 {
34479 #if wxUSE_UNICODE
34480 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34481 #else
34482 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34483 #endif
34484 }
34485 return pyobj;
34486 }
34487
34488
34489 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34490 PyObject *resultobj;
34491 wxWindow *arg1 = (wxWindow *) 0 ;
34492 int arg2 = (int) -1 ;
34493 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34494 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34497 wxSize const &arg5_defvalue = wxDefaultSize ;
34498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34499 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34500 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34501 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34502 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34503 wxString *arg8 = (wxString *) &arg8_defvalue ;
34504 wxDatePickerCtrl *result;
34505 wxPoint temp4 ;
34506 wxSize temp5 ;
34507 bool temp8 = false ;
34508 PyObject * obj0 = 0 ;
34509 PyObject * obj1 = 0 ;
34510 PyObject * obj2 = 0 ;
34511 PyObject * obj3 = 0 ;
34512 PyObject * obj4 = 0 ;
34513 PyObject * obj5 = 0 ;
34514 PyObject * obj6 = 0 ;
34515 PyObject * obj7 = 0 ;
34516 char *kwnames[] = {
34517 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34518 };
34519
34520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34522 if (SWIG_arg_fail(1)) SWIG_fail;
34523 if (obj1) {
34524 {
34525 arg2 = (int)(SWIG_As_int(obj1));
34526 if (SWIG_arg_fail(2)) SWIG_fail;
34527 }
34528 }
34529 if (obj2) {
34530 {
34531 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34532 if (SWIG_arg_fail(3)) SWIG_fail;
34533 if (arg3 == NULL) {
34534 SWIG_null_ref("wxDateTime");
34535 }
34536 if (SWIG_arg_fail(3)) SWIG_fail;
34537 }
34538 }
34539 if (obj3) {
34540 {
34541 arg4 = &temp4;
34542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34543 }
34544 }
34545 if (obj4) {
34546 {
34547 arg5 = &temp5;
34548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34549 }
34550 }
34551 if (obj5) {
34552 {
34553 arg6 = (long)(SWIG_As_long(obj5));
34554 if (SWIG_arg_fail(6)) SWIG_fail;
34555 }
34556 }
34557 if (obj6) {
34558 {
34559 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34560 if (SWIG_arg_fail(7)) SWIG_fail;
34561 if (arg7 == NULL) {
34562 SWIG_null_ref("wxValidator");
34563 }
34564 if (SWIG_arg_fail(7)) SWIG_fail;
34565 }
34566 }
34567 if (obj7) {
34568 {
34569 arg8 = wxString_in_helper(obj7);
34570 if (arg8 == NULL) SWIG_fail;
34571 temp8 = true;
34572 }
34573 }
34574 {
34575 if (!wxPyCheckForApp()) SWIG_fail;
34576 PyThreadState* __tstate = wxPyBeginAllowThreads();
34577 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34578
34579 wxPyEndAllowThreads(__tstate);
34580 if (PyErr_Occurred()) SWIG_fail;
34581 }
34582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34583 {
34584 if (temp8)
34585 delete arg8;
34586 }
34587 return resultobj;
34588 fail:
34589 {
34590 if (temp8)
34591 delete arg8;
34592 }
34593 return NULL;
34594 }
34595
34596
34597 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34598 PyObject *resultobj;
34599 wxDatePickerCtrl *result;
34600 char *kwnames[] = {
34601 NULL
34602 };
34603
34604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34605 {
34606 if (!wxPyCheckForApp()) SWIG_fail;
34607 PyThreadState* __tstate = wxPyBeginAllowThreads();
34608 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34609
34610 wxPyEndAllowThreads(__tstate);
34611 if (PyErr_Occurred()) SWIG_fail;
34612 }
34613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34614 return resultobj;
34615 fail:
34616 return NULL;
34617 }
34618
34619
34620 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34621 PyObject *resultobj;
34622 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34623 wxWindow *arg2 = (wxWindow *) 0 ;
34624 int arg3 = (int) -1 ;
34625 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34626 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34627 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34628 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34629 wxSize const &arg6_defvalue = wxDefaultSize ;
34630 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34631 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34632 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34633 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34634 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34635 wxString *arg9 = (wxString *) &arg9_defvalue ;
34636 bool result;
34637 wxPoint temp5 ;
34638 wxSize temp6 ;
34639 bool temp9 = false ;
34640 PyObject * obj0 = 0 ;
34641 PyObject * obj1 = 0 ;
34642 PyObject * obj2 = 0 ;
34643 PyObject * obj3 = 0 ;
34644 PyObject * obj4 = 0 ;
34645 PyObject * obj5 = 0 ;
34646 PyObject * obj6 = 0 ;
34647 PyObject * obj7 = 0 ;
34648 PyObject * obj8 = 0 ;
34649 char *kwnames[] = {
34650 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34651 };
34652
34653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34655 if (SWIG_arg_fail(1)) SWIG_fail;
34656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34657 if (SWIG_arg_fail(2)) SWIG_fail;
34658 if (obj2) {
34659 {
34660 arg3 = (int)(SWIG_As_int(obj2));
34661 if (SWIG_arg_fail(3)) SWIG_fail;
34662 }
34663 }
34664 if (obj3) {
34665 {
34666 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34667 if (SWIG_arg_fail(4)) SWIG_fail;
34668 if (arg4 == NULL) {
34669 SWIG_null_ref("wxDateTime");
34670 }
34671 if (SWIG_arg_fail(4)) SWIG_fail;
34672 }
34673 }
34674 if (obj4) {
34675 {
34676 arg5 = &temp5;
34677 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34678 }
34679 }
34680 if (obj5) {
34681 {
34682 arg6 = &temp6;
34683 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34684 }
34685 }
34686 if (obj6) {
34687 {
34688 arg7 = (long)(SWIG_As_long(obj6));
34689 if (SWIG_arg_fail(7)) SWIG_fail;
34690 }
34691 }
34692 if (obj7) {
34693 {
34694 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34695 if (SWIG_arg_fail(8)) SWIG_fail;
34696 if (arg8 == NULL) {
34697 SWIG_null_ref("wxValidator");
34698 }
34699 if (SWIG_arg_fail(8)) SWIG_fail;
34700 }
34701 }
34702 if (obj8) {
34703 {
34704 arg9 = wxString_in_helper(obj8);
34705 if (arg9 == NULL) SWIG_fail;
34706 temp9 = true;
34707 }
34708 }
34709 {
34710 PyThreadState* __tstate = wxPyBeginAllowThreads();
34711 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34712
34713 wxPyEndAllowThreads(__tstate);
34714 if (PyErr_Occurred()) SWIG_fail;
34715 }
34716 {
34717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34718 }
34719 {
34720 if (temp9)
34721 delete arg9;
34722 }
34723 return resultobj;
34724 fail:
34725 {
34726 if (temp9)
34727 delete arg9;
34728 }
34729 return NULL;
34730 }
34731
34732
34733 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34734 PyObject *resultobj;
34735 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34736 wxDateTime *arg2 = 0 ;
34737 PyObject * obj0 = 0 ;
34738 PyObject * obj1 = 0 ;
34739 char *kwnames[] = {
34740 (char *) "self",(char *) "dt", NULL
34741 };
34742
34743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34745 if (SWIG_arg_fail(1)) SWIG_fail;
34746 {
34747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34748 if (SWIG_arg_fail(2)) SWIG_fail;
34749 if (arg2 == NULL) {
34750 SWIG_null_ref("wxDateTime");
34751 }
34752 if (SWIG_arg_fail(2)) SWIG_fail;
34753 }
34754 {
34755 PyThreadState* __tstate = wxPyBeginAllowThreads();
34756 (arg1)->SetValue((wxDateTime const &)*arg2);
34757
34758 wxPyEndAllowThreads(__tstate);
34759 if (PyErr_Occurred()) SWIG_fail;
34760 }
34761 Py_INCREF(Py_None); resultobj = Py_None;
34762 return resultobj;
34763 fail:
34764 return NULL;
34765 }
34766
34767
34768 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34769 PyObject *resultobj;
34770 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34771 wxDateTime result;
34772 PyObject * obj0 = 0 ;
34773 char *kwnames[] = {
34774 (char *) "self", NULL
34775 };
34776
34777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34779 if (SWIG_arg_fail(1)) SWIG_fail;
34780 {
34781 PyThreadState* __tstate = wxPyBeginAllowThreads();
34782 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34783
34784 wxPyEndAllowThreads(__tstate);
34785 if (PyErr_Occurred()) SWIG_fail;
34786 }
34787 {
34788 wxDateTime * resultptr;
34789 resultptr = new wxDateTime((wxDateTime &)(result));
34790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34791 }
34792 return resultobj;
34793 fail:
34794 return NULL;
34795 }
34796
34797
34798 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34799 PyObject *resultobj;
34800 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34801 wxDateTime *arg2 = 0 ;
34802 wxDateTime *arg3 = 0 ;
34803 PyObject * obj0 = 0 ;
34804 PyObject * obj1 = 0 ;
34805 PyObject * obj2 = 0 ;
34806 char *kwnames[] = {
34807 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34808 };
34809
34810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34812 if (SWIG_arg_fail(1)) SWIG_fail;
34813 {
34814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34815 if (SWIG_arg_fail(2)) SWIG_fail;
34816 if (arg2 == NULL) {
34817 SWIG_null_ref("wxDateTime");
34818 }
34819 if (SWIG_arg_fail(2)) SWIG_fail;
34820 }
34821 {
34822 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34823 if (SWIG_arg_fail(3)) SWIG_fail;
34824 if (arg3 == NULL) {
34825 SWIG_null_ref("wxDateTime");
34826 }
34827 if (SWIG_arg_fail(3)) SWIG_fail;
34828 }
34829 {
34830 PyThreadState* __tstate = wxPyBeginAllowThreads();
34831 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34832
34833 wxPyEndAllowThreads(__tstate);
34834 if (PyErr_Occurred()) SWIG_fail;
34835 }
34836 Py_INCREF(Py_None); resultobj = Py_None;
34837 return resultobj;
34838 fail:
34839 return NULL;
34840 }
34841
34842
34843 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34844 PyObject *resultobj;
34845 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34846 wxDateTime result;
34847 PyObject * obj0 = 0 ;
34848 char *kwnames[] = {
34849 (char *) "self", NULL
34850 };
34851
34852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34854 if (SWIG_arg_fail(1)) SWIG_fail;
34855 {
34856 PyThreadState* __tstate = wxPyBeginAllowThreads();
34857 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34858
34859 wxPyEndAllowThreads(__tstate);
34860 if (PyErr_Occurred()) SWIG_fail;
34861 }
34862 {
34863 wxDateTime * resultptr;
34864 resultptr = new wxDateTime((wxDateTime &)(result));
34865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34866 }
34867 return resultobj;
34868 fail:
34869 return NULL;
34870 }
34871
34872
34873 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34874 PyObject *resultobj;
34875 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34876 wxDateTime result;
34877 PyObject * obj0 = 0 ;
34878 char *kwnames[] = {
34879 (char *) "self", NULL
34880 };
34881
34882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34884 if (SWIG_arg_fail(1)) SWIG_fail;
34885 {
34886 PyThreadState* __tstate = wxPyBeginAllowThreads();
34887 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34888
34889 wxPyEndAllowThreads(__tstate);
34890 if (PyErr_Occurred()) SWIG_fail;
34891 }
34892 {
34893 wxDateTime * resultptr;
34894 resultptr = new wxDateTime((wxDateTime &)(result));
34895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34896 }
34897 return resultobj;
34898 fail:
34899 return NULL;
34900 }
34901
34902
34903 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34904 PyObject *obj;
34905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34906 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34907 Py_INCREF(obj);
34908 return Py_BuildValue((char *)"");
34909 }
34910 static PyMethodDef SwigMethods[] = {
34911 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34918 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34933 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34945 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34950 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34981 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34995 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35000 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35007 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35012 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35020 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35043 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35052 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35083 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35139 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35144 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35156 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35169 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35181 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35185 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35203 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35210 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35236 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35244 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35266 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35272 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35283 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35285 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35291 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35293 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35300 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35302 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35307 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35312 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35342 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35387 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35393 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35405 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35457 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35484 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35555 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35567 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35575 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35582 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35599 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35675 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35697 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35702 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35729 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35737 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35742 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35744 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35753 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35755 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35773 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35782 { NULL, NULL, 0, NULL }
35783 };
35784
35785
35786 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35787
35788 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35789 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35790 }
35791 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35792 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35793 }
35794 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35795 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35796 }
35797 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35798 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35799 }
35800 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35801 return (void *)((wxSizer *) ((wxGridSizer *) x));
35802 }
35803 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35804 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35805 }
35806 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35807 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35808 }
35809 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35810 return (void *)((wxSizer *) ((wxPySizer *) x));
35811 }
35812 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35813 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35814 }
35815 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35817 }
35818 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35819 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35820 }
35821 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35822 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35823 }
35824 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35825 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35826 }
35827 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35828 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35829 }
35830 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35831 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35832 }
35833 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35834 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35835 }
35836 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35837 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35838 }
35839 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35840 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35841 }
35842 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35844 }
35845 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35847 }
35848 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35849 return (void *)((wxEvent *) ((wxPyEvent *) x));
35850 }
35851 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35852 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35853 }
35854 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35855 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35856 }
35857 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35858 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35859 }
35860 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35861 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35862 }
35863 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35864 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35865 }
35866 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35867 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35868 }
35869 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35870 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35871 }
35872 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35874 }
35875 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35876 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35877 }
35878 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35879 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35880 }
35881 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35882 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35883 }
35884 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35885 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35886 }
35887 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35888 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35889 }
35890 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35891 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35892 }
35893 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35894 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35895 }
35896 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35897 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35898 }
35899 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35900 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35901 }
35902 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35903 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35904 }
35905 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35906 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35907 }
35908 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35909 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35910 }
35911 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35912 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35913 }
35914 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35915 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35916 }
35917 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35918 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35919 }
35920 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35921 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35922 }
35923 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35924 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35925 }
35926 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35927 return (void *)((wxEvent *) ((wxShowEvent *) x));
35928 }
35929 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35930 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35931 }
35932 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35933 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35934 }
35935 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35937 }
35938 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35939 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35940 }
35941 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35942 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35943 }
35944 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35945 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35946 }
35947 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35948 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35949 }
35950 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35951 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35952 }
35953 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35954 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35955 }
35956 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35957 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35958 }
35959 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35960 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35961 }
35962 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35963 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35964 }
35965 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35966 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35967 }
35968 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35969 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35970 }
35971 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35972 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35973 }
35974 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35975 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35976 }
35977 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35978 return (void *)((wxControl *) ((wxToggleButton *) x));
35979 }
35980 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35981 return (void *)((wxControl *) ((wxRadioButton *) x));
35982 }
35983 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35984 return (void *)((wxControl *) ((wxPyControl *) x));
35985 }
35986 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35987 return (void *)((wxControl *) ((wxToolBarBase *) x));
35988 }
35989 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35990 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35991 }
35992 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35993 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35994 }
35995 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35996 return (void *)((wxControl *) ((wxComboBox *) x));
35997 }
35998 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35999 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
36000 }
36001 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36002 return (void *)((wxControl *) ((wxScrollBar *) x));
36003 }
36004 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36005 return (void *)((wxControl *) ((wxControlWithItems *) x));
36006 }
36007 static void *_p_wxGaugeTo_p_wxControl(void *x) {
36008 return (void *)((wxControl *) ((wxGauge *) x));
36009 }
36010 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36011 return (void *)((wxControl *) ((wxStaticLine *) x));
36012 }
36013 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36014 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36015 }
36016 static void *_p_wxListbookTo_p_wxControl(void *x) {
36017 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36018 }
36019 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36020 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36021 }
36022 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36023 return (void *)((wxControl *) ((wxCheckBox *) x));
36024 }
36025 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36026 return (void *)((wxControl *) ((wxRadioBox *) x));
36027 }
36028 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36029 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36030 }
36031 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36032 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36033 }
36034 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36035 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36036 }
36037 static void *_p_wxListViewTo_p_wxControl(void *x) {
36038 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36039 }
36040 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36041 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36042 }
36043 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36044 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36045 }
36046 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36047 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36048 }
36049 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36050 return (void *)((wxControl *) ((wxStaticText *) x));
36051 }
36052 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36053 return (void *)((wxControl *) ((wxStaticBox *) x));
36054 }
36055 static void *_p_wxSliderTo_p_wxControl(void *x) {
36056 return (void *)((wxControl *) ((wxSlider *) x));
36057 }
36058 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36059 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36060 }
36061 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36062 return (void *)((wxControl *) ((wxSpinButton *) x));
36063 }
36064 static void *_p_wxButtonTo_p_wxControl(void *x) {
36065 return (void *)((wxControl *) ((wxButton *) x));
36066 }
36067 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36068 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36069 }
36070 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36071 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36072 }
36073 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36074 return (void *)((wxControl *) ((wxTextCtrl *) x));
36075 }
36076 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36077 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36078 }
36079 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36080 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36081 }
36082 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36083 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36084 }
36085 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36086 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36087 }
36088 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36089 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36090 }
36091 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36092 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36093 }
36094 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36095 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36096 }
36097 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36098 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36099 }
36100 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36101 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36102 }
36103 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36104 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36105 }
36106 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36107 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36108 }
36109 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36110 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36111 }
36112 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36114 }
36115 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36117 }
36118 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36119 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36120 }
36121 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36122 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36123 }
36124 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36126 }
36127 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36128 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36129 }
36130 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36132 }
36133 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36135 }
36136 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36137 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36138 }
36139 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36140 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36141 }
36142 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36144 }
36145 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36147 }
36148 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36150 }
36151 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36153 }
36154 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36156 }
36157 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36158 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36159 }
36160 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36162 }
36163 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36165 }
36166 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36168 }
36169 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36171 }
36172 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36174 }
36175 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36177 }
36178 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36180 }
36181 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36183 }
36184 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36186 }
36187 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36189 }
36190 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36192 }
36193 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36195 }
36196 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36198 }
36199 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36201 }
36202 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36204 }
36205 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36207 }
36208 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36210 }
36211 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36213 }
36214 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36216 }
36217 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36219 }
36220 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36222 }
36223 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36225 }
36226 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36228 }
36229 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36231 }
36232 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36234 }
36235 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36237 }
36238 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36239 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36240 }
36241 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36242 return (void *)((wxButton *) ((wxBitmapButton *) x));
36243 }
36244 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36245 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36246 }
36247 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36248 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36249 }
36250 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36251 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36252 }
36253 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36254 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36255 }
36256 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36257 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36258 }
36259 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36260 return (void *)((wxObject *) ((wxSizerItem *) x));
36261 }
36262 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36264 }
36265 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36266 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36267 }
36268 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36270 }
36271 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36272 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36273 }
36274 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36275 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36276 }
36277 static void *_p_wxSizerTo_p_wxObject(void *x) {
36278 return (void *)((wxObject *) ((wxSizer *) x));
36279 }
36280 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36281 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36282 }
36283 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36285 }
36286 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36288 }
36289 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36291 }
36292 static void *_p_wxEventTo_p_wxObject(void *x) {
36293 return (void *)((wxObject *) ((wxEvent *) x));
36294 }
36295 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36296 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36297 }
36298 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36299 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36300 }
36301 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36302 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36303 }
36304 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36306 }
36307 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36309 }
36310 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36312 }
36313 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36314 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36315 }
36316 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36317 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36318 }
36319 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36320 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36321 }
36322 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36323 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36324 }
36325 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36326 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36327 }
36328 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36329 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36330 }
36331 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36333 }
36334 static void *_p_wxControlTo_p_wxObject(void *x) {
36335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36336 }
36337 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36339 }
36340 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36342 }
36343 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36345 }
36346 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36348 }
36349 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36351 }
36352 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36353 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36354 }
36355 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36357 }
36358 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36359 return (void *)((wxObject *) ((wxFSFile *) x));
36360 }
36361 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36362 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36363 }
36364 static void *_p_wxListViewTo_p_wxObject(void *x) {
36365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36366 }
36367 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36369 }
36370 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36372 }
36373 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36374 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36375 }
36376 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36378 }
36379 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36381 }
36382 static void *_p_wxListbookTo_p_wxObject(void *x) {
36383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36384 }
36385 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36386 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36387 }
36388 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36390 }
36391 static void *_p_wxSliderTo_p_wxObject(void *x) {
36392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36393 }
36394 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36395 return (void *)((wxObject *) ((wxMenuItem *) x));
36396 }
36397 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36399 }
36400 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36401 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36402 }
36403 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36405 }
36406 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36407 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36408 }
36409 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36410 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36411 }
36412 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36413 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36414 }
36415 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36416 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36417 }
36418 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36419 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36420 }
36421 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36422 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36423 }
36424 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36426 }
36427 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36428 return (void *)((wxObject *) ((wxContextHelp *) x));
36429 }
36430 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36432 }
36433 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36434 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36435 }
36436 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36437 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36438 }
36439 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36440 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36441 }
36442 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36443 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36444 }
36445 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36446 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36447 }
36448 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36449 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36450 }
36451 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36452 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36453 }
36454 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36455 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36456 }
36457 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36458 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36459 }
36460 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36461 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36462 }
36463 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36464 return (void *)((wxObject *) ((wxImageHandler *) x));
36465 }
36466 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36467 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36468 }
36469 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36470 return (void *)((wxObject *) ((wxEvtHandler *) x));
36471 }
36472 static void *_p_wxListEventTo_p_wxObject(void *x) {
36473 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36474 }
36475 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36477 }
36478 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36480 }
36481 static void *_p_wxButtonTo_p_wxObject(void *x) {
36482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36483 }
36484 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36486 }
36487 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36489 }
36490 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36492 }
36493 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36495 }
36496 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36497 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36498 }
36499 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36501 }
36502 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36504 }
36505 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36507 }
36508 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36509 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36510 }
36511 static void *_p_wxListItemTo_p_wxObject(void *x) {
36512 return (void *)((wxObject *) ((wxListItem *) x));
36513 }
36514 static void *_p_wxImageTo_p_wxObject(void *x) {
36515 return (void *)((wxObject *) ((wxImage *) x));
36516 }
36517 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36518 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36519 }
36520 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36521 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36522 }
36523 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36525 }
36526 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36527 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36528 }
36529 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36531 }
36532 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36534 }
36535 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36537 }
36538 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36540 }
36541 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36543 }
36544 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36545 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36546 }
36547 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36548 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36549 }
36550 static void *_p_wxWindowTo_p_wxObject(void *x) {
36551 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36552 }
36553 static void *_p_wxMenuTo_p_wxObject(void *x) {
36554 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36555 }
36556 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36558 }
36559 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36560 return (void *)((wxObject *) ((wxFileSystem *) x));
36561 }
36562 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36564 }
36565 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36566 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36567 }
36568 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36569 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36570 }
36571 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36572 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36573 }
36574 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36575 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36576 }
36577 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36578 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36579 }
36580 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36582 }
36583 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36585 }
36586 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36588 }
36589 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36590 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36591 }
36592 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36594 }
36595 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36596 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36597 }
36598 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36599 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36600 }
36601 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36602 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36603 }
36604 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36606 }
36607 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36609 }
36610 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36611 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36612 }
36613 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36615 }
36616 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36617 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36618 }
36619 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36620 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36621 }
36622 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36623 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36624 }
36625 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36626 return (void *)((wxWindow *) ((wxMenuBar *) x));
36627 }
36628 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36629 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36630 }
36631 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36632 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36633 }
36634 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36635 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36636 }
36637 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36638 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36639 }
36640 static void *_p_wxControlTo_p_wxWindow(void *x) {
36641 return (void *)((wxWindow *) ((wxControl *) x));
36642 }
36643 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36644 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36645 }
36646 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36647 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36648 }
36649 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36650 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36651 }
36652 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36653 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36654 }
36655 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36656 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36657 }
36658 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36659 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36660 }
36661 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36662 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36663 }
36664 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36665 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36666 }
36667 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36668 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36669 }
36670 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36671 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36672 }
36673 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36674 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36675 }
36676 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36677 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36678 }
36679 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36680 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36681 }
36682 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36683 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36684 }
36685 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36686 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36687 }
36688 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36689 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36690 }
36691 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36692 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36693 }
36694 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36695 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36696 }
36697 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36698 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36699 }
36700 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36701 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36702 }
36703 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36704 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36705 }
36706 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36707 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36708 }
36709 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36710 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36711 }
36712 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36713 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36714 }
36715 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36716 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36717 }
36718 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36719 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36720 }
36721 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36722 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36723 }
36724 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36725 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36726 }
36727 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36728 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36729 }
36730 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36731 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36732 }
36733 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36734 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36735 }
36736 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36737 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36738 }
36739 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36740 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36741 }
36742 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36743 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36744 }
36745 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36746 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36747 }
36748 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36749 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36750 }
36751 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36752 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36753 }
36754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36755 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36756 }
36757 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36758 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36759 }
36760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36761 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36762 }
36763 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36764 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36765 }
36766 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36767 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36768 }
36769 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36770 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36771 }
36772 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36773 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36774 }
36775 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36776 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36777 }
36778 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36779 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36780 }
36781 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36782 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36783 }
36784 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36785 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36786 }
36787 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36788 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36789 }
36790 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36791 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36792 }
36793 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36794 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36795 }
36796 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36797 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36798 }
36799 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36800 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36801 }
36802 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36803 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36804 }
36805 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36806 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36807 }
36808 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36809 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36810 }
36811 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36812 return (void *)((wxValidator *) ((wxPyValidator *) x));
36813 }
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36886 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}};
36887 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}};
36888 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}};
36889 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}};
36890 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}};
36891 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}};
36892 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}};
36893 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}};
36894 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}};
36895 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}};
36896 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}};
36897 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}};
36898 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}};
36899 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}};
36900 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}};
36901 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}};
36902 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}};
36903 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}};
36904 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}};
36905 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}};
36906 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}};
36907 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}};
36908 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}};
36909 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}};
36910 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}};
36911 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}};
36912
36913 static swig_type_info *swig_types_initial[] = {
36914 _swigt__p_wxTextUrlEvent,
36915 _swigt__p_wxSizer,
36916 _swigt__p_wxCheckBox,
36917 _swigt__p_wxPyTreeCtrl,
36918 _swigt__p_wxEvent,
36919 _swigt__p_wxGenericDirCtrl,
36920 _swigt__p_bool,
36921 _swigt__p_wxItemContainer,
36922 _swigt__p_wxPyListCtrl,
36923 _swigt__p_wxPyTreeItemData,
36924 _swigt__p_wxDirFilterListCtrl,
36925 _swigt__p_wxStaticLine,
36926 _swigt__p_wxControl,
36927 _swigt__p_wxPyControl,
36928 _swigt__p_wxGauge,
36929 _swigt__p_wxToolBarBase,
36930 _swigt__p_wxFont,
36931 _swigt__p_wxToggleButton,
36932 _swigt__p_wxRadioButton,
36933 _swigt__p_wxChoice,
36934 _swigt__p_wxMemoryDC,
36935 _swigt__ptrdiff_t,
36936 _swigt__std__ptrdiff_t,
36937 _swigt__p_wxListItemAttr,
36938 _swigt__p_void,
36939 _swigt__p_int,
36940 _swigt__p_wxSize,
36941 _swigt__p_wxDC,
36942 _swigt__p_wxListView,
36943 _swigt__p_wxIcon,
36944 _swigt__p_wxVisualAttributes,
36945 _swigt__p_wxTextCtrl,
36946 _swigt__p_wxNotebook,
36947 _swigt__p_wxChoicebook,
36948 _swigt__p_wxNotifyEvent,
36949 _swigt__p_wxArrayString,
36950 _swigt__p_form_ops_t,
36951 _swigt__p_wxListbook,
36952 _swigt__p_wxStaticBitmap,
36953 _swigt__p_wxSlider,
36954 _swigt__p_wxStaticBox,
36955 _swigt__p_wxArrayInt,
36956 _swigt__p_wxContextHelp,
36957 _swigt__p_long,
36958 _swigt__p_wxDuplexMode,
36959 _swigt__p_wxBookCtrlBase,
36960 _swigt__p_wxEvtHandler,
36961 _swigt__p_wxListEvent,
36962 _swigt__p_wxCheckListBox,
36963 _swigt__p_wxListBox,
36964 _swigt__p_wxSpinButton,
36965 _swigt__p_wxButton,
36966 _swigt__p_wxBitmapButton,
36967 _swigt__p_wxRect,
36968 _swigt__p_wxContextHelpButton,
36969 _swigt__p_wxRadioBox,
36970 _swigt__p_wxScrollBar,
36971 _swigt__p_char,
36972 _swigt__p_wxComboBox,
36973 _swigt__p_wxTreeItemId,
36974 _swigt__p_wxHelpEvent,
36975 _swigt__p_wxListItem,
36976 _swigt__p_wxNotebookSizer,
36977 _swigt__p_wxSpinEvent,
36978 _swigt__p_wxGenericDragImage,
36979 _swigt__p_wxSpinCtrl,
36980 _swigt__p_wxPaperSize,
36981 _swigt__p_wxImageList,
36982 _swigt__p_wxHelpProvider,
36983 _swigt__p_wxTextAttr,
36984 _swigt__p_wxSimpleHelpProvider,
36985 _swigt__p_wxChoicebookEvent,
36986 _swigt__p_wxListbookEvent,
36987 _swigt__p_wxNotebookEvent,
36988 _swigt__p_wxPoint,
36989 _swigt__p_wxObject,
36990 _swigt__p_wxCursor,
36991 _swigt__p_wxDateTime,
36992 _swigt__p_wxKeyEvent,
36993 _swigt__p_unsigned_long,
36994 _swigt__p_wxWindow,
36995 _swigt__p_wxString,
36996 _swigt__p_wxBitmap,
36997 _swigt__unsigned_int,
36998 _swigt__p_unsigned_int,
36999 _swigt__p_unsigned_char,
37000 _swigt__p_wxMouseEvent,
37001 _swigt__p_wxBookCtrlBaseEvent,
37002 _swigt__p_wxTreeEvent,
37003 _swigt__p_wxCommandEvent,
37004 _swigt__p_wxStaticText,
37005 _swigt__p_wxDatePickerCtrl,
37006 _swigt__p_wxControlWithItems,
37007 _swigt__p_wxToolBarToolBase,
37008 _swigt__p_wxColour,
37009 _swigt__p_wxToolBar,
37010 _swigt__p_wxBookCtrlSizer,
37011 _swigt__p_wxValidator,
37012 0
37013 };
37014
37015
37016 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37017
37018 static swig_const_info swig_const_table[] = {
37019 {0, 0, 0, 0.0, 0, 0}};
37020
37021 #ifdef __cplusplus
37022 }
37023 #endif
37024
37025
37026 #ifdef __cplusplus
37027 extern "C" {
37028 #endif
37029
37030 /* Python-specific SWIG API */
37031 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37032 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37033 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37034
37035 /* -----------------------------------------------------------------------------
37036 * global variable support code.
37037 * ----------------------------------------------------------------------------- */
37038
37039 typedef struct swig_globalvar {
37040 char *name; /* Name of global variable */
37041 PyObject *(*get_attr)(); /* Return the current value */
37042 int (*set_attr)(PyObject *); /* Set the value */
37043 struct swig_globalvar *next;
37044 } swig_globalvar;
37045
37046 typedef struct swig_varlinkobject {
37047 PyObject_HEAD
37048 swig_globalvar *vars;
37049 } swig_varlinkobject;
37050
37051 static PyObject *
37052 swig_varlink_repr(swig_varlinkobject *v) {
37053 v = v;
37054 return PyString_FromString("<Swig global variables>");
37055 }
37056
37057 static int
37058 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37059 swig_globalvar *var;
37060 flags = flags;
37061 fprintf(fp,"Swig global variables { ");
37062 for (var = v->vars; var; var=var->next) {
37063 fprintf(fp,"%s", var->name);
37064 if (var->next) fprintf(fp,", ");
37065 }
37066 fprintf(fp," }\n");
37067 return 0;
37068 }
37069
37070 static PyObject *
37071 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37072 swig_globalvar *var = v->vars;
37073 while (var) {
37074 if (strcmp(var->name,n) == 0) {
37075 return (*var->get_attr)();
37076 }
37077 var = var->next;
37078 }
37079 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37080 return NULL;
37081 }
37082
37083 static int
37084 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37085 swig_globalvar *var = v->vars;
37086 while (var) {
37087 if (strcmp(var->name,n) == 0) {
37088 return (*var->set_attr)(p);
37089 }
37090 var = var->next;
37091 }
37092 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37093 return 1;
37094 }
37095
37096 static PyTypeObject varlinktype = {
37097 PyObject_HEAD_INIT(0)
37098 0, /* Number of items in variable part (ob_size) */
37099 (char *)"swigvarlink", /* Type name (tp_name) */
37100 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37101 0, /* Itemsize (tp_itemsize) */
37102 0, /* Deallocator (tp_dealloc) */
37103 (printfunc) swig_varlink_print, /* Print (tp_print) */
37104 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37105 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37106 0, /* tp_compare */
37107 (reprfunc) swig_varlink_repr, /* tp_repr */
37108 0, /* tp_as_number */
37109 0, /* tp_as_sequence */
37110 0, /* tp_as_mapping */
37111 0, /* tp_hash */
37112 0, /* tp_call */
37113 0, /* tp_str */
37114 0, /* tp_getattro */
37115 0, /* tp_setattro */
37116 0, /* tp_as_buffer */
37117 0, /* tp_flags */
37118 0, /* tp_doc */
37119 #if PY_VERSION_HEX >= 0x02000000
37120 0, /* tp_traverse */
37121 0, /* tp_clear */
37122 #endif
37123 #if PY_VERSION_HEX >= 0x02010000
37124 0, /* tp_richcompare */
37125 0, /* tp_weaklistoffset */
37126 #endif
37127 #if PY_VERSION_HEX >= 0x02020000
37128 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37129 #endif
37130 #if PY_VERSION_HEX >= 0x02030000
37131 0, /* tp_del */
37132 #endif
37133 #ifdef COUNT_ALLOCS
37134 0,0,0,0 /* tp_alloc -> tp_next */
37135 #endif
37136 };
37137
37138 /* Create a variable linking object for use later */
37139 static PyObject *
37140 SWIG_Python_newvarlink(void) {
37141 swig_varlinkobject *result = 0;
37142 result = PyMem_NEW(swig_varlinkobject,1);
37143 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37144 result->ob_type = &varlinktype;
37145 result->vars = 0;
37146 result->ob_refcnt = 0;
37147 Py_XINCREF((PyObject *) result);
37148 return ((PyObject*) result);
37149 }
37150
37151 static void
37152 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37153 swig_varlinkobject *v;
37154 swig_globalvar *gv;
37155 v= (swig_varlinkobject *) p;
37156 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37157 gv->name = (char *) malloc(strlen(name)+1);
37158 strcpy(gv->name,name);
37159 gv->get_attr = get_attr;
37160 gv->set_attr = set_attr;
37161 gv->next = v->vars;
37162 v->vars = gv;
37163 }
37164
37165 /* -----------------------------------------------------------------------------
37166 * constants/methods manipulation
37167 * ----------------------------------------------------------------------------- */
37168
37169 /* Install Constants */
37170 static void
37171 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37172 PyObject *obj = 0;
37173 size_t i;
37174 for (i = 0; constants[i].type; i++) {
37175 switch(constants[i].type) {
37176 case SWIG_PY_INT:
37177 obj = PyInt_FromLong(constants[i].lvalue);
37178 break;
37179 case SWIG_PY_FLOAT:
37180 obj = PyFloat_FromDouble(constants[i].dvalue);
37181 break;
37182 case SWIG_PY_STRING:
37183 if (constants[i].pvalue) {
37184 obj = PyString_FromString((char *) constants[i].pvalue);
37185 } else {
37186 Py_INCREF(Py_None);
37187 obj = Py_None;
37188 }
37189 break;
37190 case SWIG_PY_POINTER:
37191 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37192 break;
37193 case SWIG_PY_BINARY:
37194 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37195 break;
37196 default:
37197 obj = 0;
37198 break;
37199 }
37200 if (obj) {
37201 PyDict_SetItemString(d,constants[i].name,obj);
37202 Py_DECREF(obj);
37203 }
37204 }
37205 }
37206
37207 /* -----------------------------------------------------------------------------*/
37208 /* Fix SwigMethods to carry the callback ptrs when needed */
37209 /* -----------------------------------------------------------------------------*/
37210
37211 static void
37212 SWIG_Python_FixMethods(PyMethodDef *methods,
37213 swig_const_info *const_table,
37214 swig_type_info **types,
37215 swig_type_info **types_initial) {
37216 size_t i;
37217 for (i = 0; methods[i].ml_name; ++i) {
37218 char *c = methods[i].ml_doc;
37219 if (c && (c = strstr(c, "swig_ptr: "))) {
37220 int j;
37221 swig_const_info *ci = 0;
37222 char *name = c + 10;
37223 for (j = 0; const_table[j].type; j++) {
37224 if (strncmp(const_table[j].name, name,
37225 strlen(const_table[j].name)) == 0) {
37226 ci = &(const_table[j]);
37227 break;
37228 }
37229 }
37230 if (ci) {
37231 size_t shift = (ci->ptype) - types;
37232 swig_type_info *ty = types_initial[shift];
37233 size_t ldoc = (c - methods[i].ml_doc);
37234 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37235 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37236 char *buff = ndoc;
37237 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37238 strncpy(buff, methods[i].ml_doc, ldoc);
37239 buff += ldoc;
37240 strncpy(buff, "swig_ptr: ", 10);
37241 buff += 10;
37242 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37243 methods[i].ml_doc = ndoc;
37244 }
37245 }
37246 }
37247 }
37248
37249 /* -----------------------------------------------------------------------------*
37250 * Initialize type list
37251 * -----------------------------------------------------------------------------*/
37252
37253 #if PY_MAJOR_VERSION < 2
37254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37255 is copied out of Python/modsupport.c in python version 2.3.4 */
37256 static int
37257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37258 {
37259 PyObject *dict;
37260 if (!PyModule_Check(m)) {
37261 PyErr_SetString(PyExc_TypeError,
37262 "PyModule_AddObject() needs module as first arg");
37263 return -1;
37264 }
37265 if (!o) {
37266 PyErr_SetString(PyExc_TypeError,
37267 "PyModule_AddObject() needs non-NULL value");
37268 return -1;
37269 }
37270
37271 dict = PyModule_GetDict(m);
37272 if (dict == NULL) {
37273 /* Internal error -- modules must have a dict! */
37274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37275 PyModule_GetName(m));
37276 return -1;
37277 }
37278 if (PyDict_SetItemString(dict, name, o))
37279 return -1;
37280 Py_DECREF(o);
37281 return 0;
37282 }
37283 #endif
37284
37285 static swig_type_info **
37286 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37287 static PyMethodDef swig_empty_runtime_method_table[] = {
37288 {
37289 NULL, NULL, 0, NULL
37290 }
37291 };/* Sentinel */
37292
37293 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37294 swig_empty_runtime_method_table);
37295 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37296 if (pointer && module) {
37297 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37298 }
37299 return type_list_handle;
37300 }
37301
37302 static swig_type_info **
37303 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37304 swig_type_info **type_pointer;
37305
37306 /* first check if module already created */
37307 type_pointer = SWIG_Python_GetTypeListHandle();
37308 if (type_pointer) {
37309 return type_pointer;
37310 } else {
37311 /* create a new module and variable */
37312 return SWIG_Python_SetTypeListHandle(type_list_handle);
37313 }
37314 }
37315
37316 #ifdef __cplusplus
37317 }
37318 #endif
37319
37320 /* -----------------------------------------------------------------------------*
37321 * Partial Init method
37322 * -----------------------------------------------------------------------------*/
37323
37324 #ifdef SWIG_LINK_RUNTIME
37325 #ifdef __cplusplus
37326 extern "C"
37327 #endif
37328 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37329 #endif
37330
37331 #ifdef __cplusplus
37332 extern "C"
37333 #endif
37334 SWIGEXPORT(void) SWIG_init(void) {
37335 static PyObject *SWIG_globals = 0;
37336 static int typeinit = 0;
37337 PyObject *m, *d;
37338 int i;
37339 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37340
37341 /* Fix SwigMethods to carry the callback ptrs when needed */
37342 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37343
37344 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37345 d = PyModule_GetDict(m);
37346
37347 if (!typeinit) {
37348 #ifdef SWIG_LINK_RUNTIME
37349 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37350 #else
37351 # ifndef SWIG_STATIC_RUNTIME
37352 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37353 # endif
37354 #endif
37355 for (i = 0; swig_types_initial[i]; i++) {
37356 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37357 }
37358 typeinit = 1;
37359 }
37360 SWIG_InstallConstants(d,swig_const_table);
37361
37362 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37363 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37364 {
37365 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37366 }
37367 {
37368 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37369 }
37370 {
37371 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37372 }
37373 {
37374 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37375 }
37376 {
37377 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37378 }
37379 {
37380 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37381 }
37382 {
37383 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37384 }
37385 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37386 {
37387 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37388 }
37389 {
37390 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37403 }
37404 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37405 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37406 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37407 {
37408 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37415 }
37416 {
37417 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37418 }
37419 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37420 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37421 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37422 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37423 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37424 {
37425 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37426 }
37427 {
37428 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37429 }
37430 {
37431 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37432 }
37433 {
37434 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37435 }
37436 {
37437 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37438 }
37439 {
37440 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37450 }
37451 {
37452 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37453 }
37454 {
37455 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37456 }
37457 {
37458 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37459 }
37460 {
37461 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37462 }
37463 {
37464 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37465 }
37466 {
37467 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37468 }
37469 {
37470 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37519 }
37520 {
37521 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37522 }
37523 {
37524 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37525 }
37526 {
37527 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37543 }
37544 {
37545 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37546 }
37547 {
37548 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37549 }
37550 {
37551 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37552 }
37553 {
37554 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37555 }
37556 {
37557 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37558 }
37559 {
37560 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37561 }
37562 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37563 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37564 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37565 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37566 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37567 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37568 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37569 {
37570 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37580 }
37581 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37582 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37583 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37584 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37585 {
37586 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37596 }
37597 {
37598 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37599 }
37600 {
37601 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37602 }
37603 {
37604 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37605 }
37606 {
37607 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37608 }
37609 {
37610 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37614 }
37615 {
37616 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37620 }
37621 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37622 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37623 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37624 {
37625 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37635 }
37636 {
37637 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37656 }
37657 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37658 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37659 {
37660 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37676 }
37677 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37678 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37679 {
37680 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37681 }
37682 {
37683 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37684 }
37685 {
37686 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37687 }
37688 {
37689 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37690 }
37691 {
37692 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37693 }
37694 {
37695 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37696 }
37697 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37698 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37699 {
37700 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37740 }
37741 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37742 {
37743 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37744 }
37745 {
37746 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37747 }
37748 {
37749 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37750 }
37751 {
37752 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37753 }
37754 {
37755 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37756 }
37757 {
37758 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37759 }
37760 {
37761 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37768 }
37769 {
37770 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37771 }
37772 {
37773 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37804 }
37805 {
37806 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37807 }
37808 {
37809 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37810 }
37811 {
37812 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37813 }
37814 {
37815 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37816 }
37817 {
37818 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37819 }
37820 {
37821 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37822 }
37823 {
37824 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37825 }
37826 {
37827 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37828 }
37829 {
37830 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37831 }
37832 {
37833 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37834 }
37835 {
37836 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37837 }
37838 {
37839 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37840 }
37841 {
37842 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37843 }
37844 {
37845 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37846 }
37847 {
37848 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37876 }
37877 {
37878 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37879 }
37880 {
37881 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37882 }
37883 {
37884 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37885 }
37886 {
37887 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37888 }
37889 {
37890 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37891 }
37892 {
37893 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37894 }
37895 {
37896 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37897 }
37898 {
37899 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37900 }
37901 {
37902 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37903 }
37904 {
37905 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37906 }
37907 {
37908 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37909 }
37910 {
37911 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37924 }
37925 {
37926 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37927 }
37928 {
37929 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37930 }
37931 {
37932 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37933 }
37934 {
37935 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37936 }
37937 {
37938 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37939 }
37940 {
37941 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37942 }
37943 {
37944 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37945 }
37946 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37947 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37948 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37949 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37950 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37951 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37952 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37953 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37954 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37955 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37956 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37957 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37958 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37959 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37960 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37961 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37962 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37963 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37964 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37968
37969 // Map renamed classes back to their common name for OOR
37970 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37971
37972 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37973 {
37974 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37978 }
37979 {
37980 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37981 }
37982 {
37983 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37984 }
37985 {
37986 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37987 }
37988 {
37989 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37990 }
37991 {
37992 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37993 }
37994 {
37995 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37996 }
37997 {
37998 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37999 }
38000 {
38001 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38002 }
38003 {
38004 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38005 }
38006 {
38007 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38008 }
38009 {
38010 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38011 }
38012 {
38013 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38014 }
38015 {
38016 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38017 }
38018 {
38019 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38020 }
38021 {
38022 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38023 }
38024 {
38025 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38026 }
38027 {
38028 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38029 }
38030 {
38031 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38032 }
38033 {
38034 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38035 }
38036 {
38037 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38038 }
38039 {
38040 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38041 }
38042 {
38043 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38056 }
38057 {
38058 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38059 }
38060 {
38061 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38062 }
38063 {
38064 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38065 }
38066 {
38067 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38068 }
38069 {
38070 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38071 }
38072 {
38073 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38074 }
38075 {
38076 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38077 }
38078 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38079 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38080 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38081 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38082 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38083 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38084 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38085 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38086 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38087 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38088 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38089 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38090 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38091 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38092 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38093 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38094 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38095 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38096 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38097 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38098 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38099
38100 // Map renamed classes back to their common name for OOR
38101 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38102 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38103
38104 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38105 {
38106 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38107 }
38108 {
38109 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38110 }
38111 {
38112 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38113 }
38114 {
38115 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38116 }
38117 {
38118 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38119 }
38120 {
38121 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38122 }
38123 {
38124 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38125 }
38126 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38127 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38128
38129 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38130
38131 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38132 {
38133 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38134 }
38135 {
38136 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38137 }
38138 {
38139 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38140 }
38141 {
38142 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38143 }
38144 {
38145 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38146 }
38147 }
38148