]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
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 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 #endif
44
45 /* inline attribute */
46 #ifndef SWIGINLINE
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
49 # else
50 # define SWIGINLINE
51 # endif
52 #endif
53
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
55 #ifndef SWIGUNUSED
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
58 # else
59 # define SWIGUNUSED
60 # endif
61 #endif
62
63 /* internal SWIG method */
64 #ifndef SWIGINTERN
65 # define SWIGINTERN static SWIGUNUSED
66 #endif
67
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71 #endif
72
73 /* exporting methods for Windows DLLs */
74 #ifndef SWIGEXPORT
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
77 # define SWIGEXPORT
78 # else
79 # define SWIGEXPORT __declspec(dllexport)
80 # endif
81 # else
82 # define SWIGEXPORT
83 # endif
84 #endif
85
86 /* calling conventions for Windows */
87 #ifndef SWIGSTDCALL
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
90 # else
91 # define SWIGSTDCALL
92 # endif
93 #endif
94
95
96
97 #include <Python.h>
98
99 /***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
110
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116 #else
117 # define SWIG_TYPE_TABLE_NAME
118 #endif
119
120 /*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127 */
128
129 #ifndef SWIGRUNTIME
130 # define SWIGRUNTIME SWIGINTERN
131 #endif
132
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135 #endif
136
137 #include <string.h>
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153 } swig_type_info;
154
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161 } swig_cast_info;
162
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173 } swig_module_info;
174
175
176 /*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182 */
183 SWIGRUNTIME int
184 SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192 }
193
194 /*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197 */
198 SWIGRUNTIME int
199 SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211 }
212
213 /*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216 */
217 SWIGRUNTIME int
218 SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230 }
231
232
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255 /*
256 Check the typename
257 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261 }
262
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267 }
268
269 /*
270 Cast a pointer up an inheritance hierarchy
271 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275 }
276
277 /*
278 Dynamic pointer casting. Down an inheritance hierarchy
279 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289 }
290
291 /*
292 Return the name associated with this type
293 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297 }
298
299 /*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302 */
303 SWIGRUNTIME const char *
304 SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318 }
319
320 /*
321 Set the clientdata field for a type
322 */
323 SWIGRUNTIME void
324 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338 }
339
340 /*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382 }
383
384 /*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417 }
418
419
420 /*
421 Pack binary data into a string
422 */
423 SWIGRUNTIME char *
424 SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434 }
435
436 /*
437 Unpack binary data from a string
438 */
439 SWIGRUNTIME const char *
440 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462 }
463
464 /*
465 Pack 'void *' into a string buffer.
466 */
467 SWIGRUNTIME char *
468 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476 }
477
478 SWIGRUNTIME const char *
479 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489 }
490
491 SWIGRUNTIME char *
492 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504 }
505
506 SWIGRUNTIME const char *
507 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517 }
518
519 #ifdef __cplusplus
520 }
521 #endif
522
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527 #ifdef __cplusplus
528 extern "C" {
529 #endif
530
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535 #ifndef SWIGINTERN
536 # define SWIGINTERN static SWIGUNUSED
537 #endif
538
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541 #endif
542
543 /*
544 Exception handling in wrappers
545 */
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553 /*
554 Contract support
555 */
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563 /* Constant Types */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
569
570 /* Constant information structure */
571 typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578 } swig_const_info;
579
580
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588 #ifdef __cplusplus
589 }
590 #endif
591
592
593 /***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613 /* Runtime API */
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620 /*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624 */
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
627 #endif
628
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
632
633
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
637 #endif
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
648 #endif
649
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
652 static PyObject *
653 PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661 }
662 #endif
663
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
666 #endif
667
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684 {
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693 }
694
695 SWIGRUNTIME PyObject *
696 PySwigObject_repr(PySwigObject *v)
697 {
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701 }
702
703 SWIGRUNTIME PyObject *
704 PySwigObject_str(PySwigObject *v)
705 {
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709 }
710
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_format(const char* fmt, PySwigObject *v)
719 {
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731 }
732
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747 {
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756 }
757
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797 #endif
798 };
799
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806 #endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832 #endif
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836 #endif
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839 #endif
840 #if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842 #endif
843 #ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845 #endif
846 };
847 #if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851 #endif
852 return &pyswigobject_type;
853 }
854
855 SWIGRUNTIME PyObject *
856 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857 {
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864 }
865
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882 }
883
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897 {
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908 }
909
910 SWIGRUNTIME PyObject *
911 PySwigPacked_repr(PySwigPacked *v)
912 {
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919 }
920
921 SWIGRUNTIME PyObject *
922 PySwigPacked_str(PySwigPacked *v)
923 {
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930 }
931
932 SWIGRUNTIME int
933 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934 {
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944 }
945
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963 #endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989 #endif
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993 #endif
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996 #endif
997 #if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999 #endif
1000 #ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002 #endif
1003 };
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008 #endif
1009 return &pyswigpacked_type;
1010 }
1011
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014 {
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029 }
1030
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033 {
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038 }
1039
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050 }
1051
1052 #else
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062 #endif
1063
1064 #endif
1065
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070 SWIGRUNTIME void
1071 SWIG_Python_TypeError(const char *type, PyObject *obj)
1072 {
1073 if (type) {
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083 #endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104 }
1105
1106 SWIGRUNTIMEINLINE void
1107 SWIG_Python_NullRef(const char *type)
1108 {
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114 }
1115
1116 SWIGRUNTIME int
1117 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118 {
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139 }
1140
1141 SWIGRUNTIME int
1142 SWIG_Python_ArgFail(int argnum)
1143 {
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152 }
1153
1154
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159 /* Convert a pointer value */
1160 SWIGRUNTIME int
1161 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192 #else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210 #endif
1211
1212 type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225 type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248 }
1249
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1251 SWIGRUNTIME void *
1252 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272 #else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277 #endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285 type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295 }
1296
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject *
1299 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313 #else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319 #endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335 }
1336
1337 SWIGRUNTIME PyObject *
1338 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346 #else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352 #endif
1353 return robj;
1354 }
1355
1356 /* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371 #else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378 #endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381 }
1382
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388 {
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412 }
1413 #endif
1414
1415 SWIGRUNTIME void
1416 SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425 }
1426
1427 #ifdef __cplusplus
1428 }
1429 #endif
1430
1431
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1433
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_long swig_types[4]
1439 #define SWIGTYPE_p_unsigned_char swig_types[5]
1440 #define SWIGTYPE_p_unsigned_int swig_types[6]
1441 #define SWIGTYPE_p_unsigned_long swig_types[7]
1442 #define SWIGTYPE_p_void swig_types[8]
1443 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1444 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1447 #define SWIGTYPE_p_wxArrayString swig_types[13]
1448 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449 #define SWIGTYPE_p_wxBitmap swig_types[15]
1450 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454 #define SWIGTYPE_p_wxButton swig_types[20]
1455 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1456 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1457 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459 #define SWIGTYPE_p_wxChoice swig_types[25]
1460 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1461 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxColour swig_types[29]
1464 #define SWIGTYPE_p_wxComboBox swig_types[30]
1465 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1467 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469 #define SWIGTYPE_p_wxControl swig_types[35]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471 #define SWIGTYPE_p_wxCursor swig_types[37]
1472 #define SWIGTYPE_p_wxDC swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481 #define SWIGTYPE_p_wxEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483 #define SWIGTYPE_p_wxFSFile swig_types[49]
1484 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1485 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487 #define SWIGTYPE_p_wxFont swig_types[53]
1488 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490 #define SWIGTYPE_p_wxGauge swig_types[56]
1491 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1495 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1498 #define SWIGTYPE_p_wxIcon swig_types[64]
1499 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501 #define SWIGTYPE_p_wxImage swig_types[67]
1502 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1503 #define SWIGTYPE_p_wxImageList swig_types[69]
1504 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510 #define SWIGTYPE_p_wxListBox swig_types[76]
1511 #define SWIGTYPE_p_wxListEvent swig_types[77]
1512 #define SWIGTYPE_p_wxListItem swig_types[78]
1513 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514 #define SWIGTYPE_p_wxListView swig_types[80]
1515 #define SWIGTYPE_p_wxListbook swig_types[81]
1516 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519 #define SWIGTYPE_p_wxMenu swig_types[85]
1520 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1521 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1523 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528 #define SWIGTYPE_p_wxNotebook swig_types[94]
1529 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531 #define SWIGTYPE_p_wxObject swig_types[97]
1532 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1538 #define SWIGTYPE_p_wxPoint swig_types[104]
1539 #define SWIGTYPE_p_wxPyApp swig_types[105]
1540 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541 #define SWIGTYPE_p_wxPyControl swig_types[107]
1542 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545 #define SWIGTYPE_p_wxPySizer swig_types[111]
1546 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1549 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1551 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1552 #define SWIGTYPE_p_wxRect swig_types[118]
1553 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1554 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1558 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559 #define SWIGTYPE_p_wxSize swig_types[125]
1560 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561 #define SWIGTYPE_p_wxSizer swig_types[127]
1562 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1563 #define SWIGTYPE_p_wxSlider swig_types[129]
1564 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1565 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1571 #define SWIGTYPE_p_wxStaticText swig_types[137]
1572 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573 #define SWIGTYPE_p_wxString swig_types[139]
1574 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1577 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1580 #define SWIGTYPE_p_wxToolBar swig_types[146]
1581 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1583 #define SWIGTYPE_p_wxToolbook swig_types[149]
1584 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588 #define SWIGTYPE_p_wxTreebook swig_types[154]
1589 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591 #define SWIGTYPE_p_wxValidator swig_types[157]
1592 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593 #define SWIGTYPE_p_wxWindow swig_types[159]
1594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597 #define SWIGTYPE_ptrdiff_t swig_types[163]
1598 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599 #define SWIGTYPE_unsigned_int swig_types[165]
1600 static swig_type_info *swig_types[167];
1601 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
1602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1604
1605 /* -------- TYPES TABLE (END) -------- */
1606
1607
1608 /*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611 #define SWIG_init init_controls_
1612
1613 #define SWIG_name "_controls_"
1614
1615 #include "wx/wxPython/wxPython.h"
1616 #include "wx/wxPython/pyclasses.h"
1617
1618 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1619 static const wxString wxPyEmptyString(wxEmptyString);
1620 static const wxString wxPyControlNameStr(wxControlNameStr);
1621
1622 const wxArrayString wxPyEmptyStringArray;
1623
1624 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1625
1626 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1627 #define SWIG_From_int PyInt_FromLong
1628 /*@@*/
1629
1630
1631 #include <limits.h>
1632
1633
1634 SWIGINTERN int
1635 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1636 const char *errmsg)
1637 {
1638 if (value < min_value) {
1639 if (errmsg) {
1640 PyErr_Format(PyExc_OverflowError,
1641 "value %ld is less than '%s' minimum %ld",
1642 value, errmsg, min_value);
1643 }
1644 return 0;
1645 } else if (value > max_value) {
1646 if (errmsg) {
1647 PyErr_Format(PyExc_OverflowError,
1648 "value %ld is greater than '%s' maximum %ld",
1649 value, errmsg, max_value);
1650 }
1651 return 0;
1652 }
1653 return 1;
1654 }
1655
1656
1657 SWIGINTERN int
1658 SWIG_AsVal_long(PyObject* obj, long* val)
1659 {
1660 if (PyNumber_Check(obj)) {
1661 if (val) *val = PyInt_AsLong(obj);
1662 return 1;
1663 }
1664 else {
1665 SWIG_Python_TypeError("number", obj);
1666 }
1667 return 0;
1668 }
1669
1670
1671 #if INT_MAX != LONG_MAX
1672 SWIGINTERN int
1673 SWIG_AsVal_int(PyObject *obj, int *val)
1674 {
1675 const char* errmsg = val ? "int" : (char*)0;
1676 long v;
1677 if (SWIG_AsVal_long(obj, &v)) {
1678 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1679 if (val) *val = static_cast<int >(v);
1680 return 1;
1681 } else {
1682 return 0;
1683 }
1684 } else {
1685 PyErr_Clear();
1686 }
1687 if (val) {
1688 SWIG_type_error(errmsg, obj);
1689 }
1690 return 0;
1691 }
1692 #else
1693 SWIGINTERNINLINE int
1694 SWIG_AsVal_int(PyObject *obj, int *val)
1695 {
1696 return SWIG_AsVal_long(obj,(long*)val);
1697 }
1698 #endif
1699
1700
1701 SWIGINTERNINLINE int
1702 SWIG_As_int(PyObject* obj)
1703 {
1704 int v;
1705 if (!SWIG_AsVal_int(obj, &v)) {
1706 /*
1707 this is needed to make valgrind/purify happier.
1708 */
1709 memset((void*)&v, 0, sizeof(int));
1710 }
1711 return v;
1712 }
1713
1714
1715 SWIGINTERNINLINE long
1716 SWIG_As_long(PyObject* obj)
1717 {
1718 long v;
1719 if (!SWIG_AsVal_long(obj, &v)) {
1720 /*
1721 this is needed to make valgrind/purify happier.
1722 */
1723 memset((void*)&v, 0, sizeof(long));
1724 }
1725 return v;
1726 }
1727
1728
1729 SWIGINTERNINLINE int
1730 SWIG_Check_int(PyObject* obj)
1731 {
1732 return SWIG_AsVal_int(obj, (int*)0);
1733 }
1734
1735
1736 SWIGINTERNINLINE int
1737 SWIG_Check_long(PyObject* obj)
1738 {
1739 return SWIG_AsVal_long(obj, (long*)0);
1740 }
1741
1742 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1743
1744 SWIGINTERN int
1745 SWIG_AsVal_bool(PyObject *obj, bool *val)
1746 {
1747 if (obj == Py_True) {
1748 if (val) *val = true;
1749 return 1;
1750 }
1751 if (obj == Py_False) {
1752 if (val) *val = false;
1753 return 1;
1754 }
1755 int res = 0;
1756 if (SWIG_AsVal_int(obj, &res)) {
1757 if (val) *val = res ? true : false;
1758 return 1;
1759 } else {
1760 PyErr_Clear();
1761 }
1762 if (val) {
1763 SWIG_type_error("bool", obj);
1764 }
1765 return 0;
1766 }
1767
1768
1769 SWIGINTERNINLINE bool
1770 SWIG_As_bool(PyObject* obj)
1771 {
1772 bool v;
1773 if (!SWIG_AsVal_bool(obj, &v)) {
1774 /*
1775 this is needed to make valgrind/purify happier.
1776 */
1777 memset((void*)&v, 0, sizeof(bool));
1778 }
1779 return v;
1780 }
1781
1782
1783 SWIGINTERNINLINE int
1784 SWIG_Check_bool(PyObject* obj)
1785 {
1786 return SWIG_AsVal_bool(obj, (bool*)0);
1787 }
1788
1789 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1790 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1791
1792 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1793 #define SWIG_From_long PyInt_FromLong
1794 /*@@*/
1795
1796
1797 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1798 {
1799 PyObject* o2;
1800 PyObject* o3;
1801 if (!result) {
1802 result = obj;
1803 } else if (result == Py_None) {
1804 Py_DECREF(result);
1805 result = obj;
1806 } else {
1807 if (!PyTuple_Check(result)) {
1808 o2 = result;
1809 result = PyTuple_New(1);
1810 PyTuple_SET_ITEM(result, 0, o2);
1811 }
1812 o3 = PyTuple_New(1);
1813 PyTuple_SetItem(o3, 0, obj);
1814 o2 = result;
1815 result = PySequence_Concat(o2, o3);
1816 Py_DECREF(o2);
1817 Py_DECREF(o3);
1818 }
1819 return result;
1820 }
1821
1822
1823 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1824 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1825 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1826 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1827
1828 #include <wx/checklst.h>
1829
1830
1831 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1832 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1833 if (clientData) {
1834 wxPyClientData* data = new wxPyClientData(clientData);
1835 self->Insert(item, pos, data);
1836 } else
1837 self->Insert(item, pos);
1838 }
1839 static PyObject *wxListBox_GetSelections(wxListBox *self){
1840 wxArrayInt lst;
1841 self->GetSelections(lst);
1842 PyObject *tup = PyTuple_New(lst.GetCount());
1843 for(size_t i=0; i<lst.GetCount(); i++) {
1844 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1845 }
1846 return tup;
1847 }
1848 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1849 #ifdef __WXMSW__
1850 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1851 self->GetItem(item)->SetTextColour(c);
1852 #endif
1853 }
1854 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1855 #ifdef __WXMSW__
1856 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1857 self->GetItem(item)->SetBackgroundColour(c);
1858 #endif
1859 }
1860 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1861 #ifdef __WXMSW__
1862 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1863 self->GetItem(item)->SetFont(f);
1864 #endif
1865 }
1866 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1867
1868 SWIGINTERN int
1869 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1870 {
1871 long v = 0;
1872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1873 SWIG_Python_TypeError("unsigned number", obj);
1874 }
1875 else if (val)
1876 *val = (unsigned long)v;
1877 return 1;
1878 }
1879
1880
1881 SWIGINTERNINLINE unsigned long
1882 SWIG_As_unsigned_SS_long(PyObject* obj)
1883 {
1884 unsigned long v;
1885 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1886 /*
1887 this is needed to make valgrind/purify happier.
1888 */
1889 memset((void*)&v, 0, sizeof(unsigned long));
1890 }
1891 return v;
1892 }
1893
1894
1895 SWIGINTERNINLINE int
1896 SWIG_Check_unsigned_SS_long(PyObject* obj)
1897 {
1898 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1899 }
1900
1901 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1902 self->AppendText(text);
1903 }
1904 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1905 return self->GetValue().Mid(from, to - from);
1906 }
1907 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1908 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1909 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1910 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1911 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1912 static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1913 static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1914 static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
1915
1916 #include <wx/slider.h>
1917
1918
1919 static const wxString wxPySliderNameStr(wxSliderNameStr);
1920 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1921
1922 #if !wxUSE_TOGGLEBTN
1923 // implement dummy items for platforms that don't have this class
1924
1925 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1926
1927 class wxToggleButton : public wxControl
1928 {
1929 public:
1930 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1931 const wxPoint&, const wxSize&, long,
1932 const wxValidator&, const wxString&)
1933 { wxPyRaiseNotImplemented(); }
1934
1935 wxToggleButton()
1936 { wxPyRaiseNotImplemented(); }
1937 };
1938 #endif
1939
1940 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1941
1942 SWIGINTERNINLINE PyObject*
1943 SWIG_From_unsigned_SS_long(unsigned long value)
1944 {
1945 return (value > LONG_MAX) ?
1946 PyLong_FromUnsignedLong(value)
1947 : PyInt_FromLong(static_cast<long >(value));
1948 }
1949
1950
1951 #if UINT_MAX < LONG_MAX
1952 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1953 #define SWIG_From_unsigned_SS_int SWIG_From_long
1954 /*@@*/
1955 #else
1956 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1957 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1958 /*@@*/
1959 #endif
1960
1961
1962 SWIGINTERNINLINE int
1963 SWIG_CheckUnsignedLongInRange(unsigned long value,
1964 unsigned long max_value,
1965 const char *errmsg)
1966 {
1967 if (value > max_value) {
1968 if (errmsg) {
1969 PyErr_Format(PyExc_OverflowError,
1970 "value %lu is greater than '%s' minimum %lu",
1971 value, errmsg, max_value);
1972 }
1973 return 0;
1974 }
1975 return 1;
1976 }
1977
1978
1979 #if UINT_MAX != ULONG_MAX
1980 SWIGINTERN int
1981 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1982 {
1983 const char* errmsg = val ? "unsigned int" : (char*)0;
1984 unsigned long v;
1985 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1986 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1987 if (val) *val = static_cast<unsigned int >(v);
1988 return 1;
1989 }
1990 } else {
1991 PyErr_Clear();
1992 }
1993 if (val) {
1994 SWIG_type_error(errmsg, obj);
1995 }
1996 return 0;
1997 }
1998 #else
1999 SWIGINTERNINLINE unsigned int
2000 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2001 {
2002 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2003 }
2004 #endif
2005
2006
2007 SWIGINTERNINLINE unsigned int
2008 SWIG_As_unsigned_SS_int(PyObject* obj)
2009 {
2010 unsigned int v;
2011 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2012 /*
2013 this is needed to make valgrind/purify happier.
2014 */
2015 memset((void*)&v, 0, sizeof(unsigned int));
2016 }
2017 return v;
2018 }
2019
2020
2021 SWIGINTERNINLINE int
2022 SWIG_Check_unsigned_SS_int(PyObject* obj)
2023 {
2024 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2025 }
2026
2027 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2028 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2029 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2030 if (udata) {
2031 Py_INCREF(udata->m_obj);
2032 return udata->m_obj;
2033 } else {
2034 Py_INCREF(Py_None);
2035 return Py_None;
2036 }
2037 }
2038 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2039 self->SetClientData(new wxPyUserData(clientData));
2040 }
2041 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){
2042 wxPyUserData* udata = NULL;
2043 if (clientData && clientData != Py_None)
2044 udata = new wxPyUserData(clientData);
2045 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2046 shortHelp, longHelp, udata);
2047 }
2048 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){
2049 wxPyUserData* udata = NULL;
2050 if (clientData && clientData != Py_None)
2051 udata = new wxPyUserData(clientData);
2052 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2053 shortHelp, longHelp, udata);
2054 }
2055 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2056 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2057 if (udata) {
2058 Py_INCREF(udata->m_obj);
2059 return udata->m_obj;
2060 } else {
2061 Py_INCREF(Py_None);
2062 return Py_None;
2063 }
2064 }
2065 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
2066 self->SetToolClientData(id, new wxPyUserData(clientData));
2067 }
2068
2069 #include <wx/listctrl.h>
2070
2071 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
2072 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
2073 // Python aware sorting function for wxPyListCtrl
2074 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
2075 int retval = 0;
2076 PyObject* func = (PyObject*)funcPtr;
2077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2078
2079 PyObject* args = Py_BuildValue("(ii)", item1, item2);
2080 PyObject* result = PyEval_CallObject(func, args);
2081 Py_DECREF(args);
2082 if (result) {
2083 retval = PyInt_AsLong(result);
2084 Py_DECREF(result);
2085 }
2086
2087 wxPyEndBlockThreads(blocked);
2088 return retval;
2089 }
2090
2091 // C++ Version of a Python aware class
2092 class wxPyListCtrl : public wxListCtrl {
2093 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
2094 public:
2095 wxPyListCtrl() : wxListCtrl() {}
2096 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2097 const wxPoint& pos,
2098 const wxSize& size,
2099 long style,
2100 const wxValidator& validator,
2101 const wxString& name) :
2102 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2103
2104 bool Create(wxWindow* parent, wxWindowID id,
2105 const wxPoint& pos,
2106 const wxSize& size,
2107 long style,
2108 const wxValidator& validator,
2109 const wxString& name) {
2110 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2111 }
2112
2113 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
2114 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2115
2116 // use the virtual version to avoid a confusing assert in the base class
2117 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
2118 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
2119
2120 PYPRIVATE;
2121 };
2122
2123 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2124
2125 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
2126 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
2127 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
2128 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
2129
2130
2131 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
2132 wxListItem item;
2133 item.SetMask( wxLIST_MASK_STATE |
2134 wxLIST_MASK_TEXT |
2135 wxLIST_MASK_IMAGE |
2136 wxLIST_MASK_DATA |
2137 wxLIST_SET_ITEM |
2138 wxLIST_MASK_WIDTH |
2139 wxLIST_MASK_FORMAT
2140 );
2141 if (self->GetColumn(col, item))
2142 return new wxListItem(item);
2143 else
2144 return NULL;
2145 }
2146 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
2147 wxListItem* info = new wxListItem;
2148 info->m_itemId = itemId;
2149 info->m_col = col;
2150 info->m_mask = 0xFFFF;
2151 self->GetItem(*info);
2152 return info;
2153 }
2154 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
2155 wxPoint pos;
2156 self->GetItemPosition(item, pos);
2157 return pos;
2158 }
2159 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
2160 wxRect rect;
2161 self->GetItemRect(item, rect, code);
2162 return rect;
2163 }
2164
2165 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
2166 if (!PyCallable_Check(func))
2167 return false;
2168 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2169 }
2170 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
2171
2172
2173
2174 return (wxWindow*)self->m_mainWin;
2175
2176 }
2177
2178 #include <wx/treectrl.h>
2179 #include "wx/wxPython/pytree.h"
2180
2181 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2182 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2183 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2184 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
2185 // C++ version of Python aware wxTreeCtrl
2186 class wxPyTreeCtrl : public wxTreeCtrl {
2187 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
2188 public:
2189 wxPyTreeCtrl() : wxTreeCtrl() {}
2190 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2191 const wxPoint& pos,
2192 const wxSize& size,
2193 long style,
2194 const wxValidator& validator,
2195 const wxString& name) :
2196 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2197
2198 bool Create(wxWindow *parent, wxWindowID id,
2199 const wxPoint& pos,
2200 const wxSize& size,
2201 long style,
2202 const wxValidator& validator,
2203 const wxString& name) {
2204 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2205 }
2206
2207
2208 int OnCompareItems(const wxTreeItemId& item1,
2209 const wxTreeItemId& item2) {
2210 int rval = 0;
2211 bool found;
2212 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2213 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2214 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2215 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
2216 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2217 Py_DECREF(o1);
2218 Py_DECREF(o2);
2219 }
2220 wxPyEndBlockThreads(blocked);
2221 if (! found)
2222 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2223 return rval;
2224 }
2225 PYPRIVATE;
2226 };
2227
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2229
2230
2231 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2232 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2233 if (data == NULL) {
2234 data = new wxPyTreeItemData();
2235 data->SetId(item); // set the id
2236 self->SetItemData(item, data);
2237 }
2238 return data;
2239 }
2240 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2241 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2242 if (data == NULL) {
2243 data = new wxPyTreeItemData();
2244 data->SetId(item); // set the id
2245 self->SetItemData(item, data);
2246 }
2247 return data->GetData();
2248 }
2249 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2250 data->SetId(item); // set the id
2251 self->SetItemData(item, data);
2252 }
2253 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2254 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2255 if (data == NULL) {
2256 data = new wxPyTreeItemData(obj);
2257 data->SetId(item); // set the id
2258 self->SetItemData(item, data);
2259 } else
2260 data->SetData(obj);
2261 }
2262 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2263 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2264 PyObject* rval = PyList_New(0);
2265 wxArrayTreeItemIds array;
2266 size_t num, x;
2267 num = self->GetSelections(array);
2268 for (x=0; x < num; x++) {
2269 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2270 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2271 PyList_Append(rval, item);
2272 Py_DECREF(item);
2273 }
2274 wxPyEndBlockThreads(blocked);
2275 return rval;
2276 }
2277 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2278 void* cookie = 0;
2279 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2280 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2281 PyObject* tup = PyTuple_New(2);
2282 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2283 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2284 wxPyEndBlockThreads(blocked);
2285 return tup;
2286 }
2287 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2288 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2289 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2290 PyObject* tup = PyTuple_New(2);
2291 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2292 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2293 wxPyEndBlockThreads(blocked);
2294 return tup;
2295 }
2296 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2297 wxRect rect;
2298 if (self->GetBoundingRect(item, rect, textOnly)) {
2299 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2300 wxRect* r = new wxRect(rect);
2301 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2302 wxPyEndBlockThreads(blocked);
2303 return val;
2304 }
2305 else
2306 RETURN_NONE();
2307 }
2308 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2309
2310 SWIGINTERNINLINE PyObject*
2311 SWIG_From_bool(bool value)
2312 {
2313 PyObject *obj = value ? Py_True : Py_False;
2314 Py_INCREF(obj);
2315 return obj;
2316 }
2317
2318
2319 // C++ version of Python aware wxControl
2320 class wxPyControl : public wxControl
2321 {
2322 DECLARE_DYNAMIC_CLASS(wxPyControl)
2323 public:
2324 wxPyControl() : wxControl() {}
2325 wxPyControl(wxWindow* parent, const wxWindowID id,
2326 const wxPoint& pos = wxDefaultPosition,
2327 const wxSize& size = wxDefaultSize,
2328 long style = 0,
2329 const wxValidator& validator=wxDefaultValidator,
2330 const wxString& name = wxPyControlNameStr)
2331 : wxControl(parent, id, pos, size, style, validator, name) {}
2332
2333 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2334
2335 bool DoEraseBackground(wxDC* dc) {
2336 #ifdef __WXMSW__
2337 return wxWindow::DoEraseBackground(dc->GetHDC());
2338 #else
2339 dc->SetBackground(wxBrush(GetBackgroundColour()));
2340 dc->Clear();
2341 return true;
2342 #endif
2343 }
2344
2345 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2346 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2347 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2348 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2349
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2351 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2352 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2353
2354 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2355 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2356
2357 DEC_PYCALLBACK__(InitDialog);
2358 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2359 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2360 DEC_PYCALLBACK_BOOL_(Validate);
2361
2362 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2363 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2364 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2365
2366 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2367 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2368
2369 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2370 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2371
2372 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2373
2374 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2375
2376 PYPRIVATE;
2377 };
2378
2379 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2380
2381 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2382 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2383 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2384 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2385
2386 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2387 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2388 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2389
2390 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2391 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2392
2393 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2394 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2395 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2396 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2397
2398 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2399 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2400 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2401
2402 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2403 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2404
2405 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2406 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2407
2408 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2409
2410 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2411
2412
2413
2414 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2415
2416 #include <wx/generic/dragimgg.h>
2417
2418 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2419 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2420 wxDateTime rv;
2421 self->GetRange(&rv, NULL);
2422 return rv;
2423 }
2424 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2425 wxDateTime rv;
2426 self->GetRange(NULL, &rv);
2427 return rv;
2428 }
2429 #ifdef __cplusplus
2430 extern "C" {
2431 #endif
2432 static int _wrap_ButtonNameStr_set(PyObject *) {
2433 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2434 return 1;
2435 }
2436
2437
2438 static PyObject *_wrap_ButtonNameStr_get(void) {
2439 PyObject *pyobj = NULL;
2440
2441 {
2442 #if wxUSE_UNICODE
2443 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2444 #else
2445 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2446 #endif
2447 }
2448 return pyobj;
2449 }
2450
2451
2452 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2453 PyObject *resultobj = NULL;
2454 wxWindow *arg1 = (wxWindow *) 0 ;
2455 int arg2 = (int) -1 ;
2456 wxString const &arg3_defvalue = wxPyEmptyString ;
2457 wxString *arg3 = (wxString *) &arg3_defvalue ;
2458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2460 wxSize const &arg5_defvalue = wxDefaultSize ;
2461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2462 long arg6 = (long) 0 ;
2463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2465 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2466 wxString *arg8 = (wxString *) &arg8_defvalue ;
2467 wxButton *result;
2468 bool temp3 = false ;
2469 wxPoint temp4 ;
2470 wxSize temp5 ;
2471 bool temp8 = false ;
2472 PyObject * obj0 = 0 ;
2473 PyObject * obj1 = 0 ;
2474 PyObject * obj2 = 0 ;
2475 PyObject * obj3 = 0 ;
2476 PyObject * obj4 = 0 ;
2477 PyObject * obj5 = 0 ;
2478 PyObject * obj6 = 0 ;
2479 PyObject * obj7 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2486 if (SWIG_arg_fail(1)) SWIG_fail;
2487 if (obj1) {
2488 {
2489 arg2 = static_cast<int >(SWIG_As_int(obj1));
2490 if (SWIG_arg_fail(2)) SWIG_fail;
2491 }
2492 }
2493 if (obj2) {
2494 {
2495 arg3 = wxString_in_helper(obj2);
2496 if (arg3 == NULL) SWIG_fail;
2497 temp3 = true;
2498 }
2499 }
2500 if (obj3) {
2501 {
2502 arg4 = &temp4;
2503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2504 }
2505 }
2506 if (obj4) {
2507 {
2508 arg5 = &temp5;
2509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2510 }
2511 }
2512 if (obj5) {
2513 {
2514 arg6 = static_cast<long >(SWIG_As_long(obj5));
2515 if (SWIG_arg_fail(6)) SWIG_fail;
2516 }
2517 }
2518 if (obj6) {
2519 {
2520 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2521 if (SWIG_arg_fail(7)) SWIG_fail;
2522 if (arg7 == NULL) {
2523 SWIG_null_ref("wxValidator");
2524 }
2525 if (SWIG_arg_fail(7)) SWIG_fail;
2526 }
2527 }
2528 if (obj7) {
2529 {
2530 arg8 = wxString_in_helper(obj7);
2531 if (arg8 == NULL) SWIG_fail;
2532 temp8 = true;
2533 }
2534 }
2535 {
2536 if (!wxPyCheckForApp()) SWIG_fail;
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2544 {
2545 if (temp3)
2546 delete arg3;
2547 }
2548 {
2549 if (temp8)
2550 delete arg8;
2551 }
2552 return resultobj;
2553 fail:
2554 {
2555 if (temp3)
2556 delete arg3;
2557 }
2558 {
2559 if (temp8)
2560 delete arg8;
2561 }
2562 return NULL;
2563 }
2564
2565
2566 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj = NULL;
2568 wxButton *result;
2569 char *kwnames[] = {
2570 NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2574 {
2575 if (!wxPyCheckForApp()) SWIG_fail;
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = (wxButton *)new wxButton();
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2583 return resultobj;
2584 fail:
2585 return NULL;
2586 }
2587
2588
2589 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2590 PyObject *resultobj = NULL;
2591 wxButton *arg1 = (wxButton *) 0 ;
2592 wxWindow *arg2 = (wxWindow *) 0 ;
2593 int arg3 = (int) -1 ;
2594 wxString const &arg4_defvalue = wxPyEmptyString ;
2595 wxString *arg4 = (wxString *) &arg4_defvalue ;
2596 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2597 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2598 wxSize const &arg6_defvalue = wxDefaultSize ;
2599 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2600 long arg7 = (long) 0 ;
2601 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2602 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2603 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2604 wxString *arg9 = (wxString *) &arg9_defvalue ;
2605 bool result;
2606 bool temp4 = false ;
2607 wxPoint temp5 ;
2608 wxSize temp6 ;
2609 bool temp9 = false ;
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
2612 PyObject * obj2 = 0 ;
2613 PyObject * obj3 = 0 ;
2614 PyObject * obj4 = 0 ;
2615 PyObject * obj5 = 0 ;
2616 PyObject * obj6 = 0 ;
2617 PyObject * obj7 = 0 ;
2618 PyObject * obj8 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2625 if (SWIG_arg_fail(1)) SWIG_fail;
2626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2627 if (SWIG_arg_fail(2)) SWIG_fail;
2628 if (obj2) {
2629 {
2630 arg3 = static_cast<int >(SWIG_As_int(obj2));
2631 if (SWIG_arg_fail(3)) SWIG_fail;
2632 }
2633 }
2634 if (obj3) {
2635 {
2636 arg4 = wxString_in_helper(obj3);
2637 if (arg4 == NULL) SWIG_fail;
2638 temp4 = true;
2639 }
2640 }
2641 if (obj4) {
2642 {
2643 arg5 = &temp5;
2644 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2645 }
2646 }
2647 if (obj5) {
2648 {
2649 arg6 = &temp6;
2650 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2651 }
2652 }
2653 if (obj6) {
2654 {
2655 arg7 = static_cast<long >(SWIG_As_long(obj6));
2656 if (SWIG_arg_fail(7)) SWIG_fail;
2657 }
2658 }
2659 if (obj7) {
2660 {
2661 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2662 if (SWIG_arg_fail(8)) SWIG_fail;
2663 if (arg8 == NULL) {
2664 SWIG_null_ref("wxValidator");
2665 }
2666 if (SWIG_arg_fail(8)) SWIG_fail;
2667 }
2668 }
2669 if (obj8) {
2670 {
2671 arg9 = wxString_in_helper(obj8);
2672 if (arg9 == NULL) SWIG_fail;
2673 temp9 = true;
2674 }
2675 }
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 {
2684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2685 }
2686 {
2687 if (temp4)
2688 delete arg4;
2689 }
2690 {
2691 if (temp9)
2692 delete arg9;
2693 }
2694 return resultobj;
2695 fail:
2696 {
2697 if (temp4)
2698 delete arg4;
2699 }
2700 {
2701 if (temp9)
2702 delete arg9;
2703 }
2704 return NULL;
2705 }
2706
2707
2708 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj = NULL;
2710 wxButton *arg1 = (wxButton *) 0 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->SetDefault();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj = NULL;
2735 wxSize result;
2736 char *kwnames[] = {
2737 NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = wxButton::GetDefaultSize();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 {
2749 wxSize * resultptr;
2750 resultptr = new wxSize(static_cast<wxSize & >(result));
2751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2752 }
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj = NULL;
2761 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2762 wxVisualAttributes result;
2763 PyObject * obj0 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "variant", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2769 if (obj0) {
2770 {
2771 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
2772 if (SWIG_arg_fail(1)) SWIG_fail;
2773 }
2774 }
2775 {
2776 if (!wxPyCheckForApp()) SWIG_fail;
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = wxButton::GetClassDefaultAttributes(arg1);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 {
2784 wxVisualAttributes * resultptr;
2785 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
2786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2787 }
2788 return resultobj;
2789 fail:
2790 return NULL;
2791 }
2792
2793
2794 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2795 PyObject *obj;
2796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2798 Py_INCREF(obj);
2799 return Py_BuildValue((char *)"");
2800 }
2801 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj = NULL;
2803 wxWindow *arg1 = (wxWindow *) 0 ;
2804 int arg2 = (int) -1 ;
2805 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2806 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2809 wxSize const &arg5_defvalue = wxDefaultSize ;
2810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2811 long arg6 = (long) wxBU_AUTODRAW ;
2812 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2813 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2814 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2815 wxString *arg8 = (wxString *) &arg8_defvalue ;
2816 wxBitmapButton *result;
2817 wxPoint temp4 ;
2818 wxSize temp5 ;
2819 bool temp8 = false ;
2820 PyObject * obj0 = 0 ;
2821 PyObject * obj1 = 0 ;
2822 PyObject * obj2 = 0 ;
2823 PyObject * obj3 = 0 ;
2824 PyObject * obj4 = 0 ;
2825 PyObject * obj5 = 0 ;
2826 PyObject * obj6 = 0 ;
2827 PyObject * obj7 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2834 if (SWIG_arg_fail(1)) SWIG_fail;
2835 if (obj1) {
2836 {
2837 arg2 = static_cast<int >(SWIG_As_int(obj1));
2838 if (SWIG_arg_fail(2)) SWIG_fail;
2839 }
2840 }
2841 if (obj2) {
2842 {
2843 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2844 if (SWIG_arg_fail(3)) SWIG_fail;
2845 if (arg3 == NULL) {
2846 SWIG_null_ref("wxBitmap");
2847 }
2848 if (SWIG_arg_fail(3)) SWIG_fail;
2849 }
2850 }
2851 if (obj3) {
2852 {
2853 arg4 = &temp4;
2854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2855 }
2856 }
2857 if (obj4) {
2858 {
2859 arg5 = &temp5;
2860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2861 }
2862 }
2863 if (obj5) {
2864 {
2865 arg6 = static_cast<long >(SWIG_As_long(obj5));
2866 if (SWIG_arg_fail(6)) SWIG_fail;
2867 }
2868 }
2869 if (obj6) {
2870 {
2871 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2872 if (SWIG_arg_fail(7)) SWIG_fail;
2873 if (arg7 == NULL) {
2874 SWIG_null_ref("wxValidator");
2875 }
2876 if (SWIG_arg_fail(7)) SWIG_fail;
2877 }
2878 }
2879 if (obj7) {
2880 {
2881 arg8 = wxString_in_helper(obj7);
2882 if (arg8 == NULL) SWIG_fail;
2883 temp8 = true;
2884 }
2885 }
2886 {
2887 if (!wxPyCheckForApp()) SWIG_fail;
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2895 {
2896 if (temp8)
2897 delete arg8;
2898 }
2899 return resultobj;
2900 fail:
2901 {
2902 if (temp8)
2903 delete arg8;
2904 }
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj = NULL;
2911 wxBitmapButton *result;
2912 char *kwnames[] = {
2913 NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2917 {
2918 if (!wxPyCheckForApp()) SWIG_fail;
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (wxBitmapButton *)new wxBitmapButton();
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj = NULL;
2934 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2935 wxWindow *arg2 = (wxWindow *) 0 ;
2936 int arg3 = (int) -1 ;
2937 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2938 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2939 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2940 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2941 wxSize const &arg6_defvalue = wxDefaultSize ;
2942 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2943 long arg7 = (long) wxBU_AUTODRAW ;
2944 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2945 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2946 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2947 wxString *arg9 = (wxString *) &arg9_defvalue ;
2948 bool result;
2949 wxPoint temp5 ;
2950 wxSize temp6 ;
2951 bool temp9 = false ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 PyObject * obj2 = 0 ;
2955 PyObject * obj3 = 0 ;
2956 PyObject * obj4 = 0 ;
2957 PyObject * obj5 = 0 ;
2958 PyObject * obj6 = 0 ;
2959 PyObject * obj7 = 0 ;
2960 PyObject * obj8 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2967 if (SWIG_arg_fail(1)) SWIG_fail;
2968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(2)) SWIG_fail;
2970 if (obj2) {
2971 {
2972 arg3 = static_cast<int >(SWIG_As_int(obj2));
2973 if (SWIG_arg_fail(3)) SWIG_fail;
2974 }
2975 }
2976 if (obj3) {
2977 {
2978 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(4)) SWIG_fail;
2980 if (arg4 == NULL) {
2981 SWIG_null_ref("wxBitmap");
2982 }
2983 if (SWIG_arg_fail(4)) SWIG_fail;
2984 }
2985 }
2986 if (obj4) {
2987 {
2988 arg5 = &temp5;
2989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2990 }
2991 }
2992 if (obj5) {
2993 {
2994 arg6 = &temp6;
2995 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2996 }
2997 }
2998 if (obj6) {
2999 {
3000 arg7 = static_cast<long >(SWIG_As_long(obj6));
3001 if (SWIG_arg_fail(7)) SWIG_fail;
3002 }
3003 }
3004 if (obj7) {
3005 {
3006 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3007 if (SWIG_arg_fail(8)) SWIG_fail;
3008 if (arg8 == NULL) {
3009 SWIG_null_ref("wxValidator");
3010 }
3011 if (SWIG_arg_fail(8)) SWIG_fail;
3012 }
3013 }
3014 if (obj8) {
3015 {
3016 arg9 = wxString_in_helper(obj8);
3017 if (arg9 == NULL) SWIG_fail;
3018 temp9 = true;
3019 }
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 {
3029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3030 }
3031 {
3032 if (temp9)
3033 delete arg9;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp9)
3039 delete arg9;
3040 }
3041 return NULL;
3042 }
3043
3044
3045 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj = NULL;
3047 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3048 wxBitmap result;
3049 PyObject * obj0 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
3055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail;
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 result = (arg1)->GetBitmapLabel();
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 {
3065 wxBitmap * resultptr;
3066 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3068 }
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj = NULL;
3077 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3078 wxBitmap result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
3085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail;
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 result = (arg1)->GetBitmapDisabled();
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 {
3095 wxBitmap * resultptr;
3096 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3098 }
3099 return resultobj;
3100 fail:
3101 return NULL;
3102 }
3103
3104
3105 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj = NULL;
3107 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3108 wxBitmap result;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
3115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 result = (arg1)->GetBitmapFocus();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 {
3125 wxBitmap * resultptr;
3126 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3128 }
3129 return resultobj;
3130 fail:
3131 return NULL;
3132 }
3133
3134
3135 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj = NULL;
3137 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3138 wxBitmap result;
3139 PyObject * obj0 = 0 ;
3140 char *kwnames[] = {
3141 (char *) "self", NULL
3142 };
3143
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
3145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3146 if (SWIG_arg_fail(1)) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 result = (arg1)->GetBitmapSelected();
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 {
3155 wxBitmap * resultptr;
3156 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3158 }
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj = NULL;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 wxBitmap result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapHover",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (arg1)->GetBitmapHover();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185 wxBitmap * resultptr;
3186 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3188 }
3189 return resultobj;
3190 fail:
3191 return NULL;
3192 }
3193
3194
3195 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3196 PyObject *resultobj = NULL;
3197 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3198 wxBitmap *arg2 = 0 ;
3199 PyObject * obj0 = 0 ;
3200 PyObject * obj1 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "bitmap", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3207 if (SWIG_arg_fail(1)) SWIG_fail;
3208 {
3209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(2)) SWIG_fail;
3211 if (arg2 == NULL) {
3212 SWIG_null_ref("wxBitmap");
3213 }
3214 if (SWIG_arg_fail(2)) SWIG_fail;
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj = NULL;
3232 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3233 wxBitmap *arg2 = 0 ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self",(char *) "bitmap", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3242 if (SWIG_arg_fail(1)) SWIG_fail;
3243 {
3244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3245 if (SWIG_arg_fail(2)) SWIG_fail;
3246 if (arg2 == NULL) {
3247 SWIG_null_ref("wxBitmap");
3248 }
3249 if (SWIG_arg_fail(2)) SWIG_fail;
3250 }
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 Py_INCREF(Py_None); resultobj = Py_None;
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj = NULL;
3267 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3268 wxBitmap *arg2 = 0 ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "bitmap", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail;
3278 {
3279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(2)) SWIG_fail;
3281 if (arg2 == NULL) {
3282 SWIG_null_ref("wxBitmap");
3283 }
3284 if (SWIG_arg_fail(2)) SWIG_fail;
3285 }
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3301 PyObject *resultobj = NULL;
3302 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3303 wxBitmap *arg2 = 0 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "bitmap", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
3313 {
3314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3315 if (SWIG_arg_fail(2)) SWIG_fail;
3316 if (arg2 == NULL) {
3317 SWIG_null_ref("wxBitmap");
3318 }
3319 if (SWIG_arg_fail(2)) SWIG_fail;
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj = NULL;
3337 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3338 wxBitmap *arg2 = 0 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "hover", NULL
3343 };
3344
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) goto fail;
3346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail;
3348 {
3349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3350 if (SWIG_arg_fail(2)) SWIG_fail;
3351 if (arg2 == NULL) {
3352 SWIG_null_ref("wxBitmap");
3353 }
3354 if (SWIG_arg_fail(2)) SWIG_fail;
3355 }
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 Py_INCREF(Py_None); resultobj = Py_None;
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj = NULL;
3372 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3373 int arg2 ;
3374 int arg3 ;
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377 PyObject * obj2 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "x",(char *) "y", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3384 if (SWIG_arg_fail(1)) SWIG_fail;
3385 {
3386 arg2 = static_cast<int >(SWIG_As_int(obj1));
3387 if (SWIG_arg_fail(2)) SWIG_fail;
3388 }
3389 {
3390 arg3 = static_cast<int >(SWIG_As_int(obj2));
3391 if (SWIG_arg_fail(3)) SWIG_fail;
3392 }
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 (arg1)->SetMargins(arg2,arg3);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 Py_INCREF(Py_None); resultobj = Py_None;
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj = NULL;
3409 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3410 int result;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 {
3427 resultobj = SWIG_From_int(static_cast<int >(result));
3428 }
3429 return resultobj;
3430 fail:
3431 return NULL;
3432 }
3433
3434
3435 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj = NULL;
3437 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3438 int result;
3439 PyObject * obj0 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 {
3455 resultobj = SWIG_From_int(static_cast<int >(result));
3456 }
3457 return resultobj;
3458 fail:
3459 return NULL;
3460 }
3461
3462
3463 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3464 PyObject *obj;
3465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3466 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3467 Py_INCREF(obj);
3468 return Py_BuildValue((char *)"");
3469 }
3470 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3471 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3472 return 1;
3473 }
3474
3475
3476 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3477 PyObject *pyobj = NULL;
3478
3479 {
3480 #if wxUSE_UNICODE
3481 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3482 #else
3483 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3484 #endif
3485 }
3486 return pyobj;
3487 }
3488
3489
3490 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj = NULL;
3492 wxWindow *arg1 = (wxWindow *) 0 ;
3493 int arg2 = (int) -1 ;
3494 wxString const &arg3_defvalue = wxPyEmptyString ;
3495 wxString *arg3 = (wxString *) &arg3_defvalue ;
3496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3498 wxSize const &arg5_defvalue = wxDefaultSize ;
3499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3500 long arg6 = (long) 0 ;
3501 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3502 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3503 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3504 wxString *arg8 = (wxString *) &arg8_defvalue ;
3505 wxCheckBox *result;
3506 bool temp3 = false ;
3507 wxPoint temp4 ;
3508 wxSize temp5 ;
3509 bool temp8 = false ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
3513 PyObject * obj3 = 0 ;
3514 PyObject * obj4 = 0 ;
3515 PyObject * obj5 = 0 ;
3516 PyObject * obj6 = 0 ;
3517 PyObject * obj7 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3524 if (SWIG_arg_fail(1)) SWIG_fail;
3525 if (obj1) {
3526 {
3527 arg2 = static_cast<int >(SWIG_As_int(obj1));
3528 if (SWIG_arg_fail(2)) SWIG_fail;
3529 }
3530 }
3531 if (obj2) {
3532 {
3533 arg3 = wxString_in_helper(obj2);
3534 if (arg3 == NULL) SWIG_fail;
3535 temp3 = true;
3536 }
3537 }
3538 if (obj3) {
3539 {
3540 arg4 = &temp4;
3541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3542 }
3543 }
3544 if (obj4) {
3545 {
3546 arg5 = &temp5;
3547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3548 }
3549 }
3550 if (obj5) {
3551 {
3552 arg6 = static_cast<long >(SWIG_As_long(obj5));
3553 if (SWIG_arg_fail(6)) SWIG_fail;
3554 }
3555 }
3556 if (obj6) {
3557 {
3558 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3559 if (SWIG_arg_fail(7)) SWIG_fail;
3560 if (arg7 == NULL) {
3561 SWIG_null_ref("wxValidator");
3562 }
3563 if (SWIG_arg_fail(7)) SWIG_fail;
3564 }
3565 }
3566 if (obj7) {
3567 {
3568 arg8 = wxString_in_helper(obj7);
3569 if (arg8 == NULL) SWIG_fail;
3570 temp8 = true;
3571 }
3572 }
3573 {
3574 if (!wxPyCheckForApp()) SWIG_fail;
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3582 {
3583 if (temp3)
3584 delete arg3;
3585 }
3586 {
3587 if (temp8)
3588 delete arg8;
3589 }
3590 return resultobj;
3591 fail:
3592 {
3593 if (temp3)
3594 delete arg3;
3595 }
3596 {
3597 if (temp8)
3598 delete arg8;
3599 }
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj = NULL;
3606 wxCheckBox *result;
3607 char *kwnames[] = {
3608 NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3612 {
3613 if (!wxPyCheckForApp()) SWIG_fail;
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (wxCheckBox *)new wxCheckBox();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj = NULL;
3629 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3630 wxWindow *arg2 = (wxWindow *) 0 ;
3631 int arg3 = (int) -1 ;
3632 wxString const &arg4_defvalue = wxPyEmptyString ;
3633 wxString *arg4 = (wxString *) &arg4_defvalue ;
3634 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3635 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3636 wxSize const &arg6_defvalue = wxDefaultSize ;
3637 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3638 long arg7 = (long) 0 ;
3639 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3640 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3641 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3642 wxString *arg9 = (wxString *) &arg9_defvalue ;
3643 bool result;
3644 bool temp4 = false ;
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
3647 bool temp9 = false ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 PyObject * obj2 = 0 ;
3651 PyObject * obj3 = 0 ;
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
3654 PyObject * obj6 = 0 ;
3655 PyObject * obj7 = 0 ;
3656 PyObject * obj8 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail;
3664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3665 if (SWIG_arg_fail(2)) SWIG_fail;
3666 if (obj2) {
3667 {
3668 arg3 = static_cast<int >(SWIG_As_int(obj2));
3669 if (SWIG_arg_fail(3)) SWIG_fail;
3670 }
3671 }
3672 if (obj3) {
3673 {
3674 arg4 = wxString_in_helper(obj3);
3675 if (arg4 == NULL) SWIG_fail;
3676 temp4 = true;
3677 }
3678 }
3679 if (obj4) {
3680 {
3681 arg5 = &temp5;
3682 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3683 }
3684 }
3685 if (obj5) {
3686 {
3687 arg6 = &temp6;
3688 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3689 }
3690 }
3691 if (obj6) {
3692 {
3693 arg7 = static_cast<long >(SWIG_As_long(obj6));
3694 if (SWIG_arg_fail(7)) SWIG_fail;
3695 }
3696 }
3697 if (obj7) {
3698 {
3699 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3700 if (SWIG_arg_fail(8)) SWIG_fail;
3701 if (arg8 == NULL) {
3702 SWIG_null_ref("wxValidator");
3703 }
3704 if (SWIG_arg_fail(8)) SWIG_fail;
3705 }
3706 }
3707 if (obj8) {
3708 {
3709 arg9 = wxString_in_helper(obj8);
3710 if (arg9 == NULL) SWIG_fail;
3711 temp9 = true;
3712 }
3713 }
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 {
3722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3723 }
3724 {
3725 if (temp4)
3726 delete arg4;
3727 }
3728 {
3729 if (temp9)
3730 delete arg9;
3731 }
3732 return resultobj;
3733 fail:
3734 {
3735 if (temp4)
3736 delete arg4;
3737 }
3738 {
3739 if (temp9)
3740 delete arg9;
3741 }
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj = NULL;
3748 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3749 bool result;
3750 PyObject * obj0 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3757 if (SWIG_arg_fail(1)) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (bool)(arg1)->GetValue();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 {
3766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3767 }
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj = NULL;
3776 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3777 bool result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (bool)(arg1)->IsChecked();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
3794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3795 }
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj = NULL;
3804 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3805 bool arg2 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "state", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail;
3815 {
3816 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
3817 if (SWIG_arg_fail(2)) SWIG_fail;
3818 }
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetValue(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj = NULL;
3835 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3836 wxCheckBoxState result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3844 if (SWIG_arg_fail(1)) SWIG_fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_From_int((result));
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj = NULL;
3861 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3862 wxCheckBoxState arg2 ;
3863 PyObject * obj0 = 0 ;
3864 PyObject * obj1 = 0 ;
3865 char *kwnames[] = {
3866 (char *) "self",(char *) "state", NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3871 if (SWIG_arg_fail(1)) SWIG_fail;
3872 {
3873 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
3874 if (SWIG_arg_fail(2)) SWIG_fail;
3875 }
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 (arg1)->Set3StateValue(arg2);
3879
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 Py_INCREF(Py_None); resultobj = Py_None;
3884 return resultobj;
3885 fail:
3886 return NULL;
3887 }
3888
3889
3890 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj = NULL;
3892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3893 bool result;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail;
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 {
3910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj = NULL;
3920 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3921 bool result;
3922 PyObject * obj0 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3929 if (SWIG_arg_fail(1)) SWIG_fail;
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 {
3938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3939 }
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj = NULL;
3948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3949 wxVisualAttributes result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "variant", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3956 if (obj0) {
3957 {
3958 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 }
3961 }
3962 {
3963 if (!wxPyCheckForApp()) SWIG_fail;
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = wxCheckBox::GetClassDefaultAttributes(arg1);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 wxVisualAttributes * resultptr;
3972 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3974 }
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3982 PyObject *obj;
3983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3984 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3985 Py_INCREF(obj);
3986 return Py_BuildValue((char *)"");
3987 }
3988 static int _wrap_ChoiceNameStr_set(PyObject *) {
3989 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3990 return 1;
3991 }
3992
3993
3994 static PyObject *_wrap_ChoiceNameStr_get(void) {
3995 PyObject *pyobj = NULL;
3996
3997 {
3998 #if wxUSE_UNICODE
3999 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
4000 #else
4001 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
4002 #endif
4003 }
4004 return pyobj;
4005 }
4006
4007
4008 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj = NULL;
4010 wxWindow *arg1 = (wxWindow *) 0 ;
4011 int arg2 = (int) -1 ;
4012 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4013 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4014 wxSize const &arg4_defvalue = wxDefaultSize ;
4015 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4016 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4017 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4018 long arg6 = (long) 0 ;
4019 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4020 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4021 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
4022 wxString *arg8 = (wxString *) &arg8_defvalue ;
4023 wxChoice *result;
4024 wxPoint temp3 ;
4025 wxSize temp4 ;
4026 bool temp5 = false ;
4027 bool temp8 = false ;
4028 PyObject * obj0 = 0 ;
4029 PyObject * obj1 = 0 ;
4030 PyObject * obj2 = 0 ;
4031 PyObject * obj3 = 0 ;
4032 PyObject * obj4 = 0 ;
4033 PyObject * obj5 = 0 ;
4034 PyObject * obj6 = 0 ;
4035 PyObject * obj7 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail;
4043 if (obj1) {
4044 {
4045 arg2 = static_cast<int >(SWIG_As_int(obj1));
4046 if (SWIG_arg_fail(2)) SWIG_fail;
4047 }
4048 }
4049 if (obj2) {
4050 {
4051 arg3 = &temp3;
4052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4053 }
4054 }
4055 if (obj3) {
4056 {
4057 arg4 = &temp4;
4058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4059 }
4060 }
4061 if (obj4) {
4062 {
4063 if (! PySequence_Check(obj4)) {
4064 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4065 SWIG_fail;
4066 }
4067 arg5 = new wxArrayString;
4068 temp5 = true;
4069 int i, len=PySequence_Length(obj4);
4070 for (i=0; i<len; i++) {
4071 PyObject* item = PySequence_GetItem(obj4, i);
4072 wxString* s = wxString_in_helper(item);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 arg5->Add(*s);
4075 delete s;
4076 Py_DECREF(item);
4077 }
4078 }
4079 }
4080 if (obj5) {
4081 {
4082 arg6 = static_cast<long >(SWIG_As_long(obj5));
4083 if (SWIG_arg_fail(6)) SWIG_fail;
4084 }
4085 }
4086 if (obj6) {
4087 {
4088 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4089 if (SWIG_arg_fail(7)) SWIG_fail;
4090 if (arg7 == NULL) {
4091 SWIG_null_ref("wxValidator");
4092 }
4093 if (SWIG_arg_fail(7)) SWIG_fail;
4094 }
4095 }
4096 if (obj7) {
4097 {
4098 arg8 = wxString_in_helper(obj7);
4099 if (arg8 == NULL) SWIG_fail;
4100 temp8 = true;
4101 }
4102 }
4103 {
4104 if (!wxPyCheckForApp()) SWIG_fail;
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4112 {
4113 if (temp5) delete arg5;
4114 }
4115 {
4116 if (temp8)
4117 delete arg8;
4118 }
4119 return resultobj;
4120 fail:
4121 {
4122 if (temp5) delete arg5;
4123 }
4124 {
4125 if (temp8)
4126 delete arg8;
4127 }
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj = NULL;
4134 wxChoice *result;
4135 char *kwnames[] = {
4136 NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxChoice *)new wxChoice();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj = NULL;
4157 wxChoice *arg1 = (wxChoice *) 0 ;
4158 wxWindow *arg2 = (wxWindow *) 0 ;
4159 int arg3 = (int) -1 ;
4160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4162 wxSize const &arg5_defvalue = wxDefaultSize ;
4163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4164 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4165 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4166 long arg7 = (long) 0 ;
4167 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4168 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4169 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4170 wxString *arg9 = (wxString *) &arg9_defvalue ;
4171 bool result;
4172 wxPoint temp4 ;
4173 wxSize temp5 ;
4174 bool temp6 = false ;
4175 bool temp9 = false ;
4176 PyObject * obj0 = 0 ;
4177 PyObject * obj1 = 0 ;
4178 PyObject * obj2 = 0 ;
4179 PyObject * obj3 = 0 ;
4180 PyObject * obj4 = 0 ;
4181 PyObject * obj5 = 0 ;
4182 PyObject * obj6 = 0 ;
4183 PyObject * obj7 = 0 ;
4184 PyObject * obj8 = 0 ;
4185 char *kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail;
4192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4193 if (SWIG_arg_fail(2)) SWIG_fail;
4194 if (obj2) {
4195 {
4196 arg3 = static_cast<int >(SWIG_As_int(obj2));
4197 if (SWIG_arg_fail(3)) SWIG_fail;
4198 }
4199 }
4200 if (obj3) {
4201 {
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4204 }
4205 }
4206 if (obj4) {
4207 {
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4210 }
4211 }
4212 if (obj5) {
4213 {
4214 if (! PySequence_Check(obj5)) {
4215 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4216 SWIG_fail;
4217 }
4218 arg6 = new wxArrayString;
4219 temp6 = true;
4220 int i, len=PySequence_Length(obj5);
4221 for (i=0; i<len; i++) {
4222 PyObject* item = PySequence_GetItem(obj5, i);
4223 wxString* s = wxString_in_helper(item);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 arg6->Add(*s);
4226 delete s;
4227 Py_DECREF(item);
4228 }
4229 }
4230 }
4231 if (obj6) {
4232 {
4233 arg7 = static_cast<long >(SWIG_As_long(obj6));
4234 if (SWIG_arg_fail(7)) SWIG_fail;
4235 }
4236 }
4237 if (obj7) {
4238 {
4239 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4240 if (SWIG_arg_fail(8)) SWIG_fail;
4241 if (arg8 == NULL) {
4242 SWIG_null_ref("wxValidator");
4243 }
4244 if (SWIG_arg_fail(8)) SWIG_fail;
4245 }
4246 }
4247 if (obj8) {
4248 {
4249 arg9 = wxString_in_helper(obj8);
4250 if (arg9 == NULL) SWIG_fail;
4251 temp9 = true;
4252 }
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 {
4262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4263 }
4264 {
4265 if (temp6) delete arg6;
4266 }
4267 {
4268 if (temp9)
4269 delete arg9;
4270 }
4271 return resultobj;
4272 fail:
4273 {
4274 if (temp6) delete arg6;
4275 }
4276 {
4277 if (temp9)
4278 delete arg9;
4279 }
4280 return NULL;
4281 }
4282
4283
4284 static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj = NULL;
4286 wxChoice *arg1 = (wxChoice *) 0 ;
4287 int result;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 {
4304 resultobj = SWIG_From_int(static_cast<int >(result));
4305 }
4306 return resultobj;
4307 fail:
4308 return NULL;
4309 }
4310
4311
4312 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4313 PyObject *resultobj = NULL;
4314 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4315 wxVisualAttributes result;
4316 PyObject * obj0 = 0 ;
4317 char *kwnames[] = {
4318 (char *) "variant", NULL
4319 };
4320
4321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4322 if (obj0) {
4323 {
4324 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4325 if (SWIG_arg_fail(1)) SWIG_fail;
4326 }
4327 }
4328 {
4329 if (!wxPyCheckForApp()) SWIG_fail;
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = wxChoice::GetClassDefaultAttributes(arg1);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 wxVisualAttributes * resultptr;
4338 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4348 PyObject *obj;
4349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4350 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4351 Py_INCREF(obj);
4352 return Py_BuildValue((char *)"");
4353 }
4354 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4355 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4356 return 1;
4357 }
4358
4359
4360 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4361 PyObject *pyobj = NULL;
4362
4363 {
4364 #if wxUSE_UNICODE
4365 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4366 #else
4367 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4368 #endif
4369 }
4370 return pyobj;
4371 }
4372
4373
4374 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj = NULL;
4376 wxWindow *arg1 = (wxWindow *) 0 ;
4377 int arg2 = (int) -1 ;
4378 wxString const &arg3_defvalue = wxPyEmptyString ;
4379 wxString *arg3 = (wxString *) &arg3_defvalue ;
4380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4382 wxSize const &arg5_defvalue = wxDefaultSize ;
4383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4384 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4385 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4386 long arg7 = (long) 0 ;
4387 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4388 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4389 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4390 wxString *arg9 = (wxString *) &arg9_defvalue ;
4391 wxComboBox *result;
4392 bool temp3 = false ;
4393 wxPoint temp4 ;
4394 wxSize temp5 ;
4395 bool temp6 = false ;
4396 bool temp9 = false ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 PyObject * obj3 = 0 ;
4401 PyObject * obj4 = 0 ;
4402 PyObject * obj5 = 0 ;
4403 PyObject * obj6 = 0 ;
4404 PyObject * obj7 = 0 ;
4405 PyObject * obj8 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4412 if (SWIG_arg_fail(1)) SWIG_fail;
4413 if (obj1) {
4414 {
4415 arg2 = static_cast<int >(SWIG_As_int(obj1));
4416 if (SWIG_arg_fail(2)) SWIG_fail;
4417 }
4418 }
4419 if (obj2) {
4420 {
4421 arg3 = wxString_in_helper(obj2);
4422 if (arg3 == NULL) SWIG_fail;
4423 temp3 = true;
4424 }
4425 }
4426 if (obj3) {
4427 {
4428 arg4 = &temp4;
4429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4430 }
4431 }
4432 if (obj4) {
4433 {
4434 arg5 = &temp5;
4435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4436 }
4437 }
4438 if (obj5) {
4439 {
4440 if (! PySequence_Check(obj5)) {
4441 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4442 SWIG_fail;
4443 }
4444 arg6 = new wxArrayString;
4445 temp6 = true;
4446 int i, len=PySequence_Length(obj5);
4447 for (i=0; i<len; i++) {
4448 PyObject* item = PySequence_GetItem(obj5, i);
4449 wxString* s = wxString_in_helper(item);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 arg6->Add(*s);
4452 delete s;
4453 Py_DECREF(item);
4454 }
4455 }
4456 }
4457 if (obj6) {
4458 {
4459 arg7 = static_cast<long >(SWIG_As_long(obj6));
4460 if (SWIG_arg_fail(7)) SWIG_fail;
4461 }
4462 }
4463 if (obj7) {
4464 {
4465 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(8)) SWIG_fail;
4467 if (arg8 == NULL) {
4468 SWIG_null_ref("wxValidator");
4469 }
4470 if (SWIG_arg_fail(8)) SWIG_fail;
4471 }
4472 }
4473 if (obj8) {
4474 {
4475 arg9 = wxString_in_helper(obj8);
4476 if (arg9 == NULL) SWIG_fail;
4477 temp9 = true;
4478 }
4479 }
4480 {
4481 if (!wxPyCheckForApp()) SWIG_fail;
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 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);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4489 {
4490 if (temp3)
4491 delete arg3;
4492 }
4493 {
4494 if (temp6) delete arg6;
4495 }
4496 {
4497 if (temp9)
4498 delete arg9;
4499 }
4500 return resultobj;
4501 fail:
4502 {
4503 if (temp3)
4504 delete arg3;
4505 }
4506 {
4507 if (temp6) delete arg6;
4508 }
4509 {
4510 if (temp9)
4511 delete arg9;
4512 }
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj = NULL;
4519 wxComboBox *result;
4520 char *kwnames[] = {
4521 NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4525 {
4526 if (!wxPyCheckForApp()) SWIG_fail;
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 result = (wxComboBox *)new wxComboBox();
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj = NULL;
4542 wxComboBox *arg1 = (wxComboBox *) 0 ;
4543 wxWindow *arg2 = (wxWindow *) 0 ;
4544 int arg3 = (int) -1 ;
4545 wxString const &arg4_defvalue = wxPyEmptyString ;
4546 wxString *arg4 = (wxString *) &arg4_defvalue ;
4547 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4548 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4549 wxSize const &arg6_defvalue = wxDefaultSize ;
4550 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4551 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4552 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4553 long arg8 = (long) 0 ;
4554 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4555 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4556 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4557 wxString *arg10 = (wxString *) &arg10_defvalue ;
4558 bool result;
4559 bool temp4 = false ;
4560 wxPoint temp5 ;
4561 wxSize temp6 ;
4562 bool temp7 = false ;
4563 bool temp10 = false ;
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
4566 PyObject * obj2 = 0 ;
4567 PyObject * obj3 = 0 ;
4568 PyObject * obj4 = 0 ;
4569 PyObject * obj5 = 0 ;
4570 PyObject * obj6 = 0 ;
4571 PyObject * obj7 = 0 ;
4572 PyObject * obj8 = 0 ;
4573 PyObject * obj9 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4580 if (SWIG_arg_fail(1)) SWIG_fail;
4581 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4582 if (SWIG_arg_fail(2)) SWIG_fail;
4583 if (obj2) {
4584 {
4585 arg3 = static_cast<int >(SWIG_As_int(obj2));
4586 if (SWIG_arg_fail(3)) SWIG_fail;
4587 }
4588 }
4589 if (obj3) {
4590 {
4591 arg4 = wxString_in_helper(obj3);
4592 if (arg4 == NULL) SWIG_fail;
4593 temp4 = true;
4594 }
4595 }
4596 if (obj4) {
4597 {
4598 arg5 = &temp5;
4599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4600 }
4601 }
4602 if (obj5) {
4603 {
4604 arg6 = &temp6;
4605 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4606 }
4607 }
4608 if (obj6) {
4609 {
4610 if (! PySequence_Check(obj6)) {
4611 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4612 SWIG_fail;
4613 }
4614 arg7 = new wxArrayString;
4615 temp7 = true;
4616 int i, len=PySequence_Length(obj6);
4617 for (i=0; i<len; i++) {
4618 PyObject* item = PySequence_GetItem(obj6, i);
4619 wxString* s = wxString_in_helper(item);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 arg7->Add(*s);
4622 delete s;
4623 Py_DECREF(item);
4624 }
4625 }
4626 }
4627 if (obj7) {
4628 {
4629 arg8 = static_cast<long >(SWIG_As_long(obj7));
4630 if (SWIG_arg_fail(8)) SWIG_fail;
4631 }
4632 }
4633 if (obj8) {
4634 {
4635 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4636 if (SWIG_arg_fail(9)) SWIG_fail;
4637 if (arg9 == NULL) {
4638 SWIG_null_ref("wxValidator");
4639 }
4640 if (SWIG_arg_fail(9)) SWIG_fail;
4641 }
4642 }
4643 if (obj9) {
4644 {
4645 arg10 = wxString_in_helper(obj9);
4646 if (arg10 == NULL) SWIG_fail;
4647 temp10 = true;
4648 }
4649 }
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 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);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 {
4658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4659 }
4660 {
4661 if (temp4)
4662 delete arg4;
4663 }
4664 {
4665 if (temp7) delete arg7;
4666 }
4667 {
4668 if (temp10)
4669 delete arg10;
4670 }
4671 return resultobj;
4672 fail:
4673 {
4674 if (temp4)
4675 delete arg4;
4676 }
4677 {
4678 if (temp7) delete arg7;
4679 }
4680 {
4681 if (temp10)
4682 delete arg10;
4683 }
4684 return NULL;
4685 }
4686
4687
4688 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj = NULL;
4690 wxComboBox *arg1 = (wxComboBox *) 0 ;
4691 wxString result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail;
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = ((wxComboBox const *)arg1)->GetValue();
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 {
4708 #if wxUSE_UNICODE
4709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4710 #else
4711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4712 #endif
4713 }
4714 return resultobj;
4715 fail:
4716 return NULL;
4717 }
4718
4719
4720 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj = NULL;
4722 wxComboBox *arg1 = (wxComboBox *) 0 ;
4723 wxString *arg2 = 0 ;
4724 bool temp2 = false ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 char *kwnames[] = {
4728 (char *) "self",(char *) "value", NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail;
4734 {
4735 arg2 = wxString_in_helper(obj1);
4736 if (arg2 == NULL) SWIG_fail;
4737 temp2 = true;
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetValue((wxString const &)*arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 {
4748 if (temp2)
4749 delete arg2;
4750 }
4751 return resultobj;
4752 fail:
4753 {
4754 if (temp2)
4755 delete arg2;
4756 }
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj = NULL;
4763 wxComboBox *arg1 = (wxComboBox *) 0 ;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail;
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->Copy();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj = NULL;
4788 wxComboBox *arg1 = (wxComboBox *) 0 ;
4789 PyObject * obj0 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "self", NULL
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4796 if (SWIG_arg_fail(1)) SWIG_fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 (arg1)->Cut();
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj = NULL;
4813 wxComboBox *arg1 = (wxComboBox *) 0 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4821 if (SWIG_arg_fail(1)) SWIG_fail;
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 (arg1)->Paste();
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 Py_INCREF(Py_None); resultobj = Py_None;
4830 return resultobj;
4831 fail:
4832 return NULL;
4833 }
4834
4835
4836 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4837 PyObject *resultobj = NULL;
4838 wxComboBox *arg1 = (wxComboBox *) 0 ;
4839 long arg2 ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 char *kwnames[] = {
4843 (char *) "self",(char *) "pos", NULL
4844 };
4845
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4848 if (SWIG_arg_fail(1)) SWIG_fail;
4849 {
4850 arg2 = static_cast<long >(SWIG_As_long(obj1));
4851 if (SWIG_arg_fail(2)) SWIG_fail;
4852 }
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->SetInsertionPoint(arg2);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj = NULL;
4869 wxComboBox *arg1 = (wxComboBox *) 0 ;
4870 long result;
4871 PyObject * obj0 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4878 if (SWIG_arg_fail(1)) SWIG_fail;
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 {
4887 resultobj = SWIG_From_long(static_cast<long >(result));
4888 }
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj = NULL;
4897 wxComboBox *arg1 = (wxComboBox *) 0 ;
4898 long result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail;
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915 resultobj = SWIG_From_long(static_cast<long >(result));
4916 }
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj = NULL;
4925 wxComboBox *arg1 = (wxComboBox *) 0 ;
4926 long arg2 ;
4927 long arg3 ;
4928 wxString *arg4 = 0 ;
4929 bool temp4 = false ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 PyObject * obj2 = 0 ;
4933 PyObject * obj3 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
4941 {
4942 arg2 = static_cast<long >(SWIG_As_long(obj1));
4943 if (SWIG_arg_fail(2)) SWIG_fail;
4944 }
4945 {
4946 arg3 = static_cast<long >(SWIG_As_long(obj2));
4947 if (SWIG_arg_fail(3)) SWIG_fail;
4948 }
4949 {
4950 arg4 = wxString_in_helper(obj3);
4951 if (arg4 == NULL) SWIG_fail;
4952 temp4 = true;
4953 }
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 {
4963 if (temp4)
4964 delete arg4;
4965 }
4966 return resultobj;
4967 fail:
4968 {
4969 if (temp4)
4970 delete arg4;
4971 }
4972 return NULL;
4973 }
4974
4975
4976 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj = NULL;
4978 wxComboBox *arg1 = (wxComboBox *) 0 ;
4979 int arg2 ;
4980 PyObject * obj0 = 0 ;
4981 PyObject * obj1 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "n", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 arg2 = static_cast<int >(SWIG_As_int(obj1));
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 }
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 (arg1)->SetSelection(arg2);
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 Py_INCREF(Py_None); resultobj = Py_None;
5001 return resultobj;
5002 fail:
5003 return NULL;
5004 }
5005
5006
5007 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj = NULL;
5009 wxComboBox *arg1 = (wxComboBox *) 0 ;
5010 long arg2 ;
5011 long arg3 ;
5012 PyObject * obj0 = 0 ;
5013 PyObject * obj1 = 0 ;
5014 PyObject * obj2 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "from",(char *) "to", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
5020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail;
5022 {
5023 arg2 = static_cast<long >(SWIG_As_long(obj1));
5024 if (SWIG_arg_fail(2)) SWIG_fail;
5025 }
5026 {
5027 arg3 = static_cast<long >(SWIG_As_long(obj2));
5028 if (SWIG_arg_fail(3)) SWIG_fail;
5029 }
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 (arg1)->SetSelection(arg2,arg3);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 Py_INCREF(Py_None); resultobj = Py_None;
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj = NULL;
5046 wxComboBox *arg1 = (wxComboBox *) 0 ;
5047 long *arg2 = (long *) 0 ;
5048 long *arg3 = (long *) 0 ;
5049 long temp2 ;
5050 int res2 = 0 ;
5051 long temp3 ;
5052 int res3 = 0 ;
5053 PyObject * obj0 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self", NULL
5056 };
5057
5058 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5059 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
5061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->GetSelection(arg2,arg3);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 Py_INCREF(Py_None); resultobj = Py_None;
5071 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5072 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
5073 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5074 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj = NULL;
5083 wxComboBox *arg1 = (wxComboBox *) 0 ;
5084 int result;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 resultobj = SWIG_From_int(static_cast<int >(result));
5102 }
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj = NULL;
5111 wxComboBox *arg1 = (wxComboBox *) 0 ;
5112 wxString *arg2 = 0 ;
5113 bool result;
5114 bool temp2 = false ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self",(char *) "string", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
5122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail;
5124 {
5125 arg2 = wxString_in_helper(obj1);
5126 if (arg2 == NULL) SWIG_fail;
5127 temp2 = true;
5128 }
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5138 }
5139 {
5140 if (temp2)
5141 delete arg2;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp2)
5147 delete arg2;
5148 }
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj = NULL;
5155 wxComboBox *arg1 = (wxComboBox *) 0 ;
5156 int arg2 ;
5157 wxString *arg3 = 0 ;
5158 bool temp3 = false ;
5159 PyObject * obj0 = 0 ;
5160 PyObject * obj1 = 0 ;
5161 PyObject * obj2 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "n",(char *) "string", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5169 {
5170 arg2 = static_cast<int >(SWIG_As_int(obj1));
5171 if (SWIG_arg_fail(2)) SWIG_fail;
5172 }
5173 {
5174 arg3 = wxString_in_helper(obj2);
5175 if (arg3 == NULL) SWIG_fail;
5176 temp3 = true;
5177 }
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetString(arg2,(wxString const &)*arg3);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 {
5187 if (temp3)
5188 delete arg3;
5189 }
5190 return resultobj;
5191 fail:
5192 {
5193 if (temp3)
5194 delete arg3;
5195 }
5196 return NULL;
5197 }
5198
5199
5200 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj = NULL;
5202 wxComboBox *arg1 = (wxComboBox *) 0 ;
5203 bool arg2 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self",(char *) "editable", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
5211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5212 if (SWIG_arg_fail(1)) SWIG_fail;
5213 {
5214 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5215 if (SWIG_arg_fail(2)) SWIG_fail;
5216 }
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 (arg1)->SetEditable(arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 Py_INCREF(Py_None); resultobj = Py_None;
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj = NULL;
5233 wxComboBox *arg1 = (wxComboBox *) 0 ;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5241 if (SWIG_arg_fail(1)) SWIG_fail;
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->SetInsertionPointEnd();
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 return resultobj;
5251 fail:
5252 return NULL;
5253 }
5254
5255
5256 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj = NULL;
5258 wxComboBox *arg1 = (wxComboBox *) 0 ;
5259 long arg2 ;
5260 long arg3 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 PyObject * obj2 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "from",(char *) "to", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5270 if (SWIG_arg_fail(1)) SWIG_fail;
5271 {
5272 arg2 = static_cast<long >(SWIG_As_long(obj1));
5273 if (SWIG_arg_fail(2)) SWIG_fail;
5274 }
5275 {
5276 arg3 = static_cast<long >(SWIG_As_long(obj2));
5277 if (SWIG_arg_fail(3)) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 (arg1)->Remove(arg2,arg3);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 Py_INCREF(Py_None); resultobj = Py_None;
5287 return resultobj;
5288 fail:
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj = NULL;
5295 wxComboBox *arg1 = (wxComboBox *) 0 ;
5296 bool result;
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
5313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5314 }
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj = NULL;
5323 wxComboBox *arg1 = (wxComboBox *) 0 ;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->Undo();
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 return resultobj;
5341 fail:
5342 return NULL;
5343 }
5344
5345
5346 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5347 PyObject *resultobj = NULL;
5348 wxComboBox *arg1 = (wxComboBox *) 0 ;
5349 PyObject * obj0 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5356 if (SWIG_arg_fail(1)) SWIG_fail;
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 (arg1)->Redo();
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 Py_INCREF(Py_None); resultobj = Py_None;
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj = NULL;
5373 wxComboBox *arg1 = (wxComboBox *) 0 ;
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5381 if (SWIG_arg_fail(1)) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 (arg1)->SelectAll();
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj = NULL;
5398 wxComboBox *arg1 = (wxComboBox *) 0 ;
5399 bool result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5407 if (SWIG_arg_fail(1)) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5417 }
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = NULL;
5426 wxComboBox *arg1 = (wxComboBox *) 0 ;
5427 bool result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxComboBox const *)arg1)->CanCut();
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 {
5444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5445 }
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj = NULL;
5454 wxComboBox *arg1 = (wxComboBox *) 0 ;
5455 bool result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail;
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5473 }
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj = NULL;
5482 wxComboBox *arg1 = (wxComboBox *) 0 ;
5483 bool result;
5484 PyObject * obj0 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5491 if (SWIG_arg_fail(1)) SWIG_fail;
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505 }
5506
5507
5508 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj = NULL;
5510 wxComboBox *arg1 = (wxComboBox *) 0 ;
5511 bool result;
5512 PyObject * obj0 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "self", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail;
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj = NULL;
5538 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5539 wxVisualAttributes result;
5540 PyObject * obj0 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "variant", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5546 if (obj0) {
5547 {
5548 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5549 if (SWIG_arg_fail(1)) SWIG_fail;
5550 }
5551 }
5552 {
5553 if (!wxPyCheckForApp()) SWIG_fail;
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 result = wxComboBox::GetClassDefaultAttributes(arg1);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 {
5561 wxVisualAttributes * resultptr;
5562 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5572 PyObject *obj;
5573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5574 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5575 Py_INCREF(obj);
5576 return Py_BuildValue((char *)"");
5577 }
5578 static int _wrap_GaugeNameStr_set(PyObject *) {
5579 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5580 return 1;
5581 }
5582
5583
5584 static PyObject *_wrap_GaugeNameStr_get(void) {
5585 PyObject *pyobj = NULL;
5586
5587 {
5588 #if wxUSE_UNICODE
5589 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5590 #else
5591 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5592 #endif
5593 }
5594 return pyobj;
5595 }
5596
5597
5598 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj = NULL;
5600 wxWindow *arg1 = (wxWindow *) 0 ;
5601 int arg2 = (int) -1 ;
5602 int arg3 = (int) 100 ;
5603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5605 wxSize const &arg5_defvalue = wxDefaultSize ;
5606 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5607 long arg6 = (long) wxGA_HORIZONTAL ;
5608 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5609 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5610 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5611 wxString *arg8 = (wxString *) &arg8_defvalue ;
5612 wxGauge *result;
5613 wxPoint temp4 ;
5614 wxSize temp5 ;
5615 bool temp8 = false ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 PyObject * obj2 = 0 ;
5619 PyObject * obj3 = 0 ;
5620 PyObject * obj4 = 0 ;
5621 PyObject * obj5 = 0 ;
5622 PyObject * obj6 = 0 ;
5623 PyObject * obj7 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail;
5631 if (obj1) {
5632 {
5633 arg2 = static_cast<int >(SWIG_As_int(obj1));
5634 if (SWIG_arg_fail(2)) SWIG_fail;
5635 }
5636 }
5637 if (obj2) {
5638 {
5639 arg3 = static_cast<int >(SWIG_As_int(obj2));
5640 if (SWIG_arg_fail(3)) SWIG_fail;
5641 }
5642 }
5643 if (obj3) {
5644 {
5645 arg4 = &temp4;
5646 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5647 }
5648 }
5649 if (obj4) {
5650 {
5651 arg5 = &temp5;
5652 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5653 }
5654 }
5655 if (obj5) {
5656 {
5657 arg6 = static_cast<long >(SWIG_As_long(obj5));
5658 if (SWIG_arg_fail(6)) SWIG_fail;
5659 }
5660 }
5661 if (obj6) {
5662 {
5663 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5664 if (SWIG_arg_fail(7)) SWIG_fail;
5665 if (arg7 == NULL) {
5666 SWIG_null_ref("wxValidator");
5667 }
5668 if (SWIG_arg_fail(7)) SWIG_fail;
5669 }
5670 }
5671 if (obj7) {
5672 {
5673 arg8 = wxString_in_helper(obj7);
5674 if (arg8 == NULL) SWIG_fail;
5675 temp8 = true;
5676 }
5677 }
5678 {
5679 if (!wxPyCheckForApp()) SWIG_fail;
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5687 {
5688 if (temp8)
5689 delete arg8;
5690 }
5691 return resultobj;
5692 fail:
5693 {
5694 if (temp8)
5695 delete arg8;
5696 }
5697 return NULL;
5698 }
5699
5700
5701 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj = NULL;
5703 wxGauge *result;
5704 char *kwnames[] = {
5705 NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5709 {
5710 if (!wxPyCheckForApp()) SWIG_fail;
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = (wxGauge *)new wxGauge();
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj = NULL;
5726 wxGauge *arg1 = (wxGauge *) 0 ;
5727 wxWindow *arg2 = (wxWindow *) 0 ;
5728 int arg3 = (int) -1 ;
5729 int arg4 = (int) 100 ;
5730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5732 wxSize const &arg6_defvalue = wxDefaultSize ;
5733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5734 long arg7 = (long) wxGA_HORIZONTAL ;
5735 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5736 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5737 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5738 wxString *arg9 = (wxString *) &arg9_defvalue ;
5739 bool result;
5740 wxPoint temp5 ;
5741 wxSize temp6 ;
5742 bool temp9 = false ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 PyObject * obj2 = 0 ;
5746 PyObject * obj3 = 0 ;
5747 PyObject * obj4 = 0 ;
5748 PyObject * obj5 = 0 ;
5749 PyObject * obj6 = 0 ;
5750 PyObject * obj7 = 0 ;
5751 PyObject * obj8 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail;
5759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5760 if (SWIG_arg_fail(2)) SWIG_fail;
5761 if (obj2) {
5762 {
5763 arg3 = static_cast<int >(SWIG_As_int(obj2));
5764 if (SWIG_arg_fail(3)) SWIG_fail;
5765 }
5766 }
5767 if (obj3) {
5768 {
5769 arg4 = static_cast<int >(SWIG_As_int(obj3));
5770 if (SWIG_arg_fail(4)) SWIG_fail;
5771 }
5772 }
5773 if (obj4) {
5774 {
5775 arg5 = &temp5;
5776 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5777 }
5778 }
5779 if (obj5) {
5780 {
5781 arg6 = &temp6;
5782 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5783 }
5784 }
5785 if (obj6) {
5786 {
5787 arg7 = static_cast<long >(SWIG_As_long(obj6));
5788 if (SWIG_arg_fail(7)) SWIG_fail;
5789 }
5790 }
5791 if (obj7) {
5792 {
5793 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5794 if (SWIG_arg_fail(8)) SWIG_fail;
5795 if (arg8 == NULL) {
5796 SWIG_null_ref("wxValidator");
5797 }
5798 if (SWIG_arg_fail(8)) SWIG_fail;
5799 }
5800 }
5801 if (obj8) {
5802 {
5803 arg9 = wxString_in_helper(obj8);
5804 if (arg9 == NULL) SWIG_fail;
5805 temp9 = true;
5806 }
5807 }
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5817 }
5818 {
5819 if (temp9)
5820 delete arg9;
5821 }
5822 return resultobj;
5823 fail:
5824 {
5825 if (temp9)
5826 delete arg9;
5827 }
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj = NULL;
5834 wxGauge *arg1 = (wxGauge *) 0 ;
5835 int arg2 ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self",(char *) "range", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail;
5845 {
5846 arg2 = static_cast<int >(SWIG_As_int(obj1));
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetRange(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj = NULL;
5865 wxGauge *arg1 = (wxGauge *) 0 ;
5866 int result;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (int)((wxGauge const *)arg1)->GetRange();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883 resultobj = SWIG_From_int(static_cast<int >(result));
5884 }
5885 return resultobj;
5886 fail:
5887 return NULL;
5888 }
5889
5890
5891 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5892 PyObject *resultobj = NULL;
5893 wxGauge *arg1 = (wxGauge *) 0 ;
5894 int arg2 ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "pos", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail;
5904 {
5905 arg2 = static_cast<int >(SWIG_As_int(obj1));
5906 if (SWIG_arg_fail(2)) SWIG_fail;
5907 }
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetValue(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj = NULL;
5924 wxGauge *arg1 = (wxGauge *) 0 ;
5925 int result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5933 if (SWIG_arg_fail(1)) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 result = (int)((wxGauge const *)arg1)->GetValue();
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 {
5942 resultobj = SWIG_From_int(static_cast<int >(result));
5943 }
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj = NULL;
5952 wxGauge *arg1 = (wxGauge *) 0 ;
5953 bool result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail;
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (bool)((wxGauge const *)arg1)->IsVertical();
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 {
5970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5971 }
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj = NULL;
5980 wxGauge *arg1 = (wxGauge *) 0 ;
5981 int arg2 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "w", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5990 if (SWIG_arg_fail(1)) SWIG_fail;
5991 {
5992 arg2 = static_cast<int >(SWIG_As_int(obj1));
5993 if (SWIG_arg_fail(2)) SWIG_fail;
5994 }
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->SetShadowWidth(arg2);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj = NULL;
6011 wxGauge *arg1 = (wxGauge *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
6019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 {
6029 resultobj = SWIG_From_int(static_cast<int >(result));
6030 }
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj = NULL;
6039 wxGauge *arg1 = (wxGauge *) 0 ;
6040 int arg2 ;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "w", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
6048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail;
6050 {
6051 arg2 = static_cast<int >(SWIG_As_int(obj1));
6052 if (SWIG_arg_fail(2)) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetBezelFace(arg2);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj = NULL;
6070 wxGauge *arg1 = (wxGauge *) 0 ;
6071 int result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
6078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 {
6088 resultobj = SWIG_From_int(static_cast<int >(result));
6089 }
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj = NULL;
6098 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6099 wxVisualAttributes result;
6100 PyObject * obj0 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "variant", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6106 if (obj0) {
6107 {
6108 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6109 if (SWIG_arg_fail(1)) SWIG_fail;
6110 }
6111 }
6112 {
6113 if (!wxPyCheckForApp()) SWIG_fail;
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = wxGauge::GetClassDefaultAttributes(arg1);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 {
6121 wxVisualAttributes * resultptr;
6122 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6124 }
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
6132 PyObject *obj;
6133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6135 Py_INCREF(obj);
6136 return Py_BuildValue((char *)"");
6137 }
6138 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
6139 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6140 return 1;
6141 }
6142
6143
6144 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
6145 PyObject *pyobj = NULL;
6146
6147 {
6148 #if wxUSE_UNICODE
6149 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6150 #else
6151 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6152 #endif
6153 }
6154 return pyobj;
6155 }
6156
6157
6158 static int _wrap_StaticBoxNameStr_set(PyObject *) {
6159 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6160 return 1;
6161 }
6162
6163
6164 static PyObject *_wrap_StaticBoxNameStr_get(void) {
6165 PyObject *pyobj = NULL;
6166
6167 {
6168 #if wxUSE_UNICODE
6169 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6170 #else
6171 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6172 #endif
6173 }
6174 return pyobj;
6175 }
6176
6177
6178 static int _wrap_StaticTextNameStr_set(PyObject *) {
6179 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6180 return 1;
6181 }
6182
6183
6184 static PyObject *_wrap_StaticTextNameStr_get(void) {
6185 PyObject *pyobj = NULL;
6186
6187 {
6188 #if wxUSE_UNICODE
6189 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6190 #else
6191 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6192 #endif
6193 }
6194 return pyobj;
6195 }
6196
6197
6198 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6199 PyObject *resultobj = NULL;
6200 wxWindow *arg1 = (wxWindow *) 0 ;
6201 int arg2 = (int) -1 ;
6202 wxString const &arg3_defvalue = wxPyEmptyString ;
6203 wxString *arg3 = (wxString *) &arg3_defvalue ;
6204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6206 wxSize const &arg5_defvalue = wxDefaultSize ;
6207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6208 long arg6 = (long) 0 ;
6209 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6210 wxString *arg7 = (wxString *) &arg7_defvalue ;
6211 wxStaticBox *result;
6212 bool temp3 = false ;
6213 wxPoint temp4 ;
6214 wxSize temp5 ;
6215 bool temp7 = false ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 PyObject * obj2 = 0 ;
6219 PyObject * obj3 = 0 ;
6220 PyObject * obj4 = 0 ;
6221 PyObject * obj5 = 0 ;
6222 PyObject * obj6 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail;
6230 if (obj1) {
6231 {
6232 arg2 = static_cast<int >(SWIG_As_int(obj1));
6233 if (SWIG_arg_fail(2)) SWIG_fail;
6234 }
6235 }
6236 if (obj2) {
6237 {
6238 arg3 = wxString_in_helper(obj2);
6239 if (arg3 == NULL) SWIG_fail;
6240 temp3 = true;
6241 }
6242 }
6243 if (obj3) {
6244 {
6245 arg4 = &temp4;
6246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6247 }
6248 }
6249 if (obj4) {
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 }
6255 if (obj5) {
6256 {
6257 arg6 = static_cast<long >(SWIG_As_long(obj5));
6258 if (SWIG_arg_fail(6)) SWIG_fail;
6259 }
6260 }
6261 if (obj6) {
6262 {
6263 arg7 = wxString_in_helper(obj6);
6264 if (arg7 == NULL) SWIG_fail;
6265 temp7 = true;
6266 }
6267 }
6268 {
6269 if (!wxPyCheckForApp()) SWIG_fail;
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6277 {
6278 if (temp3)
6279 delete arg3;
6280 }
6281 {
6282 if (temp7)
6283 delete arg7;
6284 }
6285 return resultobj;
6286 fail:
6287 {
6288 if (temp3)
6289 delete arg3;
6290 }
6291 {
6292 if (temp7)
6293 delete arg7;
6294 }
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj = NULL;
6301 wxStaticBox *result;
6302 char *kwnames[] = {
6303 NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6307 {
6308 if (!wxPyCheckForApp()) SWIG_fail;
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 result = (wxStaticBox *)new wxStaticBox();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj = NULL;
6324 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6325 wxWindow *arg2 = (wxWindow *) 0 ;
6326 int arg3 = (int) -1 ;
6327 wxString const &arg4_defvalue = wxPyEmptyString ;
6328 wxString *arg4 = (wxString *) &arg4_defvalue ;
6329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6331 wxSize const &arg6_defvalue = wxDefaultSize ;
6332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6333 long arg7 = (long) 0 ;
6334 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6335 wxString *arg8 = (wxString *) &arg8_defvalue ;
6336 bool result;
6337 bool temp4 = false ;
6338 wxPoint temp5 ;
6339 wxSize temp6 ;
6340 bool temp8 = false ;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 PyObject * obj2 = 0 ;
6344 PyObject * obj3 = 0 ;
6345 PyObject * obj4 = 0 ;
6346 PyObject * obj5 = 0 ;
6347 PyObject * obj6 = 0 ;
6348 PyObject * obj7 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail;
6356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(2)) SWIG_fail;
6358 if (obj2) {
6359 {
6360 arg3 = static_cast<int >(SWIG_As_int(obj2));
6361 if (SWIG_arg_fail(3)) SWIG_fail;
6362 }
6363 }
6364 if (obj3) {
6365 {
6366 arg4 = wxString_in_helper(obj3);
6367 if (arg4 == NULL) SWIG_fail;
6368 temp4 = true;
6369 }
6370 }
6371 if (obj4) {
6372 {
6373 arg5 = &temp5;
6374 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6375 }
6376 }
6377 if (obj5) {
6378 {
6379 arg6 = &temp6;
6380 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6381 }
6382 }
6383 if (obj6) {
6384 {
6385 arg7 = static_cast<long >(SWIG_As_long(obj6));
6386 if (SWIG_arg_fail(7)) SWIG_fail;
6387 }
6388 }
6389 if (obj7) {
6390 {
6391 arg8 = wxString_in_helper(obj7);
6392 if (arg8 == NULL) SWIG_fail;
6393 temp8 = true;
6394 }
6395 }
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6405 }
6406 {
6407 if (temp4)
6408 delete arg4;
6409 }
6410 {
6411 if (temp8)
6412 delete arg8;
6413 }
6414 return resultobj;
6415 fail:
6416 {
6417 if (temp4)
6418 delete arg4;
6419 }
6420 {
6421 if (temp8)
6422 delete arg8;
6423 }
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj = NULL;
6430 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6431 wxVisualAttributes result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "variant", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6438 if (obj0) {
6439 {
6440 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6441 if (SWIG_arg_fail(1)) SWIG_fail;
6442 }
6443 }
6444 {
6445 if (!wxPyCheckForApp()) SWIG_fail;
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 result = wxStaticBox::GetClassDefaultAttributes(arg1);
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 {
6453 wxVisualAttributes * resultptr;
6454 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6456 }
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6464 PyObject *obj;
6465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6467 Py_INCREF(obj);
6468 return Py_BuildValue((char *)"");
6469 }
6470 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj = NULL;
6472 wxWindow *arg1 = (wxWindow *) 0 ;
6473 int arg2 = (int) -1 ;
6474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6476 wxSize const &arg4_defvalue = wxDefaultSize ;
6477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6478 long arg5 = (long) wxLI_HORIZONTAL ;
6479 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6480 wxString *arg6 = (wxString *) &arg6_defvalue ;
6481 wxStaticLine *result;
6482 wxPoint temp3 ;
6483 wxSize temp4 ;
6484 bool temp6 = false ;
6485 PyObject * obj0 = 0 ;
6486 PyObject * obj1 = 0 ;
6487 PyObject * obj2 = 0 ;
6488 PyObject * obj3 = 0 ;
6489 PyObject * obj4 = 0 ;
6490 PyObject * obj5 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
6498 if (obj1) {
6499 {
6500 arg2 = static_cast<int >(SWIG_As_int(obj1));
6501 if (SWIG_arg_fail(2)) SWIG_fail;
6502 }
6503 }
6504 if (obj2) {
6505 {
6506 arg3 = &temp3;
6507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6508 }
6509 }
6510 if (obj3) {
6511 {
6512 arg4 = &temp4;
6513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6514 }
6515 }
6516 if (obj4) {
6517 {
6518 arg5 = static_cast<long >(SWIG_As_long(obj4));
6519 if (SWIG_arg_fail(5)) SWIG_fail;
6520 }
6521 }
6522 if (obj5) {
6523 {
6524 arg6 = wxString_in_helper(obj5);
6525 if (arg6 == NULL) SWIG_fail;
6526 temp6 = true;
6527 }
6528 }
6529 {
6530 if (!wxPyCheckForApp()) SWIG_fail;
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6538 {
6539 if (temp6)
6540 delete arg6;
6541 }
6542 return resultobj;
6543 fail:
6544 {
6545 if (temp6)
6546 delete arg6;
6547 }
6548 return NULL;
6549 }
6550
6551
6552 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj = NULL;
6554 wxStaticLine *result;
6555 char *kwnames[] = {
6556 NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6560 {
6561 if (!wxPyCheckForApp()) SWIG_fail;
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (wxStaticLine *)new wxStaticLine();
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj = NULL;
6577 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6578 wxWindow *arg2 = (wxWindow *) 0 ;
6579 int arg3 = (int) -1 ;
6580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6582 wxSize const &arg5_defvalue = wxDefaultSize ;
6583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6584 long arg6 = (long) wxLI_HORIZONTAL ;
6585 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6586 wxString *arg7 = (wxString *) &arg7_defvalue ;
6587 bool result;
6588 wxPoint temp4 ;
6589 wxSize temp5 ;
6590 bool temp7 = false ;
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 PyObject * obj2 = 0 ;
6594 PyObject * obj3 = 0 ;
6595 PyObject * obj4 = 0 ;
6596 PyObject * obj5 = 0 ;
6597 PyObject * obj6 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail;
6605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6606 if (SWIG_arg_fail(2)) SWIG_fail;
6607 if (obj2) {
6608 {
6609 arg3 = static_cast<int >(SWIG_As_int(obj2));
6610 if (SWIG_arg_fail(3)) SWIG_fail;
6611 }
6612 }
6613 if (obj3) {
6614 {
6615 arg4 = &temp4;
6616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6617 }
6618 }
6619 if (obj4) {
6620 {
6621 arg5 = &temp5;
6622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6623 }
6624 }
6625 if (obj5) {
6626 {
6627 arg6 = static_cast<long >(SWIG_As_long(obj5));
6628 if (SWIG_arg_fail(6)) SWIG_fail;
6629 }
6630 }
6631 if (obj6) {
6632 {
6633 arg7 = wxString_in_helper(obj6);
6634 if (arg7 == NULL) SWIG_fail;
6635 temp7 = true;
6636 }
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 {
6646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6647 }
6648 {
6649 if (temp7)
6650 delete arg7;
6651 }
6652 return resultobj;
6653 fail:
6654 {
6655 if (temp7)
6656 delete arg7;
6657 }
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj = NULL;
6664 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6665 bool result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 {
6682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6683 }
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj = NULL;
6692 int result;
6693 char *kwnames[] = {
6694 NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (int)wxStaticLine::GetDefaultSize();
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 {
6706 resultobj = SWIG_From_int(static_cast<int >(result));
6707 }
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj = NULL;
6716 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6717 wxVisualAttributes result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "variant", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6724 if (obj0) {
6725 {
6726 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6727 if (SWIG_arg_fail(1)) SWIG_fail;
6728 }
6729 }
6730 {
6731 if (!wxPyCheckForApp()) SWIG_fail;
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = wxStaticLine::GetClassDefaultAttributes(arg1);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 wxVisualAttributes * resultptr;
6740 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6742 }
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6750 PyObject *obj;
6751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6752 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6753 Py_INCREF(obj);
6754 return Py_BuildValue((char *)"");
6755 }
6756 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj = NULL;
6758 wxWindow *arg1 = (wxWindow *) 0 ;
6759 int arg2 = (int) -1 ;
6760 wxString const &arg3_defvalue = wxPyEmptyString ;
6761 wxString *arg3 = (wxString *) &arg3_defvalue ;
6762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6764 wxSize const &arg5_defvalue = wxDefaultSize ;
6765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6766 long arg6 = (long) 0 ;
6767 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6768 wxString *arg7 = (wxString *) &arg7_defvalue ;
6769 wxStaticText *result;
6770 bool temp3 = false ;
6771 wxPoint temp4 ;
6772 wxSize temp5 ;
6773 bool temp7 = false ;
6774 PyObject * obj0 = 0 ;
6775 PyObject * obj1 = 0 ;
6776 PyObject * obj2 = 0 ;
6777 PyObject * obj3 = 0 ;
6778 PyObject * obj4 = 0 ;
6779 PyObject * obj5 = 0 ;
6780 PyObject * obj6 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail;
6788 if (obj1) {
6789 {
6790 arg2 = static_cast<int >(SWIG_As_int(obj1));
6791 if (SWIG_arg_fail(2)) SWIG_fail;
6792 }
6793 }
6794 if (obj2) {
6795 {
6796 arg3 = wxString_in_helper(obj2);
6797 if (arg3 == NULL) SWIG_fail;
6798 temp3 = true;
6799 }
6800 }
6801 if (obj3) {
6802 {
6803 arg4 = &temp4;
6804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6805 }
6806 }
6807 if (obj4) {
6808 {
6809 arg5 = &temp5;
6810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6811 }
6812 }
6813 if (obj5) {
6814 {
6815 arg6 = static_cast<long >(SWIG_As_long(obj5));
6816 if (SWIG_arg_fail(6)) SWIG_fail;
6817 }
6818 }
6819 if (obj6) {
6820 {
6821 arg7 = wxString_in_helper(obj6);
6822 if (arg7 == NULL) SWIG_fail;
6823 temp7 = true;
6824 }
6825 }
6826 {
6827 if (!wxPyCheckForApp()) SWIG_fail;
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6835 {
6836 if (temp3)
6837 delete arg3;
6838 }
6839 {
6840 if (temp7)
6841 delete arg7;
6842 }
6843 return resultobj;
6844 fail:
6845 {
6846 if (temp3)
6847 delete arg3;
6848 }
6849 {
6850 if (temp7)
6851 delete arg7;
6852 }
6853 return NULL;
6854 }
6855
6856
6857 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj = NULL;
6859 wxStaticText *result;
6860 char *kwnames[] = {
6861 NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6865 {
6866 if (!wxPyCheckForApp()) SWIG_fail;
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (wxStaticText *)new wxStaticText();
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj = NULL;
6882 wxStaticText *arg1 = (wxStaticText *) 0 ;
6883 wxWindow *arg2 = (wxWindow *) 0 ;
6884 int arg3 = (int) -1 ;
6885 wxString const &arg4_defvalue = wxPyEmptyString ;
6886 wxString *arg4 = (wxString *) &arg4_defvalue ;
6887 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6888 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6889 wxSize const &arg6_defvalue = wxDefaultSize ;
6890 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6891 long arg7 = (long) 0 ;
6892 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6893 wxString *arg8 = (wxString *) &arg8_defvalue ;
6894 bool result;
6895 bool temp4 = false ;
6896 wxPoint temp5 ;
6897 wxSize temp6 ;
6898 bool temp8 = false ;
6899 PyObject * obj0 = 0 ;
6900 PyObject * obj1 = 0 ;
6901 PyObject * obj2 = 0 ;
6902 PyObject * obj3 = 0 ;
6903 PyObject * obj4 = 0 ;
6904 PyObject * obj5 = 0 ;
6905 PyObject * obj6 = 0 ;
6906 PyObject * obj7 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail;
6914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6915 if (SWIG_arg_fail(2)) SWIG_fail;
6916 if (obj2) {
6917 {
6918 arg3 = static_cast<int >(SWIG_As_int(obj2));
6919 if (SWIG_arg_fail(3)) SWIG_fail;
6920 }
6921 }
6922 if (obj3) {
6923 {
6924 arg4 = wxString_in_helper(obj3);
6925 if (arg4 == NULL) SWIG_fail;
6926 temp4 = true;
6927 }
6928 }
6929 if (obj4) {
6930 {
6931 arg5 = &temp5;
6932 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6933 }
6934 }
6935 if (obj5) {
6936 {
6937 arg6 = &temp6;
6938 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6939 }
6940 }
6941 if (obj6) {
6942 {
6943 arg7 = static_cast<long >(SWIG_As_long(obj6));
6944 if (SWIG_arg_fail(7)) SWIG_fail;
6945 }
6946 }
6947 if (obj7) {
6948 {
6949 arg8 = wxString_in_helper(obj7);
6950 if (arg8 == NULL) SWIG_fail;
6951 temp8 = true;
6952 }
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
6964 {
6965 if (temp4)
6966 delete arg4;
6967 }
6968 {
6969 if (temp8)
6970 delete arg8;
6971 }
6972 return resultobj;
6973 fail:
6974 {
6975 if (temp4)
6976 delete arg4;
6977 }
6978 {
6979 if (temp8)
6980 delete arg8;
6981 }
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj = NULL;
6988 wxStaticText *arg1 = (wxStaticText *) 0 ;
6989 int arg2 ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "width", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail;
6999 {
7000 arg2 = static_cast<int >(SWIG_As_int(obj1));
7001 if (SWIG_arg_fail(2)) SWIG_fail;
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->Wrap(arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = NULL;
7019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7020 wxVisualAttributes result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "variant", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7027 if (obj0) {
7028 {
7029 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 }
7032 }
7033 {
7034 if (!wxPyCheckForApp()) SWIG_fail;
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = wxStaticText::GetClassDefaultAttributes(arg1);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 {
7042 wxVisualAttributes * resultptr;
7043 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7045 }
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
7053 PyObject *obj;
7054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
7056 Py_INCREF(obj);
7057 return Py_BuildValue((char *)"");
7058 }
7059 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj = NULL;
7061 wxWindow *arg1 = (wxWindow *) 0 ;
7062 int arg2 = (int) -1 ;
7063 wxBitmap const &arg3_defvalue = wxNullBitmap ;
7064 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
7065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7067 wxSize const &arg5_defvalue = wxDefaultSize ;
7068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7069 long arg6 = (long) 0 ;
7070 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7071 wxString *arg7 = (wxString *) &arg7_defvalue ;
7072 wxStaticBitmap *result;
7073 wxPoint temp4 ;
7074 wxSize temp5 ;
7075 bool temp7 = false ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 PyObject * obj3 = 0 ;
7080 PyObject * obj4 = 0 ;
7081 PyObject * obj5 = 0 ;
7082 PyObject * obj6 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7089 if (SWIG_arg_fail(1)) SWIG_fail;
7090 if (obj1) {
7091 {
7092 arg2 = static_cast<int >(SWIG_As_int(obj1));
7093 if (SWIG_arg_fail(2)) SWIG_fail;
7094 }
7095 }
7096 if (obj2) {
7097 {
7098 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7099 if (SWIG_arg_fail(3)) SWIG_fail;
7100 if (arg3 == NULL) {
7101 SWIG_null_ref("wxBitmap");
7102 }
7103 if (SWIG_arg_fail(3)) SWIG_fail;
7104 }
7105 }
7106 if (obj3) {
7107 {
7108 arg4 = &temp4;
7109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7110 }
7111 }
7112 if (obj4) {
7113 {
7114 arg5 = &temp5;
7115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7116 }
7117 }
7118 if (obj5) {
7119 {
7120 arg6 = static_cast<long >(SWIG_As_long(obj5));
7121 if (SWIG_arg_fail(6)) SWIG_fail;
7122 }
7123 }
7124 if (obj6) {
7125 {
7126 arg7 = wxString_in_helper(obj6);
7127 if (arg7 == NULL) SWIG_fail;
7128 temp7 = true;
7129 }
7130 }
7131 {
7132 if (!wxPyCheckForApp()) SWIG_fail;
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7140 {
7141 if (temp7)
7142 delete arg7;
7143 }
7144 return resultobj;
7145 fail:
7146 {
7147 if (temp7)
7148 delete arg7;
7149 }
7150 return NULL;
7151 }
7152
7153
7154 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj = NULL;
7156 wxStaticBitmap *result;
7157 char *kwnames[] = {
7158 NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7162 {
7163 if (!wxPyCheckForApp()) SWIG_fail;
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 result = (wxStaticBitmap *)new wxStaticBitmap();
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj = NULL;
7179 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7180 wxWindow *arg2 = (wxWindow *) 0 ;
7181 int arg3 = (int) -1 ;
7182 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7183 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
7184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7186 wxSize const &arg6_defvalue = wxDefaultSize ;
7187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7188 long arg7 = (long) 0 ;
7189 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7190 wxString *arg8 = (wxString *) &arg8_defvalue ;
7191 bool result;
7192 wxPoint temp5 ;
7193 wxSize temp6 ;
7194 bool temp8 = false ;
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 PyObject * obj2 = 0 ;
7198 PyObject * obj3 = 0 ;
7199 PyObject * obj4 = 0 ;
7200 PyObject * obj5 = 0 ;
7201 PyObject * obj6 = 0 ;
7202 PyObject * obj7 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7209 if (SWIG_arg_fail(1)) SWIG_fail;
7210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(2)) SWIG_fail;
7212 if (obj2) {
7213 {
7214 arg3 = static_cast<int >(SWIG_As_int(obj2));
7215 if (SWIG_arg_fail(3)) SWIG_fail;
7216 }
7217 }
7218 if (obj3) {
7219 {
7220 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7221 if (SWIG_arg_fail(4)) SWIG_fail;
7222 if (arg4 == NULL) {
7223 SWIG_null_ref("wxBitmap");
7224 }
7225 if (SWIG_arg_fail(4)) SWIG_fail;
7226 }
7227 }
7228 if (obj4) {
7229 {
7230 arg5 = &temp5;
7231 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7232 }
7233 }
7234 if (obj5) {
7235 {
7236 arg6 = &temp6;
7237 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7238 }
7239 }
7240 if (obj6) {
7241 {
7242 arg7 = static_cast<long >(SWIG_As_long(obj6));
7243 if (SWIG_arg_fail(7)) SWIG_fail;
7244 }
7245 }
7246 if (obj7) {
7247 {
7248 arg8 = wxString_in_helper(obj7);
7249 if (arg8 == NULL) SWIG_fail;
7250 temp8 = true;
7251 }
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 {
7261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7262 }
7263 {
7264 if (temp8)
7265 delete arg8;
7266 }
7267 return resultobj;
7268 fail:
7269 {
7270 if (temp8)
7271 delete arg8;
7272 }
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj = NULL;
7279 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7280 wxBitmap result;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (arg1)->GetBitmap();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 {
7297 wxBitmap * resultptr;
7298 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
7299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7300 }
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj = NULL;
7309 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7310 wxBitmap *arg2 = 0 ;
7311 PyObject * obj0 = 0 ;
7312 PyObject * obj1 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self",(char *) "bitmap", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail;
7320 {
7321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7322 if (SWIG_arg_fail(2)) SWIG_fail;
7323 if (arg2 == NULL) {
7324 SWIG_null_ref("wxBitmap");
7325 }
7326 if (SWIG_arg_fail(2)) SWIG_fail;
7327 }
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 Py_INCREF(Py_None); resultobj = Py_None;
7336 return resultobj;
7337 fail:
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj = NULL;
7344 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7345 wxIcon *arg2 = 0 ;
7346 PyObject * obj0 = 0 ;
7347 PyObject * obj1 = 0 ;
7348 char *kwnames[] = {
7349 (char *) "self",(char *) "icon", NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7354 if (SWIG_arg_fail(1)) SWIG_fail;
7355 {
7356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7357 if (SWIG_arg_fail(2)) SWIG_fail;
7358 if (arg2 == NULL) {
7359 SWIG_null_ref("wxIcon");
7360 }
7361 if (SWIG_arg_fail(2)) SWIG_fail;
7362 }
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetIcon((wxIcon const &)*arg2);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj = NULL;
7379 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7380 wxVisualAttributes result;
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "variant", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7387 if (obj0) {
7388 {
7389 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7390 if (SWIG_arg_fail(1)) SWIG_fail;
7391 }
7392 }
7393 {
7394 if (!wxPyCheckForApp()) SWIG_fail;
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 {
7402 wxVisualAttributes * resultptr;
7403 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7405 }
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7413 PyObject *obj;
7414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7415 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7416 Py_INCREF(obj);
7417 return Py_BuildValue((char *)"");
7418 }
7419 static int _wrap_ListBoxNameStr_set(PyObject *) {
7420 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7421 return 1;
7422 }
7423
7424
7425 static PyObject *_wrap_ListBoxNameStr_get(void) {
7426 PyObject *pyobj = NULL;
7427
7428 {
7429 #if wxUSE_UNICODE
7430 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7431 #else
7432 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7433 #endif
7434 }
7435 return pyobj;
7436 }
7437
7438
7439 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj = NULL;
7441 wxWindow *arg1 = (wxWindow *) 0 ;
7442 int arg2 = (int) -1 ;
7443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7445 wxSize const &arg4_defvalue = wxDefaultSize ;
7446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7447 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7448 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7449 long arg6 = (long) 0 ;
7450 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7451 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7452 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7453 wxString *arg8 = (wxString *) &arg8_defvalue ;
7454 wxListBox *result;
7455 wxPoint temp3 ;
7456 wxSize temp4 ;
7457 bool temp5 = false ;
7458 bool temp8 = false ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 PyObject * obj2 = 0 ;
7462 PyObject * obj3 = 0 ;
7463 PyObject * obj4 = 0 ;
7464 PyObject * obj5 = 0 ;
7465 PyObject * obj6 = 0 ;
7466 PyObject * obj7 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail;
7474 if (obj1) {
7475 {
7476 arg2 = static_cast<int >(SWIG_As_int(obj1));
7477 if (SWIG_arg_fail(2)) SWIG_fail;
7478 }
7479 }
7480 if (obj2) {
7481 {
7482 arg3 = &temp3;
7483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7484 }
7485 }
7486 if (obj3) {
7487 {
7488 arg4 = &temp4;
7489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7490 }
7491 }
7492 if (obj4) {
7493 {
7494 if (! PySequence_Check(obj4)) {
7495 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7496 SWIG_fail;
7497 }
7498 arg5 = new wxArrayString;
7499 temp5 = true;
7500 int i, len=PySequence_Length(obj4);
7501 for (i=0; i<len; i++) {
7502 PyObject* item = PySequence_GetItem(obj4, i);
7503 wxString* s = wxString_in_helper(item);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 arg5->Add(*s);
7506 delete s;
7507 Py_DECREF(item);
7508 }
7509 }
7510 }
7511 if (obj5) {
7512 {
7513 arg6 = static_cast<long >(SWIG_As_long(obj5));
7514 if (SWIG_arg_fail(6)) SWIG_fail;
7515 }
7516 }
7517 if (obj6) {
7518 {
7519 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7520 if (SWIG_arg_fail(7)) SWIG_fail;
7521 if (arg7 == NULL) {
7522 SWIG_null_ref("wxValidator");
7523 }
7524 if (SWIG_arg_fail(7)) SWIG_fail;
7525 }
7526 }
7527 if (obj7) {
7528 {
7529 arg8 = wxString_in_helper(obj7);
7530 if (arg8 == NULL) SWIG_fail;
7531 temp8 = true;
7532 }
7533 }
7534 {
7535 if (!wxPyCheckForApp()) SWIG_fail;
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7543 {
7544 if (temp5) delete arg5;
7545 }
7546 {
7547 if (temp8)
7548 delete arg8;
7549 }
7550 return resultobj;
7551 fail:
7552 {
7553 if (temp5) delete arg5;
7554 }
7555 {
7556 if (temp8)
7557 delete arg8;
7558 }
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj = NULL;
7565 wxListBox *result;
7566 char *kwnames[] = {
7567 NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7571 {
7572 if (!wxPyCheckForApp()) SWIG_fail;
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (wxListBox *)new wxListBox();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj = NULL;
7588 wxListBox *arg1 = (wxListBox *) 0 ;
7589 wxWindow *arg2 = (wxWindow *) 0 ;
7590 int arg3 = (int) -1 ;
7591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7593 wxSize const &arg5_defvalue = wxDefaultSize ;
7594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7595 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7596 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7597 long arg7 = (long) 0 ;
7598 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7599 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7600 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7601 wxString *arg9 = (wxString *) &arg9_defvalue ;
7602 bool result;
7603 wxPoint temp4 ;
7604 wxSize temp5 ;
7605 bool temp6 = false ;
7606 bool temp9 = false ;
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
7609 PyObject * obj2 = 0 ;
7610 PyObject * obj3 = 0 ;
7611 PyObject * obj4 = 0 ;
7612 PyObject * obj5 = 0 ;
7613 PyObject * obj6 = 0 ;
7614 PyObject * obj7 = 0 ;
7615 PyObject * obj8 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail;
7623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(2)) SWIG_fail;
7625 if (obj2) {
7626 {
7627 arg3 = static_cast<int >(SWIG_As_int(obj2));
7628 if (SWIG_arg_fail(3)) SWIG_fail;
7629 }
7630 }
7631 if (obj3) {
7632 {
7633 arg4 = &temp4;
7634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7635 }
7636 }
7637 if (obj4) {
7638 {
7639 arg5 = &temp5;
7640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7641 }
7642 }
7643 if (obj5) {
7644 {
7645 if (! PySequence_Check(obj5)) {
7646 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7647 SWIG_fail;
7648 }
7649 arg6 = new wxArrayString;
7650 temp6 = true;
7651 int i, len=PySequence_Length(obj5);
7652 for (i=0; i<len; i++) {
7653 PyObject* item = PySequence_GetItem(obj5, i);
7654 wxString* s = wxString_in_helper(item);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 arg6->Add(*s);
7657 delete s;
7658 Py_DECREF(item);
7659 }
7660 }
7661 }
7662 if (obj6) {
7663 {
7664 arg7 = static_cast<long >(SWIG_As_long(obj6));
7665 if (SWIG_arg_fail(7)) SWIG_fail;
7666 }
7667 }
7668 if (obj7) {
7669 {
7670 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7671 if (SWIG_arg_fail(8)) SWIG_fail;
7672 if (arg8 == NULL) {
7673 SWIG_null_ref("wxValidator");
7674 }
7675 if (SWIG_arg_fail(8)) SWIG_fail;
7676 }
7677 }
7678 if (obj8) {
7679 {
7680 arg9 = wxString_in_helper(obj8);
7681 if (arg9 == NULL) SWIG_fail;
7682 temp9 = true;
7683 }
7684 }
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 {
7693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7694 }
7695 {
7696 if (temp6) delete arg6;
7697 }
7698 {
7699 if (temp9)
7700 delete arg9;
7701 }
7702 return resultobj;
7703 fail:
7704 {
7705 if (temp6) delete arg6;
7706 }
7707 {
7708 if (temp9)
7709 delete arg9;
7710 }
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj = NULL;
7717 wxListBox *arg1 = (wxListBox *) 0 ;
7718 wxString *arg2 = 0 ;
7719 int arg3 ;
7720 PyObject *arg4 = (PyObject *) NULL ;
7721 bool temp2 = false ;
7722 PyObject * obj0 = 0 ;
7723 PyObject * obj1 = 0 ;
7724 PyObject * obj2 = 0 ;
7725 PyObject * obj3 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
7733 {
7734 arg2 = wxString_in_helper(obj1);
7735 if (arg2 == NULL) SWIG_fail;
7736 temp2 = true;
7737 }
7738 {
7739 arg3 = static_cast<int >(SWIG_As_int(obj2));
7740 if (SWIG_arg_fail(3)) SWIG_fail;
7741 }
7742 if (obj3) {
7743 arg4 = obj3;
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 Py_INCREF(Py_None); resultobj = Py_None;
7753 {
7754 if (temp2)
7755 delete arg2;
7756 }
7757 return resultobj;
7758 fail:
7759 {
7760 if (temp2)
7761 delete arg2;
7762 }
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj = NULL;
7769 wxListBox *arg1 = (wxListBox *) 0 ;
7770 wxArrayString *arg2 = 0 ;
7771 int arg3 ;
7772 bool temp2 = false ;
7773 PyObject * obj0 = 0 ;
7774 PyObject * obj1 = 0 ;
7775 PyObject * obj2 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "items",(char *) "pos", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
7783 {
7784 if (! PySequence_Check(obj1)) {
7785 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7786 SWIG_fail;
7787 }
7788 arg2 = new wxArrayString;
7789 temp2 = true;
7790 int i, len=PySequence_Length(obj1);
7791 for (i=0; i<len; i++) {
7792 PyObject* item = PySequence_GetItem(obj1, i);
7793 wxString* s = wxString_in_helper(item);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 arg2->Add(*s);
7796 delete s;
7797 Py_DECREF(item);
7798 }
7799 }
7800 {
7801 arg3 = static_cast<int >(SWIG_As_int(obj2));
7802 if (SWIG_arg_fail(3)) SWIG_fail;
7803 }
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 {
7813 if (temp2) delete arg2;
7814 }
7815 return resultobj;
7816 fail:
7817 {
7818 if (temp2) delete arg2;
7819 }
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj = NULL;
7826 wxListBox *arg1 = (wxListBox *) 0 ;
7827 wxArrayString *arg2 = 0 ;
7828 bool temp2 = false ;
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self",(char *) "items", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
7838 {
7839 if (! PySequence_Check(obj1)) {
7840 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7841 SWIG_fail;
7842 }
7843 arg2 = new wxArrayString;
7844 temp2 = true;
7845 int i, len=PySequence_Length(obj1);
7846 for (i=0; i<len; i++) {
7847 PyObject* item = PySequence_GetItem(obj1, i);
7848 wxString* s = wxString_in_helper(item);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 arg2->Add(*s);
7851 delete s;
7852 Py_DECREF(item);
7853 }
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->Set((wxArrayString 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) delete arg2;
7865 }
7866 return resultobj;
7867 fail:
7868 {
7869 if (temp2) delete arg2;
7870 }
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj = NULL;
7877 wxListBox *arg1 = (wxListBox *) 0 ;
7878 int arg2 ;
7879 bool result;
7880 PyObject * obj0 = 0 ;
7881 PyObject * obj1 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self",(char *) "n", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail;
7889 {
7890 arg2 = static_cast<int >(SWIG_As_int(obj1));
7891 if (SWIG_arg_fail(2)) SWIG_fail;
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 {
7901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7902 }
7903 return resultobj;
7904 fail:
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj = NULL;
7911 wxListBox *arg1 = (wxListBox *) 0 ;
7912 int arg2 ;
7913 bool arg3 = (bool) true ;
7914 PyObject * obj0 = 0 ;
7915 PyObject * obj1 = 0 ;
7916 PyObject * obj2 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "n",(char *) "select", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail;
7924 {
7925 arg2 = static_cast<int >(SWIG_As_int(obj1));
7926 if (SWIG_arg_fail(2)) SWIG_fail;
7927 }
7928 if (obj2) {
7929 {
7930 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7931 if (SWIG_arg_fail(3)) SWIG_fail;
7932 }
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 (arg1)->SetSelection(arg2,arg3);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 Py_INCREF(Py_None); resultobj = Py_None;
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj = NULL;
7950 wxListBox *arg1 = (wxListBox *) 0 ;
7951 int arg2 ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj1 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self",(char *) "n", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
7963 if (SWIG_arg_fail(2)) SWIG_fail;
7964 }
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 (arg1)->Select(arg2);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 Py_INCREF(Py_None); resultobj = Py_None;
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj = NULL;
7981 wxListBox *arg1 = (wxListBox *) 0 ;
7982 int arg2 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self",(char *) "n", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7991 if (SWIG_arg_fail(1)) SWIG_fail;
7992 {
7993 arg2 = static_cast<int >(SWIG_As_int(obj1));
7994 if (SWIG_arg_fail(2)) SWIG_fail;
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->Deselect(arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = NULL;
8012 wxListBox *arg1 = (wxListBox *) 0 ;
8013 int arg2 = (int) -1 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "itemToLeaveSelected", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
8021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 if (obj1) {
8024 {
8025 arg2 = static_cast<int >(SWIG_As_int(obj1));
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 (arg1)->DeselectAll(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 Py_INCREF(Py_None); resultobj = Py_None;
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj = NULL;
8045 wxListBox *arg1 = (wxListBox *) 0 ;
8046 wxString *arg2 = 0 ;
8047 bool arg3 = (bool) true ;
8048 bool result;
8049 bool temp2 = false ;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 PyObject * obj2 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "s",(char *) "select", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail;
8060 {
8061 arg2 = wxString_in_helper(obj1);
8062 if (arg2 == NULL) SWIG_fail;
8063 temp2 = true;
8064 }
8065 if (obj2) {
8066 {
8067 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8068 if (SWIG_arg_fail(3)) SWIG_fail;
8069 }
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 {
8079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8080 }
8081 {
8082 if (temp2)
8083 delete arg2;
8084 }
8085 return resultobj;
8086 fail:
8087 {
8088 if (temp2)
8089 delete arg2;
8090 }
8091 return NULL;
8092 }
8093
8094
8095 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj = NULL;
8097 wxListBox *arg1 = (wxListBox *) 0 ;
8098 PyObject *result;
8099 PyObject * obj0 = 0 ;
8100 char *kwnames[] = {
8101 (char *) "self", NULL
8102 };
8103
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
8105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8106 if (SWIG_arg_fail(1)) SWIG_fail;
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (PyObject *)wxListBox_GetSelections(arg1);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = result;
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj = NULL;
8123 wxListBox *arg1 = (wxListBox *) 0 ;
8124 int arg2 ;
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "n", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
8132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail;
8134 {
8135 arg2 = static_cast<int >(SWIG_As_int(obj1));
8136 if (SWIG_arg_fail(2)) SWIG_fail;
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->SetFirstItem(arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj = NULL;
8154 wxListBox *arg1 = (wxListBox *) 0 ;
8155 wxString *arg2 = 0 ;
8156 bool temp2 = false ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "s", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
8164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail;
8166 {
8167 arg2 = wxString_in_helper(obj1);
8168 if (arg2 == NULL) SWIG_fail;
8169 temp2 = true;
8170 }
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->SetFirstItem((wxString const &)*arg2);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 {
8180 if (temp2)
8181 delete arg2;
8182 }
8183 return resultobj;
8184 fail:
8185 {
8186 if (temp2)
8187 delete arg2;
8188 }
8189 return NULL;
8190 }
8191
8192
8193 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8194 PyObject *resultobj = NULL;
8195 wxListBox *arg1 = (wxListBox *) 0 ;
8196 int arg2 ;
8197 PyObject * obj0 = 0 ;
8198 PyObject * obj1 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "n", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail;
8206 {
8207 arg2 = static_cast<int >(SWIG_As_int(obj1));
8208 if (SWIG_arg_fail(2)) SWIG_fail;
8209 }
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 (arg1)->EnsureVisible(arg2);
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 Py_INCREF(Py_None); resultobj = Py_None;
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj = NULL;
8226 wxListBox *arg1 = (wxListBox *) 0 ;
8227 wxString *arg2 = 0 ;
8228 bool temp2 = false ;
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self",(char *) "s", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail;
8238 {
8239 arg2 = wxString_in_helper(obj1);
8240 if (arg2 == NULL) SWIG_fail;
8241 temp2 = true;
8242 }
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 Py_INCREF(Py_None); resultobj = Py_None;
8251 {
8252 if (temp2)
8253 delete arg2;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp2)
8259 delete arg2;
8260 }
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = NULL;
8267 wxListBox *arg1 = (wxListBox *) 0 ;
8268 bool result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxListBox const *)arg1)->IsSorted();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj = NULL;
8295 wxListBox *arg1 = (wxListBox *) 0 ;
8296 int arg2 ;
8297 wxColour *arg3 = 0 ;
8298 wxColour temp3 ;
8299 PyObject * obj0 = 0 ;
8300 PyObject * obj1 = 0 ;
8301 PyObject * obj2 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "item",(char *) "c", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail;
8309 {
8310 arg2 = static_cast<int >(SWIG_As_int(obj1));
8311 if (SWIG_arg_fail(2)) SWIG_fail;
8312 }
8313 {
8314 arg3 = &temp3;
8315 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 Py_INCREF(Py_None); resultobj = Py_None;
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj = NULL;
8333 wxListBox *arg1 = (wxListBox *) 0 ;
8334 int arg2 ;
8335 wxColour *arg3 = 0 ;
8336 wxColour temp3 ;
8337 PyObject * obj0 = 0 ;
8338 PyObject * obj1 = 0 ;
8339 PyObject * obj2 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self",(char *) "item",(char *) "c", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8346 if (SWIG_arg_fail(1)) SWIG_fail;
8347 {
8348 arg2 = static_cast<int >(SWIG_As_int(obj1));
8349 if (SWIG_arg_fail(2)) SWIG_fail;
8350 }
8351 {
8352 arg3 = &temp3;
8353 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8354 }
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj = NULL;
8371 wxListBox *arg1 = (wxListBox *) 0 ;
8372 int arg2 ;
8373 wxFont *arg3 = 0 ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 PyObject * obj2 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self",(char *) "item",(char *) "f", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail;
8384 {
8385 arg2 = static_cast<int >(SWIG_As_int(obj1));
8386 if (SWIG_arg_fail(2)) SWIG_fail;
8387 }
8388 {
8389 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(3)) SWIG_fail;
8391 if (arg3 == NULL) {
8392 SWIG_null_ref("wxFont");
8393 }
8394 if (SWIG_arg_fail(3)) SWIG_fail;
8395 }
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 Py_INCREF(Py_None); resultobj = Py_None;
8404 return resultobj;
8405 fail:
8406 return NULL;
8407 }
8408
8409
8410 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj = NULL;
8412 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8413 wxVisualAttributes result;
8414 PyObject * obj0 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "variant", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8420 if (obj0) {
8421 {
8422 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8423 if (SWIG_arg_fail(1)) SWIG_fail;
8424 }
8425 }
8426 {
8427 if (!wxPyCheckForApp()) SWIG_fail;
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = wxListBox::GetClassDefaultAttributes(arg1);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435 wxVisualAttributes * resultptr;
8436 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8438 }
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8446 PyObject *obj;
8447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8449 Py_INCREF(obj);
8450 return Py_BuildValue((char *)"");
8451 }
8452 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj = NULL;
8454 wxWindow *arg1 = (wxWindow *) 0 ;
8455 int arg2 = (int) -1 ;
8456 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8457 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8458 wxSize const &arg4_defvalue = wxDefaultSize ;
8459 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8460 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8461 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8462 long arg6 = (long) 0 ;
8463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8465 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8466 wxString *arg8 = (wxString *) &arg8_defvalue ;
8467 wxCheckListBox *result;
8468 wxPoint temp3 ;
8469 wxSize temp4 ;
8470 bool temp5 = false ;
8471 bool temp8 = false ;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 PyObject * obj2 = 0 ;
8475 PyObject * obj3 = 0 ;
8476 PyObject * obj4 = 0 ;
8477 PyObject * obj5 = 0 ;
8478 PyObject * obj6 = 0 ;
8479 PyObject * obj7 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail;
8487 if (obj1) {
8488 {
8489 arg2 = static_cast<int >(SWIG_As_int(obj1));
8490 if (SWIG_arg_fail(2)) SWIG_fail;
8491 }
8492 }
8493 if (obj2) {
8494 {
8495 arg3 = &temp3;
8496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8497 }
8498 }
8499 if (obj3) {
8500 {
8501 arg4 = &temp4;
8502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8503 }
8504 }
8505 if (obj4) {
8506 {
8507 if (! PySequence_Check(obj4)) {
8508 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8509 SWIG_fail;
8510 }
8511 arg5 = new wxArrayString;
8512 temp5 = true;
8513 int i, len=PySequence_Length(obj4);
8514 for (i=0; i<len; i++) {
8515 PyObject* item = PySequence_GetItem(obj4, i);
8516 wxString* s = wxString_in_helper(item);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 arg5->Add(*s);
8519 delete s;
8520 Py_DECREF(item);
8521 }
8522 }
8523 }
8524 if (obj5) {
8525 {
8526 arg6 = static_cast<long >(SWIG_As_long(obj5));
8527 if (SWIG_arg_fail(6)) SWIG_fail;
8528 }
8529 }
8530 if (obj6) {
8531 {
8532 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(7)) SWIG_fail;
8534 if (arg7 == NULL) {
8535 SWIG_null_ref("wxValidator");
8536 }
8537 if (SWIG_arg_fail(7)) SWIG_fail;
8538 }
8539 }
8540 if (obj7) {
8541 {
8542 arg8 = wxString_in_helper(obj7);
8543 if (arg8 == NULL) SWIG_fail;
8544 temp8 = true;
8545 }
8546 }
8547 {
8548 if (!wxPyCheckForApp()) SWIG_fail;
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8556 {
8557 if (temp5) delete arg5;
8558 }
8559 {
8560 if (temp8)
8561 delete arg8;
8562 }
8563 return resultobj;
8564 fail:
8565 {
8566 if (temp5) delete arg5;
8567 }
8568 {
8569 if (temp8)
8570 delete arg8;
8571 }
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj = NULL;
8578 wxCheckListBox *result;
8579 char *kwnames[] = {
8580 NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8584 {
8585 if (!wxPyCheckForApp()) SWIG_fail;
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 result = (wxCheckListBox *)new wxCheckListBox();
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj = NULL;
8601 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8602 wxWindow *arg2 = (wxWindow *) 0 ;
8603 int arg3 = (int) -1 ;
8604 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8605 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8606 wxSize const &arg5_defvalue = wxDefaultSize ;
8607 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8608 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8609 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8610 long arg7 = (long) 0 ;
8611 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8612 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8613 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8614 wxString *arg9 = (wxString *) &arg9_defvalue ;
8615 bool result;
8616 wxPoint temp4 ;
8617 wxSize temp5 ;
8618 bool temp6 = false ;
8619 bool temp9 = false ;
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
8623 PyObject * obj3 = 0 ;
8624 PyObject * obj4 = 0 ;
8625 PyObject * obj5 = 0 ;
8626 PyObject * obj6 = 0 ;
8627 PyObject * obj7 = 0 ;
8628 PyObject * obj8 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail;
8636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8637 if (SWIG_arg_fail(2)) SWIG_fail;
8638 if (obj2) {
8639 {
8640 arg3 = static_cast<int >(SWIG_As_int(obj2));
8641 if (SWIG_arg_fail(3)) SWIG_fail;
8642 }
8643 }
8644 if (obj3) {
8645 {
8646 arg4 = &temp4;
8647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8648 }
8649 }
8650 if (obj4) {
8651 {
8652 arg5 = &temp5;
8653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8654 }
8655 }
8656 if (obj5) {
8657 {
8658 if (! PySequence_Check(obj5)) {
8659 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8660 SWIG_fail;
8661 }
8662 arg6 = new wxArrayString;
8663 temp6 = true;
8664 int i, len=PySequence_Length(obj5);
8665 for (i=0; i<len; i++) {
8666 PyObject* item = PySequence_GetItem(obj5, i);
8667 wxString* s = wxString_in_helper(item);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 arg6->Add(*s);
8670 delete s;
8671 Py_DECREF(item);
8672 }
8673 }
8674 }
8675 if (obj6) {
8676 {
8677 arg7 = static_cast<long >(SWIG_As_long(obj6));
8678 if (SWIG_arg_fail(7)) SWIG_fail;
8679 }
8680 }
8681 if (obj7) {
8682 {
8683 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8684 if (SWIG_arg_fail(8)) SWIG_fail;
8685 if (arg8 == NULL) {
8686 SWIG_null_ref("wxValidator");
8687 }
8688 if (SWIG_arg_fail(8)) SWIG_fail;
8689 }
8690 }
8691 if (obj8) {
8692 {
8693 arg9 = wxString_in_helper(obj8);
8694 if (arg9 == NULL) SWIG_fail;
8695 temp9 = true;
8696 }
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 {
8706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8707 }
8708 {
8709 if (temp6) delete arg6;
8710 }
8711 {
8712 if (temp9)
8713 delete arg9;
8714 }
8715 return resultobj;
8716 fail:
8717 {
8718 if (temp6) delete arg6;
8719 }
8720 {
8721 if (temp9)
8722 delete arg9;
8723 }
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj = NULL;
8730 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8731 int arg2 ;
8732 bool result;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "index", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail;
8742 {
8743 arg2 = static_cast<int >(SWIG_As_int(obj1));
8744 if (SWIG_arg_fail(2)) SWIG_fail;
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (bool)(arg1)->IsChecked(arg2);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 {
8754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8755 }
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj = NULL;
8764 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8765 int arg2 ;
8766 int arg3 = (int) true ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 PyObject * obj2 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "index",(char *) "check", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail;
8777 {
8778 arg2 = static_cast<int >(SWIG_As_int(obj1));
8779 if (SWIG_arg_fail(2)) SWIG_fail;
8780 }
8781 if (obj2) {
8782 {
8783 arg3 = static_cast<int >(SWIG_As_int(obj2));
8784 if (SWIG_arg_fail(3)) SWIG_fail;
8785 }
8786 }
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 (arg1)->Check(arg2,arg3);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 Py_INCREF(Py_None); resultobj = Py_None;
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj = NULL;
8803 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8804 int result;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (int)(arg1)->GetItemHeight();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 {
8821 resultobj = SWIG_From_int(static_cast<int >(result));
8822 }
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj = NULL;
8831 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8832 wxPoint *arg2 = 0 ;
8833 int result;
8834 wxPoint temp2 ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "pt", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail;
8844 {
8845 arg2 = &temp2;
8846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 {
8856 resultobj = SWIG_From_int(static_cast<int >(result));
8857 }
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj = NULL;
8866 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8867 int arg2 ;
8868 int arg3 ;
8869 int result;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 PyObject * obj2 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "x",(char *) "y", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail;
8880 {
8881 arg2 = static_cast<int >(SWIG_As_int(obj1));
8882 if (SWIG_arg_fail(2)) SWIG_fail;
8883 }
8884 {
8885 arg3 = static_cast<int >(SWIG_As_int(obj2));
8886 if (SWIG_arg_fail(3)) SWIG_fail;
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 {
8896 resultobj = SWIG_From_int(static_cast<int >(result));
8897 }
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8905 PyObject *obj;
8906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8907 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8908 Py_INCREF(obj);
8909 return Py_BuildValue((char *)"");
8910 }
8911 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8912 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8913 return 1;
8914 }
8915
8916
8917 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8918 PyObject *pyobj = NULL;
8919
8920 {
8921 #if wxUSE_UNICODE
8922 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8923 #else
8924 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8925 #endif
8926 }
8927 return pyobj;
8928 }
8929
8930
8931 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj = NULL;
8933 wxColour const &arg1_defvalue = wxNullColour ;
8934 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8935 wxColour const &arg2_defvalue = wxNullColour ;
8936 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8937 wxFont const &arg3_defvalue = wxNullFont ;
8938 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8939 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8940 wxTextAttr *result;
8941 wxColour temp1 ;
8942 wxColour temp2 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 PyObject * obj2 = 0 ;
8946 PyObject * obj3 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8952 if (obj0) {
8953 {
8954 arg1 = &temp1;
8955 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8956 }
8957 }
8958 if (obj1) {
8959 {
8960 arg2 = &temp2;
8961 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8962 }
8963 }
8964 if (obj2) {
8965 {
8966 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8967 if (SWIG_arg_fail(3)) SWIG_fail;
8968 if (arg3 == NULL) {
8969 SWIG_null_ref("wxFont");
8970 }
8971 if (SWIG_arg_fail(3)) SWIG_fail;
8972 }
8973 }
8974 if (obj3) {
8975 {
8976 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
8977 if (SWIG_arg_fail(4)) SWIG_fail;
8978 }
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = NULL;
8996 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
9003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9004 if (SWIG_arg_fail(1)) SWIG_fail;
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 delete arg1;
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj = NULL;
9021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
9028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->Init();
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj = NULL;
9046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9047 wxColour *arg2 = 0 ;
9048 wxColour temp2 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "colText", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
9056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail;
9058 {
9059 arg2 = &temp2;
9060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9061 }
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 (arg1)->SetTextColour((wxColour const &)*arg2);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 Py_INCREF(Py_None); resultobj = Py_None;
9070 return resultobj;
9071 fail:
9072 return NULL;
9073 }
9074
9075
9076 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj = NULL;
9078 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9079 wxColour *arg2 = 0 ;
9080 wxColour temp2 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "colBack", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail;
9090 {
9091 arg2 = &temp2;
9092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9093 }
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj = NULL;
9110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9111 wxFont *arg2 = 0 ;
9112 long arg3 = (long) wxTEXT_ATTR_FONT ;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 PyObject * obj2 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "font",(char *) "flags", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
9121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail;
9123 {
9124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9125 if (SWIG_arg_fail(2)) SWIG_fail;
9126 if (arg2 == NULL) {
9127 SWIG_null_ref("wxFont");
9128 }
9129 if (SWIG_arg_fail(2)) SWIG_fail;
9130 }
9131 if (obj2) {
9132 {
9133 arg3 = static_cast<long >(SWIG_As_long(obj2));
9134 if (SWIG_arg_fail(3)) SWIG_fail;
9135 }
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = NULL;
9153 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9154 wxTextAttrAlignment arg2 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "alignment", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail;
9164 {
9165 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
9166 if (SWIG_arg_fail(2)) SWIG_fail;
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->SetAlignment(arg2);
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj = NULL;
9184 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9185 wxArrayInt *arg2 = 0 ;
9186 bool temp2 = false ;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self",(char *) "tabs", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
9194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail;
9196 {
9197 if (! PySequence_Check(obj1)) {
9198 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9199 SWIG_fail;
9200 }
9201 arg2 = new wxArrayInt;
9202 temp2 = true;
9203 int i, len=PySequence_Length(obj1);
9204 for (i=0; i<len; i++) {
9205 PyObject* item = PySequence_GetItem(obj1, i);
9206 PyObject* number = PyNumber_Int(item);
9207 arg2->Add(PyInt_AS_LONG(number));
9208 Py_DECREF(item);
9209 Py_DECREF(number);
9210 }
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 {
9221 if (temp2) delete arg2;
9222 }
9223 return resultobj;
9224 fail:
9225 {
9226 if (temp2) delete arg2;
9227 }
9228 return NULL;
9229 }
9230
9231
9232 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj = NULL;
9234 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9235 int arg2 ;
9236 int arg3 = (int) 0 ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 PyObject * obj2 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
9248 arg2 = static_cast<int >(SWIG_As_int(obj1));
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
9251 if (obj2) {
9252 {
9253 arg3 = static_cast<int >(SWIG_As_int(obj2));
9254 if (SWIG_arg_fail(3)) SWIG_fail;
9255 }
9256 }
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 (arg1)->SetLeftIndent(arg2,arg3);
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj = NULL;
9273 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9274 int arg2 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "indent", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail;
9284 {
9285 arg2 = static_cast<int >(SWIG_As_int(obj1));
9286 if (SWIG_arg_fail(2)) SWIG_fail;
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 (arg1)->SetRightIndent(arg2);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj = NULL;
9304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9305 long arg2 ;
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self",(char *) "flags", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
9316 arg2 = static_cast<long >(SWIG_As_long(obj1));
9317 if (SWIG_arg_fail(2)) SWIG_fail;
9318 }
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetFlags(arg2);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj = NULL;
9335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9336 bool result;
9337 PyObject * obj0 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 {
9353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9354 }
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj = NULL;
9363 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9364 bool result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 {
9381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9382 }
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj = NULL;
9391 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9392 bool result;
9393 PyObject * obj0 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 {
9409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9410 }
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj = NULL;
9419 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9420 bool result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9428 if (SWIG_arg_fail(1)) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 {
9437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9438 }
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj = NULL;
9447 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9448 bool result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 {
9465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9466 }
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj = NULL;
9475 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9476 bool result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
9492 {
9493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9494 }
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj = NULL;
9503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9504 bool result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 {
9521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9522 }
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj = NULL;
9531 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9532 long arg2 ;
9533 bool result;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "flag", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail;
9543 {
9544 arg2 = static_cast<long >(SWIG_As_long(obj1));
9545 if (SWIG_arg_fail(2)) SWIG_fail;
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 {
9555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9556 }
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj = NULL;
9565 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9566 wxColour *result;
9567 PyObject * obj0 = 0 ;
9568 char *kwnames[] = {
9569 (char *) "self", NULL
9570 };
9571
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9574 if (SWIG_arg_fail(1)) SWIG_fail;
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 {
9578 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9579 result = (wxColour *) &_result_ref;
9580 }
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9586 return resultobj;
9587 fail:
9588 return NULL;
9589 }
9590
9591
9592 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj = NULL;
9594 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9595 wxColour *result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9603 if (SWIG_arg_fail(1)) SWIG_fail;
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 {
9607 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9608 result = (wxColour *) &_result_ref;
9609 }
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9615 return resultobj;
9616 fail:
9617 return NULL;
9618 }
9619
9620
9621 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = NULL;
9623 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9624 wxFont *result;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 {
9636 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9637 result = (wxFont *) &_result_ref;
9638 }
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 {
9644 wxFont* resultptr = new wxFont(*result);
9645 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj = NULL;
9655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9656 wxTextAttrAlignment result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = SWIG_From_int((result));
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj = NULL;
9681 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9682 wxArrayInt *result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 {
9694 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9695 result = (wxArrayInt *) &_result_ref;
9696 }
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 {
9702 resultobj = PyList_New(0);
9703 size_t idx;
9704 for (idx = 0; idx < result->GetCount(); idx += 1) {
9705 PyObject* val = PyInt_FromLong( result->Item(idx) );
9706 PyList_Append(resultobj, val);
9707 Py_DECREF(val);
9708 }
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj = NULL;
9718 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9719 long result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = SWIG_From_long(static_cast<long >(result));
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj = NULL;
9746 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9747 long result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9755 if (SWIG_arg_fail(1)) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 {
9764 resultobj = SWIG_From_long(static_cast<long >(result));
9765 }
9766 return resultobj;
9767 fail:
9768 return NULL;
9769 }
9770
9771
9772 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj = NULL;
9774 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9775 long result;
9776 PyObject * obj0 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail;
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 resultobj = SWIG_From_long(static_cast<long >(result));
9793 }
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = NULL;
9802 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9803 long result;
9804 PyObject * obj0 = 0 ;
9805 char *kwnames[] = {
9806 (char *) "self", NULL
9807 };
9808
9809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9811 if (SWIG_arg_fail(1)) SWIG_fail;
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 {
9820 resultobj = SWIG_From_long(static_cast<long >(result));
9821 }
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj = NULL;
9830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9831 bool result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9839 if (SWIG_arg_fail(1)) SWIG_fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 {
9848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9849 }
9850 return resultobj;
9851 fail:
9852 return NULL;
9853 }
9854
9855
9856 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj = NULL;
9858 wxTextAttr *arg1 = 0 ;
9859 wxTextAttr *arg2 = 0 ;
9860 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9861 wxTextAttr result;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 PyObject * obj2 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9870 {
9871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9872 if (SWIG_arg_fail(1)) SWIG_fail;
9873 if (arg1 == NULL) {
9874 SWIG_null_ref("wxTextAttr");
9875 }
9876 if (SWIG_arg_fail(1)) SWIG_fail;
9877 }
9878 {
9879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(2)) SWIG_fail;
9881 if (arg2 == NULL) {
9882 SWIG_null_ref("wxTextAttr");
9883 }
9884 if (SWIG_arg_fail(2)) SWIG_fail;
9885 }
9886 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9887 if (SWIG_arg_fail(3)) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 {
9896 wxTextAttr * resultptr;
9897 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
9898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9899 }
9900 return resultobj;
9901 fail:
9902 return NULL;
9903 }
9904
9905
9906 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9907 PyObject *obj;
9908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9909 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9910 Py_INCREF(obj);
9911 return Py_BuildValue((char *)"");
9912 }
9913 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj = NULL;
9915 wxWindow *arg1 = (wxWindow *) 0 ;
9916 int arg2 = (int) -1 ;
9917 wxString const &arg3_defvalue = wxPyEmptyString ;
9918 wxString *arg3 = (wxString *) &arg3_defvalue ;
9919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9921 wxSize const &arg5_defvalue = wxDefaultSize ;
9922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9923 long arg6 = (long) 0 ;
9924 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9925 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9926 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9927 wxString *arg8 = (wxString *) &arg8_defvalue ;
9928 wxTextCtrl *result;
9929 bool temp3 = false ;
9930 wxPoint temp4 ;
9931 wxSize temp5 ;
9932 bool temp8 = false ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 PyObject * obj2 = 0 ;
9936 PyObject * obj3 = 0 ;
9937 PyObject * obj4 = 0 ;
9938 PyObject * obj5 = 0 ;
9939 PyObject * obj6 = 0 ;
9940 PyObject * obj7 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail;
9948 if (obj1) {
9949 {
9950 arg2 = static_cast<int >(SWIG_As_int(obj1));
9951 if (SWIG_arg_fail(2)) SWIG_fail;
9952 }
9953 }
9954 if (obj2) {
9955 {
9956 arg3 = wxString_in_helper(obj2);
9957 if (arg3 == NULL) SWIG_fail;
9958 temp3 = true;
9959 }
9960 }
9961 if (obj3) {
9962 {
9963 arg4 = &temp4;
9964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9965 }
9966 }
9967 if (obj4) {
9968 {
9969 arg5 = &temp5;
9970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9971 }
9972 }
9973 if (obj5) {
9974 {
9975 arg6 = static_cast<long >(SWIG_As_long(obj5));
9976 if (SWIG_arg_fail(6)) SWIG_fail;
9977 }
9978 }
9979 if (obj6) {
9980 {
9981 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9982 if (SWIG_arg_fail(7)) SWIG_fail;
9983 if (arg7 == NULL) {
9984 SWIG_null_ref("wxValidator");
9985 }
9986 if (SWIG_arg_fail(7)) SWIG_fail;
9987 }
9988 }
9989 if (obj7) {
9990 {
9991 arg8 = wxString_in_helper(obj7);
9992 if (arg8 == NULL) SWIG_fail;
9993 temp8 = true;
9994 }
9995 }
9996 {
9997 if (!wxPyCheckForApp()) SWIG_fail;
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
10005 {
10006 if (temp3)
10007 delete arg3;
10008 }
10009 {
10010 if (temp8)
10011 delete arg8;
10012 }
10013 return resultobj;
10014 fail:
10015 {
10016 if (temp3)
10017 delete arg3;
10018 }
10019 {
10020 if (temp8)
10021 delete arg8;
10022 }
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj = NULL;
10029 wxTextCtrl *result;
10030 char *kwnames[] = {
10031 NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
10035 {
10036 if (!wxPyCheckForApp()) SWIG_fail;
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (wxTextCtrl *)new wxTextCtrl();
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj = NULL;
10052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10053 wxWindow *arg2 = (wxWindow *) 0 ;
10054 int arg3 = (int) -1 ;
10055 wxString const &arg4_defvalue = wxPyEmptyString ;
10056 wxString *arg4 = (wxString *) &arg4_defvalue ;
10057 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10058 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10059 wxSize const &arg6_defvalue = wxDefaultSize ;
10060 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10061 long arg7 = (long) 0 ;
10062 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10063 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10064 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
10065 wxString *arg9 = (wxString *) &arg9_defvalue ;
10066 bool result;
10067 bool temp4 = false ;
10068 wxPoint temp5 ;
10069 wxSize temp6 ;
10070 bool temp9 = false ;
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
10073 PyObject * obj2 = 0 ;
10074 PyObject * obj3 = 0 ;
10075 PyObject * obj4 = 0 ;
10076 PyObject * obj5 = 0 ;
10077 PyObject * obj6 = 0 ;
10078 PyObject * obj7 = 0 ;
10079 PyObject * obj8 = 0 ;
10080 char *kwnames[] = {
10081 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10082 };
10083
10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
10085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10086 if (SWIG_arg_fail(1)) SWIG_fail;
10087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10088 if (SWIG_arg_fail(2)) SWIG_fail;
10089 if (obj2) {
10090 {
10091 arg3 = static_cast<int >(SWIG_As_int(obj2));
10092 if (SWIG_arg_fail(3)) SWIG_fail;
10093 }
10094 }
10095 if (obj3) {
10096 {
10097 arg4 = wxString_in_helper(obj3);
10098 if (arg4 == NULL) SWIG_fail;
10099 temp4 = true;
10100 }
10101 }
10102 if (obj4) {
10103 {
10104 arg5 = &temp5;
10105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10106 }
10107 }
10108 if (obj5) {
10109 {
10110 arg6 = &temp6;
10111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10112 }
10113 }
10114 if (obj6) {
10115 {
10116 arg7 = static_cast<long >(SWIG_As_long(obj6));
10117 if (SWIG_arg_fail(7)) SWIG_fail;
10118 }
10119 }
10120 if (obj7) {
10121 {
10122 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10123 if (SWIG_arg_fail(8)) SWIG_fail;
10124 if (arg8 == NULL) {
10125 SWIG_null_ref("wxValidator");
10126 }
10127 if (SWIG_arg_fail(8)) SWIG_fail;
10128 }
10129 }
10130 if (obj8) {
10131 {
10132 arg9 = wxString_in_helper(obj8);
10133 if (arg9 == NULL) SWIG_fail;
10134 temp9 = true;
10135 }
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 {
10145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10146 }
10147 {
10148 if (temp4)
10149 delete arg4;
10150 }
10151 {
10152 if (temp9)
10153 delete arg9;
10154 }
10155 return resultobj;
10156 fail:
10157 {
10158 if (temp4)
10159 delete arg4;
10160 }
10161 {
10162 if (temp9)
10163 delete arg9;
10164 }
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj = NULL;
10171 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10172 wxString result;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
10179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail;
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = ((wxTextCtrl const *)arg1)->GetValue();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 {
10189 #if wxUSE_UNICODE
10190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10191 #else
10192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10193 #endif
10194 }
10195 return resultobj;
10196 fail:
10197 return NULL;
10198 }
10199
10200
10201 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj = NULL;
10203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10204 wxString *arg2 = 0 ;
10205 bool temp2 = false ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self",(char *) "value", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail;
10215 {
10216 arg2 = wxString_in_helper(obj1);
10217 if (arg2 == NULL) SWIG_fail;
10218 temp2 = true;
10219 }
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetValue((wxString const &)*arg2);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 {
10229 if (temp2)
10230 delete arg2;
10231 }
10232 return resultobj;
10233 fail:
10234 {
10235 if (temp2)
10236 delete arg2;
10237 }
10238 return NULL;
10239 }
10240
10241
10242 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj = NULL;
10244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10245 long arg2 ;
10246 long arg3 ;
10247 wxString result;
10248 PyObject * obj0 = 0 ;
10249 PyObject * obj1 = 0 ;
10250 PyObject * obj2 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "from",(char *) "to", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
10258 {
10259 arg2 = static_cast<long >(SWIG_As_long(obj1));
10260 if (SWIG_arg_fail(2)) SWIG_fail;
10261 }
10262 {
10263 arg3 = static_cast<long >(SWIG_As_long(obj2));
10264 if (SWIG_arg_fail(3)) SWIG_fail;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274 #if wxUSE_UNICODE
10275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10276 #else
10277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10278 #endif
10279 }
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj = NULL;
10288 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10289 long arg2 ;
10290 int result;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "lineNo", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail;
10300 {
10301 arg2 = static_cast<long >(SWIG_As_long(obj1));
10302 if (SWIG_arg_fail(2)) SWIG_fail;
10303 }
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 {
10312 resultobj = SWIG_From_int(static_cast<int >(result));
10313 }
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = NULL;
10322 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10323 long arg2 ;
10324 wxString result;
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "lineNo", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
10335 arg2 = static_cast<long >(SWIG_As_long(obj1));
10336 if (SWIG_arg_fail(2)) SWIG_fail;
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 {
10346 #if wxUSE_UNICODE
10347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10348 #else
10349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10350 #endif
10351 }
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj = NULL;
10360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10361 int result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail;
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 {
10378 resultobj = SWIG_From_int(static_cast<int >(result));
10379 }
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10387 PyObject *resultobj = NULL;
10388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10389 bool result;
10390 PyObject * obj0 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10397 if (SWIG_arg_fail(1)) SWIG_fail;
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 {
10406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10407 }
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj = NULL;
10416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10417 bool result;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) 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 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 {
10434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10435 }
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj = NULL;
10444 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10445 bool result;
10446 PyObject * obj0 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail;
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10463 }
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj = NULL;
10472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10473 bool result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail;
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 {
10490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10491 }
10492 return resultobj;
10493 fail:
10494 return NULL;
10495 }
10496
10497
10498 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj = NULL;
10500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10501 long *arg2 = (long *) 0 ;
10502 long *arg3 = (long *) 0 ;
10503 long temp2 ;
10504 int res2 = 0 ;
10505 long temp3 ;
10506 int res3 = 0 ;
10507 PyObject * obj0 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self", NULL
10510 };
10511
10512 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10513 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 Py_INCREF(Py_None); resultobj = Py_None;
10525 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10526 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10527 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10528 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj = NULL;
10537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10538 wxString result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 {
10555 #if wxUSE_UNICODE
10556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10557 #else
10558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10559 #endif
10560 }
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj = NULL;
10569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10577 if (SWIG_arg_fail(1)) SWIG_fail;
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->Clear();
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj = NULL;
10594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10595 long arg2 ;
10596 long arg3 ;
10597 wxString *arg4 = 0 ;
10598 bool temp4 = false ;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 PyObject * obj2 = 0 ;
10602 PyObject * obj3 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
10610 {
10611 arg2 = static_cast<long >(SWIG_As_long(obj1));
10612 if (SWIG_arg_fail(2)) SWIG_fail;
10613 }
10614 {
10615 arg3 = static_cast<long >(SWIG_As_long(obj2));
10616 if (SWIG_arg_fail(3)) SWIG_fail;
10617 }
10618 {
10619 arg4 = wxString_in_helper(obj3);
10620 if (arg4 == NULL) SWIG_fail;
10621 temp4 = true;
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 {
10632 if (temp4)
10633 delete arg4;
10634 }
10635 return resultobj;
10636 fail:
10637 {
10638 if (temp4)
10639 delete arg4;
10640 }
10641 return NULL;
10642 }
10643
10644
10645 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj = NULL;
10647 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10648 long arg2 ;
10649 long arg3 ;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 PyObject * obj2 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self",(char *) "from",(char *) "to", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
10660 {
10661 arg2 = static_cast<long >(SWIG_As_long(obj1));
10662 if (SWIG_arg_fail(2)) SWIG_fail;
10663 }
10664 {
10665 arg3 = static_cast<long >(SWIG_As_long(obj2));
10666 if (SWIG_arg_fail(3)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->Remove(arg2,arg3);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 Py_INCREF(Py_None); resultobj = Py_None;
10676 return resultobj;
10677 fail:
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj = NULL;
10684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10685 wxString *arg2 = 0 ;
10686 bool result;
10687 bool temp2 = false ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "file", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail;
10697 {
10698 arg2 = wxString_in_helper(obj1);
10699 if (arg2 == NULL) SWIG_fail;
10700 temp2 = true;
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 {
10710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10711 }
10712 {
10713 if (temp2)
10714 delete arg2;
10715 }
10716 return resultobj;
10717 fail:
10718 {
10719 if (temp2)
10720 delete arg2;
10721 }
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj = NULL;
10728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10729 wxString const &arg2_defvalue = wxPyEmptyString ;
10730 wxString *arg2 = (wxString *) &arg2_defvalue ;
10731 bool result;
10732 bool temp2 = false ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "file", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
10742 if (obj1) {
10743 {
10744 arg2 = wxString_in_helper(obj1);
10745 if (arg2 == NULL) SWIG_fail;
10746 temp2 = true;
10747 }
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 {
10757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10758 }
10759 {
10760 if (temp2)
10761 delete arg2;
10762 }
10763 return resultobj;
10764 fail:
10765 {
10766 if (temp2)
10767 delete arg2;
10768 }
10769 return NULL;
10770 }
10771
10772
10773 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj = NULL;
10775 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10783 if (SWIG_arg_fail(1)) SWIG_fail;
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->MarkDirty();
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795 }
10796
10797
10798 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj = NULL;
10800 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10801 PyObject * obj0 = 0 ;
10802 char *kwnames[] = {
10803 (char *) "self", NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->DiscardEdits();
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj = NULL;
10825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10826 unsigned long arg2 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "len", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail;
10836 {
10837 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
10838 if (SWIG_arg_fail(2)) SWIG_fail;
10839 }
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 (arg1)->SetMaxLength(arg2);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 Py_INCREF(Py_None); resultobj = Py_None;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj = NULL;
10856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10857 wxString *arg2 = 0 ;
10858 bool temp2 = false ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "text", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail;
10868 {
10869 arg2 = wxString_in_helper(obj1);
10870 if (arg2 == NULL) SWIG_fail;
10871 temp2 = true;
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->WriteText((wxString const &)*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 return resultobj;
10886 fail:
10887 {
10888 if (temp2)
10889 delete arg2;
10890 }
10891 return NULL;
10892 }
10893
10894
10895 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj = NULL;
10897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10898 wxString *arg2 = 0 ;
10899 bool temp2 = false ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "text", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail;
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
10912 temp2 = true;
10913 }
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 (arg1)->AppendText((wxString const &)*arg2);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 {
10923 if (temp2)
10924 delete arg2;
10925 }
10926 return resultobj;
10927 fail:
10928 {
10929 if (temp2)
10930 delete arg2;
10931 }
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj = NULL;
10938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10939 wxKeyEvent *arg2 = 0 ;
10940 bool result;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "event", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
10950 {
10951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail;
10953 if (arg2 == NULL) {
10954 SWIG_null_ref("wxKeyEvent");
10955 }
10956 if (SWIG_arg_fail(2)) SWIG_fail;
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 {
10966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10967 }
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj = NULL;
10976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10977 long arg2 ;
10978 long arg3 ;
10979 wxTextAttr *arg4 = 0 ;
10980 bool result;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
10984 PyObject * obj3 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
10992 {
10993 arg2 = static_cast<long >(SWIG_As_long(obj1));
10994 if (SWIG_arg_fail(2)) SWIG_fail;
10995 }
10996 {
10997 arg3 = static_cast<long >(SWIG_As_long(obj2));
10998 if (SWIG_arg_fail(3)) SWIG_fail;
10999 }
11000 {
11001 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(4)) SWIG_fail;
11003 if (arg4 == NULL) {
11004 SWIG_null_ref("wxTextAttr");
11005 }
11006 if (SWIG_arg_fail(4)) SWIG_fail;
11007 }
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 {
11016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11017 }
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj = NULL;
11026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11027 long arg2 ;
11028 wxTextAttr *arg3 = 0 ;
11029 bool result;
11030 PyObject * obj0 = 0 ;
11031 PyObject * obj1 = 0 ;
11032 PyObject * obj2 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self",(char *) "position",(char *) "style", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
11038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail;
11040 {
11041 arg2 = static_cast<long >(SWIG_As_long(obj1));
11042 if (SWIG_arg_fail(2)) SWIG_fail;
11043 }
11044 {
11045 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11046 if (SWIG_arg_fail(3)) SWIG_fail;
11047 if (arg3 == NULL) {
11048 SWIG_null_ref("wxTextAttr");
11049 }
11050 if (SWIG_arg_fail(3)) SWIG_fail;
11051 }
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (bool)(arg1)->GetStyle(arg2,*arg3);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 {
11060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11061 }
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj = NULL;
11070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11071 wxTextAttr *arg2 = 0 ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
11074 PyObject * obj1 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "style", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
11080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail;
11082 {
11083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11084 if (SWIG_arg_fail(2)) SWIG_fail;
11085 if (arg2 == NULL) {
11086 SWIG_null_ref("wxTextAttr");
11087 }
11088 if (SWIG_arg_fail(2)) SWIG_fail;
11089 }
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj = NULL;
11108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11109 wxTextAttr *result;
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
11116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail;
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 {
11121 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11122 result = (wxTextAttr *) &_result_ref;
11123 }
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj = NULL;
11137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11138 long arg2 ;
11139 long arg3 ;
11140 long result;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self",(char *) "x",(char *) "y", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
11149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11150 if (SWIG_arg_fail(1)) SWIG_fail;
11151 {
11152 arg2 = static_cast<long >(SWIG_As_long(obj1));
11153 if (SWIG_arg_fail(2)) SWIG_fail;
11154 }
11155 {
11156 arg3 = static_cast<long >(SWIG_As_long(obj2));
11157 if (SWIG_arg_fail(3)) SWIG_fail;
11158 }
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167 resultobj = SWIG_From_long(static_cast<long >(result));
11168 }
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj = NULL;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 long arg2 ;
11179 long *arg3 = (long *) 0 ;
11180 long *arg4 = (long *) 0 ;
11181 long temp3 ;
11182 int res3 = 0 ;
11183 long temp4 ;
11184 int res4 = 0 ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self",(char *) "pos", NULL
11189 };
11190
11191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11192 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
11194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail;
11196 {
11197 arg2 = static_cast<long >(SWIG_As_long(obj1));
11198 if (SWIG_arg_fail(2)) SWIG_fail;
11199 }
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 Py_INCREF(Py_None); resultobj = Py_None;
11208 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11209 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11210 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11211 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj = NULL;
11220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11221 long arg2 ;
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "pos", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
11229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail;
11231 {
11232 arg2 = static_cast<long >(SWIG_As_long(obj1));
11233 if (SWIG_arg_fail(2)) SWIG_fail;
11234 }
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->ShowPosition(arg2);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj = NULL;
11251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11252 wxPoint *arg2 = 0 ;
11253 long *arg3 = (long *) 0 ;
11254 long *arg4 = (long *) 0 ;
11255 wxTextCtrlHitTestResult result;
11256 wxPoint temp2 ;
11257 long temp3 ;
11258 int res3 = 0 ;
11259 long temp4 ;
11260 int res4 = 0 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self",(char *) "pt", NULL
11265 };
11266
11267 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11268 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11271 if (SWIG_arg_fail(1)) SWIG_fail;
11272 {
11273 arg2 = &temp2;
11274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_From_int((result));
11284 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11285 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11286 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11287 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj = NULL;
11296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11297 wxPoint *arg2 = 0 ;
11298 long *arg3 = (long *) 0 ;
11299 wxTextCtrlHitTestResult result;
11300 wxPoint temp2 ;
11301 long temp3 ;
11302 int res3 = 0 ;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "pt", NULL
11307 };
11308
11309 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
11314 arg2 = &temp2;
11315 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 resultobj = SWIG_From_int((result));
11325 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11326 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj = NULL;
11335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 (arg1)->Copy();
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 Py_INCREF(Py_None); resultobj = Py_None;
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj = NULL;
11360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11368 if (SWIG_arg_fail(1)) SWIG_fail;
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 (arg1)->Cut();
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj = NULL;
11385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11386 PyObject * obj0 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11393 if (SWIG_arg_fail(1)) SWIG_fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->Paste();
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj = NULL;
11410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11411 bool result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 {
11428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11429 }
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj = NULL;
11438 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11439 bool result;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail;
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 {
11456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11457 }
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj = NULL;
11466 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11467 bool result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail;
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 {
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 }
11486 return resultobj;
11487 fail:
11488 return NULL;
11489 }
11490
11491
11492 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj = NULL;
11494 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11495 PyObject * obj0 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail;
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 (arg1)->Undo();
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 Py_INCREF(Py_None); resultobj = Py_None;
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj = NULL;
11519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 (arg1)->Redo();
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 Py_INCREF(Py_None); resultobj = Py_None;
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj = NULL;
11544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11545 bool result;
11546 PyObject * obj0 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11563 }
11564 return resultobj;
11565 fail:
11566 return NULL;
11567 }
11568
11569
11570 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj = NULL;
11572 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11573 bool result;
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail;
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 {
11590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11591 }
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj = NULL;
11600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11601 long arg2 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self",(char *) "pos", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11610 if (SWIG_arg_fail(1)) SWIG_fail;
11611 {
11612 arg2 = static_cast<long >(SWIG_As_long(obj1));
11613 if (SWIG_arg_fail(2)) SWIG_fail;
11614 }
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetInsertionPoint(arg2);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj = NULL;
11631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11632 PyObject * obj0 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11639 if (SWIG_arg_fail(1)) SWIG_fail;
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetInsertionPointEnd();
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj = NULL;
11656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11657 long result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail;
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 {
11674 resultobj = SWIG_From_long(static_cast<long >(result));
11675 }
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj = NULL;
11684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11685 long result;
11686 PyObject * obj0 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 {
11702 resultobj = SWIG_From_long(static_cast<long >(result));
11703 }
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj = NULL;
11712 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11713 long arg2 ;
11714 long arg3 ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self",(char *) "from",(char *) "to", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11724 if (SWIG_arg_fail(1)) SWIG_fail;
11725 {
11726 arg2 = static_cast<long >(SWIG_As_long(obj1));
11727 if (SWIG_arg_fail(2)) SWIG_fail;
11728 }
11729 {
11730 arg3 = static_cast<long >(SWIG_As_long(obj2));
11731 if (SWIG_arg_fail(3)) SWIG_fail;
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->SetSelection(arg2,arg3);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = NULL;
11749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11750 PyObject * obj0 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail;
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 (arg1)->SelectAll();
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 Py_INCREF(Py_None); resultobj = Py_None;
11766 return resultobj;
11767 fail:
11768 return NULL;
11769 }
11770
11771
11772 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11773 PyObject *resultobj = NULL;
11774 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11775 bool arg2 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self",(char *) "editable", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail;
11785 {
11786 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11787 if (SWIG_arg_fail(2)) SWIG_fail;
11788 }
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 (arg1)->SetEditable(arg2);
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 Py_INCREF(Py_None); resultobj = Py_None;
11797 return resultobj;
11798 fail:
11799 return NULL;
11800 }
11801
11802
11803 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj = NULL;
11805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11806 wxString *arg2 = 0 ;
11807 bool temp2 = false ;
11808 PyObject * obj0 = 0 ;
11809 PyObject * obj1 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self",(char *) "text", NULL
11812 };
11813
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail;
11817 {
11818 arg2 = wxString_in_helper(obj1);
11819 if (arg2 == NULL) SWIG_fail;
11820 temp2 = true;
11821 }
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 Py_INCREF(Py_None); resultobj = Py_None;
11830 {
11831 if (temp2)
11832 delete arg2;
11833 }
11834 return resultobj;
11835 fail:
11836 {
11837 if (temp2)
11838 delete arg2;
11839 }
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj = NULL;
11846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11847 long arg2 ;
11848 long arg3 ;
11849 wxString result;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "from",(char *) "to", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail;
11860 {
11861 arg2 = static_cast<long >(SWIG_As_long(obj1));
11862 if (SWIG_arg_fail(2)) SWIG_fail;
11863 }
11864 {
11865 arg3 = static_cast<long >(SWIG_As_long(obj2));
11866 if (SWIG_arg_fail(3)) SWIG_fail;
11867 }
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 {
11876 #if wxUSE_UNICODE
11877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11878 #else
11879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11880 #endif
11881 }
11882 return resultobj;
11883 fail:
11884 return NULL;
11885 }
11886
11887
11888 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11889 PyObject *resultobj = NULL;
11890 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11891 wxVisualAttributes result;
11892 PyObject * obj0 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "variant", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11898 if (obj0) {
11899 {
11900 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
11901 if (SWIG_arg_fail(1)) SWIG_fail;
11902 }
11903 }
11904 {
11905 if (!wxPyCheckForApp()) SWIG_fail;
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 {
11913 wxVisualAttributes * resultptr;
11914 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
11915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11916 }
11917 return resultobj;
11918 fail:
11919 return NULL;
11920 }
11921
11922
11923 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11924 PyObject *obj;
11925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11927 Py_INCREF(obj);
11928 return Py_BuildValue((char *)"");
11929 }
11930 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj = NULL;
11932 int arg1 ;
11933 wxMouseEvent *arg2 = 0 ;
11934 long arg3 ;
11935 long arg4 ;
11936 wxTextUrlEvent *result;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
11939 PyObject * obj2 = 0 ;
11940 PyObject * obj3 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11946 {
11947 arg1 = static_cast<int >(SWIG_As_int(obj0));
11948 if (SWIG_arg_fail(1)) SWIG_fail;
11949 }
11950 {
11951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11952 if (SWIG_arg_fail(2)) SWIG_fail;
11953 if (arg2 == NULL) {
11954 SWIG_null_ref("wxMouseEvent");
11955 }
11956 if (SWIG_arg_fail(2)) SWIG_fail;
11957 }
11958 {
11959 arg3 = static_cast<long >(SWIG_As_long(obj2));
11960 if (SWIG_arg_fail(3)) SWIG_fail;
11961 }
11962 {
11963 arg4 = static_cast<long >(SWIG_As_long(obj3));
11964 if (SWIG_arg_fail(4)) SWIG_fail;
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11974 return resultobj;
11975 fail:
11976 return NULL;
11977 }
11978
11979
11980 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj = NULL;
11982 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11983 wxMouseEvent *result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 {
11995 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11996 result = (wxMouseEvent *) &_result_ref;
11997 }
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj = NULL;
12011 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12012 long result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 {
12029 resultobj = SWIG_From_long(static_cast<long >(result));
12030 }
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj = NULL;
12039 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12040 long result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057 resultobj = SWIG_From_long(static_cast<long >(result));
12058 }
12059 return resultobj;
12060 fail:
12061 return NULL;
12062 }
12063
12064
12065 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
12066 PyObject *obj;
12067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12068 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12069 Py_INCREF(obj);
12070 return Py_BuildValue((char *)"");
12071 }
12072 static int _wrap_ScrollBarNameStr_set(PyObject *) {
12073 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12074 return 1;
12075 }
12076
12077
12078 static PyObject *_wrap_ScrollBarNameStr_get(void) {
12079 PyObject *pyobj = NULL;
12080
12081 {
12082 #if wxUSE_UNICODE
12083 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12084 #else
12085 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12086 #endif
12087 }
12088 return pyobj;
12089 }
12090
12091
12092 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj = NULL;
12094 wxWindow *arg1 = (wxWindow *) 0 ;
12095 int arg2 = (int) -1 ;
12096 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12097 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12098 wxSize const &arg4_defvalue = wxDefaultSize ;
12099 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12100 long arg5 = (long) wxSB_HORIZONTAL ;
12101 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12102 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12103 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12104 wxString *arg7 = (wxString *) &arg7_defvalue ;
12105 wxScrollBar *result;
12106 wxPoint temp3 ;
12107 wxSize temp4 ;
12108 bool temp7 = false ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 PyObject * obj3 = 0 ;
12113 PyObject * obj4 = 0 ;
12114 PyObject * obj5 = 0 ;
12115 PyObject * obj6 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 if (obj1) {
12124 {
12125 arg2 = static_cast<int >(SWIG_As_int(obj1));
12126 if (SWIG_arg_fail(2)) SWIG_fail;
12127 }
12128 }
12129 if (obj2) {
12130 {
12131 arg3 = &temp3;
12132 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12133 }
12134 }
12135 if (obj3) {
12136 {
12137 arg4 = &temp4;
12138 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12139 }
12140 }
12141 if (obj4) {
12142 {
12143 arg5 = static_cast<long >(SWIG_As_long(obj4));
12144 if (SWIG_arg_fail(5)) SWIG_fail;
12145 }
12146 }
12147 if (obj5) {
12148 {
12149 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12150 if (SWIG_arg_fail(6)) SWIG_fail;
12151 if (arg6 == NULL) {
12152 SWIG_null_ref("wxValidator");
12153 }
12154 if (SWIG_arg_fail(6)) SWIG_fail;
12155 }
12156 }
12157 if (obj6) {
12158 {
12159 arg7 = wxString_in_helper(obj6);
12160 if (arg7 == NULL) SWIG_fail;
12161 temp7 = true;
12162 }
12163 }
12164 {
12165 if (!wxPyCheckForApp()) SWIG_fail;
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12173 {
12174 if (temp7)
12175 delete arg7;
12176 }
12177 return resultobj;
12178 fail:
12179 {
12180 if (temp7)
12181 delete arg7;
12182 }
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj = NULL;
12189 wxScrollBar *result;
12190 char *kwnames[] = {
12191 NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12195 {
12196 if (!wxPyCheckForApp()) SWIG_fail;
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (wxScrollBar *)new wxScrollBar();
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj = NULL;
12212 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12213 wxWindow *arg2 = (wxWindow *) 0 ;
12214 int arg3 = (int) -1 ;
12215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12217 wxSize const &arg5_defvalue = wxDefaultSize ;
12218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12219 long arg6 = (long) wxSB_HORIZONTAL ;
12220 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12221 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12222 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12223 wxString *arg8 = (wxString *) &arg8_defvalue ;
12224 bool result;
12225 wxPoint temp4 ;
12226 wxSize temp5 ;
12227 bool temp8 = false ;
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj1 = 0 ;
12230 PyObject * obj2 = 0 ;
12231 PyObject * obj3 = 0 ;
12232 PyObject * obj4 = 0 ;
12233 PyObject * obj5 = 0 ;
12234 PyObject * obj6 = 0 ;
12235 PyObject * obj7 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(2)) SWIG_fail;
12245 if (obj2) {
12246 {
12247 arg3 = static_cast<int >(SWIG_As_int(obj2));
12248 if (SWIG_arg_fail(3)) SWIG_fail;
12249 }
12250 }
12251 if (obj3) {
12252 {
12253 arg4 = &temp4;
12254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12255 }
12256 }
12257 if (obj4) {
12258 {
12259 arg5 = &temp5;
12260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12261 }
12262 }
12263 if (obj5) {
12264 {
12265 arg6 = static_cast<long >(SWIG_As_long(obj5));
12266 if (SWIG_arg_fail(6)) SWIG_fail;
12267 }
12268 }
12269 if (obj6) {
12270 {
12271 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(7)) SWIG_fail;
12273 if (arg7 == NULL) {
12274 SWIG_null_ref("wxValidator");
12275 }
12276 if (SWIG_arg_fail(7)) SWIG_fail;
12277 }
12278 }
12279 if (obj7) {
12280 {
12281 arg8 = wxString_in_helper(obj7);
12282 if (arg8 == NULL) SWIG_fail;
12283 temp8 = true;
12284 }
12285 }
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12295 }
12296 {
12297 if (temp8)
12298 delete arg8;
12299 }
12300 return resultobj;
12301 fail:
12302 {
12303 if (temp8)
12304 delete arg8;
12305 }
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj = NULL;
12312 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12313 int result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail;
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 {
12330 resultobj = SWIG_From_int(static_cast<int >(result));
12331 }
12332 return resultobj;
12333 fail:
12334 return NULL;
12335 }
12336
12337
12338 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj = NULL;
12340 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12341 int result;
12342 PyObject * obj0 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail;
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12353
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 {
12358 resultobj = SWIG_From_int(static_cast<int >(result));
12359 }
12360 return resultobj;
12361 fail:
12362 return NULL;
12363 }
12364
12365
12366 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj = NULL;
12368 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12369 int result;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12377 if (SWIG_arg_fail(1)) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 {
12386 resultobj = SWIG_From_int(static_cast<int >(result));
12387 }
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj = NULL;
12396 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12397 int result;
12398 PyObject * obj0 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12405 if (SWIG_arg_fail(1)) SWIG_fail;
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 result = (int)((wxScrollBar const *)arg1)->GetRange();
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 {
12414 resultobj = SWIG_From_int(static_cast<int >(result));
12415 }
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj = NULL;
12424 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12425 bool result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 {
12442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12443 }
12444 return resultobj;
12445 fail:
12446 return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj = NULL;
12452 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12453 int arg2 ;
12454 PyObject * obj0 = 0 ;
12455 PyObject * obj1 = 0 ;
12456 char *kwnames[] = {
12457 (char *) "self",(char *) "viewStart", NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12462 if (SWIG_arg_fail(1)) SWIG_fail;
12463 {
12464 arg2 = static_cast<int >(SWIG_As_int(obj1));
12465 if (SWIG_arg_fail(2)) SWIG_fail;
12466 }
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 (arg1)->SetThumbPosition(arg2);
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 Py_INCREF(Py_None); resultobj = Py_None;
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj = NULL;
12483 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12484 int arg2 ;
12485 int arg3 ;
12486 int arg4 ;
12487 int arg5 ;
12488 bool arg6 = (bool) true ;
12489 PyObject * obj0 = 0 ;
12490 PyObject * obj1 = 0 ;
12491 PyObject * obj2 = 0 ;
12492 PyObject * obj3 = 0 ;
12493 PyObject * obj4 = 0 ;
12494 PyObject * obj5 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12501 if (SWIG_arg_fail(1)) SWIG_fail;
12502 {
12503 arg2 = static_cast<int >(SWIG_As_int(obj1));
12504 if (SWIG_arg_fail(2)) SWIG_fail;
12505 }
12506 {
12507 arg3 = static_cast<int >(SWIG_As_int(obj2));
12508 if (SWIG_arg_fail(3)) SWIG_fail;
12509 }
12510 {
12511 arg4 = static_cast<int >(SWIG_As_int(obj3));
12512 if (SWIG_arg_fail(4)) SWIG_fail;
12513 }
12514 {
12515 arg5 = static_cast<int >(SWIG_As_int(obj4));
12516 if (SWIG_arg_fail(5)) SWIG_fail;
12517 }
12518 if (obj5) {
12519 {
12520 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
12521 if (SWIG_arg_fail(6)) SWIG_fail;
12522 }
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 Py_INCREF(Py_None); resultobj = Py_None;
12532 return resultobj;
12533 fail:
12534 return NULL;
12535 }
12536
12537
12538 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj = NULL;
12540 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12541 wxVisualAttributes result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "variant", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12548 if (obj0) {
12549 {
12550 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12551 if (SWIG_arg_fail(1)) SWIG_fail;
12552 }
12553 }
12554 {
12555 if (!wxPyCheckForApp()) SWIG_fail;
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 result = wxScrollBar::GetClassDefaultAttributes(arg1);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 wxVisualAttributes * resultptr;
12564 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12566 }
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12574 PyObject *obj;
12575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12576 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12577 Py_INCREF(obj);
12578 return Py_BuildValue((char *)"");
12579 }
12580 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12581 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12582 return 1;
12583 }
12584
12585
12586 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12587 PyObject *pyobj = NULL;
12588
12589 {
12590 #if wxUSE_UNICODE
12591 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12592 #else
12593 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12594 #endif
12595 }
12596 return pyobj;
12597 }
12598
12599
12600 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12601 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12602 return 1;
12603 }
12604
12605
12606 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12607 PyObject *pyobj = NULL;
12608
12609 {
12610 #if wxUSE_UNICODE
12611 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12612 #else
12613 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12614 #endif
12615 }
12616 return pyobj;
12617 }
12618
12619
12620 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj = NULL;
12622 wxWindow *arg1 = (wxWindow *) 0 ;
12623 int arg2 = (int) -1 ;
12624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12626 wxSize const &arg4_defvalue = wxDefaultSize ;
12627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12628 long arg5 = (long) wxSP_HORIZONTAL ;
12629 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12630 wxString *arg6 = (wxString *) &arg6_defvalue ;
12631 wxSpinButton *result;
12632 wxPoint temp3 ;
12633 wxSize temp4 ;
12634 bool temp6 = false ;
12635 PyObject * obj0 = 0 ;
12636 PyObject * obj1 = 0 ;
12637 PyObject * obj2 = 0 ;
12638 PyObject * obj3 = 0 ;
12639 PyObject * obj4 = 0 ;
12640 PyObject * obj5 = 0 ;
12641 char *kwnames[] = {
12642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12643 };
12644
12645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail;
12648 if (obj1) {
12649 {
12650 arg2 = static_cast<int >(SWIG_As_int(obj1));
12651 if (SWIG_arg_fail(2)) SWIG_fail;
12652 }
12653 }
12654 if (obj2) {
12655 {
12656 arg3 = &temp3;
12657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12658 }
12659 }
12660 if (obj3) {
12661 {
12662 arg4 = &temp4;
12663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12664 }
12665 }
12666 if (obj4) {
12667 {
12668 arg5 = static_cast<long >(SWIG_As_long(obj4));
12669 if (SWIG_arg_fail(5)) SWIG_fail;
12670 }
12671 }
12672 if (obj5) {
12673 {
12674 arg6 = wxString_in_helper(obj5);
12675 if (arg6 == NULL) SWIG_fail;
12676 temp6 = true;
12677 }
12678 }
12679 {
12680 if (!wxPyCheckForApp()) SWIG_fail;
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12688 {
12689 if (temp6)
12690 delete arg6;
12691 }
12692 return resultobj;
12693 fail:
12694 {
12695 if (temp6)
12696 delete arg6;
12697 }
12698 return NULL;
12699 }
12700
12701
12702 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12703 PyObject *resultobj = NULL;
12704 wxSpinButton *result;
12705 char *kwnames[] = {
12706 NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12710 {
12711 if (!wxPyCheckForApp()) SWIG_fail;
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (wxSpinButton *)new wxSpinButton();
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj = NULL;
12727 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12728 wxWindow *arg2 = (wxWindow *) 0 ;
12729 int arg3 = (int) -1 ;
12730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12732 wxSize const &arg5_defvalue = wxDefaultSize ;
12733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12734 long arg6 = (long) wxSP_HORIZONTAL ;
12735 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12736 wxString *arg7 = (wxString *) &arg7_defvalue ;
12737 bool result;
12738 wxPoint temp4 ;
12739 wxSize temp5 ;
12740 bool temp7 = false ;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 PyObject * obj2 = 0 ;
12744 PyObject * obj3 = 0 ;
12745 PyObject * obj4 = 0 ;
12746 PyObject * obj5 = 0 ;
12747 PyObject * obj6 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12754 if (SWIG_arg_fail(1)) SWIG_fail;
12755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12756 if (SWIG_arg_fail(2)) SWIG_fail;
12757 if (obj2) {
12758 {
12759 arg3 = static_cast<int >(SWIG_As_int(obj2));
12760 if (SWIG_arg_fail(3)) SWIG_fail;
12761 }
12762 }
12763 if (obj3) {
12764 {
12765 arg4 = &temp4;
12766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12767 }
12768 }
12769 if (obj4) {
12770 {
12771 arg5 = &temp5;
12772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12773 }
12774 }
12775 if (obj5) {
12776 {
12777 arg6 = static_cast<long >(SWIG_As_long(obj5));
12778 if (SWIG_arg_fail(6)) SWIG_fail;
12779 }
12780 }
12781 if (obj6) {
12782 {
12783 arg7 = wxString_in_helper(obj6);
12784 if (arg7 == NULL) SWIG_fail;
12785 temp7 = true;
12786 }
12787 }
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 {
12796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12797 }
12798 {
12799 if (temp7)
12800 delete arg7;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp7)
12806 delete arg7;
12807 }
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj = NULL;
12814 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12815 int result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (int)((wxSpinButton const *)arg1)->GetValue();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 {
12832 resultobj = SWIG_From_int(static_cast<int >(result));
12833 }
12834 return resultobj;
12835 fail:
12836 return NULL;
12837 }
12838
12839
12840 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj = NULL;
12842 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12843 int result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (int)((wxSpinButton const *)arg1)->GetMin();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 {
12860 resultobj = SWIG_From_int(static_cast<int >(result));
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj = NULL;
12870 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)((wxSpinButton const *)arg1)->GetMax();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 {
12888 resultobj = SWIG_From_int(static_cast<int >(result));
12889 }
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj = NULL;
12898 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12899 int arg2 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self",(char *) "val", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail;
12909 {
12910 arg2 = static_cast<int >(SWIG_As_int(obj1));
12911 if (SWIG_arg_fail(2)) SWIG_fail;
12912 }
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->SetValue(arg2);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj = NULL;
12929 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12930 int arg2 ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "minVal", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail;
12940 {
12941 arg2 = static_cast<int >(SWIG_As_int(obj1));
12942 if (SWIG_arg_fail(2)) SWIG_fail;
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetMin(arg2);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj = NULL;
12960 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12961 int arg2 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "maxVal", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail;
12971 {
12972 arg2 = static_cast<int >(SWIG_As_int(obj1));
12973 if (SWIG_arg_fail(2)) SWIG_fail;
12974 }
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 (arg1)->SetMax(arg2);
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 Py_INCREF(Py_None); resultobj = Py_None;
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj = NULL;
12991 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12992 int arg2 ;
12993 int arg3 ;
12994 PyObject * obj0 = 0 ;
12995 PyObject * obj1 = 0 ;
12996 PyObject * obj2 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13003 if (SWIG_arg_fail(1)) SWIG_fail;
13004 {
13005 arg2 = static_cast<int >(SWIG_As_int(obj1));
13006 if (SWIG_arg_fail(2)) SWIG_fail;
13007 }
13008 {
13009 arg3 = static_cast<int >(SWIG_As_int(obj2));
13010 if (SWIG_arg_fail(3)) SWIG_fail;
13011 }
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 (arg1)->SetRange(arg2,arg3);
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 Py_INCREF(Py_None); resultobj = Py_None;
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj = NULL;
13028 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13029 bool result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
13036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail;
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 {
13046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13047 }
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj = NULL;
13056 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13057 wxVisualAttributes result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "variant", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13064 if (obj0) {
13065 {
13066 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13067 if (SWIG_arg_fail(1)) SWIG_fail;
13068 }
13069 }
13070 {
13071 if (!wxPyCheckForApp()) SWIG_fail;
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = wxSpinButton::GetClassDefaultAttributes(arg1);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079 wxVisualAttributes * resultptr;
13080 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13082 }
13083 return resultobj;
13084 fail:
13085 return NULL;
13086 }
13087
13088
13089 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
13090 PyObject *obj;
13091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13092 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13093 Py_INCREF(obj);
13094 return Py_BuildValue((char *)"");
13095 }
13096 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj = NULL;
13098 wxWindow *arg1 = (wxWindow *) 0 ;
13099 int arg2 = (int) -1 ;
13100 wxString const &arg3_defvalue = wxPyEmptyString ;
13101 wxString *arg3 = (wxString *) &arg3_defvalue ;
13102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13104 wxSize const &arg5_defvalue = wxDefaultSize ;
13105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13106 long arg6 = (long) wxSP_ARROW_KEYS ;
13107 int arg7 = (int) 0 ;
13108 int arg8 = (int) 100 ;
13109 int arg9 = (int) 0 ;
13110 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13111 wxString *arg10 = (wxString *) &arg10_defvalue ;
13112 wxSpinCtrl *result;
13113 bool temp3 = false ;
13114 wxPoint temp4 ;
13115 wxSize temp5 ;
13116 bool temp10 = false ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 PyObject * obj2 = 0 ;
13120 PyObject * obj3 = 0 ;
13121 PyObject * obj4 = 0 ;
13122 PyObject * obj5 = 0 ;
13123 PyObject * obj6 = 0 ;
13124 PyObject * obj7 = 0 ;
13125 PyObject * obj8 = 0 ;
13126 PyObject * obj9 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail;
13134 if (obj1) {
13135 {
13136 arg2 = static_cast<int >(SWIG_As_int(obj1));
13137 if (SWIG_arg_fail(2)) SWIG_fail;
13138 }
13139 }
13140 if (obj2) {
13141 {
13142 arg3 = wxString_in_helper(obj2);
13143 if (arg3 == NULL) SWIG_fail;
13144 temp3 = true;
13145 }
13146 }
13147 if (obj3) {
13148 {
13149 arg4 = &temp4;
13150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13151 }
13152 }
13153 if (obj4) {
13154 {
13155 arg5 = &temp5;
13156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13157 }
13158 }
13159 if (obj5) {
13160 {
13161 arg6 = static_cast<long >(SWIG_As_long(obj5));
13162 if (SWIG_arg_fail(6)) SWIG_fail;
13163 }
13164 }
13165 if (obj6) {
13166 {
13167 arg7 = static_cast<int >(SWIG_As_int(obj6));
13168 if (SWIG_arg_fail(7)) SWIG_fail;
13169 }
13170 }
13171 if (obj7) {
13172 {
13173 arg8 = static_cast<int >(SWIG_As_int(obj7));
13174 if (SWIG_arg_fail(8)) SWIG_fail;
13175 }
13176 }
13177 if (obj8) {
13178 {
13179 arg9 = static_cast<int >(SWIG_As_int(obj8));
13180 if (SWIG_arg_fail(9)) SWIG_fail;
13181 }
13182 }
13183 if (obj9) {
13184 {
13185 arg10 = wxString_in_helper(obj9);
13186 if (arg10 == NULL) SWIG_fail;
13187 temp10 = true;
13188 }
13189 }
13190 {
13191 if (!wxPyCheckForApp()) SWIG_fail;
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13194
13195 wxPyEndAllowThreads(__tstate);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 }
13198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13199 {
13200 if (temp3)
13201 delete arg3;
13202 }
13203 {
13204 if (temp10)
13205 delete arg10;
13206 }
13207 return resultobj;
13208 fail:
13209 {
13210 if (temp3)
13211 delete arg3;
13212 }
13213 {
13214 if (temp10)
13215 delete arg10;
13216 }
13217 return NULL;
13218 }
13219
13220
13221 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj = NULL;
13223 wxSpinCtrl *result;
13224 char *kwnames[] = {
13225 NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13229 {
13230 if (!wxPyCheckForApp()) SWIG_fail;
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (wxSpinCtrl *)new wxSpinCtrl();
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj = NULL;
13246 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13247 wxWindow *arg2 = (wxWindow *) 0 ;
13248 int arg3 = (int) -1 ;
13249 wxString const &arg4_defvalue = wxPyEmptyString ;
13250 wxString *arg4 = (wxString *) &arg4_defvalue ;
13251 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13252 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13253 wxSize const &arg6_defvalue = wxDefaultSize ;
13254 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13255 long arg7 = (long) wxSP_ARROW_KEYS ;
13256 int arg8 = (int) 0 ;
13257 int arg9 = (int) 100 ;
13258 int arg10 = (int) 0 ;
13259 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13260 wxString *arg11 = (wxString *) &arg11_defvalue ;
13261 bool result;
13262 bool temp4 = false ;
13263 wxPoint temp5 ;
13264 wxSize temp6 ;
13265 bool temp11 = false ;
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
13268 PyObject * obj2 = 0 ;
13269 PyObject * obj3 = 0 ;
13270 PyObject * obj4 = 0 ;
13271 PyObject * obj5 = 0 ;
13272 PyObject * obj6 = 0 ;
13273 PyObject * obj7 = 0 ;
13274 PyObject * obj8 = 0 ;
13275 PyObject * obj9 = 0 ;
13276 PyObject * obj10 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail;
13284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13285 if (SWIG_arg_fail(2)) SWIG_fail;
13286 if (obj2) {
13287 {
13288 arg3 = static_cast<int >(SWIG_As_int(obj2));
13289 if (SWIG_arg_fail(3)) SWIG_fail;
13290 }
13291 }
13292 if (obj3) {
13293 {
13294 arg4 = wxString_in_helper(obj3);
13295 if (arg4 == NULL) SWIG_fail;
13296 temp4 = true;
13297 }
13298 }
13299 if (obj4) {
13300 {
13301 arg5 = &temp5;
13302 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13303 }
13304 }
13305 if (obj5) {
13306 {
13307 arg6 = &temp6;
13308 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13309 }
13310 }
13311 if (obj6) {
13312 {
13313 arg7 = static_cast<long >(SWIG_As_long(obj6));
13314 if (SWIG_arg_fail(7)) SWIG_fail;
13315 }
13316 }
13317 if (obj7) {
13318 {
13319 arg8 = static_cast<int >(SWIG_As_int(obj7));
13320 if (SWIG_arg_fail(8)) SWIG_fail;
13321 }
13322 }
13323 if (obj8) {
13324 {
13325 arg9 = static_cast<int >(SWIG_As_int(obj8));
13326 if (SWIG_arg_fail(9)) SWIG_fail;
13327 }
13328 }
13329 if (obj9) {
13330 {
13331 arg10 = static_cast<int >(SWIG_As_int(obj9));
13332 if (SWIG_arg_fail(10)) SWIG_fail;
13333 }
13334 }
13335 if (obj10) {
13336 {
13337 arg11 = wxString_in_helper(obj10);
13338 if (arg11 == NULL) SWIG_fail;
13339 temp11 = true;
13340 }
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 {
13350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13351 }
13352 {
13353 if (temp4)
13354 delete arg4;
13355 }
13356 {
13357 if (temp11)
13358 delete arg11;
13359 }
13360 return resultobj;
13361 fail:
13362 {
13363 if (temp4)
13364 delete arg4;
13365 }
13366 {
13367 if (temp11)
13368 delete arg11;
13369 }
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj = NULL;
13376 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13377 int result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 {
13394 resultobj = SWIG_From_int(static_cast<int >(result));
13395 }
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj = NULL;
13404 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13405 int arg2 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self",(char *) "value", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail;
13415 {
13416 arg2 = static_cast<int >(SWIG_As_int(obj1));
13417 if (SWIG_arg_fail(2)) SWIG_fail;
13418 }
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 (arg1)->SetValue(arg2);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 Py_INCREF(Py_None); resultobj = Py_None;
13427 return resultobj;
13428 fail:
13429 return NULL;
13430 }
13431
13432
13433 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj = NULL;
13435 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13436 wxString *arg2 = 0 ;
13437 bool temp2 = false ;
13438 PyObject * obj0 = 0 ;
13439 PyObject * obj1 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self",(char *) "text", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail;
13447 {
13448 arg2 = wxString_in_helper(obj1);
13449 if (arg2 == NULL) SWIG_fail;
13450 temp2 = true;
13451 }
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 (arg1)->SetValue((wxString const &)*arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 Py_INCREF(Py_None); resultobj = Py_None;
13460 {
13461 if (temp2)
13462 delete arg2;
13463 }
13464 return resultobj;
13465 fail:
13466 {
13467 if (temp2)
13468 delete arg2;
13469 }
13470 return NULL;
13471 }
13472
13473
13474 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj = NULL;
13476 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13477 int arg2 ;
13478 int arg3 ;
13479 PyObject * obj0 = 0 ;
13480 PyObject * obj1 = 0 ;
13481 PyObject * obj2 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13488 if (SWIG_arg_fail(1)) SWIG_fail;
13489 {
13490 arg2 = static_cast<int >(SWIG_As_int(obj1));
13491 if (SWIG_arg_fail(2)) SWIG_fail;
13492 }
13493 {
13494 arg3 = static_cast<int >(SWIG_As_int(obj2));
13495 if (SWIG_arg_fail(3)) SWIG_fail;
13496 }
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 (arg1)->SetRange(arg2,arg3);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 Py_INCREF(Py_None); resultobj = Py_None;
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj = NULL;
13513 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13514 int result;
13515 PyObject * obj0 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13522 if (SWIG_arg_fail(1)) SWIG_fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 {
13531 resultobj = SWIG_From_int(static_cast<int >(result));
13532 }
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj = NULL;
13541 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13542 int result;
13543 PyObject * obj0 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail;
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 {
13559 resultobj = SWIG_From_int(static_cast<int >(result));
13560 }
13561 return resultobj;
13562 fail:
13563 return NULL;
13564 }
13565
13566
13567 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13568 PyObject *resultobj = NULL;
13569 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13570 long arg2 ;
13571 long arg3 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 PyObject * obj2 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self",(char *) "from",(char *) "to", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13581 if (SWIG_arg_fail(1)) SWIG_fail;
13582 {
13583 arg2 = static_cast<long >(SWIG_As_long(obj1));
13584 if (SWIG_arg_fail(2)) SWIG_fail;
13585 }
13586 {
13587 arg3 = static_cast<long >(SWIG_As_long(obj2));
13588 if (SWIG_arg_fail(3)) SWIG_fail;
13589 }
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 (arg1)->SetSelection(arg2,arg3);
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 Py_INCREF(Py_None); resultobj = Py_None;
13598 return resultobj;
13599 fail:
13600 return NULL;
13601 }
13602
13603
13604 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj = NULL;
13606 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13607 wxVisualAttributes result;
13608 PyObject * obj0 = 0 ;
13609 char *kwnames[] = {
13610 (char *) "variant", NULL
13611 };
13612
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13614 if (obj0) {
13615 {
13616 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13617 if (SWIG_arg_fail(1)) SWIG_fail;
13618 }
13619 }
13620 {
13621 if (!wxPyCheckForApp()) SWIG_fail;
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 {
13629 wxVisualAttributes * resultptr;
13630 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13632 }
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13640 PyObject *obj;
13641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13643 Py_INCREF(obj);
13644 return Py_BuildValue((char *)"");
13645 }
13646 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj = NULL;
13648 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13649 int arg2 = (int) 0 ;
13650 wxSpinEvent *result;
13651 PyObject * obj0 = 0 ;
13652 PyObject * obj1 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "commandType",(char *) "winid", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13658 if (obj0) {
13659 {
13660 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13661 if (SWIG_arg_fail(1)) SWIG_fail;
13662 }
13663 }
13664 if (obj1) {
13665 {
13666 arg2 = static_cast<int >(SWIG_As_int(obj1));
13667 if (SWIG_arg_fail(2)) SWIG_fail;
13668 }
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj = NULL;
13686 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13687 int result;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13695 if (SWIG_arg_fail(1)) SWIG_fail;
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 {
13704 resultobj = SWIG_From_int(static_cast<int >(result));
13705 }
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj = NULL;
13714 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13715 int arg2 ;
13716 PyObject * obj0 = 0 ;
13717 PyObject * obj1 = 0 ;
13718 char *kwnames[] = {
13719 (char *) "self",(char *) "pos", NULL
13720 };
13721
13722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13724 if (SWIG_arg_fail(1)) SWIG_fail;
13725 {
13726 arg2 = static_cast<int >(SWIG_As_int(obj1));
13727 if (SWIG_arg_fail(2)) SWIG_fail;
13728 }
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetPosition(arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13744 PyObject *obj;
13745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13747 Py_INCREF(obj);
13748 return Py_BuildValue((char *)"");
13749 }
13750 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13751 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13752 return 1;
13753 }
13754
13755
13756 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13757 PyObject *pyobj = NULL;
13758
13759 {
13760 #if wxUSE_UNICODE
13761 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13762 #else
13763 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13764 #endif
13765 }
13766 return pyobj;
13767 }
13768
13769
13770 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13771 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13772 return 1;
13773 }
13774
13775
13776 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13777 PyObject *pyobj = NULL;
13778
13779 {
13780 #if wxUSE_UNICODE
13781 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13782 #else
13783 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13784 #endif
13785 }
13786 return pyobj;
13787 }
13788
13789
13790 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj = NULL;
13792 wxWindow *arg1 = (wxWindow *) 0 ;
13793 int arg2 = (int) -1 ;
13794 wxString const &arg3_defvalue = wxPyEmptyString ;
13795 wxString *arg3 = (wxString *) &arg3_defvalue ;
13796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13798 wxSize const &arg5_defvalue = wxDefaultSize ;
13799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13800 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13801 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13802 int arg7 = (int) 0 ;
13803 long arg8 = (long) wxRA_HORIZONTAL ;
13804 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13805 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13806 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13807 wxString *arg10 = (wxString *) &arg10_defvalue ;
13808 wxRadioBox *result;
13809 bool temp3 = false ;
13810 wxPoint temp4 ;
13811 wxSize temp5 ;
13812 bool temp6 = false ;
13813 bool temp10 = false ;
13814 PyObject * obj0 = 0 ;
13815 PyObject * obj1 = 0 ;
13816 PyObject * obj2 = 0 ;
13817 PyObject * obj3 = 0 ;
13818 PyObject * obj4 = 0 ;
13819 PyObject * obj5 = 0 ;
13820 PyObject * obj6 = 0 ;
13821 PyObject * obj7 = 0 ;
13822 PyObject * obj8 = 0 ;
13823 PyObject * obj9 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13830 if (SWIG_arg_fail(1)) SWIG_fail;
13831 if (obj1) {
13832 {
13833 arg2 = static_cast<int >(SWIG_As_int(obj1));
13834 if (SWIG_arg_fail(2)) SWIG_fail;
13835 }
13836 }
13837 if (obj2) {
13838 {
13839 arg3 = wxString_in_helper(obj2);
13840 if (arg3 == NULL) SWIG_fail;
13841 temp3 = true;
13842 }
13843 }
13844 if (obj3) {
13845 {
13846 arg4 = &temp4;
13847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13848 }
13849 }
13850 if (obj4) {
13851 {
13852 arg5 = &temp5;
13853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13854 }
13855 }
13856 if (obj5) {
13857 {
13858 if (! PySequence_Check(obj5)) {
13859 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13860 SWIG_fail;
13861 }
13862 arg6 = new wxArrayString;
13863 temp6 = true;
13864 int i, len=PySequence_Length(obj5);
13865 for (i=0; i<len; i++) {
13866 PyObject* item = PySequence_GetItem(obj5, i);
13867 wxString* s = wxString_in_helper(item);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 arg6->Add(*s);
13870 delete s;
13871 Py_DECREF(item);
13872 }
13873 }
13874 }
13875 if (obj6) {
13876 {
13877 arg7 = static_cast<int >(SWIG_As_int(obj6));
13878 if (SWIG_arg_fail(7)) SWIG_fail;
13879 }
13880 }
13881 if (obj7) {
13882 {
13883 arg8 = static_cast<long >(SWIG_As_long(obj7));
13884 if (SWIG_arg_fail(8)) SWIG_fail;
13885 }
13886 }
13887 if (obj8) {
13888 {
13889 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13890 if (SWIG_arg_fail(9)) SWIG_fail;
13891 if (arg9 == NULL) {
13892 SWIG_null_ref("wxValidator");
13893 }
13894 if (SWIG_arg_fail(9)) SWIG_fail;
13895 }
13896 }
13897 if (obj9) {
13898 {
13899 arg10 = wxString_in_helper(obj9);
13900 if (arg10 == NULL) SWIG_fail;
13901 temp10 = true;
13902 }
13903 }
13904 {
13905 if (!wxPyCheckForApp()) SWIG_fail;
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 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);
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13913 {
13914 if (temp3)
13915 delete arg3;
13916 }
13917 {
13918 if (temp6) delete arg6;
13919 }
13920 {
13921 if (temp10)
13922 delete arg10;
13923 }
13924 return resultobj;
13925 fail:
13926 {
13927 if (temp3)
13928 delete arg3;
13929 }
13930 {
13931 if (temp6) delete arg6;
13932 }
13933 {
13934 if (temp10)
13935 delete arg10;
13936 }
13937 return NULL;
13938 }
13939
13940
13941 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj = NULL;
13943 wxRadioBox *result;
13944 char *kwnames[] = {
13945 NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13949 {
13950 if (!wxPyCheckForApp()) SWIG_fail;
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (wxRadioBox *)new wxRadioBox();
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13958 return resultobj;
13959 fail:
13960 return NULL;
13961 }
13962
13963
13964 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13965 PyObject *resultobj = NULL;
13966 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13967 wxWindow *arg2 = (wxWindow *) 0 ;
13968 int arg3 = (int) -1 ;
13969 wxString const &arg4_defvalue = wxPyEmptyString ;
13970 wxString *arg4 = (wxString *) &arg4_defvalue ;
13971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13973 wxSize const &arg6_defvalue = wxDefaultSize ;
13974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13975 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13976 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13977 int arg8 = (int) 0 ;
13978 long arg9 = (long) wxRA_HORIZONTAL ;
13979 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13980 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13981 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13982 wxString *arg11 = (wxString *) &arg11_defvalue ;
13983 bool result;
13984 bool temp4 = false ;
13985 wxPoint temp5 ;
13986 wxSize temp6 ;
13987 bool temp7 = false ;
13988 bool temp11 = false ;
13989 PyObject * obj0 = 0 ;
13990 PyObject * obj1 = 0 ;
13991 PyObject * obj2 = 0 ;
13992 PyObject * obj3 = 0 ;
13993 PyObject * obj4 = 0 ;
13994 PyObject * obj5 = 0 ;
13995 PyObject * obj6 = 0 ;
13996 PyObject * obj7 = 0 ;
13997 PyObject * obj8 = 0 ;
13998 PyObject * obj9 = 0 ;
13999 PyObject * obj10 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail;
14007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14008 if (SWIG_arg_fail(2)) SWIG_fail;
14009 if (obj2) {
14010 {
14011 arg3 = static_cast<int >(SWIG_As_int(obj2));
14012 if (SWIG_arg_fail(3)) SWIG_fail;
14013 }
14014 }
14015 if (obj3) {
14016 {
14017 arg4 = wxString_in_helper(obj3);
14018 if (arg4 == NULL) SWIG_fail;
14019 temp4 = true;
14020 }
14021 }
14022 if (obj4) {
14023 {
14024 arg5 = &temp5;
14025 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14026 }
14027 }
14028 if (obj5) {
14029 {
14030 arg6 = &temp6;
14031 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14032 }
14033 }
14034 if (obj6) {
14035 {
14036 if (! PySequence_Check(obj6)) {
14037 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14038 SWIG_fail;
14039 }
14040 arg7 = new wxArrayString;
14041 temp7 = true;
14042 int i, len=PySequence_Length(obj6);
14043 for (i=0; i<len; i++) {
14044 PyObject* item = PySequence_GetItem(obj6, i);
14045 wxString* s = wxString_in_helper(item);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 arg7->Add(*s);
14048 delete s;
14049 Py_DECREF(item);
14050 }
14051 }
14052 }
14053 if (obj7) {
14054 {
14055 arg8 = static_cast<int >(SWIG_As_int(obj7));
14056 if (SWIG_arg_fail(8)) SWIG_fail;
14057 }
14058 }
14059 if (obj8) {
14060 {
14061 arg9 = static_cast<long >(SWIG_As_long(obj8));
14062 if (SWIG_arg_fail(9)) SWIG_fail;
14063 }
14064 }
14065 if (obj9) {
14066 {
14067 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14068 if (SWIG_arg_fail(10)) SWIG_fail;
14069 if (arg10 == NULL) {
14070 SWIG_null_ref("wxValidator");
14071 }
14072 if (SWIG_arg_fail(10)) SWIG_fail;
14073 }
14074 }
14075 if (obj10) {
14076 {
14077 arg11 = wxString_in_helper(obj10);
14078 if (arg11 == NULL) SWIG_fail;
14079 temp11 = true;
14080 }
14081 }
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 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);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14091 }
14092 {
14093 if (temp4)
14094 delete arg4;
14095 }
14096 {
14097 if (temp7) delete arg7;
14098 }
14099 {
14100 if (temp11)
14101 delete arg11;
14102 }
14103 return resultobj;
14104 fail:
14105 {
14106 if (temp4)
14107 delete arg4;
14108 }
14109 {
14110 if (temp7) delete arg7;
14111 }
14112 {
14113 if (temp11)
14114 delete arg11;
14115 }
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj = NULL;
14122 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14123 int arg2 ;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "n", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14132 if (SWIG_arg_fail(1)) SWIG_fail;
14133 {
14134 arg2 = static_cast<int >(SWIG_As_int(obj1));
14135 if (SWIG_arg_fail(2)) SWIG_fail;
14136 }
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 (arg1)->SetSelection(arg2);
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 Py_INCREF(Py_None); resultobj = Py_None;
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj = NULL;
14153 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14154 int result;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
14161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail;
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 {
14171 resultobj = SWIG_From_int(static_cast<int >(result));
14172 }
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj = NULL;
14181 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14182 wxString result;
14183 PyObject * obj0 = 0 ;
14184 char *kwnames[] = {
14185 (char *) "self", NULL
14186 };
14187
14188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
14189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail;
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 {
14199 #if wxUSE_UNICODE
14200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14201 #else
14202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14203 #endif
14204 }
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj = NULL;
14213 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14214 wxString *arg2 = 0 ;
14215 bool result;
14216 bool temp2 = false ;
14217 PyObject * obj0 = 0 ;
14218 PyObject * obj1 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self",(char *) "s", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail;
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
14229 temp2 = true;
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 {
14239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14240 }
14241 {
14242 if (temp2)
14243 delete arg2;
14244 }
14245 return resultobj;
14246 fail:
14247 {
14248 if (temp2)
14249 delete arg2;
14250 }
14251 return NULL;
14252 }
14253
14254
14255 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14256 PyObject *resultobj = NULL;
14257 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14258 int result;
14259 PyObject * obj0 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail;
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = (int)((wxRadioBox const *)arg1)->GetCount();
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 {
14275 resultobj = SWIG_From_int(static_cast<int >(result));
14276 }
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = NULL;
14285 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14286 wxString *arg2 = 0 ;
14287 int result;
14288 bool temp2 = false ;
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "s", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail;
14298 {
14299 arg2 = wxString_in_helper(obj1);
14300 if (arg2 == NULL) SWIG_fail;
14301 temp2 = true;
14302 }
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 {
14311 resultobj = SWIG_From_int(static_cast<int >(result));
14312 }
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 return resultobj;
14318 fail:
14319 {
14320 if (temp2)
14321 delete arg2;
14322 }
14323 return NULL;
14324 }
14325
14326
14327 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj = NULL;
14329 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14330 int arg2 ;
14331 wxString result;
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "self",(char *) "n", NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14340 if (SWIG_arg_fail(1)) SWIG_fail;
14341 {
14342 arg2 = static_cast<int >(SWIG_As_int(obj1));
14343 if (SWIG_arg_fail(2)) SWIG_fail;
14344 }
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 {
14353 #if wxUSE_UNICODE
14354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14355 #else
14356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14357 #endif
14358 }
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = NULL;
14367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14368 int arg2 ;
14369 wxString *arg3 = 0 ;
14370 bool temp3 = false ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "n",(char *) "label", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail;
14381 {
14382 arg2 = static_cast<int >(SWIG_As_int(obj1));
14383 if (SWIG_arg_fail(2)) SWIG_fail;
14384 }
14385 {
14386 arg3 = wxString_in_helper(obj2);
14387 if (arg3 == NULL) SWIG_fail;
14388 temp3 = true;
14389 }
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->SetString(arg2,(wxString const &)*arg3);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 {
14399 if (temp3)
14400 delete arg3;
14401 }
14402 return resultobj;
14403 fail:
14404 {
14405 if (temp3)
14406 delete arg3;
14407 }
14408 return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj = NULL;
14414 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14415 int arg2 ;
14416 bool arg3 = (bool) true ;
14417 PyObject * obj0 = 0 ;
14418 PyObject * obj1 = 0 ;
14419 PyObject * obj2 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self",(char *) "n",(char *) "enable", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail;
14427 {
14428 arg2 = static_cast<int >(SWIG_As_int(obj1));
14429 if (SWIG_arg_fail(2)) SWIG_fail;
14430 }
14431 if (obj2) {
14432 {
14433 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14434 if (SWIG_arg_fail(3)) SWIG_fail;
14435 }
14436 }
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 (arg1)->Enable(arg2,arg3);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 Py_INCREF(Py_None); resultobj = Py_None;
14445 return resultobj;
14446 fail:
14447 return NULL;
14448 }
14449
14450
14451 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj = NULL;
14453 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14454 int arg2 ;
14455 bool arg3 = (bool) true ;
14456 PyObject * obj0 = 0 ;
14457 PyObject * obj1 = 0 ;
14458 PyObject * obj2 = 0 ;
14459 char *kwnames[] = {
14460 (char *) "self",(char *) "n",(char *) "show", NULL
14461 };
14462
14463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14465 if (SWIG_arg_fail(1)) SWIG_fail;
14466 {
14467 arg2 = static_cast<int >(SWIG_As_int(obj1));
14468 if (SWIG_arg_fail(2)) SWIG_fail;
14469 }
14470 if (obj2) {
14471 {
14472 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14473 if (SWIG_arg_fail(3)) SWIG_fail;
14474 }
14475 }
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 (arg1)->Show(arg2,arg3);
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 Py_INCREF(Py_None); resultobj = Py_None;
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj = NULL;
14492 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14493 int result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 resultobj = SWIG_From_int(static_cast<int >(result));
14511 }
14512 return resultobj;
14513 fail:
14514 return NULL;
14515 }
14516
14517
14518 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14519 PyObject *resultobj = NULL;
14520 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14521 int result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail;
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14533
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
14537 {
14538 resultobj = SWIG_From_int(static_cast<int >(result));
14539 }
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj = NULL;
14548 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14549 int arg2 ;
14550 wxDirection arg3 ;
14551 long arg4 ;
14552 int result;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 PyObject * obj3 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
14565 arg2 = static_cast<int >(SWIG_As_int(obj1));
14566 if (SWIG_arg_fail(2)) SWIG_fail;
14567 }
14568 {
14569 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
14570 if (SWIG_arg_fail(3)) SWIG_fail;
14571 }
14572 {
14573 arg4 = static_cast<long >(SWIG_As_long(obj3));
14574 if (SWIG_arg_fail(4)) SWIG_fail;
14575 }
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,arg3,arg4);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 {
14584 resultobj = SWIG_From_int(static_cast<int >(result));
14585 }
14586 return resultobj;
14587 fail:
14588 return NULL;
14589 }
14590
14591
14592 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14593 PyObject *resultobj = NULL;
14594 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14595 wxVisualAttributes result;
14596 PyObject * obj0 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "variant", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14602 if (obj0) {
14603 {
14604 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14605 if (SWIG_arg_fail(1)) SWIG_fail;
14606 }
14607 }
14608 {
14609 if (!wxPyCheckForApp()) SWIG_fail;
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = wxRadioBox::GetClassDefaultAttributes(arg1);
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 {
14617 wxVisualAttributes * resultptr;
14618 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14620 }
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14628 PyObject *obj;
14629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14630 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14631 Py_INCREF(obj);
14632 return Py_BuildValue((char *)"");
14633 }
14634 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj = NULL;
14636 wxWindow *arg1 = (wxWindow *) 0 ;
14637 int arg2 = (int) -1 ;
14638 wxString const &arg3_defvalue = wxPyEmptyString ;
14639 wxString *arg3 = (wxString *) &arg3_defvalue ;
14640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14642 wxSize const &arg5_defvalue = wxDefaultSize ;
14643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14644 long arg6 = (long) 0 ;
14645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14647 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14648 wxString *arg8 = (wxString *) &arg8_defvalue ;
14649 wxRadioButton *result;
14650 bool temp3 = false ;
14651 wxPoint temp4 ;
14652 wxSize temp5 ;
14653 bool temp8 = false ;
14654 PyObject * obj0 = 0 ;
14655 PyObject * obj1 = 0 ;
14656 PyObject * obj2 = 0 ;
14657 PyObject * obj3 = 0 ;
14658 PyObject * obj4 = 0 ;
14659 PyObject * obj5 = 0 ;
14660 PyObject * obj6 = 0 ;
14661 PyObject * obj7 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail;
14669 if (obj1) {
14670 {
14671 arg2 = static_cast<int >(SWIG_As_int(obj1));
14672 if (SWIG_arg_fail(2)) SWIG_fail;
14673 }
14674 }
14675 if (obj2) {
14676 {
14677 arg3 = wxString_in_helper(obj2);
14678 if (arg3 == NULL) SWIG_fail;
14679 temp3 = true;
14680 }
14681 }
14682 if (obj3) {
14683 {
14684 arg4 = &temp4;
14685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14686 }
14687 }
14688 if (obj4) {
14689 {
14690 arg5 = &temp5;
14691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14692 }
14693 }
14694 if (obj5) {
14695 {
14696 arg6 = static_cast<long >(SWIG_As_long(obj5));
14697 if (SWIG_arg_fail(6)) SWIG_fail;
14698 }
14699 }
14700 if (obj6) {
14701 {
14702 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14703 if (SWIG_arg_fail(7)) SWIG_fail;
14704 if (arg7 == NULL) {
14705 SWIG_null_ref("wxValidator");
14706 }
14707 if (SWIG_arg_fail(7)) SWIG_fail;
14708 }
14709 }
14710 if (obj7) {
14711 {
14712 arg8 = wxString_in_helper(obj7);
14713 if (arg8 == NULL) SWIG_fail;
14714 temp8 = true;
14715 }
14716 }
14717 {
14718 if (!wxPyCheckForApp()) SWIG_fail;
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14726 {
14727 if (temp3)
14728 delete arg3;
14729 }
14730 {
14731 if (temp8)
14732 delete arg8;
14733 }
14734 return resultobj;
14735 fail:
14736 {
14737 if (temp3)
14738 delete arg3;
14739 }
14740 {
14741 if (temp8)
14742 delete arg8;
14743 }
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj = NULL;
14750 wxRadioButton *result;
14751 char *kwnames[] = {
14752 NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14756 {
14757 if (!wxPyCheckForApp()) SWIG_fail;
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (wxRadioButton *)new wxRadioButton();
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj = NULL;
14773 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14774 wxWindow *arg2 = (wxWindow *) 0 ;
14775 int arg3 = (int) -1 ;
14776 wxString const &arg4_defvalue = wxPyEmptyString ;
14777 wxString *arg4 = (wxString *) &arg4_defvalue ;
14778 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14779 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14780 wxSize const &arg6_defvalue = wxDefaultSize ;
14781 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14782 long arg7 = (long) 0 ;
14783 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14784 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14785 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14786 wxString *arg9 = (wxString *) &arg9_defvalue ;
14787 bool result;
14788 bool temp4 = false ;
14789 wxPoint temp5 ;
14790 wxSize temp6 ;
14791 bool temp9 = false ;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 PyObject * obj2 = 0 ;
14795 PyObject * obj3 = 0 ;
14796 PyObject * obj4 = 0 ;
14797 PyObject * obj5 = 0 ;
14798 PyObject * obj6 = 0 ;
14799 PyObject * obj7 = 0 ;
14800 PyObject * obj8 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
14808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14809 if (SWIG_arg_fail(2)) SWIG_fail;
14810 if (obj2) {
14811 {
14812 arg3 = static_cast<int >(SWIG_As_int(obj2));
14813 if (SWIG_arg_fail(3)) SWIG_fail;
14814 }
14815 }
14816 if (obj3) {
14817 {
14818 arg4 = wxString_in_helper(obj3);
14819 if (arg4 == NULL) SWIG_fail;
14820 temp4 = true;
14821 }
14822 }
14823 if (obj4) {
14824 {
14825 arg5 = &temp5;
14826 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14827 }
14828 }
14829 if (obj5) {
14830 {
14831 arg6 = &temp6;
14832 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14833 }
14834 }
14835 if (obj6) {
14836 {
14837 arg7 = static_cast<long >(SWIG_As_long(obj6));
14838 if (SWIG_arg_fail(7)) SWIG_fail;
14839 }
14840 }
14841 if (obj7) {
14842 {
14843 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14844 if (SWIG_arg_fail(8)) SWIG_fail;
14845 if (arg8 == NULL) {
14846 SWIG_null_ref("wxValidator");
14847 }
14848 if (SWIG_arg_fail(8)) SWIG_fail;
14849 }
14850 }
14851 if (obj8) {
14852 {
14853 arg9 = wxString_in_helper(obj8);
14854 if (arg9 == NULL) SWIG_fail;
14855 temp9 = true;
14856 }
14857 }
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
14868 {
14869 if (temp4)
14870 delete arg4;
14871 }
14872 {
14873 if (temp9)
14874 delete arg9;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp4)
14880 delete arg4;
14881 }
14882 {
14883 if (temp9)
14884 delete arg9;
14885 }
14886 return NULL;
14887 }
14888
14889
14890 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14891 PyObject *resultobj = NULL;
14892 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14893 bool result;
14894 PyObject * obj0 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "self", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)(arg1)->GetValue();
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 {
14910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14911 }
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj = NULL;
14920 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14921 bool arg2 ;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "value", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14930 if (SWIG_arg_fail(1)) SWIG_fail;
14931 {
14932 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
14933 if (SWIG_arg_fail(2)) SWIG_fail;
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->SetValue(arg2);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj = NULL;
14951 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14952 wxVisualAttributes result;
14953 PyObject * obj0 = 0 ;
14954 char *kwnames[] = {
14955 (char *) "variant", NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14959 if (obj0) {
14960 {
14961 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14962 if (SWIG_arg_fail(1)) SWIG_fail;
14963 }
14964 }
14965 {
14966 if (!wxPyCheckForApp()) SWIG_fail;
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = wxRadioButton::GetClassDefaultAttributes(arg1);
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 wxVisualAttributes * resultptr;
14975 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14985 PyObject *obj;
14986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14988 Py_INCREF(obj);
14989 return Py_BuildValue((char *)"");
14990 }
14991 static int _wrap_SliderNameStr_set(PyObject *) {
14992 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14993 return 1;
14994 }
14995
14996
14997 static PyObject *_wrap_SliderNameStr_get(void) {
14998 PyObject *pyobj = NULL;
14999
15000 {
15001 #if wxUSE_UNICODE
15002 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15003 #else
15004 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15005 #endif
15006 }
15007 return pyobj;
15008 }
15009
15010
15011 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj = NULL;
15013 wxWindow *arg1 = (wxWindow *) 0 ;
15014 int arg2 = (int) -1 ;
15015 int arg3 = (int) 0 ;
15016 int arg4 = (int) 0 ;
15017 int arg5 = (int) 100 ;
15018 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15019 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15020 wxSize const &arg7_defvalue = wxDefaultSize ;
15021 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15022 long arg8 = (long) wxSL_HORIZONTAL ;
15023 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15024 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15025 wxString const &arg10_defvalue = wxPySliderNameStr ;
15026 wxString *arg10 = (wxString *) &arg10_defvalue ;
15027 wxSlider *result;
15028 wxPoint temp6 ;
15029 wxSize temp7 ;
15030 bool temp10 = false ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 PyObject * obj2 = 0 ;
15034 PyObject * obj3 = 0 ;
15035 PyObject * obj4 = 0 ;
15036 PyObject * obj5 = 0 ;
15037 PyObject * obj6 = 0 ;
15038 PyObject * obj7 = 0 ;
15039 PyObject * obj8 = 0 ;
15040 PyObject * obj9 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail;
15048 if (obj1) {
15049 {
15050 arg2 = static_cast<int >(SWIG_As_int(obj1));
15051 if (SWIG_arg_fail(2)) SWIG_fail;
15052 }
15053 }
15054 if (obj2) {
15055 {
15056 arg3 = static_cast<int >(SWIG_As_int(obj2));
15057 if (SWIG_arg_fail(3)) SWIG_fail;
15058 }
15059 }
15060 if (obj3) {
15061 {
15062 arg4 = static_cast<int >(SWIG_As_int(obj3));
15063 if (SWIG_arg_fail(4)) SWIG_fail;
15064 }
15065 }
15066 if (obj4) {
15067 {
15068 arg5 = static_cast<int >(SWIG_As_int(obj4));
15069 if (SWIG_arg_fail(5)) SWIG_fail;
15070 }
15071 }
15072 if (obj5) {
15073 {
15074 arg6 = &temp6;
15075 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15076 }
15077 }
15078 if (obj6) {
15079 {
15080 arg7 = &temp7;
15081 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15082 }
15083 }
15084 if (obj7) {
15085 {
15086 arg8 = static_cast<long >(SWIG_As_long(obj7));
15087 if (SWIG_arg_fail(8)) SWIG_fail;
15088 }
15089 }
15090 if (obj8) {
15091 {
15092 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15093 if (SWIG_arg_fail(9)) SWIG_fail;
15094 if (arg9 == NULL) {
15095 SWIG_null_ref("wxValidator");
15096 }
15097 if (SWIG_arg_fail(9)) SWIG_fail;
15098 }
15099 }
15100 if (obj9) {
15101 {
15102 arg10 = wxString_in_helper(obj9);
15103 if (arg10 == NULL) SWIG_fail;
15104 temp10 = true;
15105 }
15106 }
15107 {
15108 if (!wxPyCheckForApp()) SWIG_fail;
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15116 {
15117 if (temp10)
15118 delete arg10;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp10)
15124 delete arg10;
15125 }
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj = NULL;
15132 wxSlider *result;
15133 char *kwnames[] = {
15134 NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15138 {
15139 if (!wxPyCheckForApp()) SWIG_fail;
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (wxSlider *)new wxSlider();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15147 return resultobj;
15148 fail:
15149 return NULL;
15150 }
15151
15152
15153 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj = NULL;
15155 wxSlider *arg1 = (wxSlider *) 0 ;
15156 wxWindow *arg2 = (wxWindow *) 0 ;
15157 int arg3 = (int) -1 ;
15158 int arg4 = (int) 0 ;
15159 int arg5 = (int) 0 ;
15160 int arg6 = (int) 100 ;
15161 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15162 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15163 wxSize const &arg8_defvalue = wxDefaultSize ;
15164 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15165 long arg9 = (long) wxSL_HORIZONTAL ;
15166 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15167 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15168 wxString const &arg11_defvalue = wxPySliderNameStr ;
15169 wxString *arg11 = (wxString *) &arg11_defvalue ;
15170 bool result;
15171 wxPoint temp7 ;
15172 wxSize temp8 ;
15173 bool temp11 = false ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 PyObject * obj2 = 0 ;
15177 PyObject * obj3 = 0 ;
15178 PyObject * obj4 = 0 ;
15179 PyObject * obj5 = 0 ;
15180 PyObject * obj6 = 0 ;
15181 PyObject * obj7 = 0 ;
15182 PyObject * obj8 = 0 ;
15183 PyObject * obj9 = 0 ;
15184 PyObject * obj10 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail;
15192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15193 if (SWIG_arg_fail(2)) SWIG_fail;
15194 if (obj2) {
15195 {
15196 arg3 = static_cast<int >(SWIG_As_int(obj2));
15197 if (SWIG_arg_fail(3)) SWIG_fail;
15198 }
15199 }
15200 if (obj3) {
15201 {
15202 arg4 = static_cast<int >(SWIG_As_int(obj3));
15203 if (SWIG_arg_fail(4)) SWIG_fail;
15204 }
15205 }
15206 if (obj4) {
15207 {
15208 arg5 = static_cast<int >(SWIG_As_int(obj4));
15209 if (SWIG_arg_fail(5)) SWIG_fail;
15210 }
15211 }
15212 if (obj5) {
15213 {
15214 arg6 = static_cast<int >(SWIG_As_int(obj5));
15215 if (SWIG_arg_fail(6)) SWIG_fail;
15216 }
15217 }
15218 if (obj6) {
15219 {
15220 arg7 = &temp7;
15221 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15222 }
15223 }
15224 if (obj7) {
15225 {
15226 arg8 = &temp8;
15227 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15228 }
15229 }
15230 if (obj8) {
15231 {
15232 arg9 = static_cast<long >(SWIG_As_long(obj8));
15233 if (SWIG_arg_fail(9)) SWIG_fail;
15234 }
15235 }
15236 if (obj9) {
15237 {
15238 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15239 if (SWIG_arg_fail(10)) SWIG_fail;
15240 if (arg10 == NULL) {
15241 SWIG_null_ref("wxValidator");
15242 }
15243 if (SWIG_arg_fail(10)) SWIG_fail;
15244 }
15245 }
15246 if (obj10) {
15247 {
15248 arg11 = wxString_in_helper(obj10);
15249 if (arg11 == NULL) SWIG_fail;
15250 temp11 = true;
15251 }
15252 }
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15262 }
15263 {
15264 if (temp11)
15265 delete arg11;
15266 }
15267 return resultobj;
15268 fail:
15269 {
15270 if (temp11)
15271 delete arg11;
15272 }
15273 return NULL;
15274 }
15275
15276
15277 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj = NULL;
15279 wxSlider *arg1 = (wxSlider *) 0 ;
15280 int result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail;
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (int)((wxSlider const *)arg1)->GetValue();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 {
15297 resultobj = SWIG_From_int(static_cast<int >(result));
15298 }
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj = NULL;
15307 wxSlider *arg1 = (wxSlider *) 0 ;
15308 int arg2 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "value", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail;
15318 {
15319 arg2 = static_cast<int >(SWIG_As_int(obj1));
15320 if (SWIG_arg_fail(2)) SWIG_fail;
15321 }
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetValue(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj = NULL;
15338 wxSlider *arg1 = (wxSlider *) 0 ;
15339 int arg2 ;
15340 int arg3 ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 PyObject * obj2 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail;
15351 {
15352 arg2 = static_cast<int >(SWIG_As_int(obj1));
15353 if (SWIG_arg_fail(2)) SWIG_fail;
15354 }
15355 {
15356 arg3 = static_cast<int >(SWIG_As_int(obj2));
15357 if (SWIG_arg_fail(3)) SWIG_fail;
15358 }
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 (arg1)->SetRange(arg2,arg3);
15362
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 Py_INCREF(Py_None); resultobj = Py_None;
15367 return resultobj;
15368 fail:
15369 return NULL;
15370 }
15371
15372
15373 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj = NULL;
15375 wxSlider *arg1 = (wxSlider *) 0 ;
15376 int result;
15377 PyObject * obj0 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail;
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 result = (int)((wxSlider const *)arg1)->GetMin();
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 {
15393 resultobj = SWIG_From_int(static_cast<int >(result));
15394 }
15395 return resultobj;
15396 fail:
15397 return NULL;
15398 }
15399
15400
15401 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj = NULL;
15403 wxSlider *arg1 = (wxSlider *) 0 ;
15404 int result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (int)((wxSlider const *)arg1)->GetMax();
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 {
15421 resultobj = SWIG_From_int(static_cast<int >(result));
15422 }
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj = NULL;
15431 wxSlider *arg1 = (wxSlider *) 0 ;
15432 int arg2 ;
15433 PyObject * obj0 = 0 ;
15434 PyObject * obj1 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "minValue", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail;
15442 {
15443 arg2 = static_cast<int >(SWIG_As_int(obj1));
15444 if (SWIG_arg_fail(2)) SWIG_fail;
15445 }
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->SetMin(arg2);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj = NULL;
15462 wxSlider *arg1 = (wxSlider *) 0 ;
15463 int arg2 ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "maxValue", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail;
15473 {
15474 arg2 = static_cast<int >(SWIG_As_int(obj1));
15475 if (SWIG_arg_fail(2)) SWIG_fail;
15476 }
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->SetMax(arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj = NULL;
15493 wxSlider *arg1 = (wxSlider *) 0 ;
15494 int arg2 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "lineSize", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail;
15504 {
15505 arg2 = static_cast<int >(SWIG_As_int(obj1));
15506 if (SWIG_arg_fail(2)) SWIG_fail;
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetLineSize(arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj = NULL;
15524 wxSlider *arg1 = (wxSlider *) 0 ;
15525 int arg2 ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "pageSize", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail;
15535 {
15536 arg2 = static_cast<int >(SWIG_As_int(obj1));
15537 if (SWIG_arg_fail(2)) SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetPageSize(arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj = NULL;
15555 wxSlider *arg1 = (wxSlider *) 0 ;
15556 int result;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail;
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 result = (int)((wxSlider const *)arg1)->GetLineSize();
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 {
15573 resultobj = SWIG_From_int(static_cast<int >(result));
15574 }
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj = NULL;
15583 wxSlider *arg1 = (wxSlider *) 0 ;
15584 int result;
15585 PyObject * obj0 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "self", NULL
15588 };
15589
15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15592 if (SWIG_arg_fail(1)) SWIG_fail;
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 result = (int)((wxSlider const *)arg1)->GetPageSize();
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 {
15601 resultobj = SWIG_From_int(static_cast<int >(result));
15602 }
15603 return resultobj;
15604 fail:
15605 return NULL;
15606 }
15607
15608
15609 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15610 PyObject *resultobj = NULL;
15611 wxSlider *arg1 = (wxSlider *) 0 ;
15612 int arg2 ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "lenPixels", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail;
15622 {
15623 arg2 = static_cast<int >(SWIG_As_int(obj1));
15624 if (SWIG_arg_fail(2)) SWIG_fail;
15625 }
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetThumbLength(arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj = NULL;
15642 wxSlider *arg1 = (wxSlider *) 0 ;
15643 int result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail;
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 {
15660 resultobj = SWIG_From_int(static_cast<int >(result));
15661 }
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj = NULL;
15670 wxSlider *arg1 = (wxSlider *) 0 ;
15671 int arg2 ;
15672 int arg3 = (int) 1 ;
15673 PyObject * obj0 = 0 ;
15674 PyObject * obj1 = 0 ;
15675 PyObject * obj2 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "n",(char *) "pos", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail;
15683 {
15684 arg2 = static_cast<int >(SWIG_As_int(obj1));
15685 if (SWIG_arg_fail(2)) SWIG_fail;
15686 }
15687 if (obj2) {
15688 {
15689 arg3 = static_cast<int >(SWIG_As_int(obj2));
15690 if (SWIG_arg_fail(3)) SWIG_fail;
15691 }
15692 }
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 (arg1)->SetTickFreq(arg2,arg3);
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 Py_INCREF(Py_None); resultobj = Py_None;
15701 return resultobj;
15702 fail:
15703 return NULL;
15704 }
15705
15706
15707 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj = NULL;
15709 wxSlider *arg1 = (wxSlider *) 0 ;
15710 int result;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail;
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 {
15727 resultobj = SWIG_From_int(static_cast<int >(result));
15728 }
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj = NULL;
15737 wxSlider *arg1 = (wxSlider *) 0 ;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->ClearTicks();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 Py_INCREF(Py_None); resultobj = Py_None;
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj = NULL;
15762 wxSlider *arg1 = (wxSlider *) 0 ;
15763 int arg2 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "tickPos", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail;
15773 {
15774 arg2 = static_cast<int >(SWIG_As_int(obj1));
15775 if (SWIG_arg_fail(2)) SWIG_fail;
15776 }
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->SetTick(arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj = NULL;
15793 wxSlider *arg1 = (wxSlider *) 0 ;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15801 if (SWIG_arg_fail(1)) SWIG_fail;
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 (arg1)->ClearSel();
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 Py_INCREF(Py_None); resultobj = Py_None;
15810 return resultobj;
15811 fail:
15812 return NULL;
15813 }
15814
15815
15816 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj = NULL;
15818 wxSlider *arg1 = (wxSlider *) 0 ;
15819 int result;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15827 if (SWIG_arg_fail(1)) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 {
15836 resultobj = SWIG_From_int(static_cast<int >(result));
15837 }
15838 return resultobj;
15839 fail:
15840 return NULL;
15841 }
15842
15843
15844 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj = NULL;
15846 wxSlider *arg1 = (wxSlider *) 0 ;
15847 int result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (int)((wxSlider const *)arg1)->GetSelStart();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 {
15864 resultobj = SWIG_From_int(static_cast<int >(result));
15865 }
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj = NULL;
15874 wxSlider *arg1 = (wxSlider *) 0 ;
15875 int arg2 ;
15876 int arg3 ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 PyObject * obj2 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "min",(char *) "max", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail;
15887 {
15888 arg2 = static_cast<int >(SWIG_As_int(obj1));
15889 if (SWIG_arg_fail(2)) SWIG_fail;
15890 }
15891 {
15892 arg3 = static_cast<int >(SWIG_As_int(obj2));
15893 if (SWIG_arg_fail(3)) SWIG_fail;
15894 }
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->SetSelection(arg2,arg3);
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj = NULL;
15911 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15912 wxVisualAttributes result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "variant", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15919 if (obj0) {
15920 {
15921 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
15922 if (SWIG_arg_fail(1)) SWIG_fail;
15923 }
15924 }
15925 {
15926 if (!wxPyCheckForApp()) SWIG_fail;
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = wxSlider::GetClassDefaultAttributes(arg1);
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 wxVisualAttributes * resultptr;
15935 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
15936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15937 }
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15945 PyObject *obj;
15946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15947 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15948 Py_INCREF(obj);
15949 return Py_BuildValue((char *)"");
15950 }
15951 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15952 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15953 return 1;
15954 }
15955
15956
15957 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15958 PyObject *pyobj = NULL;
15959
15960 {
15961 #if wxUSE_UNICODE
15962 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15963 #else
15964 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15965 #endif
15966 }
15967 return pyobj;
15968 }
15969
15970
15971 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj = NULL;
15973 wxWindow *arg1 = (wxWindow *) 0 ;
15974 int arg2 = (int) -1 ;
15975 wxString const &arg3_defvalue = wxPyEmptyString ;
15976 wxString *arg3 = (wxString *) &arg3_defvalue ;
15977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15979 wxSize const &arg5_defvalue = wxDefaultSize ;
15980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15981 long arg6 = (long) 0 ;
15982 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15983 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15984 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15985 wxString *arg8 = (wxString *) &arg8_defvalue ;
15986 wxToggleButton *result;
15987 bool temp3 = false ;
15988 wxPoint temp4 ;
15989 wxSize temp5 ;
15990 bool temp8 = false ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 PyObject * obj2 = 0 ;
15994 PyObject * obj3 = 0 ;
15995 PyObject * obj4 = 0 ;
15996 PyObject * obj5 = 0 ;
15997 PyObject * obj6 = 0 ;
15998 PyObject * obj7 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail;
16006 if (obj1) {
16007 {
16008 arg2 = static_cast<int >(SWIG_As_int(obj1));
16009 if (SWIG_arg_fail(2)) SWIG_fail;
16010 }
16011 }
16012 if (obj2) {
16013 {
16014 arg3 = wxString_in_helper(obj2);
16015 if (arg3 == NULL) SWIG_fail;
16016 temp3 = true;
16017 }
16018 }
16019 if (obj3) {
16020 {
16021 arg4 = &temp4;
16022 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16023 }
16024 }
16025 if (obj4) {
16026 {
16027 arg5 = &temp5;
16028 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16029 }
16030 }
16031 if (obj5) {
16032 {
16033 arg6 = static_cast<long >(SWIG_As_long(obj5));
16034 if (SWIG_arg_fail(6)) SWIG_fail;
16035 }
16036 }
16037 if (obj6) {
16038 {
16039 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16040 if (SWIG_arg_fail(7)) SWIG_fail;
16041 if (arg7 == NULL) {
16042 SWIG_null_ref("wxValidator");
16043 }
16044 if (SWIG_arg_fail(7)) SWIG_fail;
16045 }
16046 }
16047 if (obj7) {
16048 {
16049 arg8 = wxString_in_helper(obj7);
16050 if (arg8 == NULL) SWIG_fail;
16051 temp8 = true;
16052 }
16053 }
16054 {
16055 if (!wxPyCheckForApp()) SWIG_fail;
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16063 {
16064 if (temp3)
16065 delete arg3;
16066 }
16067 {
16068 if (temp8)
16069 delete arg8;
16070 }
16071 return resultobj;
16072 fail:
16073 {
16074 if (temp3)
16075 delete arg3;
16076 }
16077 {
16078 if (temp8)
16079 delete arg8;
16080 }
16081 return NULL;
16082 }
16083
16084
16085 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj = NULL;
16087 wxToggleButton *result;
16088 char *kwnames[] = {
16089 NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16093 {
16094 if (!wxPyCheckForApp()) SWIG_fail;
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (wxToggleButton *)new wxToggleButton();
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj = NULL;
16110 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16111 wxWindow *arg2 = (wxWindow *) 0 ;
16112 int arg3 = (int) -1 ;
16113 wxString const &arg4_defvalue = wxPyEmptyString ;
16114 wxString *arg4 = (wxString *) &arg4_defvalue ;
16115 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16116 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16117 wxSize const &arg6_defvalue = wxDefaultSize ;
16118 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16119 long arg7 = (long) 0 ;
16120 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16121 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16122 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16123 wxString *arg9 = (wxString *) &arg9_defvalue ;
16124 bool result;
16125 bool temp4 = false ;
16126 wxPoint temp5 ;
16127 wxSize temp6 ;
16128 bool temp9 = false ;
16129 PyObject * obj0 = 0 ;
16130 PyObject * obj1 = 0 ;
16131 PyObject * obj2 = 0 ;
16132 PyObject * obj3 = 0 ;
16133 PyObject * obj4 = 0 ;
16134 PyObject * obj5 = 0 ;
16135 PyObject * obj6 = 0 ;
16136 PyObject * obj7 = 0 ;
16137 PyObject * obj8 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail;
16145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16146 if (SWIG_arg_fail(2)) SWIG_fail;
16147 if (obj2) {
16148 {
16149 arg3 = static_cast<int >(SWIG_As_int(obj2));
16150 if (SWIG_arg_fail(3)) SWIG_fail;
16151 }
16152 }
16153 if (obj3) {
16154 {
16155 arg4 = wxString_in_helper(obj3);
16156 if (arg4 == NULL) SWIG_fail;
16157 temp4 = true;
16158 }
16159 }
16160 if (obj4) {
16161 {
16162 arg5 = &temp5;
16163 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16164 }
16165 }
16166 if (obj5) {
16167 {
16168 arg6 = &temp6;
16169 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16170 }
16171 }
16172 if (obj6) {
16173 {
16174 arg7 = static_cast<long >(SWIG_As_long(obj6));
16175 if (SWIG_arg_fail(7)) SWIG_fail;
16176 }
16177 }
16178 if (obj7) {
16179 {
16180 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16181 if (SWIG_arg_fail(8)) SWIG_fail;
16182 if (arg8 == NULL) {
16183 SWIG_null_ref("wxValidator");
16184 }
16185 if (SWIG_arg_fail(8)) SWIG_fail;
16186 }
16187 }
16188 if (obj8) {
16189 {
16190 arg9 = wxString_in_helper(obj8);
16191 if (arg9 == NULL) SWIG_fail;
16192 temp9 = true;
16193 }
16194 }
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16204 }
16205 {
16206 if (temp4)
16207 delete arg4;
16208 }
16209 {
16210 if (temp9)
16211 delete arg9;
16212 }
16213 return resultobj;
16214 fail:
16215 {
16216 if (temp4)
16217 delete arg4;
16218 }
16219 {
16220 if (temp9)
16221 delete arg9;
16222 }
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj = NULL;
16229 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16230 bool arg2 ;
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "value", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16239 if (SWIG_arg_fail(1)) SWIG_fail;
16240 {
16241 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16242 if (SWIG_arg_fail(2)) SWIG_fail;
16243 }
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 (arg1)->SetValue(arg2);
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 Py_INCREF(Py_None); resultobj = Py_None;
16252 return resultobj;
16253 fail:
16254 return NULL;
16255 }
16256
16257
16258 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj = NULL;
16260 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16261 bool result;
16262 PyObject * obj0 = 0 ;
16263 char *kwnames[] = {
16264 (char *) "self", NULL
16265 };
16266
16267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16269 if (SWIG_arg_fail(1)) SWIG_fail;
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 {
16278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16279 }
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj = NULL;
16288 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16289 wxString *arg2 = 0 ;
16290 bool temp2 = false ;
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "label", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16299 if (SWIG_arg_fail(1)) SWIG_fail;
16300 {
16301 arg2 = wxString_in_helper(obj1);
16302 if (arg2 == NULL) SWIG_fail;
16303 temp2 = true;
16304 }
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 (arg1)->SetLabel((wxString const &)*arg2);
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 Py_INCREF(Py_None); resultobj = Py_None;
16313 {
16314 if (temp2)
16315 delete arg2;
16316 }
16317 return resultobj;
16318 fail:
16319 {
16320 if (temp2)
16321 delete arg2;
16322 }
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj = NULL;
16329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16330 wxVisualAttributes result;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "variant", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16337 if (obj0) {
16338 {
16339 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16340 if (SWIG_arg_fail(1)) SWIG_fail;
16341 }
16342 }
16343 {
16344 if (!wxPyCheckForApp()) SWIG_fail;
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = wxToggleButton::GetClassDefaultAttributes(arg1);
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 {
16352 wxVisualAttributes * resultptr;
16353 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
16354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16355 }
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16363 PyObject *obj;
16364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16365 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16366 Py_INCREF(obj);
16367 return Py_BuildValue((char *)"");
16368 }
16369 static int _wrap_NotebookNameStr_set(PyObject *) {
16370 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16371 return 1;
16372 }
16373
16374
16375 static PyObject *_wrap_NotebookNameStr_get(void) {
16376 PyObject *pyobj = NULL;
16377
16378 {
16379 #if wxUSE_UNICODE
16380 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16381 #else
16382 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16383 #endif
16384 }
16385 return pyobj;
16386 }
16387
16388
16389 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj = NULL;
16391 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16392 size_t result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16400 if (SWIG_arg_fail(1)) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 {
16409 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
16410 }
16411 return resultobj;
16412 fail:
16413 return NULL;
16414 }
16415
16416
16417 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj = NULL;
16419 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16420 size_t arg2 ;
16421 wxWindow *result;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self",(char *) "n", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail;
16431 {
16432 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16433 if (SWIG_arg_fail(2)) SWIG_fail;
16434 }
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 result = (wxWindow *)(arg1)->GetPage(arg2);
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 {
16443 resultobj = wxPyMake_wxObject(result, 0);
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj = NULL;
16453 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16454 wxWindow *result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 resultobj = wxPyMake_wxObject(result, 0);
16472 }
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj = NULL;
16481 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 {
16499 resultobj = SWIG_From_int(static_cast<int >(result));
16500 }
16501 return resultobj;
16502 fail:
16503 return NULL;
16504 }
16505
16506
16507 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16508 PyObject *resultobj = NULL;
16509 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16510 size_t arg2 ;
16511 wxString *arg3 = 0 ;
16512 bool result;
16513 bool temp3 = false ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self",(char *) "n",(char *) "strText", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail;
16524 {
16525 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16526 if (SWIG_arg_fail(2)) SWIG_fail;
16527 }
16528 {
16529 arg3 = wxString_in_helper(obj2);
16530 if (arg3 == NULL) SWIG_fail;
16531 temp3 = true;
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 }
16543 {
16544 if (temp3)
16545 delete arg3;
16546 }
16547 return resultobj;
16548 fail:
16549 {
16550 if (temp3)
16551 delete arg3;
16552 }
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj = NULL;
16559 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16560 size_t arg2 ;
16561 wxString result;
16562 PyObject * obj0 = 0 ;
16563 PyObject * obj1 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "n", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail;
16571 {
16572 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16573 if (SWIG_arg_fail(2)) SWIG_fail;
16574 }
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 {
16583 #if wxUSE_UNICODE
16584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16585 #else
16586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16587 #endif
16588 }
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj = NULL;
16597 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16598 wxImageList *arg2 = (wxImageList *) 0 ;
16599 PyObject * obj0 = 0 ;
16600 PyObject * obj1 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self",(char *) "imageList", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail;
16608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16609 if (SWIG_arg_fail(2)) SWIG_fail;
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 (arg1)->SetImageList(arg2);
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 Py_INCREF(Py_None); resultobj = Py_None;
16618 return resultobj;
16619 fail:
16620 return NULL;
16621 }
16622
16623
16624 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16625 PyObject *resultobj = NULL;
16626 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16627 wxImageList *arg2 = (wxImageList *) 0 ;
16628 PyObject * obj0 = 0 ;
16629 PyObject * obj1 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self",(char *) "imageList", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail;
16637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16638 if (SWIG_arg_fail(2)) SWIG_fail;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 (arg1)->AssignImageList(arg2);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj = NULL;
16655 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16656 wxImageList *result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16664 if (SWIG_arg_fail(1)) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 resultobj = wxPyMake_wxObject(result, (bool)0);
16674 }
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj = NULL;
16683 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16684 size_t arg2 ;
16685 int result;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self",(char *) "n", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail;
16695 {
16696 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16697 if (SWIG_arg_fail(2)) SWIG_fail;
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 {
16707 resultobj = SWIG_From_int(static_cast<int >(result));
16708 }
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj = NULL;
16717 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16718 size_t arg2 ;
16719 int arg3 ;
16720 bool result;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 PyObject * obj2 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self",(char *) "n",(char *) "imageId", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail;
16731 {
16732 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16733 if (SWIG_arg_fail(2)) SWIG_fail;
16734 }
16735 {
16736 arg3 = static_cast<int >(SWIG_As_int(obj2));
16737 if (SWIG_arg_fail(3)) SWIG_fail;
16738 }
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 {
16747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16748 }
16749 return resultobj;
16750 fail:
16751 return NULL;
16752 }
16753
16754
16755 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj = NULL;
16757 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16758 wxSize *arg2 = 0 ;
16759 wxSize temp2 ;
16760 PyObject * obj0 = 0 ;
16761 PyObject * obj1 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self",(char *) "size", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16768 if (SWIG_arg_fail(1)) SWIG_fail;
16769 {
16770 arg2 = &temp2;
16771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16772 }
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 (arg1)->SetPageSize((wxSize const &)*arg2);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 Py_INCREF(Py_None); resultobj = Py_None;
16781 return resultobj;
16782 fail:
16783 return NULL;
16784 }
16785
16786
16787 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj = NULL;
16789 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16790 wxSize *arg2 = 0 ;
16791 wxSize result;
16792 wxSize temp2 ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self",(char *) "sizePage", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail;
16802 {
16803 arg2 = &temp2;
16804 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16805 }
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 wxSize * resultptr;
16815 resultptr = new wxSize(static_cast<wxSize & >(result));
16816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16817 }
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj = NULL;
16826 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16827 unsigned int result;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 {
16844 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16845 }
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj = NULL;
16854 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16855 unsigned int arg2 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "internalBorder", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail;
16865 {
16866 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16867 if (SWIG_arg_fail(2)) SWIG_fail;
16868 }
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 (arg1)->SetInternalBorder(arg2);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 Py_INCREF(Py_None); resultobj = Py_None;
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj = NULL;
16885 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16886 bool result;
16887 PyObject * obj0 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 {
16903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16904 }
16905 return resultobj;
16906 fail:
16907 return NULL;
16908 }
16909
16910
16911 static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj = NULL;
16913 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16914 bool arg2 ;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "fit", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
16922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16923 if (SWIG_arg_fail(1)) SWIG_fail;
16924 {
16925 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16926 if (SWIG_arg_fail(2)) SWIG_fail;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->SetFitToCurrentPage(arg2);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj = NULL;
16944 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16945 bool result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
16952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 {
16962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj = NULL;
16972 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16973 size_t arg2 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 PyObject * obj1 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "n", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16983 if (SWIG_arg_fail(1)) SWIG_fail;
16984 {
16985 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16986 if (SWIG_arg_fail(2)) SWIG_fail;
16987 }
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (bool)(arg1)->DeletePage(arg2);
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 {
16996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16997 }
16998 return resultobj;
16999 fail:
17000 return NULL;
17001 }
17002
17003
17004 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj = NULL;
17006 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17007 size_t arg2 ;
17008 bool result;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "n", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
17016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail;
17018 {
17019 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17020 if (SWIG_arg_fail(2)) SWIG_fail;
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (bool)(arg1)->RemovePage(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 {
17030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17031 }
17032 return resultobj;
17033 fail:
17034 return NULL;
17035 }
17036
17037
17038 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
17039 PyObject *resultobj = NULL;
17040 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17041 bool result;
17042 PyObject * obj0 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
17048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (bool)(arg1)->DeleteAllPages();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 {
17058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17059 }
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj = NULL;
17068 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17069 wxWindow *arg2 = (wxWindow *) 0 ;
17070 wxString *arg3 = 0 ;
17071 bool arg4 = (bool) false ;
17072 int arg5 = (int) -1 ;
17073 bool result;
17074 bool temp3 = false ;
17075 PyObject * obj0 = 0 ;
17076 PyObject * obj1 = 0 ;
17077 PyObject * obj2 = 0 ;
17078 PyObject * obj3 = 0 ;
17079 PyObject * obj4 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
17087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(2)) SWIG_fail;
17089 {
17090 arg3 = wxString_in_helper(obj2);
17091 if (arg3 == NULL) SWIG_fail;
17092 temp3 = true;
17093 }
17094 if (obj3) {
17095 {
17096 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
17097 if (SWIG_arg_fail(4)) SWIG_fail;
17098 }
17099 }
17100 if (obj4) {
17101 {
17102 arg5 = static_cast<int >(SWIG_As_int(obj4));
17103 if (SWIG_arg_fail(5)) SWIG_fail;
17104 }
17105 }
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 {
17114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17115 }
17116 {
17117 if (temp3)
17118 delete arg3;
17119 }
17120 return resultobj;
17121 fail:
17122 {
17123 if (temp3)
17124 delete arg3;
17125 }
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = NULL;
17132 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17133 size_t arg2 ;
17134 wxWindow *arg3 = (wxWindow *) 0 ;
17135 wxString *arg4 = 0 ;
17136 bool arg5 = (bool) false ;
17137 int arg6 = (int) -1 ;
17138 bool result;
17139 bool temp4 = false ;
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 PyObject * obj2 = 0 ;
17143 PyObject * obj3 = 0 ;
17144 PyObject * obj4 = 0 ;
17145 PyObject * obj5 = 0 ;
17146 char *kwnames[] = {
17147 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail;
17153 {
17154 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17155 if (SWIG_arg_fail(2)) SWIG_fail;
17156 }
17157 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17158 if (SWIG_arg_fail(3)) SWIG_fail;
17159 {
17160 arg4 = wxString_in_helper(obj3);
17161 if (arg4 == NULL) SWIG_fail;
17162 temp4 = true;
17163 }
17164 if (obj4) {
17165 {
17166 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
17167 if (SWIG_arg_fail(5)) SWIG_fail;
17168 }
17169 }
17170 if (obj5) {
17171 {
17172 arg6 = static_cast<int >(SWIG_As_int(obj5));
17173 if (SWIG_arg_fail(6)) SWIG_fail;
17174 }
17175 }
17176 {
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17179
17180 wxPyEndAllowThreads(__tstate);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 {
17184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17185 }
17186 {
17187 if (temp4)
17188 delete arg4;
17189 }
17190 return resultobj;
17191 fail:
17192 {
17193 if (temp4)
17194 delete arg4;
17195 }
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj = NULL;
17202 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17203 size_t arg2 ;
17204 int result;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "n", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17213 if (SWIG_arg_fail(1)) SWIG_fail;
17214 {
17215 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17216 if (SWIG_arg_fail(2)) SWIG_fail;
17217 }
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (int)(arg1)->SetSelection(arg2);
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 {
17226 resultobj = SWIG_From_int(static_cast<int >(result));
17227 }
17228 return resultobj;
17229 fail:
17230 return NULL;
17231 }
17232
17233
17234 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj = NULL;
17236 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17237 bool arg2 = (bool) true ;
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj1 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "forward", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
17245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail;
17247 if (obj1) {
17248 {
17249 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17250 if (SWIG_arg_fail(2)) SWIG_fail;
17251 }
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->AdvanceSelection(arg2);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj = NULL;
17269 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17270 wxVisualAttributes result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "variant", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17277 if (obj0) {
17278 {
17279 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17280 if (SWIG_arg_fail(1)) SWIG_fail;
17281 }
17282 }
17283 {
17284 if (!wxPyCheckForApp()) SWIG_fail;
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 {
17292 wxVisualAttributes * resultptr;
17293 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17295 }
17296 return resultobj;
17297 fail:
17298 return NULL;
17299 }
17300
17301
17302 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
17303 PyObject *obj;
17304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17305 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
17306 Py_INCREF(obj);
17307 return Py_BuildValue((char *)"");
17308 }
17309 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj = NULL;
17311 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17312 int arg2 = (int) 0 ;
17313 int arg3 = (int) -1 ;
17314 int arg4 = (int) -1 ;
17315 wxBookCtrlBaseEvent *result;
17316 PyObject * obj0 = 0 ;
17317 PyObject * obj1 = 0 ;
17318 PyObject * obj2 = 0 ;
17319 PyObject * obj3 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17325 if (obj0) {
17326 {
17327 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17328 if (SWIG_arg_fail(1)) SWIG_fail;
17329 }
17330 }
17331 if (obj1) {
17332 {
17333 arg2 = static_cast<int >(SWIG_As_int(obj1));
17334 if (SWIG_arg_fail(2)) SWIG_fail;
17335 }
17336 }
17337 if (obj2) {
17338 {
17339 arg3 = static_cast<int >(SWIG_As_int(obj2));
17340 if (SWIG_arg_fail(3)) SWIG_fail;
17341 }
17342 }
17343 if (obj3) {
17344 {
17345 arg4 = static_cast<int >(SWIG_As_int(obj3));
17346 if (SWIG_arg_fail(4)) SWIG_fail;
17347 }
17348 }
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj = NULL;
17365 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17366 int result;
17367 PyObject * obj0 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail;
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
17382 {
17383 resultobj = SWIG_From_int(static_cast<int >(result));
17384 }
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj = NULL;
17393 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17394 int arg2 ;
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "nSel", NULL
17399 };
17400
17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail;
17404 {
17405 arg2 = static_cast<int >(SWIG_As_int(obj1));
17406 if (SWIG_arg_fail(2)) SWIG_fail;
17407 }
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 (arg1)->SetSelection(arg2);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 Py_INCREF(Py_None); resultobj = Py_None;
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj = NULL;
17424 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17425 int result;
17426 PyObject * obj0 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "self", NULL
17429 };
17430
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17433 if (SWIG_arg_fail(1)) SWIG_fail;
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 {
17442 resultobj = SWIG_From_int(static_cast<int >(result));
17443 }
17444 return resultobj;
17445 fail:
17446 return NULL;
17447 }
17448
17449
17450 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj = NULL;
17452 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17453 int arg2 ;
17454 PyObject * obj0 = 0 ;
17455 PyObject * obj1 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "nOldSel", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17462 if (SWIG_arg_fail(1)) SWIG_fail;
17463 {
17464 arg2 = static_cast<int >(SWIG_As_int(obj1));
17465 if (SWIG_arg_fail(2)) SWIG_fail;
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetOldSelection(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17482 PyObject *obj;
17483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17484 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17485 Py_INCREF(obj);
17486 return Py_BuildValue((char *)"");
17487 }
17488 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17489 PyObject *resultobj = NULL;
17490 wxWindow *arg1 = (wxWindow *) 0 ;
17491 int arg2 = (int) -1 ;
17492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17494 wxSize const &arg4_defvalue = wxDefaultSize ;
17495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17496 long arg5 = (long) 0 ;
17497 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17498 wxString *arg6 = (wxString *) &arg6_defvalue ;
17499 wxNotebook *result;
17500 wxPoint temp3 ;
17501 wxSize temp4 ;
17502 bool temp6 = false ;
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj1 = 0 ;
17505 PyObject * obj2 = 0 ;
17506 PyObject * obj3 = 0 ;
17507 PyObject * obj4 = 0 ;
17508 PyObject * obj5 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail;
17516 if (obj1) {
17517 {
17518 arg2 = static_cast<int >(SWIG_As_int(obj1));
17519 if (SWIG_arg_fail(2)) SWIG_fail;
17520 }
17521 }
17522 if (obj2) {
17523 {
17524 arg3 = &temp3;
17525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17526 }
17527 }
17528 if (obj3) {
17529 {
17530 arg4 = &temp4;
17531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17532 }
17533 }
17534 if (obj4) {
17535 {
17536 arg5 = static_cast<long >(SWIG_As_long(obj4));
17537 if (SWIG_arg_fail(5)) SWIG_fail;
17538 }
17539 }
17540 if (obj5) {
17541 {
17542 arg6 = wxString_in_helper(obj5);
17543 if (arg6 == NULL) SWIG_fail;
17544 temp6 = true;
17545 }
17546 }
17547 {
17548 if (!wxPyCheckForApp()) SWIG_fail;
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17556 {
17557 if (temp6)
17558 delete arg6;
17559 }
17560 return resultobj;
17561 fail:
17562 {
17563 if (temp6)
17564 delete arg6;
17565 }
17566 return NULL;
17567 }
17568
17569
17570 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj = NULL;
17572 wxNotebook *result;
17573 char *kwnames[] = {
17574 NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17578 {
17579 if (!wxPyCheckForApp()) SWIG_fail;
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (wxNotebook *)new wxNotebook();
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17587 return resultobj;
17588 fail:
17589 return NULL;
17590 }
17591
17592
17593 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17594 PyObject *resultobj = NULL;
17595 wxNotebook *arg1 = (wxNotebook *) 0 ;
17596 wxWindow *arg2 = (wxWindow *) 0 ;
17597 int arg3 = (int) -1 ;
17598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17600 wxSize const &arg5_defvalue = wxDefaultSize ;
17601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17602 long arg6 = (long) 0 ;
17603 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17604 wxString *arg7 = (wxString *) &arg7_defvalue ;
17605 bool result;
17606 wxPoint temp4 ;
17607 wxSize temp5 ;
17608 bool temp7 = false ;
17609 PyObject * obj0 = 0 ;
17610 PyObject * obj1 = 0 ;
17611 PyObject * obj2 = 0 ;
17612 PyObject * obj3 = 0 ;
17613 PyObject * obj4 = 0 ;
17614 PyObject * obj5 = 0 ;
17615 PyObject * obj6 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail;
17623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17624 if (SWIG_arg_fail(2)) SWIG_fail;
17625 if (obj2) {
17626 {
17627 arg3 = static_cast<int >(SWIG_As_int(obj2));
17628 if (SWIG_arg_fail(3)) SWIG_fail;
17629 }
17630 }
17631 if (obj3) {
17632 {
17633 arg4 = &temp4;
17634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17635 }
17636 }
17637 if (obj4) {
17638 {
17639 arg5 = &temp5;
17640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17641 }
17642 }
17643 if (obj5) {
17644 {
17645 arg6 = static_cast<long >(SWIG_As_long(obj5));
17646 if (SWIG_arg_fail(6)) SWIG_fail;
17647 }
17648 }
17649 if (obj6) {
17650 {
17651 arg7 = wxString_in_helper(obj6);
17652 if (arg7 == NULL) SWIG_fail;
17653 temp7 = true;
17654 }
17655 }
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 {
17664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17665 }
17666 {
17667 if (temp7)
17668 delete arg7;
17669 }
17670 return resultobj;
17671 fail:
17672 {
17673 if (temp7)
17674 delete arg7;
17675 }
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj = NULL;
17682 wxNotebook *arg1 = (wxNotebook *) 0 ;
17683 int result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 {
17700 resultobj = SWIG_From_int(static_cast<int >(result));
17701 }
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj = NULL;
17710 wxNotebook *arg1 = (wxNotebook *) 0 ;
17711 wxSize *arg2 = 0 ;
17712 wxSize temp2 ;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "padding", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail;
17722 {
17723 arg2 = &temp2;
17724 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17725 }
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 (arg1)->SetPadding((wxSize const &)*arg2);
17729
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 Py_INCREF(Py_None); resultobj = Py_None;
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj = NULL;
17742 wxNotebook *arg1 = (wxNotebook *) 0 ;
17743 wxSize *arg2 = 0 ;
17744 wxSize temp2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "sz", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail;
17754 {
17755 arg2 = &temp2;
17756 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->SetTabSize((wxSize const &)*arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj = NULL;
17774 wxNotebook *arg1 = (wxNotebook *) 0 ;
17775 wxPoint *arg2 = 0 ;
17776 long *arg3 = (long *) 0 ;
17777 int result;
17778 wxPoint temp2 ;
17779 long temp3 ;
17780 int res3 = 0 ;
17781 PyObject * obj0 = 0 ;
17782 PyObject * obj1 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "pt", NULL
17785 };
17786
17787 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail;
17791 {
17792 arg2 = &temp2;
17793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17794 }
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 {
17803 resultobj = SWIG_From_int(static_cast<int >(result));
17804 }
17805 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17806 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj = NULL;
17815 wxNotebook *arg1 = (wxNotebook *) 0 ;
17816 wxSize *arg2 = 0 ;
17817 wxSize result;
17818 wxSize temp2 ;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self",(char *) "sizePage", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17827 if (SWIG_arg_fail(1)) SWIG_fail;
17828 {
17829 arg2 = &temp2;
17830 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17831 }
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxSize * resultptr;
17841 resultptr = new wxSize(static_cast<wxSize & >(result));
17842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj = NULL;
17852 wxNotebook *arg1 = (wxNotebook *) 0 ;
17853 wxColour result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 wxColour * resultptr;
17871 resultptr = new wxColour(static_cast<wxColour & >(result));
17872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17873 }
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj = NULL;
17882 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17883 wxVisualAttributes result;
17884 PyObject * obj0 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "variant", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17890 if (obj0) {
17891 {
17892 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17893 if (SWIG_arg_fail(1)) SWIG_fail;
17894 }
17895 }
17896 {
17897 if (!wxPyCheckForApp()) SWIG_fail;
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 result = wxNotebook::GetClassDefaultAttributes(arg1);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 {
17905 wxVisualAttributes * resultptr;
17906 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17908 }
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17916 PyObject *obj;
17917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17918 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17919 Py_INCREF(obj);
17920 return Py_BuildValue((char *)"");
17921 }
17922 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj = NULL;
17924 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17925 int arg2 = (int) 0 ;
17926 int arg3 = (int) -1 ;
17927 int arg4 = (int) -1 ;
17928 wxNotebookEvent *result;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 PyObject * obj2 = 0 ;
17932 PyObject * obj3 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17938 if (obj0) {
17939 {
17940 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17941 if (SWIG_arg_fail(1)) SWIG_fail;
17942 }
17943 }
17944 if (obj1) {
17945 {
17946 arg2 = static_cast<int >(SWIG_As_int(obj1));
17947 if (SWIG_arg_fail(2)) SWIG_fail;
17948 }
17949 }
17950 if (obj2) {
17951 {
17952 arg3 = static_cast<int >(SWIG_As_int(obj2));
17953 if (SWIG_arg_fail(3)) SWIG_fail;
17954 }
17955 }
17956 if (obj3) {
17957 {
17958 arg4 = static_cast<int >(SWIG_As_int(obj3));
17959 if (SWIG_arg_fail(4)) SWIG_fail;
17960 }
17961 }
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17977 PyObject *obj;
17978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17980 Py_INCREF(obj);
17981 return Py_BuildValue((char *)"");
17982 }
17983 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj = NULL;
17985 wxWindow *arg1 = (wxWindow *) 0 ;
17986 int arg2 = (int) -1 ;
17987 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17988 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17989 wxSize const &arg4_defvalue = wxDefaultSize ;
17990 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17991 long arg5 = (long) 0 ;
17992 wxString const &arg6_defvalue = wxPyEmptyString ;
17993 wxString *arg6 = (wxString *) &arg6_defvalue ;
17994 wxListbook *result;
17995 wxPoint temp3 ;
17996 wxSize temp4 ;
17997 bool temp6 = false ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 PyObject * obj3 = 0 ;
18002 PyObject * obj4 = 0 ;
18003 PyObject * obj5 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18010 if (SWIG_arg_fail(1)) SWIG_fail;
18011 if (obj1) {
18012 {
18013 arg2 = static_cast<int >(SWIG_As_int(obj1));
18014 if (SWIG_arg_fail(2)) SWIG_fail;
18015 }
18016 }
18017 if (obj2) {
18018 {
18019 arg3 = &temp3;
18020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18021 }
18022 }
18023 if (obj3) {
18024 {
18025 arg4 = &temp4;
18026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18027 }
18028 }
18029 if (obj4) {
18030 {
18031 arg5 = static_cast<long >(SWIG_As_long(obj4));
18032 if (SWIG_arg_fail(5)) SWIG_fail;
18033 }
18034 }
18035 if (obj5) {
18036 {
18037 arg6 = wxString_in_helper(obj5);
18038 if (arg6 == NULL) SWIG_fail;
18039 temp6 = true;
18040 }
18041 }
18042 {
18043 if (!wxPyCheckForApp()) SWIG_fail;
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18051 {
18052 if (temp6)
18053 delete arg6;
18054 }
18055 return resultobj;
18056 fail:
18057 {
18058 if (temp6)
18059 delete arg6;
18060 }
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj = NULL;
18067 wxListbook *result;
18068 char *kwnames[] = {
18069 NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18073 {
18074 if (!wxPyCheckForApp()) SWIG_fail;
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (wxListbook *)new wxListbook();
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj = NULL;
18090 wxListbook *arg1 = (wxListbook *) 0 ;
18091 wxWindow *arg2 = (wxWindow *) 0 ;
18092 int arg3 = (int) -1 ;
18093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18095 wxSize const &arg5_defvalue = wxDefaultSize ;
18096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18097 long arg6 = (long) 0 ;
18098 wxString const &arg7_defvalue = wxPyEmptyString ;
18099 wxString *arg7 = (wxString *) &arg7_defvalue ;
18100 bool result;
18101 wxPoint temp4 ;
18102 wxSize temp5 ;
18103 bool temp7 = false ;
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
18106 PyObject * obj2 = 0 ;
18107 PyObject * obj3 = 0 ;
18108 PyObject * obj4 = 0 ;
18109 PyObject * obj5 = 0 ;
18110 PyObject * obj6 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail;
18118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18119 if (SWIG_arg_fail(2)) SWIG_fail;
18120 if (obj2) {
18121 {
18122 arg3 = static_cast<int >(SWIG_As_int(obj2));
18123 if (SWIG_arg_fail(3)) SWIG_fail;
18124 }
18125 }
18126 if (obj3) {
18127 {
18128 arg4 = &temp4;
18129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18130 }
18131 }
18132 if (obj4) {
18133 {
18134 arg5 = &temp5;
18135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18136 }
18137 }
18138 if (obj5) {
18139 {
18140 arg6 = static_cast<long >(SWIG_As_long(obj5));
18141 if (SWIG_arg_fail(6)) SWIG_fail;
18142 }
18143 }
18144 if (obj6) {
18145 {
18146 arg7 = wxString_in_helper(obj6);
18147 if (arg7 == NULL) SWIG_fail;
18148 temp7 = true;
18149 }
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 {
18159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18160 }
18161 {
18162 if (temp7)
18163 delete arg7;
18164 }
18165 return resultobj;
18166 fail:
18167 {
18168 if (temp7)
18169 delete arg7;
18170 }
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj = NULL;
18177 wxListbook *arg1 = (wxListbook *) 0 ;
18178 wxListView *result;
18179 PyObject * obj0 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = (wxListView *)(arg1)->GetListView();
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18202 PyObject *obj;
18203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18204 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18205 Py_INCREF(obj);
18206 return Py_BuildValue((char *)"");
18207 }
18208 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj = NULL;
18210 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18211 int arg2 = (int) 0 ;
18212 int arg3 = (int) -1 ;
18213 int arg4 = (int) -1 ;
18214 wxListbookEvent *result;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 PyObject * obj2 = 0 ;
18218 PyObject * obj3 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18224 if (obj0) {
18225 {
18226 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18227 if (SWIG_arg_fail(1)) SWIG_fail;
18228 }
18229 }
18230 if (obj1) {
18231 {
18232 arg2 = static_cast<int >(SWIG_As_int(obj1));
18233 if (SWIG_arg_fail(2)) SWIG_fail;
18234 }
18235 }
18236 if (obj2) {
18237 {
18238 arg3 = static_cast<int >(SWIG_As_int(obj2));
18239 if (SWIG_arg_fail(3)) SWIG_fail;
18240 }
18241 }
18242 if (obj3) {
18243 {
18244 arg4 = static_cast<int >(SWIG_As_int(obj3));
18245 if (SWIG_arg_fail(4)) SWIG_fail;
18246 }
18247 }
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18256 return resultobj;
18257 fail:
18258 return NULL;
18259 }
18260
18261
18262 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18263 PyObject *obj;
18264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18266 Py_INCREF(obj);
18267 return Py_BuildValue((char *)"");
18268 }
18269 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj = NULL;
18271 wxWindow *arg1 = (wxWindow *) 0 ;
18272 int arg2 ;
18273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18275 wxSize const &arg4_defvalue = wxDefaultSize ;
18276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18277 long arg5 = (long) 0 ;
18278 wxString const &arg6_defvalue = wxPyEmptyString ;
18279 wxString *arg6 = (wxString *) &arg6_defvalue ;
18280 wxChoicebook *result;
18281 wxPoint temp3 ;
18282 wxSize temp4 ;
18283 bool temp6 = false ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 PyObject * obj2 = 0 ;
18287 PyObject * obj3 = 0 ;
18288 PyObject * obj4 = 0 ;
18289 PyObject * obj5 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail;
18297 {
18298 arg2 = static_cast<int >(SWIG_As_int(obj1));
18299 if (SWIG_arg_fail(2)) SWIG_fail;
18300 }
18301 if (obj2) {
18302 {
18303 arg3 = &temp3;
18304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18305 }
18306 }
18307 if (obj3) {
18308 {
18309 arg4 = &temp4;
18310 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18311 }
18312 }
18313 if (obj4) {
18314 {
18315 arg5 = static_cast<long >(SWIG_As_long(obj4));
18316 if (SWIG_arg_fail(5)) SWIG_fail;
18317 }
18318 }
18319 if (obj5) {
18320 {
18321 arg6 = wxString_in_helper(obj5);
18322 if (arg6 == NULL) SWIG_fail;
18323 temp6 = true;
18324 }
18325 }
18326 {
18327 if (!wxPyCheckForApp()) SWIG_fail;
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18335 {
18336 if (temp6)
18337 delete arg6;
18338 }
18339 return resultobj;
18340 fail:
18341 {
18342 if (temp6)
18343 delete arg6;
18344 }
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj = NULL;
18351 wxChoicebook *result;
18352 char *kwnames[] = {
18353 NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18357 {
18358 if (!wxPyCheckForApp()) SWIG_fail;
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (wxChoicebook *)new wxChoicebook();
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj = NULL;
18374 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18375 wxWindow *arg2 = (wxWindow *) 0 ;
18376 int arg3 ;
18377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18379 wxSize const &arg5_defvalue = wxDefaultSize ;
18380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18381 long arg6 = (long) 0 ;
18382 wxString const &arg7_defvalue = wxPyEmptyString ;
18383 wxString *arg7 = (wxString *) &arg7_defvalue ;
18384 bool result;
18385 wxPoint temp4 ;
18386 wxSize temp5 ;
18387 bool temp7 = false ;
18388 PyObject * obj0 = 0 ;
18389 PyObject * obj1 = 0 ;
18390 PyObject * obj2 = 0 ;
18391 PyObject * obj3 = 0 ;
18392 PyObject * obj4 = 0 ;
18393 PyObject * obj5 = 0 ;
18394 PyObject * obj6 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail;
18402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18403 if (SWIG_arg_fail(2)) SWIG_fail;
18404 {
18405 arg3 = static_cast<int >(SWIG_As_int(obj2));
18406 if (SWIG_arg_fail(3)) SWIG_fail;
18407 }
18408 if (obj3) {
18409 {
18410 arg4 = &temp4;
18411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18412 }
18413 }
18414 if (obj4) {
18415 {
18416 arg5 = &temp5;
18417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18418 }
18419 }
18420 if (obj5) {
18421 {
18422 arg6 = static_cast<long >(SWIG_As_long(obj5));
18423 if (SWIG_arg_fail(6)) SWIG_fail;
18424 }
18425 }
18426 if (obj6) {
18427 {
18428 arg7 = wxString_in_helper(obj6);
18429 if (arg7 == NULL) SWIG_fail;
18430 temp7 = true;
18431 }
18432 }
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 {
18441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18442 }
18443 {
18444 if (temp7)
18445 delete arg7;
18446 }
18447 return resultobj;
18448 fail:
18449 {
18450 if (temp7)
18451 delete arg7;
18452 }
18453 return NULL;
18454 }
18455
18456
18457 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj = NULL;
18459 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18460 wxChoice *result;
18461 PyObject * obj0 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail;
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18477 return resultobj;
18478 fail:
18479 return NULL;
18480 }
18481
18482
18483 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj = NULL;
18485 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18486 bool result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail;
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 result = (bool)(arg1)->DeleteAllPages();
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
18503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18512 PyObject *obj;
18513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18515 Py_INCREF(obj);
18516 return Py_BuildValue((char *)"");
18517 }
18518 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj = NULL;
18520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18521 int arg2 = (int) 0 ;
18522 int arg3 = (int) -1 ;
18523 int arg4 = (int) -1 ;
18524 wxChoicebookEvent *result;
18525 PyObject * obj0 = 0 ;
18526 PyObject * obj1 = 0 ;
18527 PyObject * obj2 = 0 ;
18528 PyObject * obj3 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18534 if (obj0) {
18535 {
18536 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18537 if (SWIG_arg_fail(1)) SWIG_fail;
18538 }
18539 }
18540 if (obj1) {
18541 {
18542 arg2 = static_cast<int >(SWIG_As_int(obj1));
18543 if (SWIG_arg_fail(2)) SWIG_fail;
18544 }
18545 }
18546 if (obj2) {
18547 {
18548 arg3 = static_cast<int >(SWIG_As_int(obj2));
18549 if (SWIG_arg_fail(3)) SWIG_fail;
18550 }
18551 }
18552 if (obj3) {
18553 {
18554 arg4 = static_cast<int >(SWIG_As_int(obj3));
18555 if (SWIG_arg_fail(4)) SWIG_fail;
18556 }
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18573 PyObject *obj;
18574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18576 Py_INCREF(obj);
18577 return Py_BuildValue((char *)"");
18578 }
18579 static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj = NULL;
18581 wxWindow *arg1 = (wxWindow *) 0 ;
18582 int arg2 ;
18583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18585 wxSize const &arg4_defvalue = wxDefaultSize ;
18586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18587 long arg5 = (long) wxBK_DEFAULT ;
18588 wxString const &arg6_defvalue = wxPyEmptyString ;
18589 wxString *arg6 = (wxString *) &arg6_defvalue ;
18590 wxTreebook *result;
18591 wxPoint temp3 ;
18592 wxSize temp4 ;
18593 bool temp6 = false ;
18594 PyObject * obj0 = 0 ;
18595 PyObject * obj1 = 0 ;
18596 PyObject * obj2 = 0 ;
18597 PyObject * obj3 = 0 ;
18598 PyObject * obj4 = 0 ;
18599 PyObject * obj5 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail;
18607 {
18608 arg2 = static_cast<int >(SWIG_As_int(obj1));
18609 if (SWIG_arg_fail(2)) SWIG_fail;
18610 }
18611 if (obj2) {
18612 {
18613 arg3 = &temp3;
18614 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18615 }
18616 }
18617 if (obj3) {
18618 {
18619 arg4 = &temp4;
18620 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18621 }
18622 }
18623 if (obj4) {
18624 {
18625 arg5 = static_cast<long >(SWIG_As_long(obj4));
18626 if (SWIG_arg_fail(5)) SWIG_fail;
18627 }
18628 }
18629 if (obj5) {
18630 {
18631 arg6 = wxString_in_helper(obj5);
18632 if (arg6 == NULL) SWIG_fail;
18633 temp6 = true;
18634 }
18635 }
18636 {
18637 if (!wxPyCheckForApp()) SWIG_fail;
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18645 {
18646 if (temp6)
18647 delete arg6;
18648 }
18649 return resultobj;
18650 fail:
18651 {
18652 if (temp6)
18653 delete arg6;
18654 }
18655 return NULL;
18656 }
18657
18658
18659 static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj = NULL;
18661 wxTreebook *result;
18662 char *kwnames[] = {
18663 NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18667 {
18668 if (!wxPyCheckForApp()) SWIG_fail;
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (wxTreebook *)new wxTreebook();
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18676 return resultobj;
18677 fail:
18678 return NULL;
18679 }
18680
18681
18682 static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj = NULL;
18684 wxTreebook *arg1 = (wxTreebook *) 0 ;
18685 wxWindow *arg2 = (wxWindow *) 0 ;
18686 int arg3 ;
18687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18689 wxSize const &arg5_defvalue = wxDefaultSize ;
18690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18691 long arg6 = (long) wxBK_DEFAULT ;
18692 wxString const &arg7_defvalue = wxPyEmptyString ;
18693 wxString *arg7 = (wxString *) &arg7_defvalue ;
18694 bool result;
18695 wxPoint temp4 ;
18696 wxSize temp5 ;
18697 bool temp7 = false ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 PyObject * obj2 = 0 ;
18701 PyObject * obj3 = 0 ;
18702 PyObject * obj4 = 0 ;
18703 PyObject * obj5 = 0 ;
18704 PyObject * obj6 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail;
18712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18713 if (SWIG_arg_fail(2)) SWIG_fail;
18714 {
18715 arg3 = static_cast<int >(SWIG_As_int(obj2));
18716 if (SWIG_arg_fail(3)) SWIG_fail;
18717 }
18718 if (obj3) {
18719 {
18720 arg4 = &temp4;
18721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18722 }
18723 }
18724 if (obj4) {
18725 {
18726 arg5 = &temp5;
18727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18728 }
18729 }
18730 if (obj5) {
18731 {
18732 arg6 = static_cast<long >(SWIG_As_long(obj5));
18733 if (SWIG_arg_fail(6)) SWIG_fail;
18734 }
18735 }
18736 if (obj6) {
18737 {
18738 arg7 = wxString_in_helper(obj6);
18739 if (arg7 == NULL) SWIG_fail;
18740 temp7 = true;
18741 }
18742 }
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 {
18751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18752 }
18753 {
18754 if (temp7)
18755 delete arg7;
18756 }
18757 return resultobj;
18758 fail:
18759 {
18760 if (temp7)
18761 delete arg7;
18762 }
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj = NULL;
18769 wxTreebook *arg1 = (wxTreebook *) 0 ;
18770 size_t arg2 ;
18771 wxWindow *arg3 = (wxWindow *) 0 ;
18772 wxString *arg4 = 0 ;
18773 bool arg5 = (bool) false ;
18774 int arg6 = (int) wxNOT_FOUND ;
18775 bool result;
18776 bool temp4 = false ;
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 PyObject * obj2 = 0 ;
18780 PyObject * obj3 = 0 ;
18781 PyObject * obj4 = 0 ;
18782 PyObject * obj5 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail;
18790 {
18791 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18792 if (SWIG_arg_fail(2)) SWIG_fail;
18793 }
18794 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18795 if (SWIG_arg_fail(3)) SWIG_fail;
18796 {
18797 arg4 = wxString_in_helper(obj3);
18798 if (arg4 == NULL) SWIG_fail;
18799 temp4 = true;
18800 }
18801 if (obj4) {
18802 {
18803 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18804 if (SWIG_arg_fail(5)) SWIG_fail;
18805 }
18806 }
18807 if (obj5) {
18808 {
18809 arg6 = static_cast<int >(SWIG_As_int(obj5));
18810 if (SWIG_arg_fail(6)) SWIG_fail;
18811 }
18812 }
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 {
18821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18822 }
18823 {
18824 if (temp4)
18825 delete arg4;
18826 }
18827 return resultobj;
18828 fail:
18829 {
18830 if (temp4)
18831 delete arg4;
18832 }
18833 return NULL;
18834 }
18835
18836
18837 static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj = NULL;
18839 wxTreebook *arg1 = (wxTreebook *) 0 ;
18840 size_t arg2 ;
18841 wxWindow *arg3 = (wxWindow *) 0 ;
18842 wxString *arg4 = 0 ;
18843 bool arg5 = (bool) false ;
18844 int arg6 = (int) wxNOT_FOUND ;
18845 bool result;
18846 bool temp4 = false ;
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 PyObject * obj2 = 0 ;
18850 PyObject * obj3 = 0 ;
18851 PyObject * obj4 = 0 ;
18852 PyObject * obj5 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail;
18860 {
18861 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18862 if (SWIG_arg_fail(2)) SWIG_fail;
18863 }
18864 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18865 if (SWIG_arg_fail(3)) SWIG_fail;
18866 {
18867 arg4 = wxString_in_helper(obj3);
18868 if (arg4 == NULL) SWIG_fail;
18869 temp4 = true;
18870 }
18871 if (obj4) {
18872 {
18873 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18874 if (SWIG_arg_fail(5)) SWIG_fail;
18875 }
18876 }
18877 if (obj5) {
18878 {
18879 arg6 = static_cast<int >(SWIG_As_int(obj5));
18880 if (SWIG_arg_fail(6)) SWIG_fail;
18881 }
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18892 }
18893 {
18894 if (temp4)
18895 delete arg4;
18896 }
18897 return resultobj;
18898 fail:
18899 {
18900 if (temp4)
18901 delete arg4;
18902 }
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj = NULL;
18909 wxTreebook *arg1 = (wxTreebook *) 0 ;
18910 wxWindow *arg2 = (wxWindow *) 0 ;
18911 wxString *arg3 = 0 ;
18912 bool arg4 = (bool) false ;
18913 int arg5 = (int) wxNOT_FOUND ;
18914 bool result;
18915 bool temp3 = false ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj1 = 0 ;
18918 PyObject * obj2 = 0 ;
18919 PyObject * obj3 = 0 ;
18920 PyObject * obj4 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail;
18928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18929 if (SWIG_arg_fail(2)) SWIG_fail;
18930 {
18931 arg3 = wxString_in_helper(obj2);
18932 if (arg3 == NULL) SWIG_fail;
18933 temp3 = true;
18934 }
18935 if (obj3) {
18936 {
18937 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18938 if (SWIG_arg_fail(4)) SWIG_fail;
18939 }
18940 }
18941 if (obj4) {
18942 {
18943 arg5 = static_cast<int >(SWIG_As_int(obj4));
18944 if (SWIG_arg_fail(5)) SWIG_fail;
18945 }
18946 }
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 {
18955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18956 }
18957 {
18958 if (temp3)
18959 delete arg3;
18960 }
18961 return resultobj;
18962 fail:
18963 {
18964 if (temp3)
18965 delete arg3;
18966 }
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = NULL;
18973 wxTreebook *arg1 = (wxTreebook *) 0 ;
18974 wxWindow *arg2 = (wxWindow *) 0 ;
18975 wxString *arg3 = 0 ;
18976 bool arg4 = (bool) false ;
18977 int arg5 = (int) wxNOT_FOUND ;
18978 bool result;
18979 bool temp3 = false ;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 PyObject * obj2 = 0 ;
18983 PyObject * obj3 = 0 ;
18984 PyObject * obj4 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
18992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18993 if (SWIG_arg_fail(2)) SWIG_fail;
18994 {
18995 arg3 = wxString_in_helper(obj2);
18996 if (arg3 == NULL) SWIG_fail;
18997 temp3 = true;
18998 }
18999 if (obj3) {
19000 {
19001 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
19002 if (SWIG_arg_fail(4)) SWIG_fail;
19003 }
19004 }
19005 if (obj4) {
19006 {
19007 arg5 = static_cast<int >(SWIG_As_int(obj4));
19008 if (SWIG_arg_fail(5)) SWIG_fail;
19009 }
19010 }
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 {
19019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19020 }
19021 {
19022 if (temp3)
19023 delete arg3;
19024 }
19025 return resultobj;
19026 fail:
19027 {
19028 if (temp3)
19029 delete arg3;
19030 }
19031 return NULL;
19032 }
19033
19034
19035 static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = NULL;
19037 wxTreebook *arg1 = (wxTreebook *) 0 ;
19038 size_t arg2 ;
19039 bool result;
19040 PyObject * obj0 = 0 ;
19041 PyObject * obj1 = 0 ;
19042 char *kwnames[] = {
19043 (char *) "self",(char *) "pos", NULL
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
19047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19048 if (SWIG_arg_fail(1)) SWIG_fail;
19049 {
19050 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19051 if (SWIG_arg_fail(2)) SWIG_fail;
19052 }
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 result = (bool)(arg1)->DeletePage(arg2);
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 {
19061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj = NULL;
19071 wxTreebook *arg1 = (wxTreebook *) 0 ;
19072 size_t arg2 ;
19073 bool result;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "pos", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail;
19083 {
19084 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19085 if (SWIG_arg_fail(2)) SWIG_fail;
19086 }
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19096 }
19097 return resultobj;
19098 fail:
19099 return NULL;
19100 }
19101
19102
19103 static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj = NULL;
19105 wxTreebook *arg1 = (wxTreebook *) 0 ;
19106 size_t arg2 ;
19107 bool arg3 = (bool) true ;
19108 bool result;
19109 PyObject * obj0 = 0 ;
19110 PyObject * obj1 = 0 ;
19111 PyObject * obj2 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "pos",(char *) "expand", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail;
19119 {
19120 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19121 if (SWIG_arg_fail(2)) SWIG_fail;
19122 }
19123 if (obj2) {
19124 {
19125 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19126 if (SWIG_arg_fail(3)) SWIG_fail;
19127 }
19128 }
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 {
19137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19138 }
19139 return resultobj;
19140 fail:
19141 return NULL;
19142 }
19143
19144
19145 static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj = NULL;
19147 wxTreebook *arg1 = (wxTreebook *) 0 ;
19148 size_t arg2 ;
19149 bool result;
19150 PyObject * obj0 = 0 ;
19151 PyObject * obj1 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "pos", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail;
19159 {
19160 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19161 if (SWIG_arg_fail(2)) SWIG_fail;
19162 }
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (bool)(arg1)->CollapseNode(arg2);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 {
19171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19172 }
19173 return resultobj;
19174 fail:
19175 return NULL;
19176 }
19177
19178
19179 static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj = NULL;
19181 wxTreebook *arg1 = (wxTreebook *) 0 ;
19182 size_t arg2 ;
19183 int result;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self",(char *) "pos", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19192 if (SWIG_arg_fail(1)) SWIG_fail;
19193 {
19194 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19195 if (SWIG_arg_fail(2)) SWIG_fail;
19196 }
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 {
19205 resultobj = SWIG_From_int(static_cast<int >(result));
19206 }
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj = NULL;
19215 wxTreebook *arg1 = (wxTreebook *) 0 ;
19216 wxTreeCtrl *result;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail;
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
19240 PyObject *obj;
19241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19242 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
19243 Py_INCREF(obj);
19244 return Py_BuildValue((char *)"");
19245 }
19246 static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj = NULL;
19248 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19249 int arg2 = (int) 0 ;
19250 int arg3 = (int) wxNOT_FOUND ;
19251 int arg4 = (int) wxNOT_FOUND ;
19252 wxTreebookEvent *result;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 PyObject * obj2 = 0 ;
19256 PyObject * obj3 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19262 if (obj0) {
19263 {
19264 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19265 if (SWIG_arg_fail(1)) SWIG_fail;
19266 }
19267 }
19268 if (obj1) {
19269 {
19270 arg2 = static_cast<int >(SWIG_As_int(obj1));
19271 if (SWIG_arg_fail(2)) SWIG_fail;
19272 }
19273 }
19274 if (obj2) {
19275 {
19276 arg3 = static_cast<int >(SWIG_As_int(obj2));
19277 if (SWIG_arg_fail(3)) SWIG_fail;
19278 }
19279 }
19280 if (obj3) {
19281 {
19282 arg4 = static_cast<int >(SWIG_As_int(obj3));
19283 if (SWIG_arg_fail(4)) SWIG_fail;
19284 }
19285 }
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
19293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
19294 return resultobj;
19295 fail:
19296 return NULL;
19297 }
19298
19299
19300 static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
19301 PyObject *obj;
19302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19303 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
19304 Py_INCREF(obj);
19305 return Py_BuildValue((char *)"");
19306 }
19307 static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj = NULL;
19309 wxWindow *arg1 = (wxWindow *) 0 ;
19310 int arg2 ;
19311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19313 wxSize const &arg4_defvalue = wxDefaultSize ;
19314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19315 long arg5 = (long) wxBK_DEFAULT ;
19316 wxString const &arg6_defvalue = wxPyEmptyString ;
19317 wxString *arg6 = (wxString *) &arg6_defvalue ;
19318 wxToolbook *result;
19319 wxPoint temp3 ;
19320 wxSize temp4 ;
19321 bool temp6 = false ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 PyObject * obj2 = 0 ;
19325 PyObject * obj3 = 0 ;
19326 PyObject * obj4 = 0 ;
19327 PyObject * obj5 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail;
19335 {
19336 arg2 = static_cast<int >(SWIG_As_int(obj1));
19337 if (SWIG_arg_fail(2)) SWIG_fail;
19338 }
19339 if (obj2) {
19340 {
19341 arg3 = &temp3;
19342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19343 }
19344 }
19345 if (obj3) {
19346 {
19347 arg4 = &temp4;
19348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19349 }
19350 }
19351 if (obj4) {
19352 {
19353 arg5 = static_cast<long >(SWIG_As_long(obj4));
19354 if (SWIG_arg_fail(5)) SWIG_fail;
19355 }
19356 }
19357 if (obj5) {
19358 {
19359 arg6 = wxString_in_helper(obj5);
19360 if (arg6 == NULL) SWIG_fail;
19361 temp6 = true;
19362 }
19363 }
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19372 {
19373 if (temp6)
19374 delete arg6;
19375 }
19376 return resultobj;
19377 fail:
19378 {
19379 if (temp6)
19380 delete arg6;
19381 }
19382 return NULL;
19383 }
19384
19385
19386 static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj = NULL;
19388 wxToolbook *result;
19389 char *kwnames[] = {
19390 NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (wxToolbook *)new wxToolbook();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj = NULL;
19410 wxToolbook *arg1 = (wxToolbook *) 0 ;
19411 wxWindow *arg2 = (wxWindow *) 0 ;
19412 int arg3 ;
19413 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19414 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19415 wxSize const &arg5_defvalue = wxDefaultSize ;
19416 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19417 long arg6 = (long) 0 ;
19418 wxString const &arg7_defvalue = wxEmptyString ;
19419 wxString *arg7 = (wxString *) &arg7_defvalue ;
19420 bool result;
19421 wxPoint temp4 ;
19422 wxSize temp5 ;
19423 bool temp7 = false ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 PyObject * obj2 = 0 ;
19427 PyObject * obj3 = 0 ;
19428 PyObject * obj4 = 0 ;
19429 PyObject * obj5 = 0 ;
19430 PyObject * obj6 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail;
19438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19439 if (SWIG_arg_fail(2)) SWIG_fail;
19440 {
19441 arg3 = static_cast<int >(SWIG_As_int(obj2));
19442 if (SWIG_arg_fail(3)) SWIG_fail;
19443 }
19444 if (obj3) {
19445 {
19446 arg4 = &temp4;
19447 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19448 }
19449 }
19450 if (obj4) {
19451 {
19452 arg5 = &temp5;
19453 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19454 }
19455 }
19456 if (obj5) {
19457 {
19458 arg6 = static_cast<long >(SWIG_As_long(obj5));
19459 if (SWIG_arg_fail(6)) SWIG_fail;
19460 }
19461 }
19462 if (obj6) {
19463 {
19464 arg7 = wxString_in_helper(obj6);
19465 if (arg7 == NULL) SWIG_fail;
19466 temp7 = true;
19467 }
19468 }
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19478 }
19479 {
19480 if (temp7)
19481 delete arg7;
19482 }
19483 return resultobj;
19484 fail:
19485 {
19486 if (temp7)
19487 delete arg7;
19488 }
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj = NULL;
19495 wxToolbook *arg1 = (wxToolbook *) 0 ;
19496 wxToolBarBase *result;
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 {
19513 resultobj = wxPyMake_wxObject(result, (bool)0);
19514 }
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj = NULL;
19523 wxToolbook *arg1 = (wxToolbook *) 0 ;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19531 if (SWIG_arg_fail(1)) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->Realize();
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
19547 PyObject *obj;
19548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19549 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
19550 Py_INCREF(obj);
19551 return Py_BuildValue((char *)"");
19552 }
19553 static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj = NULL;
19555 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19556 int arg2 = (int) 0 ;
19557 int arg3 = (int) wxNOT_FOUND ;
19558 int arg4 = (int) wxNOT_FOUND ;
19559 wxToolbookEvent *result;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 PyObject * obj2 = 0 ;
19563 PyObject * obj3 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19569 if (obj0) {
19570 {
19571 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19572 if (SWIG_arg_fail(1)) SWIG_fail;
19573 }
19574 }
19575 if (obj1) {
19576 {
19577 arg2 = static_cast<int >(SWIG_As_int(obj1));
19578 if (SWIG_arg_fail(2)) SWIG_fail;
19579 }
19580 }
19581 if (obj2) {
19582 {
19583 arg3 = static_cast<int >(SWIG_As_int(obj2));
19584 if (SWIG_arg_fail(3)) SWIG_fail;
19585 }
19586 }
19587 if (obj3) {
19588 {
19589 arg4 = static_cast<int >(SWIG_As_int(obj3));
19590 if (SWIG_arg_fail(4)) SWIG_fail;
19591 }
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
19608 PyObject *obj;
19609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19610 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
19611 Py_INCREF(obj);
19612 return Py_BuildValue((char *)"");
19613 }
19614 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj = NULL;
19616 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19617 int result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
19624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19625 if (SWIG_arg_fail(1)) SWIG_fail;
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (int)(arg1)->GetId();
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 {
19634 resultobj = SWIG_From_int(static_cast<int >(result));
19635 }
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj = NULL;
19644 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19645 wxControl *result;
19646 PyObject * obj0 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self", NULL
19649 };
19650
19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
19652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail;
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = (wxControl *)(arg1)->GetControl();
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 resultobj = wxPyMake_wxObject(result, 0);
19663 }
19664 return resultobj;
19665 fail:
19666 return NULL;
19667 }
19668
19669
19670 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj = NULL;
19672 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19673 wxToolBarBase *result;
19674 PyObject * obj0 = 0 ;
19675 char *kwnames[] = {
19676 (char *) "self", NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
19680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail;
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 result = (wxToolBarBase *)(arg1)->GetToolBar();
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 {
19690 resultobj = wxPyMake_wxObject(result, (bool)0);
19691 }
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj = NULL;
19700 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19701 int result;
19702 PyObject * obj0 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
19708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19709 if (SWIG_arg_fail(1)) SWIG_fail;
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (int)(arg1)->IsButton();
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 resultobj = SWIG_From_int(static_cast<int >(result));
19719 }
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj = NULL;
19728 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19729 int result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
19736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (int)(arg1)->IsControl();
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 {
19746 resultobj = SWIG_From_int(static_cast<int >(result));
19747 }
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj = NULL;
19756 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19757 int result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
19764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (int)(arg1)->IsSeparator();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
19774 resultobj = SWIG_From_int(static_cast<int >(result));
19775 }
19776 return resultobj;
19777 fail:
19778 return NULL;
19779 }
19780
19781
19782 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj = NULL;
19784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19785 int result;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
19792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail;
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 result = (int)(arg1)->GetStyle();
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 {
19802 resultobj = SWIG_From_int(static_cast<int >(result));
19803 }
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj = NULL;
19812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19813 wxItemKind result;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
19820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail;
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (wxItemKind)(arg1)->GetKind();
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = SWIG_From_int((result));
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj = NULL;
19838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19839 bool result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
19846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19847 if (SWIG_arg_fail(1)) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->IsEnabled();
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_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj = NULL;
19866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
19874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail;
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 result = (bool)(arg1)->IsToggled();
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 {
19884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19885 }
19886 return resultobj;
19887 fail:
19888 return NULL;
19889 }
19890
19891
19892 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj = NULL;
19894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19895 bool result;
19896 PyObject * obj0 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
19902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail;
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (bool)(arg1)->CanBeToggled();
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 {
19912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19913 }
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj = NULL;
19922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19923 wxBitmap *result;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
19930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 {
19935 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19936 result = (wxBitmap *) &_result_ref;
19937 }
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 wxBitmap* resultptr = new wxBitmap(*result);
19944 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19945 }
19946 return resultobj;
19947 fail:
19948 return NULL;
19949 }
19950
19951
19952 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj = NULL;
19954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19955 wxBitmap *result;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
19962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 {
19967 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19968 result = (wxBitmap *) &_result_ref;
19969 }
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 {
19975 wxBitmap* resultptr = new wxBitmap(*result);
19976 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19977 }
19978 return resultobj;
19979 fail:
19980 return NULL;
19981 }
19982
19983
19984 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj = NULL;
19986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19987 wxBitmap result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
19994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (arg1)->GetBitmap();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 wxBitmap * resultptr;
20005 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
20006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20007 }
20008 return resultobj;
20009 fail:
20010 return NULL;
20011 }
20012
20013
20014 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
20015 PyObject *resultobj = NULL;
20016 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20017 wxString result;
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
20024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (arg1)->GetLabel();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 {
20034 #if wxUSE_UNICODE
20035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20036 #else
20037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20038 #endif
20039 }
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj = NULL;
20048 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20049 wxString result;
20050 PyObject * obj0 = 0 ;
20051 char *kwnames[] = {
20052 (char *) "self", NULL
20053 };
20054
20055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
20056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail;
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 result = (arg1)->GetShortHelp();
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 {
20066 #if wxUSE_UNICODE
20067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20068 #else
20069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20070 #endif
20071 }
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj = NULL;
20080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20081 wxString result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
20088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (arg1)->GetLongHelp();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098 #if wxUSE_UNICODE
20099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20100 #else
20101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20102 #endif
20103 }
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj = NULL;
20112 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20113 bool arg2 ;
20114 bool result;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "enable", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
20122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail;
20124 {
20125 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
20126 if (SWIG_arg_fail(2)) SWIG_fail;
20127 }
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (bool)(arg1)->Enable(arg2);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 {
20136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20137 }
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj = NULL;
20146 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
20153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20154 if (SWIG_arg_fail(1)) SWIG_fail;
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 (arg1)->Toggle();
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 Py_INCREF(Py_None); resultobj = Py_None;
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj = NULL;
20171 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20172 bool arg2 ;
20173 bool result;
20174 PyObject * obj0 = 0 ;
20175 PyObject * obj1 = 0 ;
20176 char *kwnames[] = {
20177 (char *) "self",(char *) "toggle", NULL
20178 };
20179
20180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
20181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20182 if (SWIG_arg_fail(1)) SWIG_fail;
20183 {
20184 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
20185 if (SWIG_arg_fail(2)) SWIG_fail;
20186 }
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (bool)(arg1)->SetToggle(arg2);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20196 }
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj = NULL;
20205 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20206 wxString *arg2 = 0 ;
20207 bool result;
20208 bool temp2 = false ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "help", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
20216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail;
20218 {
20219 arg2 = wxString_in_helper(obj1);
20220 if (arg2 == NULL) SWIG_fail;
20221 temp2 = true;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 {
20231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20232 }
20233 {
20234 if (temp2)
20235 delete arg2;
20236 }
20237 return resultobj;
20238 fail:
20239 {
20240 if (temp2)
20241 delete arg2;
20242 }
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj = NULL;
20249 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20250 wxString *arg2 = 0 ;
20251 bool result;
20252 bool temp2 = false ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "help", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
20260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail;
20262 {
20263 arg2 = wxString_in_helper(obj1);
20264 if (arg2 == NULL) SWIG_fail;
20265 temp2 = true;
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20270
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 {
20275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20276 }
20277 {
20278 if (temp2)
20279 delete arg2;
20280 }
20281 return resultobj;
20282 fail:
20283 {
20284 if (temp2)
20285 delete arg2;
20286 }
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj = NULL;
20293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20294 wxBitmap *arg2 = 0 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "bmp", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
20302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail;
20304 {
20305 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(2)) SWIG_fail;
20307 if (arg2 == NULL) {
20308 SWIG_null_ref("wxBitmap");
20309 }
20310 if (SWIG_arg_fail(2)) SWIG_fail;
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 Py_INCREF(Py_None); resultobj = Py_None;
20320 return resultobj;
20321 fail:
20322 return NULL;
20323 }
20324
20325
20326 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj = NULL;
20328 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20329 wxBitmap *arg2 = 0 ;
20330 PyObject * obj0 = 0 ;
20331 PyObject * obj1 = 0 ;
20332 char *kwnames[] = {
20333 (char *) "self",(char *) "bmp", NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
20337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20338 if (SWIG_arg_fail(1)) SWIG_fail;
20339 {
20340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20341 if (SWIG_arg_fail(2)) SWIG_fail;
20342 if (arg2 == NULL) {
20343 SWIG_null_ref("wxBitmap");
20344 }
20345 if (SWIG_arg_fail(2)) SWIG_fail;
20346 }
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 Py_INCREF(Py_None); resultobj = Py_None;
20355 return resultobj;
20356 fail:
20357 return NULL;
20358 }
20359
20360
20361 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj = NULL;
20363 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20364 wxString *arg2 = 0 ;
20365 bool temp2 = false ;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "label", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20374 if (SWIG_arg_fail(1)) SWIG_fail;
20375 {
20376 arg2 = wxString_in_helper(obj1);
20377 if (arg2 == NULL) SWIG_fail;
20378 temp2 = true;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetLabel((wxString const &)*arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 Py_INCREF(Py_None); resultobj = Py_None;
20388 {
20389 if (temp2)
20390 delete arg2;
20391 }
20392 return resultobj;
20393 fail:
20394 {
20395 if (temp2)
20396 delete arg2;
20397 }
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj = NULL;
20404 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20405 PyObject * obj0 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
20411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20412 if (SWIG_arg_fail(1)) SWIG_fail;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 (arg1)->Detach();
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj = NULL;
20429 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20430 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "tbar", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
20438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail;
20440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20441 if (SWIG_arg_fail(2)) SWIG_fail;
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->Attach(arg2);
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453 }
20454
20455
20456 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj = NULL;
20458 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20459 PyObject *result;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
20466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail;
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20471
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = result;
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20483 PyObject *resultobj = NULL;
20484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20485 PyObject *arg2 = (PyObject *) 0 ;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self",(char *) "clientData", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
20493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20494 if (SWIG_arg_fail(1)) SWIG_fail;
20495 arg2 = obj1;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 wxToolBarToolBase_SetClientData(arg1,arg2);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
20511 PyObject *obj;
20512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20513 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20514 Py_INCREF(obj);
20515 return Py_BuildValue((char *)"");
20516 }
20517 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj = NULL;
20519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20520 int arg2 ;
20521 wxString *arg3 = 0 ;
20522 wxBitmap *arg4 = 0 ;
20523 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20524 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
20525 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
20526 wxString const &arg7_defvalue = wxPyEmptyString ;
20527 wxString *arg7 = (wxString *) &arg7_defvalue ;
20528 wxString const &arg8_defvalue = wxPyEmptyString ;
20529 wxString *arg8 = (wxString *) &arg8_defvalue ;
20530 PyObject *arg9 = (PyObject *) NULL ;
20531 wxToolBarToolBase *result;
20532 bool temp3 = false ;
20533 bool temp7 = false ;
20534 bool temp8 = false ;
20535 PyObject * obj0 = 0 ;
20536 PyObject * obj1 = 0 ;
20537 PyObject * obj2 = 0 ;
20538 PyObject * obj3 = 0 ;
20539 PyObject * obj4 = 0 ;
20540 PyObject * obj5 = 0 ;
20541 PyObject * obj6 = 0 ;
20542 PyObject * obj7 = 0 ;
20543 PyObject * obj8 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
20549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail;
20551 {
20552 arg2 = static_cast<int >(SWIG_As_int(obj1));
20553 if (SWIG_arg_fail(2)) SWIG_fail;
20554 }
20555 {
20556 arg3 = wxString_in_helper(obj2);
20557 if (arg3 == NULL) SWIG_fail;
20558 temp3 = true;
20559 }
20560 {
20561 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20562 if (SWIG_arg_fail(4)) SWIG_fail;
20563 if (arg4 == NULL) {
20564 SWIG_null_ref("wxBitmap");
20565 }
20566 if (SWIG_arg_fail(4)) SWIG_fail;
20567 }
20568 if (obj4) {
20569 {
20570 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20571 if (SWIG_arg_fail(5)) SWIG_fail;
20572 if (arg5 == NULL) {
20573 SWIG_null_ref("wxBitmap");
20574 }
20575 if (SWIG_arg_fail(5)) SWIG_fail;
20576 }
20577 }
20578 if (obj5) {
20579 {
20580 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
20581 if (SWIG_arg_fail(6)) SWIG_fail;
20582 }
20583 }
20584 if (obj6) {
20585 {
20586 arg7 = wxString_in_helper(obj6);
20587 if (arg7 == NULL) SWIG_fail;
20588 temp7 = true;
20589 }
20590 }
20591 if (obj7) {
20592 {
20593 arg8 = wxString_in_helper(obj7);
20594 if (arg8 == NULL) SWIG_fail;
20595 temp8 = true;
20596 }
20597 }
20598 if (obj8) {
20599 arg9 = obj8;
20600 }
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 {
20609 resultobj = wxPyMake_wxObject(result, (bool)0);
20610 }
20611 {
20612 if (temp3)
20613 delete arg3;
20614 }
20615 {
20616 if (temp7)
20617 delete arg7;
20618 }
20619 {
20620 if (temp8)
20621 delete arg8;
20622 }
20623 return resultobj;
20624 fail:
20625 {
20626 if (temp3)
20627 delete arg3;
20628 }
20629 {
20630 if (temp7)
20631 delete arg7;
20632 }
20633 {
20634 if (temp8)
20635 delete arg8;
20636 }
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj = NULL;
20643 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20644 size_t arg2 ;
20645 int arg3 ;
20646 wxString *arg4 = 0 ;
20647 wxBitmap *arg5 = 0 ;
20648 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20649 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
20650 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
20651 wxString const &arg8_defvalue = wxPyEmptyString ;
20652 wxString *arg8 = (wxString *) &arg8_defvalue ;
20653 wxString const &arg9_defvalue = wxPyEmptyString ;
20654 wxString *arg9 = (wxString *) &arg9_defvalue ;
20655 PyObject *arg10 = (PyObject *) NULL ;
20656 wxToolBarToolBase *result;
20657 bool temp4 = false ;
20658 bool temp8 = false ;
20659 bool temp9 = false ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 PyObject * obj2 = 0 ;
20663 PyObject * obj3 = 0 ;
20664 PyObject * obj4 = 0 ;
20665 PyObject * obj5 = 0 ;
20666 PyObject * obj6 = 0 ;
20667 PyObject * obj7 = 0 ;
20668 PyObject * obj8 = 0 ;
20669 PyObject * obj9 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
20675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20676 if (SWIG_arg_fail(1)) SWIG_fail;
20677 {
20678 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20679 if (SWIG_arg_fail(2)) SWIG_fail;
20680 }
20681 {
20682 arg3 = static_cast<int >(SWIG_As_int(obj2));
20683 if (SWIG_arg_fail(3)) SWIG_fail;
20684 }
20685 {
20686 arg4 = wxString_in_helper(obj3);
20687 if (arg4 == NULL) SWIG_fail;
20688 temp4 = true;
20689 }
20690 {
20691 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(5)) SWIG_fail;
20693 if (arg5 == NULL) {
20694 SWIG_null_ref("wxBitmap");
20695 }
20696 if (SWIG_arg_fail(5)) SWIG_fail;
20697 }
20698 if (obj5) {
20699 {
20700 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(6)) SWIG_fail;
20702 if (arg6 == NULL) {
20703 SWIG_null_ref("wxBitmap");
20704 }
20705 if (SWIG_arg_fail(6)) SWIG_fail;
20706 }
20707 }
20708 if (obj6) {
20709 {
20710 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
20711 if (SWIG_arg_fail(7)) SWIG_fail;
20712 }
20713 }
20714 if (obj7) {
20715 {
20716 arg8 = wxString_in_helper(obj7);
20717 if (arg8 == NULL) SWIG_fail;
20718 temp8 = true;
20719 }
20720 }
20721 if (obj8) {
20722 {
20723 arg9 = wxString_in_helper(obj8);
20724 if (arg9 == NULL) SWIG_fail;
20725 temp9 = true;
20726 }
20727 }
20728 if (obj9) {
20729 arg10 = obj9;
20730 }
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 {
20739 resultobj = wxPyMake_wxObject(result, (bool)0);
20740 }
20741 {
20742 if (temp4)
20743 delete arg4;
20744 }
20745 {
20746 if (temp8)
20747 delete arg8;
20748 }
20749 {
20750 if (temp9)
20751 delete arg9;
20752 }
20753 return resultobj;
20754 fail:
20755 {
20756 if (temp4)
20757 delete arg4;
20758 }
20759 {
20760 if (temp8)
20761 delete arg8;
20762 }
20763 {
20764 if (temp9)
20765 delete arg9;
20766 }
20767 return NULL;
20768 }
20769
20770
20771 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj = NULL;
20773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20774 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20775 wxToolBarToolBase *result;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "tool", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20786 if (SWIG_arg_fail(2)) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 {
20795 resultobj = wxPyMake_wxObject(result, (bool)0);
20796 }
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj = NULL;
20805 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20806 size_t arg2 ;
20807 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20808 wxToolBarToolBase *result;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 PyObject * obj2 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self",(char *) "pos",(char *) "tool", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail;
20819 {
20820 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20821 if (SWIG_arg_fail(2)) SWIG_fail;
20822 }
20823 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20824 if (SWIG_arg_fail(3)) SWIG_fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 resultobj = wxPyMake_wxObject(result, (bool)0);
20834 }
20835 return resultobj;
20836 fail:
20837 return NULL;
20838 }
20839
20840
20841 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj = NULL;
20843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20844 wxControl *arg2 = (wxControl *) 0 ;
20845 wxToolBarToolBase *result;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "control", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
20853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail;
20855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(2)) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 {
20865 resultobj = wxPyMake_wxObject(result, (bool)0);
20866 }
20867 return resultobj;
20868 fail:
20869 return NULL;
20870 }
20871
20872
20873 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj = NULL;
20875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20876 size_t arg2 ;
20877 wxControl *arg3 = (wxControl *) 0 ;
20878 wxToolBarToolBase *result;
20879 PyObject * obj0 = 0 ;
20880 PyObject * obj1 = 0 ;
20881 PyObject * obj2 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "pos",(char *) "control", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
20887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail;
20889 {
20890 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20891 if (SWIG_arg_fail(2)) SWIG_fail;
20892 }
20893 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20894 if (SWIG_arg_fail(3)) SWIG_fail;
20895 {
20896 PyThreadState* __tstate = wxPyBeginAllowThreads();
20897 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20898
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 {
20903 resultobj = wxPyMake_wxObject(result, (bool)0);
20904 }
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj = NULL;
20913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20914 int arg2 ;
20915 wxControl *result;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "id", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
20923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail;
20925 {
20926 arg2 = static_cast<int >(SWIG_As_int(obj1));
20927 if (SWIG_arg_fail(2)) SWIG_fail;
20928 }
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (wxControl *)(arg1)->FindControl(arg2);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 {
20937 resultobj = wxPyMake_wxObject(result, 0);
20938 }
20939 return resultobj;
20940 fail:
20941 return NULL;
20942 }
20943
20944
20945 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj = NULL;
20947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20948 wxToolBarToolBase *result;
20949 PyObject * obj0 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
20955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail;
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
20965 resultobj = wxPyMake_wxObject(result, (bool)0);
20966 }
20967 return resultobj;
20968 fail:
20969 return NULL;
20970 }
20971
20972
20973 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj = NULL;
20975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20976 size_t arg2 ;
20977 wxToolBarToolBase *result;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "pos", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
20985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail;
20987 {
20988 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20989 if (SWIG_arg_fail(2)) SWIG_fail;
20990 }
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
20999 resultobj = wxPyMake_wxObject(result, (bool)0);
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj = NULL;
21009 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21010 int arg2 ;
21011 wxToolBarToolBase *result;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "id", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
21019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail;
21021 {
21022 arg2 = static_cast<int >(SWIG_As_int(obj1));
21023 if (SWIG_arg_fail(2)) SWIG_fail;
21024 }
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 {
21033 resultobj = wxPyMake_wxObject(result, (bool)0);
21034 }
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj = NULL;
21043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21044 size_t arg2 ;
21045 bool result;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "pos", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
21053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21054 if (SWIG_arg_fail(1)) SWIG_fail;
21055 {
21056 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
21057 if (SWIG_arg_fail(2)) SWIG_fail;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (bool)(arg1)->DeleteToolByPos(arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 {
21067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21068 }
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj = NULL;
21077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21078 int arg2 ;
21079 bool result;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "id", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
21087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21088 if (SWIG_arg_fail(1)) SWIG_fail;
21089 {
21090 arg2 = static_cast<int >(SWIG_As_int(obj1));
21091 if (SWIG_arg_fail(2)) SWIG_fail;
21092 }
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (bool)(arg1)->DeleteTool(arg2);
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 {
21101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21102 }
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj = NULL;
21111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
21118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->ClearTools();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj = NULL;
21136 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21137 bool result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
21144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (bool)(arg1)->Realize();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 {
21154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21155 }
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj = NULL;
21164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21165 int arg2 ;
21166 bool arg3 ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 PyObject * obj2 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self",(char *) "id",(char *) "enable", NULL
21172 };
21173
21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail;
21177 {
21178 arg2 = static_cast<int >(SWIG_As_int(obj1));
21179 if (SWIG_arg_fail(2)) SWIG_fail;
21180 }
21181 {
21182 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21183 if (SWIG_arg_fail(3)) SWIG_fail;
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->EnableTool(arg2,arg3);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj = NULL;
21201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21202 int arg2 ;
21203 bool arg3 ;
21204 PyObject * obj0 = 0 ;
21205 PyObject * obj1 = 0 ;
21206 PyObject * obj2 = 0 ;
21207 char *kwnames[] = {
21208 (char *) "self",(char *) "id",(char *) "toggle", NULL
21209 };
21210
21211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail;
21214 {
21215 arg2 = static_cast<int >(SWIG_As_int(obj1));
21216 if (SWIG_arg_fail(2)) SWIG_fail;
21217 }
21218 {
21219 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21220 if (SWIG_arg_fail(3)) SWIG_fail;
21221 }
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 (arg1)->ToggleTool(arg2,arg3);
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 Py_INCREF(Py_None); resultobj = Py_None;
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj = NULL;
21238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21239 int arg2 ;
21240 bool arg3 ;
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 PyObject * obj2 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "id",(char *) "toggle", NULL
21246 };
21247
21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21250 if (SWIG_arg_fail(1)) SWIG_fail;
21251 {
21252 arg2 = static_cast<int >(SWIG_As_int(obj1));
21253 if (SWIG_arg_fail(2)) SWIG_fail;
21254 }
21255 {
21256 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21257 if (SWIG_arg_fail(3)) SWIG_fail;
21258 }
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 (arg1)->SetToggle(arg2,arg3);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 Py_INCREF(Py_None); resultobj = Py_None;
21267 return resultobj;
21268 fail:
21269 return NULL;
21270 }
21271
21272
21273 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21274 PyObject *resultobj = NULL;
21275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21276 int arg2 ;
21277 PyObject *result;
21278 PyObject * obj0 = 0 ;
21279 PyObject * obj1 = 0 ;
21280 char *kwnames[] = {
21281 (char *) "self",(char *) "id", NULL
21282 };
21283
21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
21285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21286 if (SWIG_arg_fail(1)) SWIG_fail;
21287 {
21288 arg2 = static_cast<int >(SWIG_As_int(obj1));
21289 if (SWIG_arg_fail(2)) SWIG_fail;
21290 }
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 resultobj = result;
21299 return resultobj;
21300 fail:
21301 return NULL;
21302 }
21303
21304
21305 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj = NULL;
21307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21308 int arg2 ;
21309 PyObject *arg3 = (PyObject *) 0 ;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 PyObject * obj2 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "id",(char *) "clientData", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail;
21320 {
21321 arg2 = static_cast<int >(SWIG_As_int(obj1));
21322 if (SWIG_arg_fail(2)) SWIG_fail;
21323 }
21324 arg3 = obj2;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj = NULL;
21341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21342 int arg2 ;
21343 int result;
21344 PyObject * obj0 = 0 ;
21345 PyObject * obj1 = 0 ;
21346 char *kwnames[] = {
21347 (char *) "self",(char *) "id", NULL
21348 };
21349
21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
21351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail;
21353 {
21354 arg2 = static_cast<int >(SWIG_As_int(obj1));
21355 if (SWIG_arg_fail(2)) SWIG_fail;
21356 }
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 {
21365 resultobj = SWIG_From_int(static_cast<int >(result));
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj = NULL;
21375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21376 int arg2 ;
21377 bool result;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "id", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
21385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail;
21387 {
21388 arg2 = static_cast<int >(SWIG_As_int(obj1));
21389 if (SWIG_arg_fail(2)) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (bool)(arg1)->GetToolState(arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 {
21399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21400 }
21401 return resultobj;
21402 fail:
21403 return NULL;
21404 }
21405
21406
21407 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj = NULL;
21409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21410 int arg2 ;
21411 bool result;
21412 PyObject * obj0 = 0 ;
21413 PyObject * obj1 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "id", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
21419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail;
21421 {
21422 arg2 = static_cast<int >(SWIG_As_int(obj1));
21423 if (SWIG_arg_fail(2)) SWIG_fail;
21424 }
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 result = (bool)(arg1)->GetToolEnabled(arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 {
21433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21434 }
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj = NULL;
21443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21444 int arg2 ;
21445 wxString *arg3 = 0 ;
21446 bool temp3 = false ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 PyObject * obj2 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "id",(char *) "helpString", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail;
21457 {
21458 arg2 = static_cast<int >(SWIG_As_int(obj1));
21459 if (SWIG_arg_fail(2)) SWIG_fail;
21460 }
21461 {
21462 arg3 = wxString_in_helper(obj2);
21463 if (arg3 == NULL) SWIG_fail;
21464 temp3 = true;
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 Py_INCREF(Py_None); resultobj = Py_None;
21474 {
21475 if (temp3)
21476 delete arg3;
21477 }
21478 return resultobj;
21479 fail:
21480 {
21481 if (temp3)
21482 delete arg3;
21483 }
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj = NULL;
21490 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21491 int arg2 ;
21492 wxString result;
21493 PyObject * obj0 = 0 ;
21494 PyObject * obj1 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self",(char *) "id", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
21502 {
21503 arg2 = static_cast<int >(SWIG_As_int(obj1));
21504 if (SWIG_arg_fail(2)) SWIG_fail;
21505 }
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 result = (arg1)->GetToolShortHelp(arg2);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 {
21514 #if wxUSE_UNICODE
21515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21516 #else
21517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21518 #endif
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj = NULL;
21528 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21529 int arg2 ;
21530 wxString *arg3 = 0 ;
21531 bool temp3 = false ;
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 PyObject * obj2 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self",(char *) "id",(char *) "helpString", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail;
21542 {
21543 arg2 = static_cast<int >(SWIG_As_int(obj1));
21544 if (SWIG_arg_fail(2)) SWIG_fail;
21545 }
21546 {
21547 arg3 = wxString_in_helper(obj2);
21548 if (arg3 == NULL) SWIG_fail;
21549 temp3 = true;
21550 }
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 Py_INCREF(Py_None); resultobj = Py_None;
21559 {
21560 if (temp3)
21561 delete arg3;
21562 }
21563 return resultobj;
21564 fail:
21565 {
21566 if (temp3)
21567 delete arg3;
21568 }
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj = NULL;
21575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21576 int arg2 ;
21577 wxString result;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char *kwnames[] = {
21581 (char *) "self",(char *) "id", NULL
21582 };
21583
21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
21585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21586 if (SWIG_arg_fail(1)) SWIG_fail;
21587 {
21588 arg2 = static_cast<int >(SWIG_As_int(obj1));
21589 if (SWIG_arg_fail(2)) SWIG_fail;
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 result = (arg1)->GetToolLongHelp(arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 {
21599 #if wxUSE_UNICODE
21600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21601 #else
21602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21603 #endif
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj = NULL;
21613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21614 int arg2 ;
21615 int arg3 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "x",(char *) "y", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
21624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail;
21626 {
21627 arg2 = static_cast<int >(SWIG_As_int(obj1));
21628 if (SWIG_arg_fail(2)) SWIG_fail;
21629 }
21630 {
21631 arg3 = static_cast<int >(SWIG_As_int(obj2));
21632 if (SWIG_arg_fail(3)) SWIG_fail;
21633 }
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->SetMargins(arg2,arg3);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 Py_INCREF(Py_None); resultobj = Py_None;
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj = NULL;
21650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21651 wxSize *arg2 = 0 ;
21652 wxSize temp2 ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "size", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
21660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail;
21662 {
21663 arg2 = &temp2;
21664 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21665 }
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->SetMargins((wxSize const &)*arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677 }
21678
21679
21680 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj = NULL;
21682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21683 int arg2 ;
21684 PyObject * obj0 = 0 ;
21685 PyObject * obj1 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "packing", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
21691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail;
21693 {
21694 arg2 = static_cast<int >(SWIG_As_int(obj1));
21695 if (SWIG_arg_fail(2)) SWIG_fail;
21696 }
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 (arg1)->SetToolPacking(arg2);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 Py_INCREF(Py_None); resultobj = Py_None;
21705 return resultobj;
21706 fail:
21707 return NULL;
21708 }
21709
21710
21711 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj = NULL;
21713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21714 int arg2 ;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "separation", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
21722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21723 if (SWIG_arg_fail(1)) SWIG_fail;
21724 {
21725 arg2 = static_cast<int >(SWIG_As_int(obj1));
21726 if (SWIG_arg_fail(2)) SWIG_fail;
21727 }
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetToolSeparation(arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj = NULL;
21744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21745 wxSize result;
21746 PyObject * obj0 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 result = (arg1)->GetToolMargins();
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 {
21762 wxSize * resultptr;
21763 resultptr = new wxSize(static_cast<wxSize & >(result));
21764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21765 }
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj = NULL;
21774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21775 wxSize result;
21776 PyObject * obj0 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
21782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail;
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = (arg1)->GetMargins();
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 {
21792 wxSize * resultptr;
21793 resultptr = new wxSize(static_cast<wxSize & >(result));
21794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21795 }
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj = NULL;
21804 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21805 int result;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
21812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail;
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (int)(arg1)->GetToolPacking();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 resultobj = SWIG_From_int(static_cast<int >(result));
21823 }
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj = NULL;
21832 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21833 int result;
21834 PyObject * obj0 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
21840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail;
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = (int)(arg1)->GetToolSeparation();
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 {
21850 resultobj = SWIG_From_int(static_cast<int >(result));
21851 }
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj = NULL;
21860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21861 int arg2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "nRows", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
21872 arg2 = static_cast<int >(SWIG_As_int(obj1));
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetRows(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj = NULL;
21891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21892 int arg2 ;
21893 int arg3 ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 PyObject * obj2 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self",(char *) "rows",(char *) "cols", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
21902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail;
21904 {
21905 arg2 = static_cast<int >(SWIG_As_int(obj1));
21906 if (SWIG_arg_fail(2)) SWIG_fail;
21907 }
21908 {
21909 arg3 = static_cast<int >(SWIG_As_int(obj2));
21910 if (SWIG_arg_fail(3)) SWIG_fail;
21911 }
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->SetMaxRowsCols(arg2,arg3);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 Py_INCREF(Py_None); resultobj = Py_None;
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj = NULL;
21928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21929 int result;
21930 PyObject * obj0 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
21936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail;
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = (int)(arg1)->GetMaxRows();
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 {
21946 resultobj = SWIG_From_int(static_cast<int >(result));
21947 }
21948 return resultobj;
21949 fail:
21950 return NULL;
21951 }
21952
21953
21954 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj = NULL;
21956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21957 int result;
21958 PyObject * obj0 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
21964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21965 if (SWIG_arg_fail(1)) SWIG_fail;
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 result = (int)(arg1)->GetMaxCols();
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 {
21974 resultobj = SWIG_From_int(static_cast<int >(result));
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj = NULL;
21984 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21985 wxSize *arg2 = 0 ;
21986 wxSize temp2 ;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self",(char *) "size", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
21994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail;
21996 {
21997 arg2 = &temp2;
21998 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->SetToolBitmapSize((wxSize const &)*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_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj = NULL;
22016 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22017 wxSize result;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
22024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = (arg1)->GetToolBitmapSize();
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 wxSize * resultptr;
22035 resultptr = new wxSize(static_cast<wxSize & >(result));
22036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj = NULL;
22046 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22047 wxSize result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
22054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail;
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = (arg1)->GetToolSize();
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 {
22064 wxSize * resultptr;
22065 resultptr = new wxSize(static_cast<wxSize & >(result));
22066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22067 }
22068 return resultobj;
22069 fail:
22070 return NULL;
22071 }
22072
22073
22074 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22075 PyObject *resultobj = NULL;
22076 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22077 int arg2 ;
22078 int arg3 ;
22079 wxToolBarToolBase *result;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 PyObject * obj2 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self",(char *) "x",(char *) "y", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22089 if (SWIG_arg_fail(1)) SWIG_fail;
22090 {
22091 arg2 = static_cast<int >(SWIG_As_int(obj1));
22092 if (SWIG_arg_fail(2)) SWIG_fail;
22093 }
22094 {
22095 arg3 = static_cast<int >(SWIG_As_int(obj2));
22096 if (SWIG_arg_fail(3)) SWIG_fail;
22097 }
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = wxPyMake_wxObject(result, (bool)0);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111 }
22112
22113
22114 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj = NULL;
22116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22117 int arg2 ;
22118 wxToolBarToolBase *result;
22119 PyObject * obj0 = 0 ;
22120 PyObject * obj1 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "self",(char *) "toolid", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
22126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail;
22128 {
22129 arg2 = static_cast<int >(SWIG_As_int(obj1));
22130 if (SWIG_arg_fail(2)) SWIG_fail;
22131 }
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 {
22140 resultobj = wxPyMake_wxObject(result, (bool)0);
22141 }
22142 return resultobj;
22143 fail:
22144 return NULL;
22145 }
22146
22147
22148 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj = NULL;
22150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22151 bool result;
22152 PyObject * obj0 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
22158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail;
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 result = (bool)(arg1)->IsVertical();
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 {
22168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22169 }
22170 return resultobj;
22171 fail:
22172 return NULL;
22173 }
22174
22175
22176 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
22177 PyObject *obj;
22178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22179 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22180 Py_INCREF(obj);
22181 return Py_BuildValue((char *)"");
22182 }
22183 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22184 PyObject *resultobj = NULL;
22185 wxWindow *arg1 = (wxWindow *) 0 ;
22186 int arg2 = (int) -1 ;
22187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22189 wxSize const &arg4_defvalue = wxDefaultSize ;
22190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22191 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22192 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22193 wxString *arg6 = (wxString *) &arg6_defvalue ;
22194 wxToolBar *result;
22195 wxPoint temp3 ;
22196 wxSize temp4 ;
22197 bool temp6 = false ;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 PyObject * obj2 = 0 ;
22201 PyObject * obj3 = 0 ;
22202 PyObject * obj4 = 0 ;
22203 PyObject * obj5 = 0 ;
22204 char *kwnames[] = {
22205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22206 };
22207
22208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22210 if (SWIG_arg_fail(1)) SWIG_fail;
22211 if (obj1) {
22212 {
22213 arg2 = static_cast<int >(SWIG_As_int(obj1));
22214 if (SWIG_arg_fail(2)) SWIG_fail;
22215 }
22216 }
22217 if (obj2) {
22218 {
22219 arg3 = &temp3;
22220 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22221 }
22222 }
22223 if (obj3) {
22224 {
22225 arg4 = &temp4;
22226 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22227 }
22228 }
22229 if (obj4) {
22230 {
22231 arg5 = static_cast<long >(SWIG_As_long(obj4));
22232 if (SWIG_arg_fail(5)) SWIG_fail;
22233 }
22234 }
22235 if (obj5) {
22236 {
22237 arg6 = wxString_in_helper(obj5);
22238 if (arg6 == NULL) SWIG_fail;
22239 temp6 = true;
22240 }
22241 }
22242 {
22243 if (!wxPyCheckForApp()) SWIG_fail;
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22251 {
22252 if (temp6)
22253 delete arg6;
22254 }
22255 return resultobj;
22256 fail:
22257 {
22258 if (temp6)
22259 delete arg6;
22260 }
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj = NULL;
22267 wxToolBar *result;
22268 char *kwnames[] = {
22269 NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22273 {
22274 if (!wxPyCheckForApp()) SWIG_fail;
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = (wxToolBar *)new wxToolBar();
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj = NULL;
22290 wxToolBar *arg1 = (wxToolBar *) 0 ;
22291 wxWindow *arg2 = (wxWindow *) 0 ;
22292 int arg3 = (int) -1 ;
22293 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22294 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22295 wxSize const &arg5_defvalue = wxDefaultSize ;
22296 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22297 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22298 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22299 wxString *arg7 = (wxString *) &arg7_defvalue ;
22300 bool result;
22301 wxPoint temp4 ;
22302 wxSize temp5 ;
22303 bool temp7 = false ;
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
22306 PyObject * obj2 = 0 ;
22307 PyObject * obj3 = 0 ;
22308 PyObject * obj4 = 0 ;
22309 PyObject * obj5 = 0 ;
22310 PyObject * obj6 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail;
22318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22319 if (SWIG_arg_fail(2)) SWIG_fail;
22320 if (obj2) {
22321 {
22322 arg3 = static_cast<int >(SWIG_As_int(obj2));
22323 if (SWIG_arg_fail(3)) SWIG_fail;
22324 }
22325 }
22326 if (obj3) {
22327 {
22328 arg4 = &temp4;
22329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22330 }
22331 }
22332 if (obj4) {
22333 {
22334 arg5 = &temp5;
22335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22336 }
22337 }
22338 if (obj5) {
22339 {
22340 arg6 = static_cast<long >(SWIG_As_long(obj5));
22341 if (SWIG_arg_fail(6)) SWIG_fail;
22342 }
22343 }
22344 if (obj6) {
22345 {
22346 arg7 = wxString_in_helper(obj6);
22347 if (arg7 == NULL) SWIG_fail;
22348 temp7 = true;
22349 }
22350 }
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 {
22359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22360 }
22361 {
22362 if (temp7)
22363 delete arg7;
22364 }
22365 return resultobj;
22366 fail:
22367 {
22368 if (temp7)
22369 delete arg7;
22370 }
22371 return NULL;
22372 }
22373
22374
22375 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj = NULL;
22377 wxToolBar *arg1 = (wxToolBar *) 0 ;
22378 int arg2 ;
22379 int arg3 ;
22380 wxToolBarToolBase *result;
22381 PyObject * obj0 = 0 ;
22382 PyObject * obj1 = 0 ;
22383 PyObject * obj2 = 0 ;
22384 char *kwnames[] = {
22385 (char *) "self",(char *) "x",(char *) "y", NULL
22386 };
22387
22388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail;
22391 {
22392 arg2 = static_cast<int >(SWIG_As_int(obj1));
22393 if (SWIG_arg_fail(2)) SWIG_fail;
22394 }
22395 {
22396 arg3 = static_cast<int >(SWIG_As_int(obj2));
22397 if (SWIG_arg_fail(3)) SWIG_fail;
22398 }
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 {
22407 resultobj = wxPyMake_wxObject(result, (bool)0);
22408 }
22409 return resultobj;
22410 fail:
22411 return NULL;
22412 }
22413
22414
22415 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22416 PyObject *resultobj = NULL;
22417 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22418 wxVisualAttributes result;
22419 PyObject * obj0 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "variant", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22425 if (obj0) {
22426 {
22427 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
22428 if (SWIG_arg_fail(1)) SWIG_fail;
22429 }
22430 }
22431 {
22432 if (!wxPyCheckForApp()) SWIG_fail;
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = wxToolBar::GetClassDefaultAttributes(arg1);
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 {
22440 wxVisualAttributes * resultptr;
22441 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
22451 PyObject *obj;
22452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22454 Py_INCREF(obj);
22455 return Py_BuildValue((char *)"");
22456 }
22457 static int _wrap_ListCtrlNameStr_set(PyObject *) {
22458 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22459 return 1;
22460 }
22461
22462
22463 static PyObject *_wrap_ListCtrlNameStr_get(void) {
22464 PyObject *pyobj = NULL;
22465
22466 {
22467 #if wxUSE_UNICODE
22468 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22469 #else
22470 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22471 #endif
22472 }
22473 return pyobj;
22474 }
22475
22476
22477 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj = NULL;
22479 wxColour const &arg1_defvalue = wxNullColour ;
22480 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22481 wxColour const &arg2_defvalue = wxNullColour ;
22482 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22483 wxFont const &arg3_defvalue = wxNullFont ;
22484 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22485 wxListItemAttr *result;
22486 wxColour temp1 ;
22487 wxColour temp2 ;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22496 if (obj0) {
22497 {
22498 arg1 = &temp1;
22499 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22500 }
22501 }
22502 if (obj1) {
22503 {
22504 arg2 = &temp2;
22505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22506 }
22507 }
22508 if (obj2) {
22509 {
22510 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22511 if (SWIG_arg_fail(3)) SWIG_fail;
22512 if (arg3 == NULL) {
22513 SWIG_null_ref("wxFont");
22514 }
22515 if (SWIG_arg_fail(3)) SWIG_fail;
22516 }
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj = NULL;
22534 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22535 PyObject * obj0 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 delete arg1;
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj = NULL;
22559 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22560 wxColour *arg2 = 0 ;
22561 wxColour temp2 ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "colText", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail;
22571 {
22572 arg2 = &temp2;
22573 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->SetTextColour((wxColour const &)*arg2);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 Py_INCREF(Py_None); resultobj = Py_None;
22583 return resultobj;
22584 fail:
22585 return NULL;
22586 }
22587
22588
22589 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj = NULL;
22591 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22592 wxColour *arg2 = 0 ;
22593 wxColour temp2 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self",(char *) "colBack", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
22603 {
22604 arg2 = &temp2;
22605 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22606 }
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj = NULL;
22623 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22624 wxFont *arg2 = 0 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "font", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 if (arg2 == NULL) {
22638 SWIG_null_ref("wxFont");
22639 }
22640 if (SWIG_arg_fail(2)) SWIG_fail;
22641 }
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 (arg1)->SetFont((wxFont const &)*arg2);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 Py_INCREF(Py_None); resultobj = Py_None;
22650 return resultobj;
22651 fail:
22652 return NULL;
22653 }
22654
22655
22656 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22657 PyObject *resultobj = NULL;
22658 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22659 bool result;
22660 PyObject * obj0 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
22666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail;
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = (bool)(arg1)->HasTextColour();
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 {
22676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22677 }
22678 return resultobj;
22679 fail:
22680 return NULL;
22681 }
22682
22683
22684 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj = NULL;
22686 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22687 bool result;
22688 PyObject * obj0 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
22694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail;
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (bool)(arg1)->HasBackgroundColour();
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 {
22704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22705 }
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj = NULL;
22714 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22715 bool result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
22722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22723 if (SWIG_arg_fail(1)) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)(arg1)->HasFont();
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 {
22732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22733 }
22734 return resultobj;
22735 fail:
22736 return NULL;
22737 }
22738
22739
22740 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22741 PyObject *resultobj = NULL;
22742 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22743 wxColour result;
22744 PyObject * obj0 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
22750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (arg1)->GetTextColour();
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 {
22760 wxColour * resultptr;
22761 resultptr = new wxColour(static_cast<wxColour & >(result));
22762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22763 }
22764 return resultobj;
22765 fail:
22766 return NULL;
22767 }
22768
22769
22770 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj = NULL;
22772 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22773 wxColour result;
22774 PyObject * obj0 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
22780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22781 if (SWIG_arg_fail(1)) SWIG_fail;
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (arg1)->GetBackgroundColour();
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 {
22790 wxColour * resultptr;
22791 resultptr = new wxColour(static_cast<wxColour & >(result));
22792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22793 }
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj = NULL;
22802 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22803 wxFont result;
22804 PyObject * obj0 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
22810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail;
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 result = (arg1)->GetFont();
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 {
22820 wxFont * resultptr;
22821 resultptr = new wxFont(static_cast<wxFont & >(result));
22822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22823 }
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj = NULL;
22832 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22833 wxListItemAttr *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "source", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail;
22843 {
22844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22845 if (SWIG_arg_fail(2)) SWIG_fail;
22846 if (arg2 == NULL) {
22847 SWIG_null_ref("wxListItemAttr");
22848 }
22849 if (SWIG_arg_fail(2)) SWIG_fail;
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj = NULL;
22867 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22868 PyObject * obj0 = 0 ;
22869 char *kwnames[] = {
22870 (char *) "self", NULL
22871 };
22872
22873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
22874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22875 if (SWIG_arg_fail(1)) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 wxListItemAttr_Destroy(arg1);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
22891 PyObject *obj;
22892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22893 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22894 Py_INCREF(obj);
22895 return Py_BuildValue((char *)"");
22896 }
22897 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22898 PyObject *resultobj = NULL;
22899 wxListItem *result;
22900 char *kwnames[] = {
22901 NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (wxListItem *)new wxListItem();
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 {
22913 resultobj = wxPyMake_wxObject(result, (bool)1);
22914 }
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj = NULL;
22923 wxListItem *arg1 = (wxListItem *) 0 ;
22924 PyObject * obj0 = 0 ;
22925 char *kwnames[] = {
22926 (char *) "self", NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
22930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 delete arg1;
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 Py_INCREF(Py_None); resultobj = Py_None;
22940 return resultobj;
22941 fail:
22942 return NULL;
22943 }
22944
22945
22946 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj = NULL;
22948 wxListItem *arg1 = (wxListItem *) 0 ;
22949 PyObject * obj0 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self", NULL
22952 };
22953
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
22955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail;
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->Clear();
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj = NULL;
22973 wxListItem *arg1 = (wxListItem *) 0 ;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "self", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
22980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail;
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 (arg1)->ClearAttributes();
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 Py_INCREF(Py_None); resultobj = Py_None;
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22997 PyObject *resultobj = NULL;
22998 wxListItem *arg1 = (wxListItem *) 0 ;
22999 long arg2 ;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "mask", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
23009 {
23010 arg2 = static_cast<long >(SWIG_As_long(obj1));
23011 if (SWIG_arg_fail(2)) SWIG_fail;
23012 }
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 (arg1)->SetMask(arg2);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 Py_INCREF(Py_None); resultobj = Py_None;
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj = NULL;
23029 wxListItem *arg1 = (wxListItem *) 0 ;
23030 long arg2 ;
23031 PyObject * obj0 = 0 ;
23032 PyObject * obj1 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "id", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
23040 {
23041 arg2 = static_cast<long >(SWIG_As_long(obj1));
23042 if (SWIG_arg_fail(2)) SWIG_fail;
23043 }
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 (arg1)->SetId(arg2);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 Py_INCREF(Py_None); resultobj = Py_None;
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj = NULL;
23060 wxListItem *arg1 = (wxListItem *) 0 ;
23061 int arg2 ;
23062 PyObject * obj0 = 0 ;
23063 PyObject * obj1 = 0 ;
23064 char *kwnames[] = {
23065 (char *) "self",(char *) "col", NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
23069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail;
23071 {
23072 arg2 = static_cast<int >(SWIG_As_int(obj1));
23073 if (SWIG_arg_fail(2)) SWIG_fail;
23074 }
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->SetColumn(arg2);
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj = NULL;
23091 wxListItem *arg1 = (wxListItem *) 0 ;
23092 long arg2 ;
23093 PyObject * obj0 = 0 ;
23094 PyObject * obj1 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self",(char *) "state", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
23100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail;
23102 {
23103 arg2 = static_cast<long >(SWIG_As_long(obj1));
23104 if (SWIG_arg_fail(2)) SWIG_fail;
23105 }
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 (arg1)->SetState(arg2);
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117 }
23118
23119
23120 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj = NULL;
23122 wxListItem *arg1 = (wxListItem *) 0 ;
23123 long arg2 ;
23124 PyObject * obj0 = 0 ;
23125 PyObject * obj1 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self",(char *) "stateMask", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
23131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 {
23134 arg2 = static_cast<long >(SWIG_As_long(obj1));
23135 if (SWIG_arg_fail(2)) SWIG_fail;
23136 }
23137 {
23138 PyThreadState* __tstate = wxPyBeginAllowThreads();
23139 (arg1)->SetStateMask(arg2);
23140
23141 wxPyEndAllowThreads(__tstate);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 }
23144 Py_INCREF(Py_None); resultobj = Py_None;
23145 return resultobj;
23146 fail:
23147 return NULL;
23148 }
23149
23150
23151 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj = NULL;
23153 wxListItem *arg1 = (wxListItem *) 0 ;
23154 wxString *arg2 = 0 ;
23155 bool temp2 = false ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "text", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
23163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail;
23165 {
23166 arg2 = wxString_in_helper(obj1);
23167 if (arg2 == NULL) SWIG_fail;
23168 temp2 = true;
23169 }
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 (arg1)->SetText((wxString const &)*arg2);
23173
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 Py_INCREF(Py_None); resultobj = Py_None;
23178 {
23179 if (temp2)
23180 delete arg2;
23181 }
23182 return resultobj;
23183 fail:
23184 {
23185 if (temp2)
23186 delete arg2;
23187 }
23188 return NULL;
23189 }
23190
23191
23192 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj = NULL;
23194 wxListItem *arg1 = (wxListItem *) 0 ;
23195 int arg2 ;
23196 PyObject * obj0 = 0 ;
23197 PyObject * obj1 = 0 ;
23198 char *kwnames[] = {
23199 (char *) "self",(char *) "image", NULL
23200 };
23201
23202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
23203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23204 if (SWIG_arg_fail(1)) SWIG_fail;
23205 {
23206 arg2 = static_cast<int >(SWIG_As_int(obj1));
23207 if (SWIG_arg_fail(2)) SWIG_fail;
23208 }
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 (arg1)->SetImage(arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 Py_INCREF(Py_None); resultobj = Py_None;
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23224 PyObject *resultobj = NULL;
23225 wxListItem *arg1 = (wxListItem *) 0 ;
23226 long arg2 ;
23227 PyObject * obj0 = 0 ;
23228 PyObject * obj1 = 0 ;
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "data", NULL
23231 };
23232
23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
23234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23235 if (SWIG_arg_fail(1)) SWIG_fail;
23236 {
23237 arg2 = static_cast<long >(SWIG_As_long(obj1));
23238 if (SWIG_arg_fail(2)) SWIG_fail;
23239 }
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->SetData(arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj = NULL;
23256 wxListItem *arg1 = (wxListItem *) 0 ;
23257 int arg2 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "width", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
23265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23266 if (SWIG_arg_fail(1)) SWIG_fail;
23267 {
23268 arg2 = static_cast<int >(SWIG_As_int(obj1));
23269 if (SWIG_arg_fail(2)) SWIG_fail;
23270 }
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->SetWidth(arg2);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj = NULL;
23287 wxListItem *arg1 = (wxListItem *) 0 ;
23288 wxListColumnFormat arg2 ;
23289 PyObject * obj0 = 0 ;
23290 PyObject * obj1 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self",(char *) "align", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
23298 {
23299 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
23300 if (SWIG_arg_fail(2)) SWIG_fail;
23301 }
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 (arg1)->SetAlign(arg2);
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 Py_INCREF(Py_None); resultobj = Py_None;
23310 return resultobj;
23311 fail:
23312 return NULL;
23313 }
23314
23315
23316 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj = NULL;
23318 wxListItem *arg1 = (wxListItem *) 0 ;
23319 wxColour *arg2 = 0 ;
23320 wxColour temp2 ;
23321 PyObject * obj0 = 0 ;
23322 PyObject * obj1 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "colText", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
23330 {
23331 arg2 = &temp2;
23332 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23333 }
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 (arg1)->SetTextColour((wxColour const &)*arg2);
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 Py_INCREF(Py_None); resultobj = Py_None;
23342 return resultobj;
23343 fail:
23344 return NULL;
23345 }
23346
23347
23348 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj = NULL;
23350 wxListItem *arg1 = (wxListItem *) 0 ;
23351 wxColour *arg2 = 0 ;
23352 wxColour temp2 ;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self",(char *) "colBack", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23361 if (SWIG_arg_fail(1)) SWIG_fail;
23362 {
23363 arg2 = &temp2;
23364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23365 }
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 Py_INCREF(Py_None); resultobj = Py_None;
23374 return resultobj;
23375 fail:
23376 return NULL;
23377 }
23378
23379
23380 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23381 PyObject *resultobj = NULL;
23382 wxListItem *arg1 = (wxListItem *) 0 ;
23383 wxFont *arg2 = 0 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self",(char *) "font", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
23391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23392 if (SWIG_arg_fail(1)) SWIG_fail;
23393 {
23394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(2)) SWIG_fail;
23396 if (arg2 == NULL) {
23397 SWIG_null_ref("wxFont");
23398 }
23399 if (SWIG_arg_fail(2)) SWIG_fail;
23400 }
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 (arg1)->SetFont((wxFont const &)*arg2);
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 Py_INCREF(Py_None); resultobj = Py_None;
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj = NULL;
23417 wxListItem *arg1 = (wxListItem *) 0 ;
23418 long result;
23419 PyObject * obj0 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 result = (long)(arg1)->GetMask();
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 {
23435 resultobj = SWIG_From_long(static_cast<long >(result));
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj = NULL;
23445 wxListItem *arg1 = (wxListItem *) 0 ;
23446 long result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
23453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail;
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (long)(arg1)->GetId();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 {
23463 resultobj = SWIG_From_long(static_cast<long >(result));
23464 }
23465 return resultobj;
23466 fail:
23467 return NULL;
23468 }
23469
23470
23471 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj = NULL;
23473 wxListItem *arg1 = (wxListItem *) 0 ;
23474 int result;
23475 PyObject * obj0 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
23481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail;
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (int)(arg1)->GetColumn();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 {
23491 resultobj = SWIG_From_int(static_cast<int >(result));
23492 }
23493 return resultobj;
23494 fail:
23495 return NULL;
23496 }
23497
23498
23499 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj = NULL;
23501 wxListItem *arg1 = (wxListItem *) 0 ;
23502 long result;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (long)(arg1)->GetState();
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 {
23519 resultobj = SWIG_From_long(static_cast<long >(result));
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj = NULL;
23529 wxListItem *arg1 = (wxListItem *) 0 ;
23530 wxString *result;
23531 PyObject * obj0 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 {
23542 wxString const &_result_ref = (arg1)->GetText();
23543 result = (wxString *) &_result_ref;
23544 }
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550 #if wxUSE_UNICODE
23551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23552 #else
23553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23554 #endif
23555 }
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj = NULL;
23564 wxListItem *arg1 = (wxListItem *) 0 ;
23565 int result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
23572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)(arg1)->GetImage();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 {
23582 resultobj = SWIG_From_int(static_cast<int >(result));
23583 }
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj = NULL;
23592 wxListItem *arg1 = (wxListItem *) 0 ;
23593 long result;
23594 PyObject * obj0 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
23600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail;
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (long)(arg1)->GetData();
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 {
23610 resultobj = SWIG_From_long(static_cast<long >(result));
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj = NULL;
23620 wxListItem *arg1 = (wxListItem *) 0 ;
23621 int result;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
23628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (int)(arg1)->GetWidth();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 resultobj = SWIG_From_int(static_cast<int >(result));
23639 }
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj = NULL;
23648 wxListItem *arg1 = (wxListItem *) 0 ;
23649 wxListColumnFormat result;
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
23656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (wxListColumnFormat)(arg1)->GetAlign();
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 resultobj = SWIG_From_int((result));
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj = NULL;
23674 wxListItem *arg1 = (wxListItem *) 0 ;
23675 wxListItemAttr *result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxListItemAttr *)(arg1)->GetAttributes();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23692 return resultobj;
23693 fail:
23694 return NULL;
23695 }
23696
23697
23698 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23699 PyObject *resultobj = NULL;
23700 wxListItem *arg1 = (wxListItem *) 0 ;
23701 bool result;
23702 PyObject * obj0 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
23708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 result = (bool)(arg1)->HasAttributes();
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 {
23718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23719 }
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj = NULL;
23728 wxListItem *arg1 = (wxListItem *) 0 ;
23729 wxColour result;
23730 PyObject * obj0 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
23736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail;
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = ((wxListItem const *)arg1)->GetTextColour();
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 wxColour * resultptr;
23747 resultptr = new wxColour(static_cast<wxColour & >(result));
23748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23749 }
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj = NULL;
23758 wxListItem *arg1 = (wxListItem *) 0 ;
23759 wxColour result;
23760 PyObject * obj0 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
23766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 wxColour * resultptr;
23777 resultptr = new wxColour(static_cast<wxColour & >(result));
23778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23779 }
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj = NULL;
23788 wxListItem *arg1 = (wxListItem *) 0 ;
23789 wxFont result;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
23796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = ((wxListItem const *)arg1)->GetFont();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 wxFont * resultptr;
23807 resultptr = new wxFont(static_cast<wxFont & >(result));
23808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23809 }
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
23817 PyObject *resultobj = NULL;
23818 wxListItem *arg1 = (wxListItem *) 0 ;
23819 long arg2 ;
23820 PyObject * obj0 = 0 ;
23821 PyObject * obj1 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self",(char *) "m_mask", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
23827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23828 if (SWIG_arg_fail(1)) SWIG_fail;
23829 {
23830 arg2 = static_cast<long >(SWIG_As_long(obj1));
23831 if (SWIG_arg_fail(2)) SWIG_fail;
23832 }
23833 if (arg1) (arg1)->m_mask = arg2;
23834
23835 Py_INCREF(Py_None); resultobj = Py_None;
23836 return resultobj;
23837 fail:
23838 return NULL;
23839 }
23840
23841
23842 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj = NULL;
23844 wxListItem *arg1 = (wxListItem *) 0 ;
23845 long result;
23846 PyObject * obj0 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
23852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23853 if (SWIG_arg_fail(1)) SWIG_fail;
23854 result = (long) ((arg1)->m_mask);
23855
23856 {
23857 resultobj = SWIG_From_long(static_cast<long >(result));
23858 }
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj = NULL;
23867 wxListItem *arg1 = (wxListItem *) 0 ;
23868 long arg2 ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "m_itemId", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
23876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail;
23878 {
23879 arg2 = static_cast<long >(SWIG_As_long(obj1));
23880 if (SWIG_arg_fail(2)) SWIG_fail;
23881 }
23882 if (arg1) (arg1)->m_itemId = arg2;
23883
23884 Py_INCREF(Py_None); resultobj = Py_None;
23885 return resultobj;
23886 fail:
23887 return NULL;
23888 }
23889
23890
23891 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
23892 PyObject *resultobj = NULL;
23893 wxListItem *arg1 = (wxListItem *) 0 ;
23894 long result;
23895 PyObject * obj0 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "self", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
23901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail;
23903 result = (long) ((arg1)->m_itemId);
23904
23905 {
23906 resultobj = SWIG_From_long(static_cast<long >(result));
23907 }
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23915 PyObject *resultobj = NULL;
23916 wxListItem *arg1 = (wxListItem *) 0 ;
23917 int arg2 ;
23918 PyObject * obj0 = 0 ;
23919 PyObject * obj1 = 0 ;
23920 char *kwnames[] = {
23921 (char *) "self",(char *) "m_col", NULL
23922 };
23923
23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23926 if (SWIG_arg_fail(1)) SWIG_fail;
23927 {
23928 arg2 = static_cast<int >(SWIG_As_int(obj1));
23929 if (SWIG_arg_fail(2)) SWIG_fail;
23930 }
23931 if (arg1) (arg1)->m_col = arg2;
23932
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 return resultobj;
23935 fail:
23936 return NULL;
23937 }
23938
23939
23940 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj = NULL;
23942 wxListItem *arg1 = (wxListItem *) 0 ;
23943 int result;
23944 PyObject * obj0 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
23950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23951 if (SWIG_arg_fail(1)) SWIG_fail;
23952 result = (int) ((arg1)->m_col);
23953
23954 {
23955 resultobj = SWIG_From_int(static_cast<int >(result));
23956 }
23957 return resultobj;
23958 fail:
23959 return NULL;
23960 }
23961
23962
23963 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj = NULL;
23965 wxListItem *arg1 = (wxListItem *) 0 ;
23966 long arg2 ;
23967 PyObject * obj0 = 0 ;
23968 PyObject * obj1 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self",(char *) "m_state", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
23974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail;
23976 {
23977 arg2 = static_cast<long >(SWIG_As_long(obj1));
23978 if (SWIG_arg_fail(2)) SWIG_fail;
23979 }
23980 if (arg1) (arg1)->m_state = arg2;
23981
23982 Py_INCREF(Py_None); resultobj = Py_None;
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj = NULL;
23991 wxListItem *arg1 = (wxListItem *) 0 ;
23992 long result;
23993 PyObject * obj0 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
23999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail;
24001 result = (long) ((arg1)->m_state);
24002
24003 {
24004 resultobj = SWIG_From_long(static_cast<long >(result));
24005 }
24006 return resultobj;
24007 fail:
24008 return NULL;
24009 }
24010
24011
24012 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj = NULL;
24014 wxListItem *arg1 = (wxListItem *) 0 ;
24015 long arg2 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj1 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "m_stateMask", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
24023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24024 if (SWIG_arg_fail(1)) SWIG_fail;
24025 {
24026 arg2 = static_cast<long >(SWIG_As_long(obj1));
24027 if (SWIG_arg_fail(2)) SWIG_fail;
24028 }
24029 if (arg1) (arg1)->m_stateMask = arg2;
24030
24031 Py_INCREF(Py_None); resultobj = Py_None;
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
24039 PyObject *resultobj = NULL;
24040 wxListItem *arg1 = (wxListItem *) 0 ;
24041 long result;
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
24050 result = (long) ((arg1)->m_stateMask);
24051
24052 {
24053 resultobj = SWIG_From_long(static_cast<long >(result));
24054 }
24055 return resultobj;
24056 fail:
24057 return NULL;
24058 }
24059
24060
24061 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj = NULL;
24063 wxListItem *arg1 = (wxListItem *) 0 ;
24064 wxString *arg2 = (wxString *) 0 ;
24065 bool temp2 = false ;
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self",(char *) "m_text", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
24073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail;
24075 {
24076 arg2 = wxString_in_helper(obj1);
24077 if (arg2 == NULL) SWIG_fail;
24078 temp2 = true;
24079 }
24080 if (arg1) (arg1)->m_text = *arg2;
24081
24082 Py_INCREF(Py_None); resultobj = Py_None;
24083 {
24084 if (temp2)
24085 delete arg2;
24086 }
24087 return resultobj;
24088 fail:
24089 {
24090 if (temp2)
24091 delete arg2;
24092 }
24093 return NULL;
24094 }
24095
24096
24097 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj = NULL;
24099 wxListItem *arg1 = (wxListItem *) 0 ;
24100 wxString *result;
24101 PyObject * obj0 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
24107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail;
24109 result = (wxString *)& ((arg1)->m_text);
24110
24111 {
24112 #if wxUSE_UNICODE
24113 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24114 #else
24115 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24116 #endif
24117 }
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj = NULL;
24126 wxListItem *arg1 = (wxListItem *) 0 ;
24127 int arg2 ;
24128 PyObject * obj0 = 0 ;
24129 PyObject * obj1 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "m_image", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
24135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail;
24137 {
24138 arg2 = static_cast<int >(SWIG_As_int(obj1));
24139 if (SWIG_arg_fail(2)) SWIG_fail;
24140 }
24141 if (arg1) (arg1)->m_image = arg2;
24142
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj = NULL;
24152 wxListItem *arg1 = (wxListItem *) 0 ;
24153 int result;
24154 PyObject * obj0 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
24160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(1)) SWIG_fail;
24162 result = (int) ((arg1)->m_image);
24163
24164 {
24165 resultobj = SWIG_From_int(static_cast<int >(result));
24166 }
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj = NULL;
24175 wxListItem *arg1 = (wxListItem *) 0 ;
24176 long arg2 ;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "m_data", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
24184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail;
24186 {
24187 arg2 = static_cast<long >(SWIG_As_long(obj1));
24188 if (SWIG_arg_fail(2)) SWIG_fail;
24189 }
24190 if (arg1) (arg1)->m_data = arg2;
24191
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj = NULL;
24201 wxListItem *arg1 = (wxListItem *) 0 ;
24202 long result;
24203 PyObject * obj0 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
24209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail;
24211 result = (long) ((arg1)->m_data);
24212
24213 {
24214 resultobj = SWIG_From_long(static_cast<long >(result));
24215 }
24216 return resultobj;
24217 fail:
24218 return NULL;
24219 }
24220
24221
24222 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj = NULL;
24224 wxListItem *arg1 = (wxListItem *) 0 ;
24225 int arg2 ;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "m_format", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 {
24236 arg2 = static_cast<int >(SWIG_As_int(obj1));
24237 if (SWIG_arg_fail(2)) SWIG_fail;
24238 }
24239 if (arg1) (arg1)->m_format = arg2;
24240
24241 Py_INCREF(Py_None); resultobj = Py_None;
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj = NULL;
24250 wxListItem *arg1 = (wxListItem *) 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:ListItem_m_format_get",kwnames,&obj0)) goto fail;
24258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail;
24260 result = (int) ((arg1)->m_format);
24261
24262 {
24263 resultobj = SWIG_From_int(static_cast<int >(result));
24264 }
24265 return resultobj;
24266 fail:
24267 return NULL;
24268 }
24269
24270
24271 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
24272 PyObject *resultobj = NULL;
24273 wxListItem *arg1 = (wxListItem *) 0 ;
24274 int arg2 ;
24275 PyObject * obj0 = 0 ;
24276 PyObject * obj1 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "m_width", NULL
24279 };
24280
24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
24282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail;
24284 {
24285 arg2 = static_cast<int >(SWIG_As_int(obj1));
24286 if (SWIG_arg_fail(2)) SWIG_fail;
24287 }
24288 if (arg1) (arg1)->m_width = arg2;
24289
24290 Py_INCREF(Py_None); resultobj = Py_None;
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj = NULL;
24299 wxListItem *arg1 = (wxListItem *) 0 ;
24300 int result;
24301 PyObject * obj0 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
24307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24308 if (SWIG_arg_fail(1)) SWIG_fail;
24309 result = (int) ((arg1)->m_width);
24310
24311 {
24312 resultobj = SWIG_From_int(static_cast<int >(result));
24313 }
24314 return resultobj;
24315 fail:
24316 return NULL;
24317 }
24318
24319
24320 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
24321 PyObject *obj;
24322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24323 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24324 Py_INCREF(obj);
24325 return Py_BuildValue((char *)"");
24326 }
24327 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24328 PyObject *resultobj = NULL;
24329 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24330 int arg2 = (int) 0 ;
24331 wxListEvent *result;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 char *kwnames[] = {
24335 (char *) "commandType",(char *) "id", NULL
24336 };
24337
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24339 if (obj0) {
24340 {
24341 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
24342 if (SWIG_arg_fail(1)) SWIG_fail;
24343 }
24344 }
24345 if (obj1) {
24346 {
24347 arg2 = static_cast<int >(SWIG_As_int(obj1));
24348 if (SWIG_arg_fail(2)) SWIG_fail;
24349 }
24350 }
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj = NULL;
24367 wxListEvent *arg1 = (wxListEvent *) 0 ;
24368 int arg2 ;
24369 PyObject * obj0 = 0 ;
24370 PyObject * obj1 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "m_code", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
24376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail;
24378 {
24379 arg2 = static_cast<int >(SWIG_As_int(obj1));
24380 if (SWIG_arg_fail(2)) SWIG_fail;
24381 }
24382 if (arg1) (arg1)->m_code = arg2;
24383
24384 Py_INCREF(Py_None); resultobj = Py_None;
24385 return resultobj;
24386 fail:
24387 return NULL;
24388 }
24389
24390
24391 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj = NULL;
24393 wxListEvent *arg1 = (wxListEvent *) 0 ;
24394 int result;
24395 PyObject * obj0 = 0 ;
24396 char *kwnames[] = {
24397 (char *) "self", NULL
24398 };
24399
24400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
24401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail;
24403 result = (int) ((arg1)->m_code);
24404
24405 {
24406 resultobj = SWIG_From_int(static_cast<int >(result));
24407 }
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj = NULL;
24416 wxListEvent *arg1 = (wxListEvent *) 0 ;
24417 long arg2 ;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "m_oldItemIndex", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 {
24428 arg2 = static_cast<long >(SWIG_As_long(obj1));
24429 if (SWIG_arg_fail(2)) SWIG_fail;
24430 }
24431 if (arg1) (arg1)->m_oldItemIndex = arg2;
24432
24433 Py_INCREF(Py_None); resultobj = Py_None;
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj = NULL;
24442 wxListEvent *arg1 = (wxListEvent *) 0 ;
24443 long result;
24444 PyObject * obj0 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
24450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail;
24452 result = (long) ((arg1)->m_oldItemIndex);
24453
24454 {
24455 resultobj = SWIG_From_long(static_cast<long >(result));
24456 }
24457 return resultobj;
24458 fail:
24459 return NULL;
24460 }
24461
24462
24463 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24464 PyObject *resultobj = NULL;
24465 wxListEvent *arg1 = (wxListEvent *) 0 ;
24466 long arg2 ;
24467 PyObject * obj0 = 0 ;
24468 PyObject * obj1 = 0 ;
24469 char *kwnames[] = {
24470 (char *) "self",(char *) "m_itemIndex", NULL
24471 };
24472
24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail;
24476 {
24477 arg2 = static_cast<long >(SWIG_As_long(obj1));
24478 if (SWIG_arg_fail(2)) SWIG_fail;
24479 }
24480 if (arg1) (arg1)->m_itemIndex = arg2;
24481
24482 Py_INCREF(Py_None); resultobj = Py_None;
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = NULL;
24491 wxListEvent *arg1 = (wxListEvent *) 0 ;
24492 long result;
24493 PyObject * obj0 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
24499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail;
24501 result = (long) ((arg1)->m_itemIndex);
24502
24503 {
24504 resultobj = SWIG_From_long(static_cast<long >(result));
24505 }
24506 return resultobj;
24507 fail:
24508 return NULL;
24509 }
24510
24511
24512 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj = NULL;
24514 wxListEvent *arg1 = (wxListEvent *) 0 ;
24515 int arg2 ;
24516 PyObject * obj0 = 0 ;
24517 PyObject * obj1 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "m_col", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
24523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail;
24525 {
24526 arg2 = static_cast<int >(SWIG_As_int(obj1));
24527 if (SWIG_arg_fail(2)) SWIG_fail;
24528 }
24529 if (arg1) (arg1)->m_col = arg2;
24530
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj = NULL;
24540 wxListEvent *arg1 = (wxListEvent *) 0 ;
24541 int result;
24542 PyObject * obj0 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self", NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
24548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail;
24550 result = (int) ((arg1)->m_col);
24551
24552 {
24553 resultobj = SWIG_From_int(static_cast<int >(result));
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj = NULL;
24563 wxListEvent *arg1 = (wxListEvent *) 0 ;
24564 wxPoint *arg2 = (wxPoint *) 0 ;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "self",(char *) "m_pointDrag", NULL
24569 };
24570
24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
24572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail;
24574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24575 if (SWIG_arg_fail(2)) SWIG_fail;
24576 if (arg1) (arg1)->m_pointDrag = *arg2;
24577
24578 Py_INCREF(Py_None); resultobj = Py_None;
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj = NULL;
24587 wxListEvent *arg1 = (wxListEvent *) 0 ;
24588 wxPoint *result;
24589 PyObject * obj0 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "self", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
24595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail;
24597 result = (wxPoint *)& ((arg1)->m_pointDrag);
24598
24599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj = NULL;
24608 wxListEvent *arg1 = (wxListEvent *) 0 ;
24609 wxListItem *result;
24610 PyObject * obj0 = 0 ;
24611 char *kwnames[] = {
24612 (char *) "self", NULL
24613 };
24614
24615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
24616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail;
24618 result = (wxListItem *)& ((arg1)->m_item);
24619
24620 {
24621 resultobj = wxPyMake_wxObject(result, (bool)0);
24622 }
24623 return resultobj;
24624 fail:
24625 return NULL;
24626 }
24627
24628
24629 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
24630 PyObject *resultobj = NULL;
24631 wxListEvent *arg1 = (wxListEvent *) 0 ;
24632 int result;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24640 if (SWIG_arg_fail(1)) SWIG_fail;
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 result = (int)(arg1)->GetKeyCode();
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 {
24649 resultobj = SWIG_From_int(static_cast<int >(result));
24650 }
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj = NULL;
24659 wxListEvent *arg1 = (wxListEvent *) 0 ;
24660 long result;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
24667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail;
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 result = (long)(arg1)->GetIndex();
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 {
24677 resultobj = SWIG_From_long(static_cast<long >(result));
24678 }
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj = NULL;
24687 wxListEvent *arg1 = (wxListEvent *) 0 ;
24688 int result;
24689 PyObject * obj0 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
24695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail;
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (int)(arg1)->GetColumn();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 {
24705 resultobj = SWIG_From_int(static_cast<int >(result));
24706 }
24707 return resultobj;
24708 fail:
24709 return NULL;
24710 }
24711
24712
24713 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
24714 PyObject *resultobj = NULL;
24715 wxListEvent *arg1 = (wxListEvent *) 0 ;
24716 wxPoint result;
24717 PyObject * obj0 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
24723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail;
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (arg1)->GetPoint();
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 {
24733 wxPoint * resultptr;
24734 resultptr = new wxPoint(static_cast<wxPoint & >(result));
24735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24736 }
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj = NULL;
24745 wxListEvent *arg1 = (wxListEvent *) 0 ;
24746 wxString *result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
24753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 {
24758 wxString const &_result_ref = (arg1)->GetLabel();
24759 result = (wxString *) &_result_ref;
24760 }
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 {
24766 #if wxUSE_UNICODE
24767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24768 #else
24769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24770 #endif
24771 }
24772 return resultobj;
24773 fail:
24774 return NULL;
24775 }
24776
24777
24778 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj = NULL;
24780 wxListEvent *arg1 = (wxListEvent *) 0 ;
24781 wxString *result;
24782 PyObject * obj0 = 0 ;
24783 char *kwnames[] = {
24784 (char *) "self", NULL
24785 };
24786
24787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
24788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24789 if (SWIG_arg_fail(1)) SWIG_fail;
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 {
24793 wxString const &_result_ref = (arg1)->GetText();
24794 result = (wxString *) &_result_ref;
24795 }
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 {
24801 #if wxUSE_UNICODE
24802 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24803 #else
24804 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24805 #endif
24806 }
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj = NULL;
24815 wxListEvent *arg1 = (wxListEvent *) 0 ;
24816 int result;
24817 PyObject * obj0 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
24823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (int)(arg1)->GetImage();
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 {
24833 resultobj = SWIG_From_int(static_cast<int >(result));
24834 }
24835 return resultobj;
24836 fail:
24837 return NULL;
24838 }
24839
24840
24841 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj = NULL;
24843 wxListEvent *arg1 = (wxListEvent *) 0 ;
24844 long result;
24845 PyObject * obj0 = 0 ;
24846 char *kwnames[] = {
24847 (char *) "self", NULL
24848 };
24849
24850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
24851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail;
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 result = (long)(arg1)->GetData();
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 {
24861 resultobj = SWIG_From_long(static_cast<long >(result));
24862 }
24863 return resultobj;
24864 fail:
24865 return NULL;
24866 }
24867
24868
24869 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
24870 PyObject *resultobj = NULL;
24871 wxListEvent *arg1 = (wxListEvent *) 0 ;
24872 long result;
24873 PyObject * obj0 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
24879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24880 if (SWIG_arg_fail(1)) SWIG_fail;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (long)(arg1)->GetMask();
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 {
24889 resultobj = SWIG_From_long(static_cast<long >(result));
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj = NULL;
24899 wxListEvent *arg1 = (wxListEvent *) 0 ;
24900 wxListItem *result;
24901 PyObject * obj0 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "self", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
24907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail;
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 {
24912 wxListItem const &_result_ref = (arg1)->GetItem();
24913 result = (wxListItem *) &_result_ref;
24914 }
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj = NULL;
24928 wxListEvent *arg1 = (wxListEvent *) 0 ;
24929 long result;
24930 PyObject * obj0 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = (long)(arg1)->GetCacheFrom();
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 {
24946 resultobj = SWIG_From_long(static_cast<long >(result));
24947 }
24948 return resultobj;
24949 fail:
24950 return NULL;
24951 }
24952
24953
24954 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj = NULL;
24956 wxListEvent *arg1 = (wxListEvent *) 0 ;
24957 long result;
24958 PyObject * obj0 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
24964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24965 if (SWIG_arg_fail(1)) SWIG_fail;
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (long)(arg1)->GetCacheTo();
24969
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 {
24974 resultobj = SWIG_From_long(static_cast<long >(result));
24975 }
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj = NULL;
24984 wxListEvent *arg1 = (wxListEvent *) 0 ;
24985 bool result;
24986 PyObject * obj0 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail;
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 {
25002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25003 }
25004 return resultobj;
25005 fail:
25006 return NULL;
25007 }
25008
25009
25010 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj = NULL;
25012 wxListEvent *arg1 = (wxListEvent *) 0 ;
25013 bool arg2 ;
25014 PyObject * obj0 = 0 ;
25015 PyObject * obj1 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self",(char *) "editCancelled", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail;
25023 {
25024 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
25025 if (SWIG_arg_fail(2)) SWIG_fail;
25026 }
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->SetEditCanceled(arg2);
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 Py_INCREF(Py_None); resultobj = Py_None;
25035 return resultobj;
25036 fail:
25037 return NULL;
25038 }
25039
25040
25041 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
25042 PyObject *obj;
25043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25044 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
25045 Py_INCREF(obj);
25046 return Py_BuildValue((char *)"");
25047 }
25048 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj = NULL;
25050 wxWindow *arg1 = (wxWindow *) 0 ;
25051 int arg2 = (int) -1 ;
25052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25054 wxSize const &arg4_defvalue = wxDefaultSize ;
25055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25056 long arg5 = (long) wxLC_ICON ;
25057 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25058 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25059 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
25060 wxString *arg7 = (wxString *) &arg7_defvalue ;
25061 wxPyListCtrl *result;
25062 wxPoint temp3 ;
25063 wxSize temp4 ;
25064 bool temp7 = false ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 PyObject * obj2 = 0 ;
25068 PyObject * obj3 = 0 ;
25069 PyObject * obj4 = 0 ;
25070 PyObject * obj5 = 0 ;
25071 PyObject * obj6 = 0 ;
25072 char *kwnames[] = {
25073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25074 };
25075
25076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail;
25079 if (obj1) {
25080 {
25081 arg2 = static_cast<int >(SWIG_As_int(obj1));
25082 if (SWIG_arg_fail(2)) SWIG_fail;
25083 }
25084 }
25085 if (obj2) {
25086 {
25087 arg3 = &temp3;
25088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25089 }
25090 }
25091 if (obj3) {
25092 {
25093 arg4 = &temp4;
25094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25095 }
25096 }
25097 if (obj4) {
25098 {
25099 arg5 = static_cast<long >(SWIG_As_long(obj4));
25100 if (SWIG_arg_fail(5)) SWIG_fail;
25101 }
25102 }
25103 if (obj5) {
25104 {
25105 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25106 if (SWIG_arg_fail(6)) SWIG_fail;
25107 if (arg6 == NULL) {
25108 SWIG_null_ref("wxValidator");
25109 }
25110 if (SWIG_arg_fail(6)) SWIG_fail;
25111 }
25112 }
25113 if (obj6) {
25114 {
25115 arg7 = wxString_in_helper(obj6);
25116 if (arg7 == NULL) SWIG_fail;
25117 temp7 = true;
25118 }
25119 }
25120 {
25121 if (!wxPyCheckForApp()) SWIG_fail;
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25129 {
25130 if (temp7)
25131 delete arg7;
25132 }
25133 return resultobj;
25134 fail:
25135 {
25136 if (temp7)
25137 delete arg7;
25138 }
25139 return NULL;
25140 }
25141
25142
25143 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj = NULL;
25145 wxPyListCtrl *result;
25146 char *kwnames[] = {
25147 NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25151 {
25152 if (!wxPyCheckForApp()) SWIG_fail;
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (wxPyListCtrl *)new wxPyListCtrl();
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25160 return resultobj;
25161 fail:
25162 return NULL;
25163 }
25164
25165
25166 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj = NULL;
25168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25169 wxWindow *arg2 = (wxWindow *) 0 ;
25170 int arg3 = (int) -1 ;
25171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25173 wxSize const &arg5_defvalue = wxDefaultSize ;
25174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25175 long arg6 = (long) wxLC_ICON ;
25176 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25177 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25178 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25179 wxString *arg8 = (wxString *) &arg8_defvalue ;
25180 bool result;
25181 wxPoint temp4 ;
25182 wxSize temp5 ;
25183 bool temp8 = false ;
25184 PyObject * obj0 = 0 ;
25185 PyObject * obj1 = 0 ;
25186 PyObject * obj2 = 0 ;
25187 PyObject * obj3 = 0 ;
25188 PyObject * obj4 = 0 ;
25189 PyObject * obj5 = 0 ;
25190 PyObject * obj6 = 0 ;
25191 PyObject * obj7 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail;
25199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25200 if (SWIG_arg_fail(2)) SWIG_fail;
25201 if (obj2) {
25202 {
25203 arg3 = static_cast<int >(SWIG_As_int(obj2));
25204 if (SWIG_arg_fail(3)) SWIG_fail;
25205 }
25206 }
25207 if (obj3) {
25208 {
25209 arg4 = &temp4;
25210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25211 }
25212 }
25213 if (obj4) {
25214 {
25215 arg5 = &temp5;
25216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25217 }
25218 }
25219 if (obj5) {
25220 {
25221 arg6 = static_cast<long >(SWIG_As_long(obj5));
25222 if (SWIG_arg_fail(6)) SWIG_fail;
25223 }
25224 }
25225 if (obj6) {
25226 {
25227 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25228 if (SWIG_arg_fail(7)) SWIG_fail;
25229 if (arg7 == NULL) {
25230 SWIG_null_ref("wxValidator");
25231 }
25232 if (SWIG_arg_fail(7)) SWIG_fail;
25233 }
25234 }
25235 if (obj7) {
25236 {
25237 arg8 = wxString_in_helper(obj7);
25238 if (arg8 == NULL) SWIG_fail;
25239 temp8 = true;
25240 }
25241 }
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25245
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 {
25250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25251 }
25252 {
25253 if (temp8)
25254 delete arg8;
25255 }
25256 return resultobj;
25257 fail:
25258 {
25259 if (temp8)
25260 delete arg8;
25261 }
25262 return NULL;
25263 }
25264
25265
25266 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj = NULL;
25268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25269 PyObject *arg2 = (PyObject *) 0 ;
25270 PyObject *arg3 = (PyObject *) 0 ;
25271 PyObject * obj0 = 0 ;
25272 PyObject * obj1 = 0 ;
25273 PyObject * obj2 = 0 ;
25274 char *kwnames[] = {
25275 (char *) "self",(char *) "self",(char *) "_class", NULL
25276 };
25277
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail;
25281 arg2 = obj1;
25282 arg3 = obj2;
25283 {
25284 PyThreadState* __tstate = wxPyBeginAllowThreads();
25285 (arg1)->_setCallbackInfo(arg2,arg3);
25286
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 Py_INCREF(Py_None); resultobj = Py_None;
25291 return resultobj;
25292 fail:
25293 return NULL;
25294 }
25295
25296
25297 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25298 PyObject *resultobj = NULL;
25299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25300 wxColour *arg2 = 0 ;
25301 bool result;
25302 wxColour temp2 ;
25303 PyObject * obj0 = 0 ;
25304 PyObject * obj1 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self",(char *) "col", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail;
25312 {
25313 arg2 = &temp2;
25314 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 {
25324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25325 }
25326 return resultobj;
25327 fail:
25328 return NULL;
25329 }
25330
25331
25332 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25333 PyObject *resultobj = NULL;
25334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25335 wxColour *arg2 = 0 ;
25336 bool result;
25337 wxColour temp2 ;
25338 PyObject * obj0 = 0 ;
25339 PyObject * obj1 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self",(char *) "col", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail;
25347 {
25348 arg2 = &temp2;
25349 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25350 }
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 {
25359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25360 }
25361 return resultobj;
25362 fail:
25363 return NULL;
25364 }
25365
25366
25367 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25368 PyObject *resultobj = NULL;
25369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25370 int arg2 ;
25371 wxListItem *result;
25372 PyObject * obj0 = 0 ;
25373 PyObject * obj1 = 0 ;
25374 char *kwnames[] = {
25375 (char *) "self",(char *) "col", NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
25379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25380 if (SWIG_arg_fail(1)) SWIG_fail;
25381 {
25382 arg2 = static_cast<int >(SWIG_As_int(obj1));
25383 if (SWIG_arg_fail(2)) SWIG_fail;
25384 }
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25388
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 {
25393 resultobj = wxPyMake_wxObject(result, (bool)0);
25394 }
25395 return resultobj;
25396 fail:
25397 return NULL;
25398 }
25399
25400
25401 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj = NULL;
25403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25404 int arg2 ;
25405 wxListItem *arg3 = 0 ;
25406 bool result;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 PyObject * obj2 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self",(char *) "col",(char *) "item", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
25415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail;
25417 {
25418 arg2 = static_cast<int >(SWIG_As_int(obj1));
25419 if (SWIG_arg_fail(2)) SWIG_fail;
25420 }
25421 {
25422 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25423 if (SWIG_arg_fail(3)) SWIG_fail;
25424 if (arg3 == NULL) {
25425 SWIG_null_ref("wxListItem");
25426 }
25427 if (SWIG_arg_fail(3)) SWIG_fail;
25428 }
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 {
25437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25438 }
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj = NULL;
25447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25448 int arg2 ;
25449 int result;
25450 PyObject * obj0 = 0 ;
25451 PyObject * obj1 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "col", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
25457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail;
25459 {
25460 arg2 = static_cast<int >(SWIG_As_int(obj1));
25461 if (SWIG_arg_fail(2)) SWIG_fail;
25462 }
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 {
25471 resultobj = SWIG_From_int(static_cast<int >(result));
25472 }
25473 return resultobj;
25474 fail:
25475 return NULL;
25476 }
25477
25478
25479 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25480 PyObject *resultobj = NULL;
25481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25482 int arg2 ;
25483 int arg3 ;
25484 bool result;
25485 PyObject * obj0 = 0 ;
25486 PyObject * obj1 = 0 ;
25487 PyObject * obj2 = 0 ;
25488 char *kwnames[] = {
25489 (char *) "self",(char *) "col",(char *) "width", NULL
25490 };
25491
25492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail;
25495 {
25496 arg2 = static_cast<int >(SWIG_As_int(obj1));
25497 if (SWIG_arg_fail(2)) SWIG_fail;
25498 }
25499 {
25500 arg3 = static_cast<int >(SWIG_As_int(obj2));
25501 if (SWIG_arg_fail(3)) SWIG_fail;
25502 }
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 {
25511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25512 }
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj = NULL;
25521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25522 int result;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25534
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 {
25539 resultobj = SWIG_From_int(static_cast<int >(result));
25540 }
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj = NULL;
25549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25550 wxRect result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
25557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 wxRect * resultptr;
25568 resultptr = new wxRect(static_cast<wxRect & >(result));
25569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25570 }
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25578 PyObject *resultobj = NULL;
25579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25580 long arg2 ;
25581 int arg3 = (int) 0 ;
25582 wxListItem *result;
25583 PyObject * obj0 = 0 ;
25584 PyObject * obj1 = 0 ;
25585 PyObject * obj2 = 0 ;
25586 char *kwnames[] = {
25587 (char *) "self",(char *) "itemId",(char *) "col", NULL
25588 };
25589
25590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25592 if (SWIG_arg_fail(1)) SWIG_fail;
25593 {
25594 arg2 = static_cast<long >(SWIG_As_long(obj1));
25595 if (SWIG_arg_fail(2)) SWIG_fail;
25596 }
25597 if (obj2) {
25598 {
25599 arg3 = static_cast<int >(SWIG_As_int(obj2));
25600 if (SWIG_arg_fail(3)) SWIG_fail;
25601 }
25602 }
25603 {
25604 PyThreadState* __tstate = wxPyBeginAllowThreads();
25605 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25606
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 {
25611 resultobj = wxPyMake_wxObject(result, (bool)0);
25612 }
25613 return resultobj;
25614 fail:
25615 return NULL;
25616 }
25617
25618
25619 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25620 PyObject *resultobj = NULL;
25621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25622 wxListItem *arg2 = 0 ;
25623 bool result;
25624 PyObject * obj0 = 0 ;
25625 PyObject * obj1 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "info", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
25631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail;
25633 {
25634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25635 if (SWIG_arg_fail(2)) SWIG_fail;
25636 if (arg2 == NULL) {
25637 SWIG_null_ref("wxListItem");
25638 }
25639 if (SWIG_arg_fail(2)) SWIG_fail;
25640 }
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = (bool)(arg1)->SetItem(*arg2);
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 {
25649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25650 }
25651 return resultobj;
25652 fail:
25653 return NULL;
25654 }
25655
25656
25657 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25658 PyObject *resultobj = NULL;
25659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25660 long arg2 ;
25661 int arg3 ;
25662 wxString *arg4 = 0 ;
25663 int arg5 = (int) -1 ;
25664 long result;
25665 bool temp4 = false ;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 PyObject * obj2 = 0 ;
25669 PyObject * obj3 = 0 ;
25670 PyObject * obj4 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail;
25678 {
25679 arg2 = static_cast<long >(SWIG_As_long(obj1));
25680 if (SWIG_arg_fail(2)) SWIG_fail;
25681 }
25682 {
25683 arg3 = static_cast<int >(SWIG_As_int(obj2));
25684 if (SWIG_arg_fail(3)) SWIG_fail;
25685 }
25686 {
25687 arg4 = wxString_in_helper(obj3);
25688 if (arg4 == NULL) SWIG_fail;
25689 temp4 = true;
25690 }
25691 if (obj4) {
25692 {
25693 arg5 = static_cast<int >(SWIG_As_int(obj4));
25694 if (SWIG_arg_fail(5)) SWIG_fail;
25695 }
25696 }
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 {
25705 resultobj = SWIG_From_long(static_cast<long >(result));
25706 }
25707 {
25708 if (temp4)
25709 delete arg4;
25710 }
25711 return resultobj;
25712 fail:
25713 {
25714 if (temp4)
25715 delete arg4;
25716 }
25717 return NULL;
25718 }
25719
25720
25721 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj = NULL;
25723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25724 long arg2 ;
25725 long arg3 ;
25726 int result;
25727 PyObject * obj0 = 0 ;
25728 PyObject * obj1 = 0 ;
25729 PyObject * obj2 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
25735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail;
25737 {
25738 arg2 = static_cast<long >(SWIG_As_long(obj1));
25739 if (SWIG_arg_fail(2)) SWIG_fail;
25740 }
25741 {
25742 arg3 = static_cast<long >(SWIG_As_long(obj2));
25743 if (SWIG_arg_fail(3)) SWIG_fail;
25744 }
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25748
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 {
25753 resultobj = SWIG_From_int(static_cast<int >(result));
25754 }
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj = NULL;
25763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25764 long arg2 ;
25765 long arg3 ;
25766 long arg4 ;
25767 bool result;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 PyObject * obj2 = 0 ;
25771 PyObject * obj3 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 = static_cast<long >(SWIG_As_long(obj1));
25781 if (SWIG_arg_fail(2)) SWIG_fail;
25782 }
25783 {
25784 arg3 = static_cast<long >(SWIG_As_long(obj2));
25785 if (SWIG_arg_fail(3)) SWIG_fail;
25786 }
25787 {
25788 arg4 = static_cast<long >(SWIG_As_long(obj3));
25789 if (SWIG_arg_fail(4)) SWIG_fail;
25790 }
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 {
25799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25800 }
25801 return resultobj;
25802 fail:
25803 return NULL;
25804 }
25805
25806
25807 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
25808 PyObject *resultobj = NULL;
25809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25810 long arg2 ;
25811 int arg3 ;
25812 int arg4 = (int) -1 ;
25813 bool result;
25814 PyObject * obj0 = 0 ;
25815 PyObject * obj1 = 0 ;
25816 PyObject * obj2 = 0 ;
25817 PyObject * obj3 = 0 ;
25818 char *kwnames[] = {
25819 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25820 };
25821
25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail;
25825 {
25826 arg2 = static_cast<long >(SWIG_As_long(obj1));
25827 if (SWIG_arg_fail(2)) SWIG_fail;
25828 }
25829 {
25830 arg3 = static_cast<int >(SWIG_As_int(obj2));
25831 if (SWIG_arg_fail(3)) SWIG_fail;
25832 }
25833 if (obj3) {
25834 {
25835 arg4 = static_cast<int >(SWIG_As_int(obj3));
25836 if (SWIG_arg_fail(4)) SWIG_fail;
25837 }
25838 }
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25842
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
25846 {
25847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25848 }
25849 return resultobj;
25850 fail:
25851 return NULL;
25852 }
25853
25854
25855 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25856 PyObject *resultobj = NULL;
25857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25858 long arg2 ;
25859 wxString result;
25860 PyObject * obj0 = 0 ;
25861 PyObject * obj1 = 0 ;
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "item", NULL
25864 };
25865
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",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 = static_cast<long >(SWIG_As_long(obj1));
25871 if (SWIG_arg_fail(2)) SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 #if wxUSE_UNICODE
25882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25883 #else
25884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25885 #endif
25886 }
25887 return resultobj;
25888 fail:
25889 return NULL;
25890 }
25891
25892
25893 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25894 PyObject *resultobj = NULL;
25895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25896 long arg2 ;
25897 wxString *arg3 = 0 ;
25898 bool temp3 = false ;
25899 PyObject * obj0 = 0 ;
25900 PyObject * obj1 = 0 ;
25901 PyObject * obj2 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "item",(char *) "str", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail;
25909 {
25910 arg2 = static_cast<long >(SWIG_As_long(obj1));
25911 if (SWIG_arg_fail(2)) SWIG_fail;
25912 }
25913 {
25914 arg3 = wxString_in_helper(obj2);
25915 if (arg3 == NULL) SWIG_fail;
25916 temp3 = true;
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 {
25927 if (temp3)
25928 delete arg3;
25929 }
25930 return resultobj;
25931 fail:
25932 {
25933 if (temp3)
25934 delete arg3;
25935 }
25936 return NULL;
25937 }
25938
25939
25940 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj = NULL;
25942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25943 long arg2 ;
25944 long result;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 char *kwnames[] = {
25948 (char *) "self",(char *) "item", NULL
25949 };
25950
25951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail;
25954 {
25955 arg2 = static_cast<long >(SWIG_As_long(obj1));
25956 if (SWIG_arg_fail(2)) SWIG_fail;
25957 }
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 {
25966 resultobj = SWIG_From_long(static_cast<long >(result));
25967 }
25968 return resultobj;
25969 fail:
25970 return NULL;
25971 }
25972
25973
25974 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj = NULL;
25976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25977 long arg2 ;
25978 long arg3 ;
25979 bool result;
25980 PyObject * obj0 = 0 ;
25981 PyObject * obj1 = 0 ;
25982 PyObject * obj2 = 0 ;
25983 char *kwnames[] = {
25984 (char *) "self",(char *) "item",(char *) "data", NULL
25985 };
25986
25987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail;
25990 {
25991 arg2 = static_cast<long >(SWIG_As_long(obj1));
25992 if (SWIG_arg_fail(2)) SWIG_fail;
25993 }
25994 {
25995 arg3 = static_cast<long >(SWIG_As_long(obj2));
25996 if (SWIG_arg_fail(3)) SWIG_fail;
25997 }
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 result = (bool)(arg1)->SetItemData(arg2,arg3);
26001
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 {
26006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26007 }
26008 return resultobj;
26009 fail:
26010 return NULL;
26011 }
26012
26013
26014 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
26015 PyObject *resultobj = NULL;
26016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26017 long arg2 ;
26018 wxPoint result;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "item", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
26028 {
26029 arg2 = static_cast<long >(SWIG_As_long(obj1));
26030 if (SWIG_arg_fail(2)) SWIG_fail;
26031 }
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 {
26040 wxPoint * resultptr;
26041 resultptr = new wxPoint(static_cast<wxPoint & >(result));
26042 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26043 }
26044 return resultobj;
26045 fail:
26046 return NULL;
26047 }
26048
26049
26050 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj = NULL;
26052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26053 long arg2 ;
26054 int arg3 = (int) wxLIST_RECT_BOUNDS ;
26055 wxRect result;
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 PyObject * obj2 = 0 ;
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "item",(char *) "code", NULL
26061 };
26062
26063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail;
26066 {
26067 arg2 = static_cast<long >(SWIG_As_long(obj1));
26068 if (SWIG_arg_fail(2)) SWIG_fail;
26069 }
26070 if (obj2) {
26071 {
26072 arg3 = static_cast<int >(SWIG_As_int(obj2));
26073 if (SWIG_arg_fail(3)) SWIG_fail;
26074 }
26075 }
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 wxRect * resultptr;
26085 resultptr = new wxRect(static_cast<wxRect & >(result));
26086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26087 }
26088 return resultobj;
26089 fail:
26090 return NULL;
26091 }
26092
26093
26094 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
26095 PyObject *resultobj = NULL;
26096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26097 long arg2 ;
26098 wxPoint *arg3 = 0 ;
26099 bool result;
26100 wxPoint temp3 ;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 PyObject * obj2 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "item",(char *) "pos", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
26112 arg2 = static_cast<long >(SWIG_As_long(obj1));
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 }
26115 {
26116 arg3 = &temp3;
26117 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26122
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 {
26127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26128 }
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26136 PyObject *resultobj = NULL;
26137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26138 int result;
26139 PyObject * obj0 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "self", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
26145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail;
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 {
26155 resultobj = SWIG_From_int(static_cast<int >(result));
26156 }
26157 return resultobj;
26158 fail:
26159 return NULL;
26160 }
26161
26162
26163 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
26164 PyObject *resultobj = NULL;
26165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26166 int result;
26167 PyObject * obj0 = 0 ;
26168 char *kwnames[] = {
26169 (char *) "self", NULL
26170 };
26171
26172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
26173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail;
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 {
26183 resultobj = SWIG_From_int(static_cast<int >(result));
26184 }
26185 return resultobj;
26186 fail:
26187 return NULL;
26188 }
26189
26190
26191 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
26192 PyObject *resultobj = NULL;
26193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26194 wxSize result;
26195 PyObject * obj0 = 0 ;
26196 char *kwnames[] = {
26197 (char *) "self", NULL
26198 };
26199
26200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
26201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail;
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 {
26211 wxSize * resultptr;
26212 resultptr = new wxSize(static_cast<wxSize & >(result));
26213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26214 }
26215 return resultobj;
26216 fail:
26217 return NULL;
26218 }
26219
26220
26221 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
26222 PyObject *resultobj = NULL;
26223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26224 int arg2 ;
26225 bool arg3 = (bool) false ;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 PyObject * obj2 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 {
26237 arg2 = static_cast<int >(SWIG_As_int(obj1));
26238 if (SWIG_arg_fail(2)) SWIG_fail;
26239 }
26240 if (obj2) {
26241 {
26242 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26243 if (SWIG_arg_fail(3)) SWIG_fail;
26244 }
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 (arg1)->SetItemSpacing(arg2,arg3);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 Py_INCREF(Py_None); resultobj = Py_None;
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj = NULL;
26262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26263 int result;
26264 PyObject * obj0 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "self", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26275
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 {
26280 resultobj = SWIG_From_int(static_cast<int >(result));
26281 }
26282 return resultobj;
26283 fail:
26284 return NULL;
26285 }
26286
26287
26288 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26289 PyObject *resultobj = NULL;
26290 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26291 wxColour result;
26292 PyObject * obj0 = 0 ;
26293 char *kwnames[] = {
26294 (char *) "self", NULL
26295 };
26296
26297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
26298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail;
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26303
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 {
26308 wxColour * resultptr;
26309 resultptr = new wxColour(static_cast<wxColour & >(result));
26310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26311 }
26312 return resultobj;
26313 fail:
26314 return NULL;
26315 }
26316
26317
26318 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj = NULL;
26320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26321 wxColour *arg2 = 0 ;
26322 wxColour temp2 ;
26323 PyObject * obj0 = 0 ;
26324 PyObject * obj1 = 0 ;
26325 char *kwnames[] = {
26326 (char *) "self",(char *) "col", NULL
26327 };
26328
26329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
26330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail;
26332 {
26333 arg2 = &temp2;
26334 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26335 }
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 (arg1)->SetTextColour((wxColour const &)*arg2);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 Py_INCREF(Py_None); resultobj = Py_None;
26344 return resultobj;
26345 fail:
26346 return NULL;
26347 }
26348
26349
26350 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
26351 PyObject *resultobj = NULL;
26352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26353 long result;
26354 PyObject * obj0 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = SWIG_From_long(static_cast<long >(result));
26371 }
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
26379 PyObject *resultobj = NULL;
26380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26381 long arg2 ;
26382 bool arg3 = (bool) true ;
26383 PyObject * obj0 = 0 ;
26384 PyObject * obj1 = 0 ;
26385 PyObject * obj2 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "style",(char *) "add", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
26393 {
26394 arg2 = static_cast<long >(SWIG_As_long(obj1));
26395 if (SWIG_arg_fail(2)) SWIG_fail;
26396 }
26397 if (obj2) {
26398 {
26399 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26400 if (SWIG_arg_fail(3)) SWIG_fail;
26401 }
26402 }
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 (arg1)->SetSingleStyle(arg2,arg3);
26406
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 Py_INCREF(Py_None); resultobj = Py_None;
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
26418 PyObject *resultobj = NULL;
26419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26420 long arg2 ;
26421 PyObject * obj0 = 0 ;
26422 PyObject * obj1 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self",(char *) "style", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
26428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26429 if (SWIG_arg_fail(1)) SWIG_fail;
26430 {
26431 arg2 = static_cast<long >(SWIG_As_long(obj1));
26432 if (SWIG_arg_fail(2)) SWIG_fail;
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->SetWindowStyleFlag(arg2);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 Py_INCREF(Py_None); resultobj = Py_None;
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj = NULL;
26450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26451 long arg2 ;
26452 int arg3 = (int) wxLIST_NEXT_ALL ;
26453 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26454 long result;
26455 PyObject * obj0 = 0 ;
26456 PyObject * obj1 = 0 ;
26457 PyObject * obj2 = 0 ;
26458 PyObject * obj3 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26465 if (SWIG_arg_fail(1)) SWIG_fail;
26466 {
26467 arg2 = static_cast<long >(SWIG_As_long(obj1));
26468 if (SWIG_arg_fail(2)) SWIG_fail;
26469 }
26470 if (obj2) {
26471 {
26472 arg3 = static_cast<int >(SWIG_As_int(obj2));
26473 if (SWIG_arg_fail(3)) SWIG_fail;
26474 }
26475 }
26476 if (obj3) {
26477 {
26478 arg4 = static_cast<int >(SWIG_As_int(obj3));
26479 if (SWIG_arg_fail(4)) SWIG_fail;
26480 }
26481 }
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 {
26490 resultobj = SWIG_From_long(static_cast<long >(result));
26491 }
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj = NULL;
26500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26501 int arg2 ;
26502 wxImageList *result;
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 char *kwnames[] = {
26506 (char *) "self",(char *) "which", NULL
26507 };
26508
26509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
26510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail;
26512 {
26513 arg2 = static_cast<int >(SWIG_As_int(obj1));
26514 if (SWIG_arg_fail(2)) SWIG_fail;
26515 }
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 {
26524 resultobj = wxPyMake_wxObject(result, (bool)0);
26525 }
26526 return resultobj;
26527 fail:
26528 return NULL;
26529 }
26530
26531
26532 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj = NULL;
26534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26535 wxImageList *arg2 = (wxImageList *) 0 ;
26536 int arg3 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 PyObject * obj2 = 0 ;
26540 char *kwnames[] = {
26541 (char *) "self",(char *) "imageList",(char *) "which", NULL
26542 };
26543
26544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail;
26547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26548 if (SWIG_arg_fail(2)) SWIG_fail;
26549 {
26550 arg3 = static_cast<int >(SWIG_As_int(obj2));
26551 if (SWIG_arg_fail(3)) SWIG_fail;
26552 }
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->SetImageList(arg2,arg3);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 return resultobj;
26562 fail:
26563 return NULL;
26564 }
26565
26566
26567 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26568 PyObject *resultobj = NULL;
26569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26570 wxImageList *arg2 = (wxImageList *) 0 ;
26571 int arg3 ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
26574 PyObject * obj2 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "imageList",(char *) "which", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail;
26582 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26583 if (SWIG_arg_fail(2)) SWIG_fail;
26584 {
26585 arg3 = static_cast<int >(SWIG_As_int(obj2));
26586 if (SWIG_arg_fail(3)) SWIG_fail;
26587 }
26588 {
26589 PyThreadState* __tstate = wxPyBeginAllowThreads();
26590 (arg1)->AssignImageList(arg2,arg3);
26591
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 Py_INCREF(Py_None); resultobj = Py_None;
26596 return resultobj;
26597 fail:
26598 return NULL;
26599 }
26600
26601
26602 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
26603 PyObject *resultobj = NULL;
26604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26605 bool result;
26606 PyObject * obj0 = 0 ;
26607 char *kwnames[] = {
26608 (char *) "self", NULL
26609 };
26610
26611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
26612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail;
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 {
26622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26623 }
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
26631 PyObject *resultobj = NULL;
26632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26633 bool result;
26634 PyObject * obj0 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
26640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26641 if (SWIG_arg_fail(1)) SWIG_fail;
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 {
26650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26651 }
26652 return resultobj;
26653 fail:
26654 return NULL;
26655 }
26656
26657
26658 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj = NULL;
26660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26661 long arg2 ;
26662 PyObject * obj0 = 0 ;
26663 PyObject * obj1 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "item", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
26669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail;
26671 {
26672 arg2 = static_cast<long >(SWIG_As_long(obj1));
26673 if (SWIG_arg_fail(2)) SWIG_fail;
26674 }
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 (arg1)->RefreshItem(arg2);
26678
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 Py_INCREF(Py_None); resultobj = Py_None;
26683 return resultobj;
26684 fail:
26685 return NULL;
26686 }
26687
26688
26689 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj = NULL;
26691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26692 long arg2 ;
26693 long arg3 ;
26694 PyObject * obj0 = 0 ;
26695 PyObject * obj1 = 0 ;
26696 PyObject * obj2 = 0 ;
26697 char *kwnames[] = {
26698 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26699 };
26700
26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
26702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail;
26704 {
26705 arg2 = static_cast<long >(SWIG_As_long(obj1));
26706 if (SWIG_arg_fail(2)) SWIG_fail;
26707 }
26708 {
26709 arg3 = static_cast<long >(SWIG_As_long(obj2));
26710 if (SWIG_arg_fail(3)) SWIG_fail;
26711 }
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 (arg1)->RefreshItems(arg2,arg3);
26715
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 Py_INCREF(Py_None); resultobj = Py_None;
26720 return resultobj;
26721 fail:
26722 return NULL;
26723 }
26724
26725
26726 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
26727 PyObject *resultobj = NULL;
26728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26729 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26730 bool result;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "flag", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
26738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail;
26740 if (obj1) {
26741 {
26742 arg2 = static_cast<int >(SWIG_As_int(obj1));
26743 if (SWIG_arg_fail(2)) SWIG_fail;
26744 }
26745 }
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (bool)(arg1)->Arrange(arg2);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 {
26754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26755 }
26756 return resultobj;
26757 fail:
26758 return NULL;
26759 }
26760
26761
26762 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
26763 PyObject *resultobj = NULL;
26764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26765 long arg2 ;
26766 bool result;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "item", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
26774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail;
26776 {
26777 arg2 = static_cast<long >(SWIG_As_long(obj1));
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (bool)(arg1)->DeleteItem(arg2);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 {
26788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26789 }
26790 return resultobj;
26791 fail:
26792 return NULL;
26793 }
26794
26795
26796 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj = NULL;
26798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26799 bool result;
26800 PyObject * obj0 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (bool)(arg1)->DeleteAllItems();
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 {
26816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26817 }
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26825 PyObject *resultobj = NULL;
26826 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26827 int arg2 ;
26828 bool result;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "col", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
26836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail;
26838 {
26839 arg2 = static_cast<int >(SWIG_As_int(obj1));
26840 if (SWIG_arg_fail(2)) SWIG_fail;
26841 }
26842 {
26843 PyThreadState* __tstate = wxPyBeginAllowThreads();
26844 result = (bool)(arg1)->DeleteColumn(arg2);
26845
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 {
26850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26851 }
26852 return resultobj;
26853 fail:
26854 return NULL;
26855 }
26856
26857
26858 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
26859 PyObject *resultobj = NULL;
26860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26861 bool result;
26862 PyObject * obj0 = 0 ;
26863 char *kwnames[] = {
26864 (char *) "self", NULL
26865 };
26866
26867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
26868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26869 if (SWIG_arg_fail(1)) SWIG_fail;
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 result = (bool)(arg1)->DeleteAllColumns();
26873
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
26877 {
26878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26879 }
26880 return resultobj;
26881 fail:
26882 return NULL;
26883 }
26884
26885
26886 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
26887 PyObject *resultobj = NULL;
26888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26889 PyObject * obj0 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
26895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail;
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 (arg1)->ClearAll();
26900
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
26904 Py_INCREF(Py_None); resultobj = Py_None;
26905 return resultobj;
26906 fail:
26907 return NULL;
26908 }
26909
26910
26911 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26912 PyObject *resultobj = NULL;
26913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26914 long arg2 ;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 char *kwnames[] = {
26918 (char *) "self",(char *) "item", NULL
26919 };
26920
26921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail;
26924 {
26925 arg2 = static_cast<long >(SWIG_As_long(obj1));
26926 if (SWIG_arg_fail(2)) SWIG_fail;
26927 }
26928 {
26929 PyThreadState* __tstate = wxPyBeginAllowThreads();
26930 (arg1)->EditLabel(arg2);
26931
26932 wxPyEndAllowThreads(__tstate);
26933 if (PyErr_Occurred()) SWIG_fail;
26934 }
26935 Py_INCREF(Py_None); resultobj = Py_None;
26936 return resultobj;
26937 fail:
26938 return NULL;
26939 }
26940
26941
26942 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26943 PyObject *resultobj = NULL;
26944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26945 long arg2 ;
26946 bool result;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 char *kwnames[] = {
26950 (char *) "self",(char *) "item", NULL
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail;
26956 {
26957 arg2 = static_cast<long >(SWIG_As_long(obj1));
26958 if (SWIG_arg_fail(2)) SWIG_fail;
26959 }
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (bool)(arg1)->EnsureVisible(arg2);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 {
26968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26969 }
26970 return resultobj;
26971 fail:
26972 return NULL;
26973 }
26974
26975
26976 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj = NULL;
26978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26979 long arg2 ;
26980 wxString *arg3 = 0 ;
26981 bool arg4 = (bool) false ;
26982 long result;
26983 bool temp3 = false ;
26984 PyObject * obj0 = 0 ;
26985 PyObject * obj1 = 0 ;
26986 PyObject * obj2 = 0 ;
26987 PyObject * obj3 = 0 ;
26988 char *kwnames[] = {
26989 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26990 };
26991
26992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail;
26995 {
26996 arg2 = static_cast<long >(SWIG_As_long(obj1));
26997 if (SWIG_arg_fail(2)) SWIG_fail;
26998 }
26999 {
27000 arg3 = wxString_in_helper(obj2);
27001 if (arg3 == NULL) SWIG_fail;
27002 temp3 = true;
27003 }
27004 if (obj3) {
27005 {
27006 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
27007 if (SWIG_arg_fail(4)) SWIG_fail;
27008 }
27009 }
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
27012 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
27013
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 {
27018 resultobj = SWIG_From_long(static_cast<long >(result));
27019 }
27020 {
27021 if (temp3)
27022 delete arg3;
27023 }
27024 return resultobj;
27025 fail:
27026 {
27027 if (temp3)
27028 delete arg3;
27029 }
27030 return NULL;
27031 }
27032
27033
27034 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj = NULL;
27036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27037 long arg2 ;
27038 long arg3 ;
27039 long result;
27040 PyObject * obj0 = 0 ;
27041 PyObject * obj1 = 0 ;
27042 PyObject * obj2 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "start",(char *) "data", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
27048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail;
27050 {
27051 arg2 = static_cast<long >(SWIG_As_long(obj1));
27052 if (SWIG_arg_fail(2)) SWIG_fail;
27053 }
27054 {
27055 arg3 = static_cast<long >(SWIG_As_long(obj2));
27056 if (SWIG_arg_fail(3)) SWIG_fail;
27057 }
27058 {
27059 PyThreadState* __tstate = wxPyBeginAllowThreads();
27060 result = (long)(arg1)->FindItem(arg2,arg3);
27061
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 {
27066 resultobj = SWIG_From_long(static_cast<long >(result));
27067 }
27068 return resultobj;
27069 fail:
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj = NULL;
27076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27077 long arg2 ;
27078 wxPoint *arg3 = 0 ;
27079 int arg4 ;
27080 long result;
27081 wxPoint temp3 ;
27082 PyObject * obj0 = 0 ;
27083 PyObject * obj1 = 0 ;
27084 PyObject * obj2 = 0 ;
27085 PyObject * obj3 = 0 ;
27086 char *kwnames[] = {
27087 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27088 };
27089
27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail;
27093 {
27094 arg2 = static_cast<long >(SWIG_As_long(obj1));
27095 if (SWIG_arg_fail(2)) SWIG_fail;
27096 }
27097 {
27098 arg3 = &temp3;
27099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27100 }
27101 {
27102 arg4 = static_cast<int >(SWIG_As_int(obj3));
27103 if (SWIG_arg_fail(4)) SWIG_fail;
27104 }
27105 {
27106 PyThreadState* __tstate = wxPyBeginAllowThreads();
27107 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27108
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
27112 {
27113 resultobj = SWIG_From_long(static_cast<long >(result));
27114 }
27115 return resultobj;
27116 fail:
27117 return NULL;
27118 }
27119
27120
27121 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
27122 PyObject *resultobj = NULL;
27123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27124 wxPoint *arg2 = 0 ;
27125 int *arg3 = 0 ;
27126 long result;
27127 wxPoint temp2 ;
27128 int temp3 ;
27129 int res3 = 0 ;
27130 PyObject * obj0 = 0 ;
27131 PyObject * obj1 = 0 ;
27132 char *kwnames[] = {
27133 (char *) "self",(char *) "point", NULL
27134 };
27135
27136 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail;
27140 {
27141 arg2 = &temp2;
27142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27143 }
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = SWIG_From_long(static_cast<long >(result));
27153 }
27154 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27155 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27156 return resultobj;
27157 fail:
27158 return NULL;
27159 }
27160
27161
27162 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27163 PyObject *resultobj = NULL;
27164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27165 wxListItem *arg2 = 0 ;
27166 long result;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 char *kwnames[] = {
27170 (char *) "self",(char *) "info", NULL
27171 };
27172
27173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
27174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27175 if (SWIG_arg_fail(1)) SWIG_fail;
27176 {
27177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27178 if (SWIG_arg_fail(2)) SWIG_fail;
27179 if (arg2 == NULL) {
27180 SWIG_null_ref("wxListItem");
27181 }
27182 if (SWIG_arg_fail(2)) SWIG_fail;
27183 }
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 result = (long)(arg1)->InsertItem(*arg2);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 {
27192 resultobj = SWIG_From_long(static_cast<long >(result));
27193 }
27194 return resultobj;
27195 fail:
27196 return NULL;
27197 }
27198
27199
27200 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27201 PyObject *resultobj = NULL;
27202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27203 long arg2 ;
27204 wxString *arg3 = 0 ;
27205 int arg4 = (int) -1 ;
27206 long result;
27207 bool temp3 = false ;
27208 PyObject * obj0 = 0 ;
27209 PyObject * obj1 = 0 ;
27210 PyObject * obj2 = 0 ;
27211 PyObject * obj3 = 0 ;
27212 char *kwnames[] = {
27213 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27214 };
27215
27216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27218 if (SWIG_arg_fail(1)) SWIG_fail;
27219 {
27220 arg2 = static_cast<long >(SWIG_As_long(obj1));
27221 if (SWIG_arg_fail(2)) SWIG_fail;
27222 }
27223 {
27224 arg3 = wxString_in_helper(obj2);
27225 if (arg3 == NULL) SWIG_fail;
27226 temp3 = true;
27227 }
27228 if (obj3) {
27229 {
27230 arg4 = static_cast<int >(SWIG_As_int(obj3));
27231 if (SWIG_arg_fail(4)) SWIG_fail;
27232 }
27233 }
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
27241 {
27242 resultobj = SWIG_From_long(static_cast<long >(result));
27243 }
27244 {
27245 if (temp3)
27246 delete arg3;
27247 }
27248 return resultobj;
27249 fail:
27250 {
27251 if (temp3)
27252 delete arg3;
27253 }
27254 return NULL;
27255 }
27256
27257
27258 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
27259 PyObject *resultobj = NULL;
27260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27261 long arg2 ;
27262 int arg3 ;
27263 long result;
27264 PyObject * obj0 = 0 ;
27265 PyObject * obj1 = 0 ;
27266 PyObject * obj2 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail;
27274 {
27275 arg2 = static_cast<long >(SWIG_As_long(obj1));
27276 if (SWIG_arg_fail(2)) SWIG_fail;
27277 }
27278 {
27279 arg3 = static_cast<int >(SWIG_As_int(obj2));
27280 if (SWIG_arg_fail(3)) SWIG_fail;
27281 }
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 result = (long)(arg1)->InsertItem(arg2,arg3);
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 {
27290 resultobj = SWIG_From_long(static_cast<long >(result));
27291 }
27292 return resultobj;
27293 fail:
27294 return NULL;
27295 }
27296
27297
27298 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj = NULL;
27300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27301 long arg2 ;
27302 wxString *arg3 = 0 ;
27303 int arg4 ;
27304 long result;
27305 bool temp3 = false ;
27306 PyObject * obj0 = 0 ;
27307 PyObject * obj1 = 0 ;
27308 PyObject * obj2 = 0 ;
27309 PyObject * obj3 = 0 ;
27310 char *kwnames[] = {
27311 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27312 };
27313
27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail;
27317 {
27318 arg2 = static_cast<long >(SWIG_As_long(obj1));
27319 if (SWIG_arg_fail(2)) SWIG_fail;
27320 }
27321 {
27322 arg3 = wxString_in_helper(obj2);
27323 if (arg3 == NULL) SWIG_fail;
27324 temp3 = true;
27325 }
27326 {
27327 arg4 = static_cast<int >(SWIG_As_int(obj3));
27328 if (SWIG_arg_fail(4)) SWIG_fail;
27329 }
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 {
27338 resultobj = SWIG_From_long(static_cast<long >(result));
27339 }
27340 {
27341 if (temp3)
27342 delete arg3;
27343 }
27344 return resultobj;
27345 fail:
27346 {
27347 if (temp3)
27348 delete arg3;
27349 }
27350 return NULL;
27351 }
27352
27353
27354 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
27355 PyObject *resultobj = NULL;
27356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27357 long arg2 ;
27358 wxListItem *arg3 = 0 ;
27359 long result;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 PyObject * obj2 = 0 ;
27363 char *kwnames[] = {
27364 (char *) "self",(char *) "col",(char *) "info", NULL
27365 };
27366
27367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail;
27370 {
27371 arg2 = static_cast<long >(SWIG_As_long(obj1));
27372 if (SWIG_arg_fail(2)) SWIG_fail;
27373 }
27374 {
27375 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27376 if (SWIG_arg_fail(3)) SWIG_fail;
27377 if (arg3 == NULL) {
27378 SWIG_null_ref("wxListItem");
27379 }
27380 if (SWIG_arg_fail(3)) SWIG_fail;
27381 }
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 {
27390 resultobj = SWIG_From_long(static_cast<long >(result));
27391 }
27392 return resultobj;
27393 fail:
27394 return NULL;
27395 }
27396
27397
27398 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
27399 PyObject *resultobj = NULL;
27400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27401 long arg2 ;
27402 wxString *arg3 = 0 ;
27403 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27404 int arg5 = (int) -1 ;
27405 long result;
27406 bool temp3 = false ;
27407 PyObject * obj0 = 0 ;
27408 PyObject * obj1 = 0 ;
27409 PyObject * obj2 = 0 ;
27410 PyObject * obj3 = 0 ;
27411 PyObject * obj4 = 0 ;
27412 char *kwnames[] = {
27413 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27414 };
27415
27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 {
27420 arg2 = static_cast<long >(SWIG_As_long(obj1));
27421 if (SWIG_arg_fail(2)) SWIG_fail;
27422 }
27423 {
27424 arg3 = wxString_in_helper(obj2);
27425 if (arg3 == NULL) SWIG_fail;
27426 temp3 = true;
27427 }
27428 if (obj3) {
27429 {
27430 arg4 = static_cast<int >(SWIG_As_int(obj3));
27431 if (SWIG_arg_fail(4)) SWIG_fail;
27432 }
27433 }
27434 if (obj4) {
27435 {
27436 arg5 = static_cast<int >(SWIG_As_int(obj4));
27437 if (SWIG_arg_fail(5)) SWIG_fail;
27438 }
27439 }
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
27447 {
27448 resultobj = SWIG_From_long(static_cast<long >(result));
27449 }
27450 {
27451 if (temp3)
27452 delete arg3;
27453 }
27454 return resultobj;
27455 fail:
27456 {
27457 if (temp3)
27458 delete arg3;
27459 }
27460 return NULL;
27461 }
27462
27463
27464 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
27465 PyObject *resultobj = NULL;
27466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27467 long arg2 ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 char *kwnames[] = {
27471 (char *) "self",(char *) "count", NULL
27472 };
27473
27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
27475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail;
27477 {
27478 arg2 = static_cast<long >(SWIG_As_long(obj1));
27479 if (SWIG_arg_fail(2)) SWIG_fail;
27480 }
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->SetItemCount(arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
27496 PyObject *resultobj = NULL;
27497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27498 int arg2 ;
27499 int arg3 ;
27500 bool result;
27501 PyObject * obj0 = 0 ;
27502 PyObject * obj1 = 0 ;
27503 PyObject * obj2 = 0 ;
27504 char *kwnames[] = {
27505 (char *) "self",(char *) "dx",(char *) "dy", NULL
27506 };
27507
27508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail;
27511 {
27512 arg2 = static_cast<int >(SWIG_As_int(obj1));
27513 if (SWIG_arg_fail(2)) SWIG_fail;
27514 }
27515 {
27516 arg3 = static_cast<int >(SWIG_As_int(obj2));
27517 if (SWIG_arg_fail(3)) SWIG_fail;
27518 }
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = (bool)(arg1)->ScrollList(arg2,arg3);
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 {
27527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27528 }
27529 return resultobj;
27530 fail:
27531 return NULL;
27532 }
27533
27534
27535 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27536 PyObject *resultobj = NULL;
27537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27538 long arg2 ;
27539 wxColour *arg3 = 0 ;
27540 wxColour temp3 ;
27541 PyObject * obj0 = 0 ;
27542 PyObject * obj1 = 0 ;
27543 PyObject * obj2 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "item",(char *) "col", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail;
27551 {
27552 arg2 = static_cast<long >(SWIG_As_long(obj1));
27553 if (SWIG_arg_fail(2)) SWIG_fail;
27554 }
27555 {
27556 arg3 = &temp3;
27557 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 Py_INCREF(Py_None); resultobj = Py_None;
27567 return resultobj;
27568 fail:
27569 return NULL;
27570 }
27571
27572
27573 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27574 PyObject *resultobj = NULL;
27575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27576 long arg2 ;
27577 wxColour result;
27578 PyObject * obj0 = 0 ;
27579 PyObject * obj1 = 0 ;
27580 char *kwnames[] = {
27581 (char *) "self",(char *) "item", NULL
27582 };
27583
27584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
27585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail;
27587 {
27588 arg2 = static_cast<long >(SWIG_As_long(obj1));
27589 if (SWIG_arg_fail(2)) SWIG_fail;
27590 }
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27594
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 {
27599 wxColour * resultptr;
27600 resultptr = new wxColour(static_cast<wxColour & >(result));
27601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27602 }
27603 return resultobj;
27604 fail:
27605 return NULL;
27606 }
27607
27608
27609 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27610 PyObject *resultobj = NULL;
27611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27612 long arg2 ;
27613 wxColour *arg3 = 0 ;
27614 wxColour temp3 ;
27615 PyObject * obj0 = 0 ;
27616 PyObject * obj1 = 0 ;
27617 PyObject * obj2 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self",(char *) "item",(char *) "col", NULL
27620 };
27621
27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail;
27625 {
27626 arg2 = static_cast<long >(SWIG_As_long(obj1));
27627 if (SWIG_arg_fail(2)) SWIG_fail;
27628 }
27629 {
27630 arg3 = &temp3;
27631 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27632 }
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 Py_INCREF(Py_None); resultobj = Py_None;
27641 return resultobj;
27642 fail:
27643 return NULL;
27644 }
27645
27646
27647 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27648 PyObject *resultobj = NULL;
27649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27650 long arg2 ;
27651 wxColour result;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "item", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
27659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27660 if (SWIG_arg_fail(1)) SWIG_fail;
27661 {
27662 arg2 = static_cast<long >(SWIG_As_long(obj1));
27663 if (SWIG_arg_fail(2)) SWIG_fail;
27664 }
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 {
27673 wxColour * resultptr;
27674 resultptr = new wxColour(static_cast<wxColour & >(result));
27675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27676 }
27677 return resultobj;
27678 fail:
27679 return NULL;
27680 }
27681
27682
27683 static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27684 PyObject *resultobj = NULL;
27685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27686 long arg2 ;
27687 wxFont *arg3 = 0 ;
27688 PyObject * obj0 = 0 ;
27689 PyObject * obj1 = 0 ;
27690 PyObject * obj2 = 0 ;
27691 char *kwnames[] = {
27692 (char *) "self",(char *) "item",(char *) "f", NULL
27693 };
27694
27695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail;
27698 {
27699 arg2 = static_cast<long >(SWIG_As_long(obj1));
27700 if (SWIG_arg_fail(2)) SWIG_fail;
27701 }
27702 {
27703 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27704 if (SWIG_arg_fail(3)) SWIG_fail;
27705 if (arg3 == NULL) {
27706 SWIG_null_ref("wxFont");
27707 }
27708 if (SWIG_arg_fail(3)) SWIG_fail;
27709 }
27710 {
27711 PyThreadState* __tstate = wxPyBeginAllowThreads();
27712 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27713
27714 wxPyEndAllowThreads(__tstate);
27715 if (PyErr_Occurred()) SWIG_fail;
27716 }
27717 Py_INCREF(Py_None); resultobj = Py_None;
27718 return resultobj;
27719 fail:
27720 return NULL;
27721 }
27722
27723
27724 static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27725 PyObject *resultobj = NULL;
27726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27727 long arg2 ;
27728 wxFont result;
27729 PyObject * obj0 = 0 ;
27730 PyObject * obj1 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self",(char *) "item", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail;
27738 {
27739 arg2 = static_cast<long >(SWIG_As_long(obj1));
27740 if (SWIG_arg_fail(2)) SWIG_fail;
27741 }
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27745
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 {
27750 wxFont * resultptr;
27751 resultptr = new wxFont(static_cast<wxFont & >(result));
27752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27753 }
27754 return resultobj;
27755 fail:
27756 return NULL;
27757 }
27758
27759
27760 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj = NULL;
27762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27763 PyObject *arg2 = (PyObject *) 0 ;
27764 bool result;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "func", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
27772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail;
27774 arg2 = obj1;
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 {
27783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27784 }
27785 return resultobj;
27786 fail:
27787 return NULL;
27788 }
27789
27790
27791 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27792 PyObject *resultobj = NULL;
27793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27794 wxWindow *result;
27795 PyObject * obj0 = 0 ;
27796 char *kwnames[] = {
27797 (char *) "self", NULL
27798 };
27799
27800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
27801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27802 if (SWIG_arg_fail(1)) SWIG_fail;
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 {
27811 resultobj = wxPyMake_wxObject(result, 0);
27812 }
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj = NULL;
27821 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
27822 wxVisualAttributes result;
27823 PyObject * obj0 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "variant", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27829 if (obj0) {
27830 {
27831 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
27832 if (SWIG_arg_fail(1)) SWIG_fail;
27833 }
27834 }
27835 {
27836 if (!wxPyCheckForApp()) SWIG_fail;
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
27839
27840 wxPyEndAllowThreads(__tstate);
27841 if (PyErr_Occurred()) SWIG_fail;
27842 }
27843 {
27844 wxVisualAttributes * resultptr;
27845 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
27846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27847 }
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
27855 PyObject *obj;
27856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27857 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27858 Py_INCREF(obj);
27859 return Py_BuildValue((char *)"");
27860 }
27861 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
27862 PyObject *resultobj = NULL;
27863 wxWindow *arg1 = (wxWindow *) 0 ;
27864 int arg2 = (int) -1 ;
27865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27867 wxSize const &arg4_defvalue = wxDefaultSize ;
27868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27869 long arg5 = (long) wxLC_REPORT ;
27870 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27871 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27872 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27873 wxString *arg7 = (wxString *) &arg7_defvalue ;
27874 wxListView *result;
27875 wxPoint temp3 ;
27876 wxSize temp4 ;
27877 bool temp7 = false ;
27878 PyObject * obj0 = 0 ;
27879 PyObject * obj1 = 0 ;
27880 PyObject * obj2 = 0 ;
27881 PyObject * obj3 = 0 ;
27882 PyObject * obj4 = 0 ;
27883 PyObject * obj5 = 0 ;
27884 PyObject * obj6 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail;
27892 if (obj1) {
27893 {
27894 arg2 = static_cast<int >(SWIG_As_int(obj1));
27895 if (SWIG_arg_fail(2)) SWIG_fail;
27896 }
27897 }
27898 if (obj2) {
27899 {
27900 arg3 = &temp3;
27901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27902 }
27903 }
27904 if (obj3) {
27905 {
27906 arg4 = &temp4;
27907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27908 }
27909 }
27910 if (obj4) {
27911 {
27912 arg5 = static_cast<long >(SWIG_As_long(obj4));
27913 if (SWIG_arg_fail(5)) SWIG_fail;
27914 }
27915 }
27916 if (obj5) {
27917 {
27918 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27919 if (SWIG_arg_fail(6)) SWIG_fail;
27920 if (arg6 == NULL) {
27921 SWIG_null_ref("wxValidator");
27922 }
27923 if (SWIG_arg_fail(6)) SWIG_fail;
27924 }
27925 }
27926 if (obj6) {
27927 {
27928 arg7 = wxString_in_helper(obj6);
27929 if (arg7 == NULL) SWIG_fail;
27930 temp7 = true;
27931 }
27932 }
27933 {
27934 if (!wxPyCheckForApp()) SWIG_fail;
27935 PyThreadState* __tstate = wxPyBeginAllowThreads();
27936 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27937
27938 wxPyEndAllowThreads(__tstate);
27939 if (PyErr_Occurred()) SWIG_fail;
27940 }
27941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27942 {
27943 if (temp7)
27944 delete arg7;
27945 }
27946 return resultobj;
27947 fail:
27948 {
27949 if (temp7)
27950 delete arg7;
27951 }
27952 return NULL;
27953 }
27954
27955
27956 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
27957 PyObject *resultobj = NULL;
27958 wxListView *result;
27959 char *kwnames[] = {
27960 NULL
27961 };
27962
27963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27964 {
27965 if (!wxPyCheckForApp()) SWIG_fail;
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 result = (wxListView *)new wxListView();
27968
27969 wxPyEndAllowThreads(__tstate);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27973 return resultobj;
27974 fail:
27975 return NULL;
27976 }
27977
27978
27979 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27980 PyObject *resultobj = NULL;
27981 wxListView *arg1 = (wxListView *) 0 ;
27982 wxWindow *arg2 = (wxWindow *) 0 ;
27983 int arg3 = (int) -1 ;
27984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27986 wxSize const &arg5_defvalue = wxDefaultSize ;
27987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27988 long arg6 = (long) wxLC_REPORT ;
27989 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27990 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27991 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
27992 wxString *arg8 = (wxString *) &arg8_defvalue ;
27993 bool result;
27994 wxPoint temp4 ;
27995 wxSize temp5 ;
27996 bool temp8 = false ;
27997 PyObject * obj0 = 0 ;
27998 PyObject * obj1 = 0 ;
27999 PyObject * obj2 = 0 ;
28000 PyObject * obj3 = 0 ;
28001 PyObject * obj4 = 0 ;
28002 PyObject * obj5 = 0 ;
28003 PyObject * obj6 = 0 ;
28004 PyObject * obj7 = 0 ;
28005 char *kwnames[] = {
28006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28007 };
28008
28009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28011 if (SWIG_arg_fail(1)) SWIG_fail;
28012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28013 if (SWIG_arg_fail(2)) SWIG_fail;
28014 if (obj2) {
28015 {
28016 arg3 = static_cast<int >(SWIG_As_int(obj2));
28017 if (SWIG_arg_fail(3)) SWIG_fail;
28018 }
28019 }
28020 if (obj3) {
28021 {
28022 arg4 = &temp4;
28023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28024 }
28025 }
28026 if (obj4) {
28027 {
28028 arg5 = &temp5;
28029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28030 }
28031 }
28032 if (obj5) {
28033 {
28034 arg6 = static_cast<long >(SWIG_As_long(obj5));
28035 if (SWIG_arg_fail(6)) SWIG_fail;
28036 }
28037 }
28038 if (obj6) {
28039 {
28040 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28041 if (SWIG_arg_fail(7)) SWIG_fail;
28042 if (arg7 == NULL) {
28043 SWIG_null_ref("wxValidator");
28044 }
28045 if (SWIG_arg_fail(7)) SWIG_fail;
28046 }
28047 }
28048 if (obj7) {
28049 {
28050 arg8 = wxString_in_helper(obj7);
28051 if (arg8 == NULL) SWIG_fail;
28052 temp8 = true;
28053 }
28054 }
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
28057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28058
28059 wxPyEndAllowThreads(__tstate);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 }
28062 {
28063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28064 }
28065 {
28066 if (temp8)
28067 delete arg8;
28068 }
28069 return resultobj;
28070 fail:
28071 {
28072 if (temp8)
28073 delete arg8;
28074 }
28075 return NULL;
28076 }
28077
28078
28079 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
28080 PyObject *resultobj = NULL;
28081 wxListView *arg1 = (wxListView *) 0 ;
28082 long arg2 ;
28083 bool arg3 = (bool) true ;
28084 PyObject * obj0 = 0 ;
28085 PyObject * obj1 = 0 ;
28086 PyObject * obj2 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "self",(char *) "n",(char *) "on", NULL
28089 };
28090
28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
28092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail;
28094 {
28095 arg2 = static_cast<long >(SWIG_As_long(obj1));
28096 if (SWIG_arg_fail(2)) SWIG_fail;
28097 }
28098 if (obj2) {
28099 {
28100 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
28101 if (SWIG_arg_fail(3)) SWIG_fail;
28102 }
28103 }
28104 {
28105 PyThreadState* __tstate = wxPyBeginAllowThreads();
28106 (arg1)->Select(arg2,arg3);
28107
28108 wxPyEndAllowThreads(__tstate);
28109 if (PyErr_Occurred()) SWIG_fail;
28110 }
28111 Py_INCREF(Py_None); resultobj = Py_None;
28112 return resultobj;
28113 fail:
28114 return NULL;
28115 }
28116
28117
28118 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
28119 PyObject *resultobj = NULL;
28120 wxListView *arg1 = (wxListView *) 0 ;
28121 long arg2 ;
28122 PyObject * obj0 = 0 ;
28123 PyObject * obj1 = 0 ;
28124 char *kwnames[] = {
28125 (char *) "self",(char *) "index", NULL
28126 };
28127
28128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
28129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail;
28131 {
28132 arg2 = static_cast<long >(SWIG_As_long(obj1));
28133 if (SWIG_arg_fail(2)) SWIG_fail;
28134 }
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 (arg1)->Focus(arg2);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 Py_INCREF(Py_None); resultobj = Py_None;
28143 return resultobj;
28144 fail:
28145 return NULL;
28146 }
28147
28148
28149 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
28150 PyObject *resultobj = NULL;
28151 wxListView *arg1 = (wxListView *) 0 ;
28152 long result;
28153 PyObject * obj0 = 0 ;
28154 char *kwnames[] = {
28155 (char *) "self", NULL
28156 };
28157
28158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
28159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail;
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28164
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 {
28169 resultobj = SWIG_From_long(static_cast<long >(result));
28170 }
28171 return resultobj;
28172 fail:
28173 return NULL;
28174 }
28175
28176
28177 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28178 PyObject *resultobj = NULL;
28179 wxListView *arg1 = (wxListView *) 0 ;
28180 long arg2 ;
28181 long result;
28182 PyObject * obj0 = 0 ;
28183 PyObject * obj1 = 0 ;
28184 char *kwnames[] = {
28185 (char *) "self",(char *) "item", NULL
28186 };
28187
28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
28189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail;
28191 {
28192 arg2 = static_cast<long >(SWIG_As_long(obj1));
28193 if (SWIG_arg_fail(2)) SWIG_fail;
28194 }
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 {
28203 resultobj = SWIG_From_long(static_cast<long >(result));
28204 }
28205 return resultobj;
28206 fail:
28207 return NULL;
28208 }
28209
28210
28211 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28212 PyObject *resultobj = NULL;
28213 wxListView *arg1 = (wxListView *) 0 ;
28214 long result;
28215 PyObject * obj0 = 0 ;
28216 char *kwnames[] = {
28217 (char *) "self", NULL
28218 };
28219
28220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
28221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail;
28223 {
28224 PyThreadState* __tstate = wxPyBeginAllowThreads();
28225 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28226
28227 wxPyEndAllowThreads(__tstate);
28228 if (PyErr_Occurred()) SWIG_fail;
28229 }
28230 {
28231 resultobj = SWIG_From_long(static_cast<long >(result));
28232 }
28233 return resultobj;
28234 fail:
28235 return NULL;
28236 }
28237
28238
28239 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28240 PyObject *resultobj = NULL;
28241 wxListView *arg1 = (wxListView *) 0 ;
28242 long arg2 ;
28243 bool result;
28244 PyObject * obj0 = 0 ;
28245 PyObject * obj1 = 0 ;
28246 char *kwnames[] = {
28247 (char *) "self",(char *) "index", NULL
28248 };
28249
28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
28251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28252 if (SWIG_arg_fail(1)) SWIG_fail;
28253 {
28254 arg2 = static_cast<long >(SWIG_As_long(obj1));
28255 if (SWIG_arg_fail(2)) SWIG_fail;
28256 }
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 result = (bool)(arg1)->IsSelected(arg2);
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
28265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28266 }
28267 return resultobj;
28268 fail:
28269 return NULL;
28270 }
28271
28272
28273 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28274 PyObject *resultobj = NULL;
28275 wxListView *arg1 = (wxListView *) 0 ;
28276 int arg2 ;
28277 int arg3 ;
28278 PyObject * obj0 = 0 ;
28279 PyObject * obj1 = 0 ;
28280 PyObject * obj2 = 0 ;
28281 char *kwnames[] = {
28282 (char *) "self",(char *) "col",(char *) "image", NULL
28283 };
28284
28285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail;
28288 {
28289 arg2 = static_cast<int >(SWIG_As_int(obj1));
28290 if (SWIG_arg_fail(2)) SWIG_fail;
28291 }
28292 {
28293 arg3 = static_cast<int >(SWIG_As_int(obj2));
28294 if (SWIG_arg_fail(3)) SWIG_fail;
28295 }
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 (arg1)->SetColumnImage(arg2,arg3);
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 Py_INCREF(Py_None); resultobj = Py_None;
28304 return resultobj;
28305 fail:
28306 return NULL;
28307 }
28308
28309
28310 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj = NULL;
28312 wxListView *arg1 = (wxListView *) 0 ;
28313 int arg2 ;
28314 PyObject * obj0 = 0 ;
28315 PyObject * obj1 = 0 ;
28316 char *kwnames[] = {
28317 (char *) "self",(char *) "col", NULL
28318 };
28319
28320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
28321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail;
28323 {
28324 arg2 = static_cast<int >(SWIG_As_int(obj1));
28325 if (SWIG_arg_fail(2)) SWIG_fail;
28326 }
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->ClearColumnImage(arg2);
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 Py_INCREF(Py_None); resultobj = Py_None;
28335 return resultobj;
28336 fail:
28337 return NULL;
28338 }
28339
28340
28341 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
28342 PyObject *obj;
28343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28344 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28345 Py_INCREF(obj);
28346 return Py_BuildValue((char *)"");
28347 }
28348 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
28349 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28350 return 1;
28351 }
28352
28353
28354 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
28355 PyObject *pyobj = NULL;
28356
28357 {
28358 #if wxUSE_UNICODE
28359 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28360 #else
28361 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28362 #endif
28363 }
28364 return pyobj;
28365 }
28366
28367
28368 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj = NULL;
28370 wxTreeItemId *result;
28371 char *kwnames[] = {
28372 NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 result = (wxTreeItemId *)new wxTreeItemId();
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj = NULL;
28392 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28393 PyObject * obj0 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
28399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail;
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 delete arg1;
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
28416 PyObject *resultobj = NULL;
28417 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28418 bool result;
28419 PyObject * obj0 = 0 ;
28420 char *kwnames[] = {
28421 (char *) "self", NULL
28422 };
28423
28424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
28425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail;
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 {
28435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28436 }
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
28444 PyObject *resultobj = NULL;
28445 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28446 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28447 bool result;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self",(char *) "other", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
28455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail;
28457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(2)) SWIG_fail;
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28462
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 {
28467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28468 }
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj = NULL;
28477 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28478 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28479 bool result;
28480 PyObject * obj0 = 0 ;
28481 PyObject * obj1 = 0 ;
28482 char *kwnames[] = {
28483 (char *) "self",(char *) "other", NULL
28484 };
28485
28486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
28487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail;
28489 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28490 if (SWIG_arg_fail(2)) SWIG_fail;
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 {
28499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28500 }
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj = NULL;
28509 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28510 void *arg2 = (void *) 0 ;
28511 PyObject * obj0 = 0 ;
28512 PyObject * obj1 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "self",(char *) "m_pItem", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
28518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail;
28520 {
28521 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
28522 SWIG_arg_fail(2);SWIG_fail;
28523 }
28524 }
28525 if (arg1) (arg1)->m_pItem = arg2;
28526
28527 Py_INCREF(Py_None); resultobj = Py_None;
28528 return resultobj;
28529 fail:
28530 return NULL;
28531 }
28532
28533
28534 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
28535 PyObject *resultobj = NULL;
28536 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28537 void *result;
28538 PyObject * obj0 = 0 ;
28539 char *kwnames[] = {
28540 (char *) "self", NULL
28541 };
28542
28543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
28544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28545 if (SWIG_arg_fail(1)) SWIG_fail;
28546 result = (void *) ((arg1)->m_pItem);
28547
28548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28549 return resultobj;
28550 fail:
28551 return NULL;
28552 }
28553
28554
28555 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
28556 PyObject *obj;
28557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28559 Py_INCREF(obj);
28560 return Py_BuildValue((char *)"");
28561 }
28562 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28563 PyObject *resultobj = NULL;
28564 PyObject *arg1 = (PyObject *) NULL ;
28565 wxPyTreeItemData *result;
28566 PyObject * obj0 = 0 ;
28567 char *kwnames[] = {
28568 (char *) "obj", NULL
28569 };
28570
28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28572 if (obj0) {
28573 arg1 = obj0;
28574 }
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28583 return resultobj;
28584 fail:
28585 return NULL;
28586 }
28587
28588
28589 static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj = NULL;
28591 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28592 PyObject * obj0 = 0 ;
28593 char *kwnames[] = {
28594 (char *) "self", NULL
28595 };
28596
28597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail;
28600 {
28601 PyThreadState* __tstate = wxPyBeginAllowThreads();
28602 delete arg1;
28603
28604 wxPyEndAllowThreads(__tstate);
28605 if (PyErr_Occurred()) SWIG_fail;
28606 }
28607 Py_INCREF(Py_None); resultobj = Py_None;
28608 return resultobj;
28609 fail:
28610 return NULL;
28611 }
28612
28613
28614 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
28615 PyObject *resultobj = NULL;
28616 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28617 PyObject *result;
28618 PyObject * obj0 = 0 ;
28619 char *kwnames[] = {
28620 (char *) "self", NULL
28621 };
28622
28623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
28624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28625 if (SWIG_arg_fail(1)) SWIG_fail;
28626 {
28627 PyThreadState* __tstate = wxPyBeginAllowThreads();
28628 result = (PyObject *)(arg1)->GetData();
28629
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 resultobj = result;
28634 return resultobj;
28635 fail:
28636 return NULL;
28637 }
28638
28639
28640 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
28641 PyObject *resultobj = NULL;
28642 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28643 PyObject *arg2 = (PyObject *) 0 ;
28644 PyObject * obj0 = 0 ;
28645 PyObject * obj1 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "self",(char *) "obj", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
28651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail;
28653 arg2 = obj1;
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 (arg1)->SetData(arg2);
28657
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 Py_INCREF(Py_None); resultobj = Py_None;
28662 return resultobj;
28663 fail:
28664 return NULL;
28665 }
28666
28667
28668 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
28669 PyObject *resultobj = NULL;
28670 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28671 wxTreeItemId *result;
28672 PyObject * obj0 = 0 ;
28673 char *kwnames[] = {
28674 (char *) "self", NULL
28675 };
28676
28677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
28678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28679 if (SWIG_arg_fail(1)) SWIG_fail;
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 {
28683 wxTreeItemId const &_result_ref = (arg1)->GetId();
28684 result = (wxTreeItemId *) &_result_ref;
28685 }
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28691 return resultobj;
28692 fail:
28693 return NULL;
28694 }
28695
28696
28697 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
28698 PyObject *resultobj = NULL;
28699 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28700 wxTreeItemId *arg2 = 0 ;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "id", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail;
28713 if (arg2 == NULL) {
28714 SWIG_null_ref("wxTreeItemId");
28715 }
28716 if (SWIG_arg_fail(2)) SWIG_fail;
28717 }
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 (arg1)->SetId((wxTreeItemId const &)*arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 Py_INCREF(Py_None); resultobj = Py_None;
28726 return resultobj;
28727 fail:
28728 return NULL;
28729 }
28730
28731
28732 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28733 PyObject *resultobj = NULL;
28734 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28735 PyObject * obj0 = 0 ;
28736 char *kwnames[] = {
28737 (char *) "self", NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
28741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail;
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 wxPyTreeItemData_Destroy(arg1);
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 Py_INCREF(Py_None); resultobj = Py_None;
28751 return resultobj;
28752 fail:
28753 return NULL;
28754 }
28755
28756
28757 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
28758 PyObject *obj;
28759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28760 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28761 Py_INCREF(obj);
28762 return Py_BuildValue((char *)"");
28763 }
28764 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28765 PyObject *resultobj = NULL;
28766 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28767 int arg2 = (int) 0 ;
28768 wxTreeEvent *result;
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
28771 char *kwnames[] = {
28772 (char *) "commandType",(char *) "id", NULL
28773 };
28774
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28776 if (obj0) {
28777 {
28778 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
28779 if (SWIG_arg_fail(1)) SWIG_fail;
28780 }
28781 }
28782 if (obj1) {
28783 {
28784 arg2 = static_cast<int >(SWIG_As_int(obj1));
28785 if (SWIG_arg_fail(2)) SWIG_fail;
28786 }
28787 }
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28791
28792 wxPyEndAllowThreads(__tstate);
28793 if (PyErr_Occurred()) SWIG_fail;
28794 }
28795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28796 return resultobj;
28797 fail:
28798 return NULL;
28799 }
28800
28801
28802 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28803 PyObject *resultobj = NULL;
28804 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28805 wxTreeItemId result;
28806 PyObject * obj0 = 0 ;
28807 char *kwnames[] = {
28808 (char *) "self", NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
28812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail;
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 result = ((wxTreeEvent const *)arg1)->GetItem();
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 {
28822 wxTreeItemId * resultptr;
28823 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj = NULL;
28834 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28835 wxTreeItemId *arg2 = 0 ;
28836 PyObject * obj0 = 0 ;
28837 PyObject * obj1 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self",(char *) "item", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
28843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28844 if (SWIG_arg_fail(1)) SWIG_fail;
28845 {
28846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28847 if (SWIG_arg_fail(2)) SWIG_fail;
28848 if (arg2 == NULL) {
28849 SWIG_null_ref("wxTreeItemId");
28850 }
28851 if (SWIG_arg_fail(2)) SWIG_fail;
28852 }
28853 {
28854 PyThreadState* __tstate = wxPyBeginAllowThreads();
28855 (arg1)->SetItem((wxTreeItemId const &)*arg2);
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_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28868 PyObject *resultobj = NULL;
28869 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28870 wxTreeItemId result;
28871 PyObject * obj0 = 0 ;
28872 char *kwnames[] = {
28873 (char *) "self", NULL
28874 };
28875
28876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
28877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail;
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28882
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 {
28887 wxTreeItemId * resultptr;
28888 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28890 }
28891 return resultobj;
28892 fail:
28893 return NULL;
28894 }
28895
28896
28897 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28898 PyObject *resultobj = NULL;
28899 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28900 wxTreeItemId *arg2 = 0 ;
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "self",(char *) "item", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
28908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail;
28910 {
28911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28912 if (SWIG_arg_fail(2)) SWIG_fail;
28913 if (arg2 == NULL) {
28914 SWIG_null_ref("wxTreeItemId");
28915 }
28916 if (SWIG_arg_fail(2)) SWIG_fail;
28917 }
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 Py_INCREF(Py_None); resultobj = Py_None;
28926 return resultobj;
28927 fail:
28928 return NULL;
28929 }
28930
28931
28932 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28933 PyObject *resultobj = NULL;
28934 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28935 wxPoint result;
28936 PyObject * obj0 = 0 ;
28937 char *kwnames[] = {
28938 (char *) "self", NULL
28939 };
28940
28941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
28942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail;
28944 {
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 result = ((wxTreeEvent const *)arg1)->GetPoint();
28947
28948 wxPyEndAllowThreads(__tstate);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 {
28952 wxPoint * resultptr;
28953 resultptr = new wxPoint(static_cast<wxPoint & >(result));
28954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28955 }
28956 return resultobj;
28957 fail:
28958 return NULL;
28959 }
28960
28961
28962 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28963 PyObject *resultobj = NULL;
28964 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28965 wxPoint *arg2 = 0 ;
28966 wxPoint temp2 ;
28967 PyObject * obj0 = 0 ;
28968 PyObject * obj1 = 0 ;
28969 char *kwnames[] = {
28970 (char *) "self",(char *) "pt", NULL
28971 };
28972
28973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
28974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28975 if (SWIG_arg_fail(1)) SWIG_fail;
28976 {
28977 arg2 = &temp2;
28978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28979 }
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 (arg1)->SetPoint((wxPoint const &)*arg2);
28983
28984 wxPyEndAllowThreads(__tstate);
28985 if (PyErr_Occurred()) SWIG_fail;
28986 }
28987 Py_INCREF(Py_None); resultobj = Py_None;
28988 return resultobj;
28989 fail:
28990 return NULL;
28991 }
28992
28993
28994 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28995 PyObject *resultobj = NULL;
28996 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28997 wxKeyEvent *result;
28998 PyObject * obj0 = 0 ;
28999 char *kwnames[] = {
29000 (char *) "self", NULL
29001 };
29002
29003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
29004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29005 if (SWIG_arg_fail(1)) SWIG_fail;
29006 {
29007 PyThreadState* __tstate = wxPyBeginAllowThreads();
29008 {
29009 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
29010 result = (wxKeyEvent *) &_result_ref;
29011 }
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
29017 return resultobj;
29018 fail:
29019 return NULL;
29020 }
29021
29022
29023 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
29024 PyObject *resultobj = NULL;
29025 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29026 int result;
29027 PyObject * obj0 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
29033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail;
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 {
29043 resultobj = SWIG_From_int(static_cast<int >(result));
29044 }
29045 return resultobj;
29046 fail:
29047 return NULL;
29048 }
29049
29050
29051 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
29052 PyObject *resultobj = NULL;
29053 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29054 wxKeyEvent *arg2 = 0 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "self",(char *) "evt", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
29062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail;
29064 {
29065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
29066 if (SWIG_arg_fail(2)) SWIG_fail;
29067 if (arg2 == NULL) {
29068 SWIG_null_ref("wxKeyEvent");
29069 }
29070 if (SWIG_arg_fail(2)) SWIG_fail;
29071 }
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29075
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 Py_INCREF(Py_None); resultobj = Py_None;
29080 return resultobj;
29081 fail:
29082 return NULL;
29083 }
29084
29085
29086 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29087 PyObject *resultobj = NULL;
29088 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29089 wxString *result;
29090 PyObject * obj0 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
29098 {
29099 PyThreadState* __tstate = wxPyBeginAllowThreads();
29100 {
29101 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29102 result = (wxString *) &_result_ref;
29103 }
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 {
29109 #if wxUSE_UNICODE
29110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29111 #else
29112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29113 #endif
29114 }
29115 return resultobj;
29116 fail:
29117 return NULL;
29118 }
29119
29120
29121 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29122 PyObject *resultobj = NULL;
29123 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29124 wxString *arg2 = 0 ;
29125 bool temp2 = false ;
29126 PyObject * obj0 = 0 ;
29127 PyObject * obj1 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "self",(char *) "label", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
29133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail;
29135 {
29136 arg2 = wxString_in_helper(obj1);
29137 if (arg2 == NULL) SWIG_fail;
29138 temp2 = true;
29139 }
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 (arg1)->SetLabel((wxString const &)*arg2);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 Py_INCREF(Py_None); resultobj = Py_None;
29148 {
29149 if (temp2)
29150 delete arg2;
29151 }
29152 return resultobj;
29153 fail:
29154 {
29155 if (temp2)
29156 delete arg2;
29157 }
29158 return NULL;
29159 }
29160
29161
29162 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
29163 PyObject *resultobj = NULL;
29164 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29165 bool result;
29166 PyObject * obj0 = 0 ;
29167 char *kwnames[] = {
29168 (char *) "self", NULL
29169 };
29170
29171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
29172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail;
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29177
29178 wxPyEndAllowThreads(__tstate);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 }
29181 {
29182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29183 }
29184 return resultobj;
29185 fail:
29186 return NULL;
29187 }
29188
29189
29190 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
29191 PyObject *resultobj = NULL;
29192 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29193 bool arg2 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "self",(char *) "editCancelled", NULL
29198 };
29199
29200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
29201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29202 if (SWIG_arg_fail(1)) SWIG_fail;
29203 {
29204 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
29205 if (SWIG_arg_fail(2)) SWIG_fail;
29206 }
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 (arg1)->SetEditCanceled(arg2);
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 Py_INCREF(Py_None); resultobj = Py_None;
29215 return resultobj;
29216 fail:
29217 return NULL;
29218 }
29219
29220
29221 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29222 PyObject *resultobj = NULL;
29223 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29224 wxString *arg2 = 0 ;
29225 bool temp2 = false ;
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 char *kwnames[] = {
29229 (char *) "self",(char *) "toolTip", NULL
29230 };
29231
29232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
29233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail;
29235 {
29236 arg2 = wxString_in_helper(obj1);
29237 if (arg2 == NULL) SWIG_fail;
29238 temp2 = true;
29239 }
29240 {
29241 PyThreadState* __tstate = wxPyBeginAllowThreads();
29242 (arg1)->SetToolTip((wxString const &)*arg2);
29243
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 Py_INCREF(Py_None); resultobj = Py_None;
29248 {
29249 if (temp2)
29250 delete arg2;
29251 }
29252 return resultobj;
29253 fail:
29254 {
29255 if (temp2)
29256 delete arg2;
29257 }
29258 return NULL;
29259 }
29260
29261
29262 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj = NULL;
29264 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29265 wxString result;
29266 PyObject * obj0 = 0 ;
29267 char *kwnames[] = {
29268 (char *) "self", NULL
29269 };
29270
29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail;
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 result = (arg1)->GetToolTip();
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 {
29282 #if wxUSE_UNICODE
29283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29284 #else
29285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29286 #endif
29287 }
29288 return resultobj;
29289 fail:
29290 return NULL;
29291 }
29292
29293
29294 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
29295 PyObject *obj;
29296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29297 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29298 Py_INCREF(obj);
29299 return Py_BuildValue((char *)"");
29300 }
29301 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29302 PyObject *resultobj = NULL;
29303 wxWindow *arg1 = (wxWindow *) 0 ;
29304 int arg2 = (int) -1 ;
29305 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29306 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29307 wxSize const &arg4_defvalue = wxDefaultSize ;
29308 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29309 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29310 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29311 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29312 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29313 wxString *arg7 = (wxString *) &arg7_defvalue ;
29314 wxPyTreeCtrl *result;
29315 wxPoint temp3 ;
29316 wxSize temp4 ;
29317 bool temp7 = false ;
29318 PyObject * obj0 = 0 ;
29319 PyObject * obj1 = 0 ;
29320 PyObject * obj2 = 0 ;
29321 PyObject * obj3 = 0 ;
29322 PyObject * obj4 = 0 ;
29323 PyObject * obj5 = 0 ;
29324 PyObject * obj6 = 0 ;
29325 char *kwnames[] = {
29326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29327 };
29328
29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29331 if (SWIG_arg_fail(1)) SWIG_fail;
29332 if (obj1) {
29333 {
29334 arg2 = static_cast<int >(SWIG_As_int(obj1));
29335 if (SWIG_arg_fail(2)) SWIG_fail;
29336 }
29337 }
29338 if (obj2) {
29339 {
29340 arg3 = &temp3;
29341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29342 }
29343 }
29344 if (obj3) {
29345 {
29346 arg4 = &temp4;
29347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29348 }
29349 }
29350 if (obj4) {
29351 {
29352 arg5 = static_cast<long >(SWIG_As_long(obj4));
29353 if (SWIG_arg_fail(5)) SWIG_fail;
29354 }
29355 }
29356 if (obj5) {
29357 {
29358 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29359 if (SWIG_arg_fail(6)) SWIG_fail;
29360 if (arg6 == NULL) {
29361 SWIG_null_ref("wxValidator");
29362 }
29363 if (SWIG_arg_fail(6)) SWIG_fail;
29364 }
29365 }
29366 if (obj6) {
29367 {
29368 arg7 = wxString_in_helper(obj6);
29369 if (arg7 == NULL) SWIG_fail;
29370 temp7 = true;
29371 }
29372 }
29373 {
29374 if (!wxPyCheckForApp()) SWIG_fail;
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29382 {
29383 if (temp7)
29384 delete arg7;
29385 }
29386 return resultobj;
29387 fail:
29388 {
29389 if (temp7)
29390 delete arg7;
29391 }
29392 return NULL;
29393 }
29394
29395
29396 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29397 PyObject *resultobj = NULL;
29398 wxPyTreeCtrl *result;
29399 char *kwnames[] = {
29400 NULL
29401 };
29402
29403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29404 {
29405 if (!wxPyCheckForApp()) SWIG_fail;
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29408
29409 wxPyEndAllowThreads(__tstate);
29410 if (PyErr_Occurred()) SWIG_fail;
29411 }
29412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29413 return resultobj;
29414 fail:
29415 return NULL;
29416 }
29417
29418
29419 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29420 PyObject *resultobj = NULL;
29421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29422 wxWindow *arg2 = (wxWindow *) 0 ;
29423 int arg3 = (int) -1 ;
29424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29426 wxSize const &arg5_defvalue = wxDefaultSize ;
29427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29428 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29429 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29430 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29431 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29432 wxString *arg8 = (wxString *) &arg8_defvalue ;
29433 bool result;
29434 wxPoint temp4 ;
29435 wxSize temp5 ;
29436 bool temp8 = false ;
29437 PyObject * obj0 = 0 ;
29438 PyObject * obj1 = 0 ;
29439 PyObject * obj2 = 0 ;
29440 PyObject * obj3 = 0 ;
29441 PyObject * obj4 = 0 ;
29442 PyObject * obj5 = 0 ;
29443 PyObject * obj6 = 0 ;
29444 PyObject * obj7 = 0 ;
29445 char *kwnames[] = {
29446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29447 };
29448
29449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
29450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29451 if (SWIG_arg_fail(1)) SWIG_fail;
29452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail;
29454 if (obj2) {
29455 {
29456 arg3 = static_cast<int >(SWIG_As_int(obj2));
29457 if (SWIG_arg_fail(3)) SWIG_fail;
29458 }
29459 }
29460 if (obj3) {
29461 {
29462 arg4 = &temp4;
29463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29464 }
29465 }
29466 if (obj4) {
29467 {
29468 arg5 = &temp5;
29469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29470 }
29471 }
29472 if (obj5) {
29473 {
29474 arg6 = static_cast<long >(SWIG_As_long(obj5));
29475 if (SWIG_arg_fail(6)) SWIG_fail;
29476 }
29477 }
29478 if (obj6) {
29479 {
29480 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(7)) SWIG_fail;
29482 if (arg7 == NULL) {
29483 SWIG_null_ref("wxValidator");
29484 }
29485 if (SWIG_arg_fail(7)) SWIG_fail;
29486 }
29487 }
29488 if (obj7) {
29489 {
29490 arg8 = wxString_in_helper(obj7);
29491 if (arg8 == NULL) SWIG_fail;
29492 temp8 = true;
29493 }
29494 }
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29498
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29504 }
29505 {
29506 if (temp8)
29507 delete arg8;
29508 }
29509 return resultobj;
29510 fail:
29511 {
29512 if (temp8)
29513 delete arg8;
29514 }
29515 return NULL;
29516 }
29517
29518
29519 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29520 PyObject *resultobj = NULL;
29521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29522 PyObject *arg2 = (PyObject *) 0 ;
29523 PyObject *arg3 = (PyObject *) 0 ;
29524 PyObject * obj0 = 0 ;
29525 PyObject * obj1 = 0 ;
29526 PyObject * obj2 = 0 ;
29527 char *kwnames[] = {
29528 (char *) "self",(char *) "self",(char *) "_class", NULL
29529 };
29530
29531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail;
29534 arg2 = obj1;
29535 arg3 = obj2;
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 (arg1)->_setCallbackInfo(arg2,arg3);
29539
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 Py_INCREF(Py_None); resultobj = Py_None;
29544 return resultobj;
29545 fail:
29546 return NULL;
29547 }
29548
29549
29550 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
29551 PyObject *resultobj = NULL;
29552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29553 size_t result;
29554 PyObject * obj0 = 0 ;
29555 char *kwnames[] = {
29556 (char *) "self", NULL
29557 };
29558
29559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
29560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29561 if (SWIG_arg_fail(1)) SWIG_fail;
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29565
29566 wxPyEndAllowThreads(__tstate);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 }
29569 {
29570 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
29571 }
29572 return resultobj;
29573 fail:
29574 return NULL;
29575 }
29576
29577
29578 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29579 PyObject *resultobj = NULL;
29580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29581 unsigned int result;
29582 PyObject * obj0 = 0 ;
29583 char *kwnames[] = {
29584 (char *) "self", NULL
29585 };
29586
29587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
29588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail;
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29593
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
29597 {
29598 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29599 }
29600 return resultobj;
29601 fail:
29602 return NULL;
29603 }
29604
29605
29606 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29607 PyObject *resultobj = NULL;
29608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29609 unsigned int arg2 ;
29610 PyObject * obj0 = 0 ;
29611 PyObject * obj1 = 0 ;
29612 char *kwnames[] = {
29613 (char *) "self",(char *) "indent", NULL
29614 };
29615
29616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
29617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29618 if (SWIG_arg_fail(1)) SWIG_fail;
29619 {
29620 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29621 if (SWIG_arg_fail(2)) SWIG_fail;
29622 }
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 (arg1)->SetIndent(arg2);
29626
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 Py_INCREF(Py_None); resultobj = Py_None;
29631 return resultobj;
29632 fail:
29633 return NULL;
29634 }
29635
29636
29637 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29638 PyObject *resultobj = NULL;
29639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29640 unsigned int result;
29641 PyObject * obj0 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
29647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail;
29649 {
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
29651 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29652
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 {
29657 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29658 }
29659 return resultobj;
29660 fail:
29661 return NULL;
29662 }
29663
29664
29665 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29666 PyObject *resultobj = NULL;
29667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29668 unsigned int arg2 ;
29669 PyObject * obj0 = 0 ;
29670 PyObject * obj1 = 0 ;
29671 char *kwnames[] = {
29672 (char *) "self",(char *) "spacing", NULL
29673 };
29674
29675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
29676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail;
29678 {
29679 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29680 if (SWIG_arg_fail(2)) SWIG_fail;
29681 }
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 (arg1)->SetSpacing(arg2);
29685
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 Py_INCREF(Py_None); resultobj = Py_None;
29690 return resultobj;
29691 fail:
29692 return NULL;
29693 }
29694
29695
29696 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29697 PyObject *resultobj = NULL;
29698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29699 wxImageList *result;
29700 PyObject * obj0 = 0 ;
29701 char *kwnames[] = {
29702 (char *) "self", NULL
29703 };
29704
29705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
29706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail;
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29711
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 {
29716 resultobj = wxPyMake_wxObject(result, (bool)0);
29717 }
29718 return resultobj;
29719 fail:
29720 return NULL;
29721 }
29722
29723
29724 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29725 PyObject *resultobj = NULL;
29726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29727 wxImageList *result;
29728 PyObject * obj0 = 0 ;
29729 char *kwnames[] = {
29730 (char *) "self", NULL
29731 };
29732
29733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
29734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail;
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29739
29740 wxPyEndAllowThreads(__tstate);
29741 if (PyErr_Occurred()) SWIG_fail;
29742 }
29743 {
29744 resultobj = wxPyMake_wxObject(result, (bool)0);
29745 }
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj = NULL;
29754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29755 wxImageList *arg2 = (wxImageList *) 0 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 char *kwnames[] = {
29759 (char *) "self",(char *) "imageList", NULL
29760 };
29761
29762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
29763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail;
29765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29766 if (SWIG_arg_fail(2)) SWIG_fail;
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 (arg1)->SetImageList(arg2);
29770
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 Py_INCREF(Py_None); resultobj = Py_None;
29775 return resultobj;
29776 fail:
29777 return NULL;
29778 }
29779
29780
29781 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29782 PyObject *resultobj = NULL;
29783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29784 wxImageList *arg2 = (wxImageList *) 0 ;
29785 PyObject * obj0 = 0 ;
29786 PyObject * obj1 = 0 ;
29787 char *kwnames[] = {
29788 (char *) "self",(char *) "imageList", NULL
29789 };
29790
29791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
29792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail;
29794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail;
29796 {
29797 PyThreadState* __tstate = wxPyBeginAllowThreads();
29798 (arg1)->SetStateImageList(arg2);
29799
29800 wxPyEndAllowThreads(__tstate);
29801 if (PyErr_Occurred()) SWIG_fail;
29802 }
29803 Py_INCREF(Py_None); resultobj = Py_None;
29804 return resultobj;
29805 fail:
29806 return NULL;
29807 }
29808
29809
29810 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29811 PyObject *resultobj = NULL;
29812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29813 wxImageList *arg2 = (wxImageList *) 0 ;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 char *kwnames[] = {
29817 (char *) "self",(char *) "imageList", NULL
29818 };
29819
29820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
29821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail;
29823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29824 if (SWIG_arg_fail(2)) SWIG_fail;
29825 {
29826 PyThreadState* __tstate = wxPyBeginAllowThreads();
29827 (arg1)->AssignImageList(arg2);
29828
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 Py_INCREF(Py_None); resultobj = Py_None;
29833 return resultobj;
29834 fail:
29835 return NULL;
29836 }
29837
29838
29839 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29840 PyObject *resultobj = NULL;
29841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29842 wxImageList *arg2 = (wxImageList *) 0 ;
29843 PyObject * obj0 = 0 ;
29844 PyObject * obj1 = 0 ;
29845 char *kwnames[] = {
29846 (char *) "self",(char *) "imageList", NULL
29847 };
29848
29849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
29850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29851 if (SWIG_arg_fail(1)) SWIG_fail;
29852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29853 if (SWIG_arg_fail(2)) SWIG_fail;
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 (arg1)->AssignStateImageList(arg2);
29857
29858 wxPyEndAllowThreads(__tstate);
29859 if (PyErr_Occurred()) SWIG_fail;
29860 }
29861 Py_INCREF(Py_None); resultobj = Py_None;
29862 return resultobj;
29863 fail:
29864 return NULL;
29865 }
29866
29867
29868 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
29869 PyObject *resultobj = NULL;
29870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29871 wxTreeItemId *arg2 = 0 ;
29872 wxString result;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 char *kwnames[] = {
29876 (char *) "self",(char *) "item", NULL
29877 };
29878
29879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
29880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail;
29882 {
29883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29884 if (SWIG_arg_fail(2)) SWIG_fail;
29885 if (arg2 == NULL) {
29886 SWIG_null_ref("wxTreeItemId");
29887 }
29888 if (SWIG_arg_fail(2)) SWIG_fail;
29889 }
29890 {
29891 PyThreadState* __tstate = wxPyBeginAllowThreads();
29892 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29893
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 {
29898 #if wxUSE_UNICODE
29899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29900 #else
29901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29902 #endif
29903 }
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
29911 PyObject *resultobj = NULL;
29912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29913 wxTreeItemId *arg2 = 0 ;
29914 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
29915 int result;
29916 PyObject * obj0 = 0 ;
29917 PyObject * obj1 = 0 ;
29918 PyObject * obj2 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self",(char *) "item",(char *) "which", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail;
29926 {
29927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29928 if (SWIG_arg_fail(2)) SWIG_fail;
29929 if (arg2 == NULL) {
29930 SWIG_null_ref("wxTreeItemId");
29931 }
29932 if (SWIG_arg_fail(2)) SWIG_fail;
29933 }
29934 if (obj2) {
29935 {
29936 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
29937 if (SWIG_arg_fail(3)) SWIG_fail;
29938 }
29939 }
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 {
29948 resultobj = SWIG_From_int(static_cast<int >(result));
29949 }
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj = NULL;
29958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29959 wxTreeItemId *arg2 = 0 ;
29960 wxPyTreeItemData *result;
29961 PyObject * obj0 = 0 ;
29962 PyObject * obj1 = 0 ;
29963 char *kwnames[] = {
29964 (char *) "self",(char *) "item", NULL
29965 };
29966
29967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
29968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29969 if (SWIG_arg_fail(1)) SWIG_fail;
29970 {
29971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29972 if (SWIG_arg_fail(2)) SWIG_fail;
29973 if (arg2 == NULL) {
29974 SWIG_null_ref("wxTreeItemId");
29975 }
29976 if (SWIG_arg_fail(2)) SWIG_fail;
29977 }
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
29981
29982 wxPyEndAllowThreads(__tstate);
29983 if (PyErr_Occurred()) SWIG_fail;
29984 }
29985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
29986 return resultobj;
29987 fail:
29988 return NULL;
29989 }
29990
29991
29992 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
29993 PyObject *resultobj = NULL;
29994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29995 wxTreeItemId *arg2 = 0 ;
29996 PyObject *result;
29997 PyObject * obj0 = 0 ;
29998 PyObject * obj1 = 0 ;
29999 char *kwnames[] = {
30000 (char *) "self",(char *) "item", NULL
30001 };
30002
30003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
30004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30005 if (SWIG_arg_fail(1)) SWIG_fail;
30006 {
30007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30008 if (SWIG_arg_fail(2)) SWIG_fail;
30009 if (arg2 == NULL) {
30010 SWIG_null_ref("wxTreeItemId");
30011 }
30012 if (SWIG_arg_fail(2)) SWIG_fail;
30013 }
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
30017
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 resultobj = result;
30022 return resultobj;
30023 fail:
30024 return NULL;
30025 }
30026
30027
30028 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj = NULL;
30030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30031 wxTreeItemId *arg2 = 0 ;
30032 wxColour result;
30033 PyObject * obj0 = 0 ;
30034 PyObject * obj1 = 0 ;
30035 char *kwnames[] = {
30036 (char *) "self",(char *) "item", NULL
30037 };
30038
30039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
30040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30041 if (SWIG_arg_fail(1)) SWIG_fail;
30042 {
30043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30044 if (SWIG_arg_fail(2)) SWIG_fail;
30045 if (arg2 == NULL) {
30046 SWIG_null_ref("wxTreeItemId");
30047 }
30048 if (SWIG_arg_fail(2)) SWIG_fail;
30049 }
30050 {
30051 PyThreadState* __tstate = wxPyBeginAllowThreads();
30052 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
30053
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 {
30058 wxColour * resultptr;
30059 resultptr = new wxColour(static_cast<wxColour & >(result));
30060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30061 }
30062 return resultobj;
30063 fail:
30064 return NULL;
30065 }
30066
30067
30068 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
30069 PyObject *resultobj = NULL;
30070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30071 wxTreeItemId *arg2 = 0 ;
30072 wxColour result;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 char *kwnames[] = {
30076 (char *) "self",(char *) "item", NULL
30077 };
30078
30079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
30080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30081 if (SWIG_arg_fail(1)) SWIG_fail;
30082 {
30083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30084 if (SWIG_arg_fail(2)) SWIG_fail;
30085 if (arg2 == NULL) {
30086 SWIG_null_ref("wxTreeItemId");
30087 }
30088 if (SWIG_arg_fail(2)) SWIG_fail;
30089 }
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
30092 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 {
30098 wxColour * resultptr;
30099 resultptr = new wxColour(static_cast<wxColour & >(result));
30100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30101 }
30102 return resultobj;
30103 fail:
30104 return NULL;
30105 }
30106
30107
30108 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
30109 PyObject *resultobj = NULL;
30110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30111 wxTreeItemId *arg2 = 0 ;
30112 wxFont result;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 char *kwnames[] = {
30116 (char *) "self",(char *) "item", NULL
30117 };
30118
30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
30120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail;
30122 {
30123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30124 if (SWIG_arg_fail(2)) SWIG_fail;
30125 if (arg2 == NULL) {
30126 SWIG_null_ref("wxTreeItemId");
30127 }
30128 if (SWIG_arg_fail(2)) SWIG_fail;
30129 }
30130 {
30131 PyThreadState* __tstate = wxPyBeginAllowThreads();
30132 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30133
30134 wxPyEndAllowThreads(__tstate);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 {
30138 wxFont * resultptr;
30139 resultptr = new wxFont(static_cast<wxFont & >(result));
30140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30141 }
30142 return resultobj;
30143 fail:
30144 return NULL;
30145 }
30146
30147
30148 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
30149 PyObject *resultobj = NULL;
30150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30151 wxTreeItemId *arg2 = 0 ;
30152 wxString *arg3 = 0 ;
30153 bool temp3 = false ;
30154 PyObject * obj0 = 0 ;
30155 PyObject * obj1 = 0 ;
30156 PyObject * obj2 = 0 ;
30157 char *kwnames[] = {
30158 (char *) "self",(char *) "item",(char *) "text", NULL
30159 };
30160
30161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
30162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30163 if (SWIG_arg_fail(1)) SWIG_fail;
30164 {
30165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30166 if (SWIG_arg_fail(2)) SWIG_fail;
30167 if (arg2 == NULL) {
30168 SWIG_null_ref("wxTreeItemId");
30169 }
30170 if (SWIG_arg_fail(2)) SWIG_fail;
30171 }
30172 {
30173 arg3 = wxString_in_helper(obj2);
30174 if (arg3 == NULL) SWIG_fail;
30175 temp3 = true;
30176 }
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30180
30181 wxPyEndAllowThreads(__tstate);
30182 if (PyErr_Occurred()) SWIG_fail;
30183 }
30184 Py_INCREF(Py_None); resultobj = Py_None;
30185 {
30186 if (temp3)
30187 delete arg3;
30188 }
30189 return resultobj;
30190 fail:
30191 {
30192 if (temp3)
30193 delete arg3;
30194 }
30195 return NULL;
30196 }
30197
30198
30199 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
30200 PyObject *resultobj = NULL;
30201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30202 wxTreeItemId *arg2 = 0 ;
30203 int arg3 ;
30204 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
30205 PyObject * obj0 = 0 ;
30206 PyObject * obj1 = 0 ;
30207 PyObject * obj2 = 0 ;
30208 PyObject * obj3 = 0 ;
30209 char *kwnames[] = {
30210 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30211 };
30212
30213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail;
30216 {
30217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30218 if (SWIG_arg_fail(2)) SWIG_fail;
30219 if (arg2 == NULL) {
30220 SWIG_null_ref("wxTreeItemId");
30221 }
30222 if (SWIG_arg_fail(2)) SWIG_fail;
30223 }
30224 {
30225 arg3 = static_cast<int >(SWIG_As_int(obj2));
30226 if (SWIG_arg_fail(3)) SWIG_fail;
30227 }
30228 if (obj3) {
30229 {
30230 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
30231 if (SWIG_arg_fail(4)) SWIG_fail;
30232 }
30233 }
30234 {
30235 PyThreadState* __tstate = wxPyBeginAllowThreads();
30236 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
30237
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 Py_INCREF(Py_None); resultobj = Py_None;
30242 return resultobj;
30243 fail:
30244 return NULL;
30245 }
30246
30247
30248 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
30249 PyObject *resultobj = NULL;
30250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30251 wxTreeItemId *arg2 = 0 ;
30252 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30253 PyObject * obj0 = 0 ;
30254 PyObject * obj1 = 0 ;
30255 PyObject * obj2 = 0 ;
30256 char *kwnames[] = {
30257 (char *) "self",(char *) "item",(char *) "data", NULL
30258 };
30259
30260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30262 if (SWIG_arg_fail(1)) SWIG_fail;
30263 {
30264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30265 if (SWIG_arg_fail(2)) SWIG_fail;
30266 if (arg2 == NULL) {
30267 SWIG_null_ref("wxTreeItemId");
30268 }
30269 if (SWIG_arg_fail(2)) SWIG_fail;
30270 }
30271 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30272 if (SWIG_arg_fail(3)) SWIG_fail;
30273 {
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30276
30277 wxPyEndAllowThreads(__tstate);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 }
30280 Py_INCREF(Py_None); resultobj = Py_None;
30281 return resultobj;
30282 fail:
30283 return NULL;
30284 }
30285
30286
30287 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
30288 PyObject *resultobj = NULL;
30289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30290 wxTreeItemId *arg2 = 0 ;
30291 PyObject *arg3 = (PyObject *) 0 ;
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 PyObject * obj2 = 0 ;
30295 char *kwnames[] = {
30296 (char *) "self",(char *) "item",(char *) "obj", NULL
30297 };
30298
30299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail;
30302 {
30303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail;
30305 if (arg2 == NULL) {
30306 SWIG_null_ref("wxTreeItemId");
30307 }
30308 if (SWIG_arg_fail(2)) SWIG_fail;
30309 }
30310 arg3 = obj2;
30311 {
30312 PyThreadState* __tstate = wxPyBeginAllowThreads();
30313 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30314
30315 wxPyEndAllowThreads(__tstate);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 }
30318 Py_INCREF(Py_None); resultobj = Py_None;
30319 return resultobj;
30320 fail:
30321 return NULL;
30322 }
30323
30324
30325 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30326 PyObject *resultobj = NULL;
30327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30328 wxTreeItemId *arg2 = 0 ;
30329 bool arg3 = (bool) true ;
30330 PyObject * obj0 = 0 ;
30331 PyObject * obj1 = 0 ;
30332 PyObject * obj2 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self",(char *) "item",(char *) "has", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
30338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail;
30340 {
30341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30342 if (SWIG_arg_fail(2)) SWIG_fail;
30343 if (arg2 == NULL) {
30344 SWIG_null_ref("wxTreeItemId");
30345 }
30346 if (SWIG_arg_fail(2)) SWIG_fail;
30347 }
30348 if (obj2) {
30349 {
30350 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30351 if (SWIG_arg_fail(3)) SWIG_fail;
30352 }
30353 }
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30357
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 Py_INCREF(Py_None); resultobj = Py_None;
30362 return resultobj;
30363 fail:
30364 return NULL;
30365 }
30366
30367
30368 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
30369 PyObject *resultobj = NULL;
30370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30371 wxTreeItemId *arg2 = 0 ;
30372 bool arg3 = (bool) true ;
30373 PyObject * obj0 = 0 ;
30374 PyObject * obj1 = 0 ;
30375 PyObject * obj2 = 0 ;
30376 char *kwnames[] = {
30377 (char *) "self",(char *) "item",(char *) "bold", NULL
30378 };
30379
30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
30381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail;
30383 {
30384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(2)) SWIG_fail;
30386 if (arg2 == NULL) {
30387 SWIG_null_ref("wxTreeItemId");
30388 }
30389 if (SWIG_arg_fail(2)) SWIG_fail;
30390 }
30391 if (obj2) {
30392 {
30393 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30394 if (SWIG_arg_fail(3)) SWIG_fail;
30395 }
30396 }
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 Py_INCREF(Py_None); resultobj = Py_None;
30405 return resultobj;
30406 fail:
30407 return NULL;
30408 }
30409
30410
30411 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
30412 PyObject *resultobj = NULL;
30413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30414 wxTreeItemId *arg2 = 0 ;
30415 bool arg3 = (bool) true ;
30416 PyObject * obj0 = 0 ;
30417 PyObject * obj1 = 0 ;
30418 PyObject * obj2 = 0 ;
30419 char *kwnames[] = {
30420 (char *) "self",(char *) "item",(char *) "highlight", NULL
30421 };
30422
30423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
30424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30425 if (SWIG_arg_fail(1)) SWIG_fail;
30426 {
30427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30428 if (SWIG_arg_fail(2)) SWIG_fail;
30429 if (arg2 == NULL) {
30430 SWIG_null_ref("wxTreeItemId");
30431 }
30432 if (SWIG_arg_fail(2)) SWIG_fail;
30433 }
30434 if (obj2) {
30435 {
30436 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30437 if (SWIG_arg_fail(3)) SWIG_fail;
30438 }
30439 }
30440 {
30441 PyThreadState* __tstate = wxPyBeginAllowThreads();
30442 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30443
30444 wxPyEndAllowThreads(__tstate);
30445 if (PyErr_Occurred()) SWIG_fail;
30446 }
30447 Py_INCREF(Py_None); resultobj = Py_None;
30448 return resultobj;
30449 fail:
30450 return NULL;
30451 }
30452
30453
30454 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
30455 PyObject *resultobj = NULL;
30456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30457 wxTreeItemId *arg2 = 0 ;
30458 wxColour *arg3 = 0 ;
30459 wxColour temp3 ;
30460 PyObject * obj0 = 0 ;
30461 PyObject * obj1 = 0 ;
30462 PyObject * obj2 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self",(char *) "item",(char *) "col", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail;
30470 {
30471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail;
30473 if (arg2 == NULL) {
30474 SWIG_null_ref("wxTreeItemId");
30475 }
30476 if (SWIG_arg_fail(2)) SWIG_fail;
30477 }
30478 {
30479 arg3 = &temp3;
30480 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30481 }
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30485
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 Py_INCREF(Py_None); resultobj = Py_None;
30490 return resultobj;
30491 fail:
30492 return NULL;
30493 }
30494
30495
30496 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
30497 PyObject *resultobj = NULL;
30498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30499 wxTreeItemId *arg2 = 0 ;
30500 wxColour *arg3 = 0 ;
30501 wxColour temp3 ;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 PyObject * obj2 = 0 ;
30505 char *kwnames[] = {
30506 (char *) "self",(char *) "item",(char *) "col", NULL
30507 };
30508
30509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail;
30512 {
30513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(2)) SWIG_fail;
30515 if (arg2 == NULL) {
30516 SWIG_null_ref("wxTreeItemId");
30517 }
30518 if (SWIG_arg_fail(2)) SWIG_fail;
30519 }
30520 {
30521 arg3 = &temp3;
30522 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30523 }
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535 }
30536
30537
30538 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
30539 PyObject *resultobj = NULL;
30540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30541 wxTreeItemId *arg2 = 0 ;
30542 wxFont *arg3 = 0 ;
30543 PyObject * obj0 = 0 ;
30544 PyObject * obj1 = 0 ;
30545 PyObject * obj2 = 0 ;
30546 char *kwnames[] = {
30547 (char *) "self",(char *) "item",(char *) "font", NULL
30548 };
30549
30550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
30551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30552 if (SWIG_arg_fail(1)) SWIG_fail;
30553 {
30554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30555 if (SWIG_arg_fail(2)) SWIG_fail;
30556 if (arg2 == NULL) {
30557 SWIG_null_ref("wxTreeItemId");
30558 }
30559 if (SWIG_arg_fail(2)) SWIG_fail;
30560 }
30561 {
30562 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30563 if (SWIG_arg_fail(3)) SWIG_fail;
30564 if (arg3 == NULL) {
30565 SWIG_null_ref("wxFont");
30566 }
30567 if (SWIG_arg_fail(3)) SWIG_fail;
30568 }
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30572
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 Py_INCREF(Py_None); resultobj = Py_None;
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30584 PyObject *resultobj = NULL;
30585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30586 wxTreeItemId *arg2 = 0 ;
30587 bool result;
30588 PyObject * obj0 = 0 ;
30589 PyObject * obj1 = 0 ;
30590 char *kwnames[] = {
30591 (char *) "self",(char *) "item", NULL
30592 };
30593
30594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
30595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail;
30597 {
30598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30599 if (SWIG_arg_fail(2)) SWIG_fail;
30600 if (arg2 == NULL) {
30601 SWIG_null_ref("wxTreeItemId");
30602 }
30603 if (SWIG_arg_fail(2)) SWIG_fail;
30604 }
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30608
30609 wxPyEndAllowThreads(__tstate);
30610 if (PyErr_Occurred()) SWIG_fail;
30611 }
30612 {
30613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30614 }
30615 return resultobj;
30616 fail:
30617 return NULL;
30618 }
30619
30620
30621 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj = NULL;
30623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30624 wxTreeItemId *arg2 = 0 ;
30625 bool result;
30626 PyObject * obj0 = 0 ;
30627 PyObject * obj1 = 0 ;
30628 char *kwnames[] = {
30629 (char *) "self",(char *) "item", NULL
30630 };
30631
30632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
30633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30634 if (SWIG_arg_fail(1)) SWIG_fail;
30635 {
30636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(2)) SWIG_fail;
30638 if (arg2 == NULL) {
30639 SWIG_null_ref("wxTreeItemId");
30640 }
30641 if (SWIG_arg_fail(2)) SWIG_fail;
30642 }
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30646
30647 wxPyEndAllowThreads(__tstate);
30648 if (PyErr_Occurred()) SWIG_fail;
30649 }
30650 {
30651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30652 }
30653 return resultobj;
30654 fail:
30655 return NULL;
30656 }
30657
30658
30659 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
30660 PyObject *resultobj = NULL;
30661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30662 wxTreeItemId *arg2 = 0 ;
30663 bool result;
30664 PyObject * obj0 = 0 ;
30665 PyObject * obj1 = 0 ;
30666 char *kwnames[] = {
30667 (char *) "self",(char *) "item", NULL
30668 };
30669
30670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
30671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail;
30673 {
30674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30675 if (SWIG_arg_fail(2)) SWIG_fail;
30676 if (arg2 == NULL) {
30677 SWIG_null_ref("wxTreeItemId");
30678 }
30679 if (SWIG_arg_fail(2)) SWIG_fail;
30680 }
30681 {
30682 PyThreadState* __tstate = wxPyBeginAllowThreads();
30683 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30684
30685 wxPyEndAllowThreads(__tstate);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 {
30689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30690 }
30691 return resultobj;
30692 fail:
30693 return NULL;
30694 }
30695
30696
30697 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
30698 PyObject *resultobj = NULL;
30699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30700 wxTreeItemId *arg2 = 0 ;
30701 bool result;
30702 PyObject * obj0 = 0 ;
30703 PyObject * obj1 = 0 ;
30704 char *kwnames[] = {
30705 (char *) "self",(char *) "item", NULL
30706 };
30707
30708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
30709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30710 if (SWIG_arg_fail(1)) SWIG_fail;
30711 {
30712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30713 if (SWIG_arg_fail(2)) SWIG_fail;
30714 if (arg2 == NULL) {
30715 SWIG_null_ref("wxTreeItemId");
30716 }
30717 if (SWIG_arg_fail(2)) SWIG_fail;
30718 }
30719 {
30720 PyThreadState* __tstate = wxPyBeginAllowThreads();
30721 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30722
30723 wxPyEndAllowThreads(__tstate);
30724 if (PyErr_Occurred()) SWIG_fail;
30725 }
30726 {
30727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30728 }
30729 return resultobj;
30730 fail:
30731 return NULL;
30732 }
30733
30734
30735 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
30736 PyObject *resultobj = NULL;
30737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30738 wxTreeItemId *arg2 = 0 ;
30739 bool result;
30740 PyObject * obj0 = 0 ;
30741 PyObject * obj1 = 0 ;
30742 char *kwnames[] = {
30743 (char *) "self",(char *) "item", NULL
30744 };
30745
30746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
30747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail;
30749 {
30750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30751 if (SWIG_arg_fail(2)) SWIG_fail;
30752 if (arg2 == NULL) {
30753 SWIG_null_ref("wxTreeItemId");
30754 }
30755 if (SWIG_arg_fail(2)) SWIG_fail;
30756 }
30757 {
30758 PyThreadState* __tstate = wxPyBeginAllowThreads();
30759 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30760
30761 wxPyEndAllowThreads(__tstate);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 }
30764 {
30765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30766 }
30767 return resultobj;
30768 fail:
30769 return NULL;
30770 }
30771
30772
30773 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
30774 PyObject *resultobj = NULL;
30775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30776 wxTreeItemId *arg2 = 0 ;
30777 bool arg3 = (bool) true ;
30778 size_t result;
30779 PyObject * obj0 = 0 ;
30780 PyObject * obj1 = 0 ;
30781 PyObject * obj2 = 0 ;
30782 char *kwnames[] = {
30783 (char *) "self",(char *) "item",(char *) "recursively", NULL
30784 };
30785
30786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
30787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30788 if (SWIG_arg_fail(1)) SWIG_fail;
30789 {
30790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30791 if (SWIG_arg_fail(2)) SWIG_fail;
30792 if (arg2 == NULL) {
30793 SWIG_null_ref("wxTreeItemId");
30794 }
30795 if (SWIG_arg_fail(2)) SWIG_fail;
30796 }
30797 if (obj2) {
30798 {
30799 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30800 if (SWIG_arg_fail(3)) SWIG_fail;
30801 }
30802 }
30803 {
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30806
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
30810 {
30811 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
30812 }
30813 return resultobj;
30814 fail:
30815 return NULL;
30816 }
30817
30818
30819 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj = NULL;
30821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30822 wxTreeItemId result;
30823 PyObject * obj0 = 0 ;
30824 char *kwnames[] = {
30825 (char *) "self", NULL
30826 };
30827
30828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
30829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30830 if (SWIG_arg_fail(1)) SWIG_fail;
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 {
30839 wxTreeItemId * resultptr;
30840 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30842 }
30843 return resultobj;
30844 fail:
30845 return NULL;
30846 }
30847
30848
30849 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj = NULL;
30851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30852 wxTreeItemId result;
30853 PyObject * obj0 = 0 ;
30854 char *kwnames[] = {
30855 (char *) "self", NULL
30856 };
30857
30858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
30859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30860 if (SWIG_arg_fail(1)) SWIG_fail;
30861 {
30862 PyThreadState* __tstate = wxPyBeginAllowThreads();
30863 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30864
30865 wxPyEndAllowThreads(__tstate);
30866 if (PyErr_Occurred()) SWIG_fail;
30867 }
30868 {
30869 wxTreeItemId * resultptr;
30870 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30872 }
30873 return resultobj;
30874 fail:
30875 return NULL;
30876 }
30877
30878
30879 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
30880 PyObject *resultobj = NULL;
30881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30882 PyObject *result;
30883 PyObject * obj0 = 0 ;
30884 char *kwnames[] = {
30885 (char *) "self", NULL
30886 };
30887
30888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
30889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail;
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30894
30895 wxPyEndAllowThreads(__tstate);
30896 if (PyErr_Occurred()) SWIG_fail;
30897 }
30898 resultobj = result;
30899 return resultobj;
30900 fail:
30901 return NULL;
30902 }
30903
30904
30905 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
30906 PyObject *resultobj = NULL;
30907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30908 wxTreeItemId *arg2 = 0 ;
30909 wxTreeItemId result;
30910 PyObject * obj0 = 0 ;
30911 PyObject * obj1 = 0 ;
30912 char *kwnames[] = {
30913 (char *) "self",(char *) "item", NULL
30914 };
30915
30916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
30917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail;
30919 {
30920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30921 if (SWIG_arg_fail(2)) SWIG_fail;
30922 if (arg2 == NULL) {
30923 SWIG_null_ref("wxTreeItemId");
30924 }
30925 if (SWIG_arg_fail(2)) SWIG_fail;
30926 }
30927 {
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30930
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 {
30935 wxTreeItemId * resultptr;
30936 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30938 }
30939 return resultobj;
30940 fail:
30941 return NULL;
30942 }
30943
30944
30945 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
30946 PyObject *resultobj = NULL;
30947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30948 wxTreeItemId *arg2 = 0 ;
30949 PyObject *result;
30950 PyObject * obj0 = 0 ;
30951 PyObject * obj1 = 0 ;
30952 char *kwnames[] = {
30953 (char *) "self",(char *) "item", NULL
30954 };
30955
30956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
30957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail;
30959 {
30960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30961 if (SWIG_arg_fail(2)) SWIG_fail;
30962 if (arg2 == NULL) {
30963 SWIG_null_ref("wxTreeItemId");
30964 }
30965 if (SWIG_arg_fail(2)) SWIG_fail;
30966 }
30967 {
30968 PyThreadState* __tstate = wxPyBeginAllowThreads();
30969 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30970
30971 wxPyEndAllowThreads(__tstate);
30972 if (PyErr_Occurred()) SWIG_fail;
30973 }
30974 resultobj = result;
30975 return resultobj;
30976 fail:
30977 return NULL;
30978 }
30979
30980
30981 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
30982 PyObject *resultobj = NULL;
30983 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30984 wxTreeItemId *arg2 = 0 ;
30985 void *arg3 = (void *) 0 ;
30986 PyObject *result;
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 PyObject * obj2 = 0 ;
30990 char *kwnames[] = {
30991 (char *) "self",(char *) "item",(char *) "cookie", NULL
30992 };
30993
30994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
30995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30996 if (SWIG_arg_fail(1)) SWIG_fail;
30997 {
30998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30999 if (SWIG_arg_fail(2)) SWIG_fail;
31000 if (arg2 == NULL) {
31001 SWIG_null_ref("wxTreeItemId");
31002 }
31003 if (SWIG_arg_fail(2)) SWIG_fail;
31004 }
31005 {
31006 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
31007 SWIG_arg_fail(3);SWIG_fail;
31008 }
31009 }
31010 {
31011 PyThreadState* __tstate = wxPyBeginAllowThreads();
31012 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
31013
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 resultobj = result;
31018 return resultobj;
31019 fail:
31020 return NULL;
31021 }
31022
31023
31024 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
31025 PyObject *resultobj = NULL;
31026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31027 wxTreeItemId *arg2 = 0 ;
31028 wxTreeItemId result;
31029 PyObject * obj0 = 0 ;
31030 PyObject * obj1 = 0 ;
31031 char *kwnames[] = {
31032 (char *) "self",(char *) "item", NULL
31033 };
31034
31035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
31036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail;
31038 {
31039 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31040 if (SWIG_arg_fail(2)) SWIG_fail;
31041 if (arg2 == NULL) {
31042 SWIG_null_ref("wxTreeItemId");
31043 }
31044 if (SWIG_arg_fail(2)) SWIG_fail;
31045 }
31046 {
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
31049
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 {
31054 wxTreeItemId * resultptr;
31055 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31057 }
31058 return resultobj;
31059 fail:
31060 return NULL;
31061 }
31062
31063
31064 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
31065 PyObject *resultobj = NULL;
31066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31067 wxTreeItemId *arg2 = 0 ;
31068 wxTreeItemId result;
31069 PyObject * obj0 = 0 ;
31070 PyObject * obj1 = 0 ;
31071 char *kwnames[] = {
31072 (char *) "self",(char *) "item", NULL
31073 };
31074
31075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
31076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail;
31078 {
31079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31080 if (SWIG_arg_fail(2)) SWIG_fail;
31081 if (arg2 == NULL) {
31082 SWIG_null_ref("wxTreeItemId");
31083 }
31084 if (SWIG_arg_fail(2)) SWIG_fail;
31085 }
31086 {
31087 PyThreadState* __tstate = wxPyBeginAllowThreads();
31088 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31089
31090 wxPyEndAllowThreads(__tstate);
31091 if (PyErr_Occurred()) SWIG_fail;
31092 }
31093 {
31094 wxTreeItemId * resultptr;
31095 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31097 }
31098 return resultobj;
31099 fail:
31100 return NULL;
31101 }
31102
31103
31104 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
31105 PyObject *resultobj = NULL;
31106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31107 wxTreeItemId *arg2 = 0 ;
31108 wxTreeItemId result;
31109 PyObject * obj0 = 0 ;
31110 PyObject * obj1 = 0 ;
31111 char *kwnames[] = {
31112 (char *) "self",(char *) "item", NULL
31113 };
31114
31115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
31116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31117 if (SWIG_arg_fail(1)) SWIG_fail;
31118 {
31119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31120 if (SWIG_arg_fail(2)) SWIG_fail;
31121 if (arg2 == NULL) {
31122 SWIG_null_ref("wxTreeItemId");
31123 }
31124 if (SWIG_arg_fail(2)) SWIG_fail;
31125 }
31126 {
31127 PyThreadState* __tstate = wxPyBeginAllowThreads();
31128 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31129
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 {
31134 wxTreeItemId * resultptr;
31135 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31137 }
31138 return resultobj;
31139 fail:
31140 return NULL;
31141 }
31142
31143
31144 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
31145 PyObject *resultobj = NULL;
31146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31147 wxTreeItemId result;
31148 PyObject * obj0 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
31154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31155 if (SWIG_arg_fail(1)) SWIG_fail;
31156 {
31157 PyThreadState* __tstate = wxPyBeginAllowThreads();
31158 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31159
31160 wxPyEndAllowThreads(__tstate);
31161 if (PyErr_Occurred()) SWIG_fail;
31162 }
31163 {
31164 wxTreeItemId * resultptr;
31165 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31167 }
31168 return resultobj;
31169 fail:
31170 return NULL;
31171 }
31172
31173
31174 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31175 PyObject *resultobj = NULL;
31176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31177 wxTreeItemId *arg2 = 0 ;
31178 wxTreeItemId result;
31179 PyObject * obj0 = 0 ;
31180 PyObject * obj1 = 0 ;
31181 char *kwnames[] = {
31182 (char *) "self",(char *) "item", NULL
31183 };
31184
31185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
31186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31187 if (SWIG_arg_fail(1)) SWIG_fail;
31188 {
31189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31190 if (SWIG_arg_fail(2)) SWIG_fail;
31191 if (arg2 == NULL) {
31192 SWIG_null_ref("wxTreeItemId");
31193 }
31194 if (SWIG_arg_fail(2)) SWIG_fail;
31195 }
31196 {
31197 PyThreadState* __tstate = wxPyBeginAllowThreads();
31198 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31199
31200 wxPyEndAllowThreads(__tstate);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 }
31203 {
31204 wxTreeItemId * resultptr;
31205 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31207 }
31208 return resultobj;
31209 fail:
31210 return NULL;
31211 }
31212
31213
31214 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31215 PyObject *resultobj = NULL;
31216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31217 wxTreeItemId *arg2 = 0 ;
31218 wxTreeItemId result;
31219 PyObject * obj0 = 0 ;
31220 PyObject * obj1 = 0 ;
31221 char *kwnames[] = {
31222 (char *) "self",(char *) "item", NULL
31223 };
31224
31225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
31226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail;
31228 {
31229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31230 if (SWIG_arg_fail(2)) SWIG_fail;
31231 if (arg2 == NULL) {
31232 SWIG_null_ref("wxTreeItemId");
31233 }
31234 if (SWIG_arg_fail(2)) SWIG_fail;
31235 }
31236 {
31237 PyThreadState* __tstate = wxPyBeginAllowThreads();
31238 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31239
31240 wxPyEndAllowThreads(__tstate);
31241 if (PyErr_Occurred()) SWIG_fail;
31242 }
31243 {
31244 wxTreeItemId * resultptr;
31245 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31247 }
31248 return resultobj;
31249 fail:
31250 return NULL;
31251 }
31252
31253
31254 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
31255 PyObject *resultobj = NULL;
31256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31257 wxString *arg2 = 0 ;
31258 int arg3 = (int) -1 ;
31259 int arg4 = (int) -1 ;
31260 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31261 wxTreeItemId result;
31262 bool temp2 = false ;
31263 PyObject * obj0 = 0 ;
31264 PyObject * obj1 = 0 ;
31265 PyObject * obj2 = 0 ;
31266 PyObject * obj3 = 0 ;
31267 PyObject * obj4 = 0 ;
31268 char *kwnames[] = {
31269 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31270 };
31271
31272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31274 if (SWIG_arg_fail(1)) SWIG_fail;
31275 {
31276 arg2 = wxString_in_helper(obj1);
31277 if (arg2 == NULL) SWIG_fail;
31278 temp2 = true;
31279 }
31280 if (obj2) {
31281 {
31282 arg3 = static_cast<int >(SWIG_As_int(obj2));
31283 if (SWIG_arg_fail(3)) SWIG_fail;
31284 }
31285 }
31286 if (obj3) {
31287 {
31288 arg4 = static_cast<int >(SWIG_As_int(obj3));
31289 if (SWIG_arg_fail(4)) SWIG_fail;
31290 }
31291 }
31292 if (obj4) {
31293 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31294 if (SWIG_arg_fail(5)) SWIG_fail;
31295 }
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31299
31300 wxPyEndAllowThreads(__tstate);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 }
31303 {
31304 wxTreeItemId * resultptr;
31305 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31307 }
31308 {
31309 if (temp2)
31310 delete arg2;
31311 }
31312 return resultobj;
31313 fail:
31314 {
31315 if (temp2)
31316 delete arg2;
31317 }
31318 return NULL;
31319 }
31320
31321
31322 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
31323 PyObject *resultobj = NULL;
31324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31325 wxTreeItemId *arg2 = 0 ;
31326 wxString *arg3 = 0 ;
31327 int arg4 = (int) -1 ;
31328 int arg5 = (int) -1 ;
31329 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31330 wxTreeItemId result;
31331 bool temp3 = false ;
31332 PyObject * obj0 = 0 ;
31333 PyObject * obj1 = 0 ;
31334 PyObject * obj2 = 0 ;
31335 PyObject * obj3 = 0 ;
31336 PyObject * obj4 = 0 ;
31337 PyObject * obj5 = 0 ;
31338 char *kwnames[] = {
31339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31340 };
31341
31342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31344 if (SWIG_arg_fail(1)) SWIG_fail;
31345 {
31346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31347 if (SWIG_arg_fail(2)) SWIG_fail;
31348 if (arg2 == NULL) {
31349 SWIG_null_ref("wxTreeItemId");
31350 }
31351 if (SWIG_arg_fail(2)) SWIG_fail;
31352 }
31353 {
31354 arg3 = wxString_in_helper(obj2);
31355 if (arg3 == NULL) SWIG_fail;
31356 temp3 = true;
31357 }
31358 if (obj3) {
31359 {
31360 arg4 = static_cast<int >(SWIG_As_int(obj3));
31361 if (SWIG_arg_fail(4)) SWIG_fail;
31362 }
31363 }
31364 if (obj4) {
31365 {
31366 arg5 = static_cast<int >(SWIG_As_int(obj4));
31367 if (SWIG_arg_fail(5)) SWIG_fail;
31368 }
31369 }
31370 if (obj5) {
31371 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31372 if (SWIG_arg_fail(6)) SWIG_fail;
31373 }
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 {
31382 wxTreeItemId * resultptr;
31383 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31385 }
31386 {
31387 if (temp3)
31388 delete arg3;
31389 }
31390 return resultobj;
31391 fail:
31392 {
31393 if (temp3)
31394 delete arg3;
31395 }
31396 return NULL;
31397 }
31398
31399
31400 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
31401 PyObject *resultobj = NULL;
31402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31403 wxTreeItemId *arg2 = 0 ;
31404 wxTreeItemId *arg3 = 0 ;
31405 wxString *arg4 = 0 ;
31406 int arg5 = (int) -1 ;
31407 int arg6 = (int) -1 ;
31408 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31409 wxTreeItemId result;
31410 bool temp4 = false ;
31411 PyObject * obj0 = 0 ;
31412 PyObject * obj1 = 0 ;
31413 PyObject * obj2 = 0 ;
31414 PyObject * obj3 = 0 ;
31415 PyObject * obj4 = 0 ;
31416 PyObject * obj5 = 0 ;
31417 PyObject * obj6 = 0 ;
31418 char *kwnames[] = {
31419 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31420 };
31421
31422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail;
31425 {
31426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail;
31428 if (arg2 == NULL) {
31429 SWIG_null_ref("wxTreeItemId");
31430 }
31431 if (SWIG_arg_fail(2)) SWIG_fail;
31432 }
31433 {
31434 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31435 if (SWIG_arg_fail(3)) SWIG_fail;
31436 if (arg3 == NULL) {
31437 SWIG_null_ref("wxTreeItemId");
31438 }
31439 if (SWIG_arg_fail(3)) SWIG_fail;
31440 }
31441 {
31442 arg4 = wxString_in_helper(obj3);
31443 if (arg4 == NULL) SWIG_fail;
31444 temp4 = true;
31445 }
31446 if (obj4) {
31447 {
31448 arg5 = static_cast<int >(SWIG_As_int(obj4));
31449 if (SWIG_arg_fail(5)) SWIG_fail;
31450 }
31451 }
31452 if (obj5) {
31453 {
31454 arg6 = static_cast<int >(SWIG_As_int(obj5));
31455 if (SWIG_arg_fail(6)) SWIG_fail;
31456 }
31457 }
31458 if (obj6) {
31459 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31460 if (SWIG_arg_fail(7)) SWIG_fail;
31461 }
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31465
31466 wxPyEndAllowThreads(__tstate);
31467 if (PyErr_Occurred()) SWIG_fail;
31468 }
31469 {
31470 wxTreeItemId * resultptr;
31471 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31473 }
31474 {
31475 if (temp4)
31476 delete arg4;
31477 }
31478 return resultobj;
31479 fail:
31480 {
31481 if (temp4)
31482 delete arg4;
31483 }
31484 return NULL;
31485 }
31486
31487
31488 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
31489 PyObject *resultobj = NULL;
31490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31491 wxTreeItemId *arg2 = 0 ;
31492 size_t arg3 ;
31493 wxString *arg4 = 0 ;
31494 int arg5 = (int) -1 ;
31495 int arg6 = (int) -1 ;
31496 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31497 wxTreeItemId result;
31498 bool temp4 = false ;
31499 PyObject * obj0 = 0 ;
31500 PyObject * obj1 = 0 ;
31501 PyObject * obj2 = 0 ;
31502 PyObject * obj3 = 0 ;
31503 PyObject * obj4 = 0 ;
31504 PyObject * obj5 = 0 ;
31505 PyObject * obj6 = 0 ;
31506 char *kwnames[] = {
31507 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31508 };
31509
31510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31512 if (SWIG_arg_fail(1)) SWIG_fail;
31513 {
31514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31515 if (SWIG_arg_fail(2)) SWIG_fail;
31516 if (arg2 == NULL) {
31517 SWIG_null_ref("wxTreeItemId");
31518 }
31519 if (SWIG_arg_fail(2)) SWIG_fail;
31520 }
31521 {
31522 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
31523 if (SWIG_arg_fail(3)) SWIG_fail;
31524 }
31525 {
31526 arg4 = wxString_in_helper(obj3);
31527 if (arg4 == NULL) SWIG_fail;
31528 temp4 = true;
31529 }
31530 if (obj4) {
31531 {
31532 arg5 = static_cast<int >(SWIG_As_int(obj4));
31533 if (SWIG_arg_fail(5)) SWIG_fail;
31534 }
31535 }
31536 if (obj5) {
31537 {
31538 arg6 = static_cast<int >(SWIG_As_int(obj5));
31539 if (SWIG_arg_fail(6)) SWIG_fail;
31540 }
31541 }
31542 if (obj6) {
31543 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31544 if (SWIG_arg_fail(7)) SWIG_fail;
31545 }
31546 {
31547 PyThreadState* __tstate = wxPyBeginAllowThreads();
31548 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31549
31550 wxPyEndAllowThreads(__tstate);
31551 if (PyErr_Occurred()) SWIG_fail;
31552 }
31553 {
31554 wxTreeItemId * resultptr;
31555 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31557 }
31558 {
31559 if (temp4)
31560 delete arg4;
31561 }
31562 return resultobj;
31563 fail:
31564 {
31565 if (temp4)
31566 delete arg4;
31567 }
31568 return NULL;
31569 }
31570
31571
31572 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
31573 PyObject *resultobj = NULL;
31574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31575 wxTreeItemId *arg2 = 0 ;
31576 wxString *arg3 = 0 ;
31577 int arg4 = (int) -1 ;
31578 int arg5 = (int) -1 ;
31579 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31580 wxTreeItemId result;
31581 bool temp3 = false ;
31582 PyObject * obj0 = 0 ;
31583 PyObject * obj1 = 0 ;
31584 PyObject * obj2 = 0 ;
31585 PyObject * obj3 = 0 ;
31586 PyObject * obj4 = 0 ;
31587 PyObject * obj5 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31590 };
31591
31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail;
31595 {
31596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31597 if (SWIG_arg_fail(2)) SWIG_fail;
31598 if (arg2 == NULL) {
31599 SWIG_null_ref("wxTreeItemId");
31600 }
31601 if (SWIG_arg_fail(2)) SWIG_fail;
31602 }
31603 {
31604 arg3 = wxString_in_helper(obj2);
31605 if (arg3 == NULL) SWIG_fail;
31606 temp3 = true;
31607 }
31608 if (obj3) {
31609 {
31610 arg4 = static_cast<int >(SWIG_As_int(obj3));
31611 if (SWIG_arg_fail(4)) SWIG_fail;
31612 }
31613 }
31614 if (obj4) {
31615 {
31616 arg5 = static_cast<int >(SWIG_As_int(obj4));
31617 if (SWIG_arg_fail(5)) SWIG_fail;
31618 }
31619 }
31620 if (obj5) {
31621 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31622 if (SWIG_arg_fail(6)) SWIG_fail;
31623 }
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31627
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 {
31632 wxTreeItemId * resultptr;
31633 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31635 }
31636 {
31637 if (temp3)
31638 delete arg3;
31639 }
31640 return resultobj;
31641 fail:
31642 {
31643 if (temp3)
31644 delete arg3;
31645 }
31646 return NULL;
31647 }
31648
31649
31650 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
31651 PyObject *resultobj = NULL;
31652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31653 wxTreeItemId *arg2 = 0 ;
31654 PyObject * obj0 = 0 ;
31655 PyObject * obj1 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self",(char *) "item", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
31661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail;
31663 {
31664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31665 if (SWIG_arg_fail(2)) SWIG_fail;
31666 if (arg2 == NULL) {
31667 SWIG_null_ref("wxTreeItemId");
31668 }
31669 if (SWIG_arg_fail(2)) SWIG_fail;
31670 }
31671 {
31672 PyThreadState* __tstate = wxPyBeginAllowThreads();
31673 (arg1)->Delete((wxTreeItemId const &)*arg2);
31674
31675 wxPyEndAllowThreads(__tstate);
31676 if (PyErr_Occurred()) SWIG_fail;
31677 }
31678 Py_INCREF(Py_None); resultobj = Py_None;
31679 return resultobj;
31680 fail:
31681 return NULL;
31682 }
31683
31684
31685 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
31686 PyObject *resultobj = NULL;
31687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31688 wxTreeItemId *arg2 = 0 ;
31689 PyObject * obj0 = 0 ;
31690 PyObject * obj1 = 0 ;
31691 char *kwnames[] = {
31692 (char *) "self",(char *) "item", NULL
31693 };
31694
31695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
31696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail;
31698 {
31699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31700 if (SWIG_arg_fail(2)) SWIG_fail;
31701 if (arg2 == NULL) {
31702 SWIG_null_ref("wxTreeItemId");
31703 }
31704 if (SWIG_arg_fail(2)) SWIG_fail;
31705 }
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 Py_INCREF(Py_None); resultobj = Py_None;
31714 return resultobj;
31715 fail:
31716 return NULL;
31717 }
31718
31719
31720 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
31721 PyObject *resultobj = NULL;
31722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31723 PyObject * obj0 = 0 ;
31724 char *kwnames[] = {
31725 (char *) "self", NULL
31726 };
31727
31728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
31729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail;
31731 {
31732 PyThreadState* __tstate = wxPyBeginAllowThreads();
31733 (arg1)->DeleteAllItems();
31734
31735 wxPyEndAllowThreads(__tstate);
31736 if (PyErr_Occurred()) SWIG_fail;
31737 }
31738 Py_INCREF(Py_None); resultobj = Py_None;
31739 return resultobj;
31740 fail:
31741 return NULL;
31742 }
31743
31744
31745 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
31746 PyObject *resultobj = NULL;
31747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31748 wxTreeItemId *arg2 = 0 ;
31749 PyObject * obj0 = 0 ;
31750 PyObject * obj1 = 0 ;
31751 char *kwnames[] = {
31752 (char *) "self",(char *) "item", NULL
31753 };
31754
31755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
31756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail;
31758 {
31759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31760 if (SWIG_arg_fail(2)) SWIG_fail;
31761 if (arg2 == NULL) {
31762 SWIG_null_ref("wxTreeItemId");
31763 }
31764 if (SWIG_arg_fail(2)) SWIG_fail;
31765 }
31766 {
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 (arg1)->Expand((wxTreeItemId const &)*arg2);
31769
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 Py_INCREF(Py_None); resultobj = Py_None;
31774 return resultobj;
31775 fail:
31776 return NULL;
31777 }
31778
31779
31780 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
31781 PyObject *resultobj = NULL;
31782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31783 wxTreeItemId *arg2 = 0 ;
31784 PyObject * obj0 = 0 ;
31785 PyObject * obj1 = 0 ;
31786 char *kwnames[] = {
31787 (char *) "self",(char *) "item", NULL
31788 };
31789
31790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
31791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31792 if (SWIG_arg_fail(1)) SWIG_fail;
31793 {
31794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31795 if (SWIG_arg_fail(2)) SWIG_fail;
31796 if (arg2 == NULL) {
31797 SWIG_null_ref("wxTreeItemId");
31798 }
31799 if (SWIG_arg_fail(2)) SWIG_fail;
31800 }
31801 {
31802 PyThreadState* __tstate = wxPyBeginAllowThreads();
31803 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31804
31805 wxPyEndAllowThreads(__tstate);
31806 if (PyErr_Occurred()) SWIG_fail;
31807 }
31808 Py_INCREF(Py_None); resultobj = Py_None;
31809 return resultobj;
31810 fail:
31811 return NULL;
31812 }
31813
31814
31815 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
31816 PyObject *resultobj = NULL;
31817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31818 wxTreeItemId *arg2 = 0 ;
31819 PyObject * obj0 = 0 ;
31820 PyObject * obj1 = 0 ;
31821 char *kwnames[] = {
31822 (char *) "self",(char *) "item", NULL
31823 };
31824
31825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
31826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail;
31828 {
31829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31830 if (SWIG_arg_fail(2)) SWIG_fail;
31831 if (arg2 == NULL) {
31832 SWIG_null_ref("wxTreeItemId");
31833 }
31834 if (SWIG_arg_fail(2)) SWIG_fail;
31835 }
31836 {
31837 PyThreadState* __tstate = wxPyBeginAllowThreads();
31838 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31839
31840 wxPyEndAllowThreads(__tstate);
31841 if (PyErr_Occurred()) SWIG_fail;
31842 }
31843 Py_INCREF(Py_None); resultobj = Py_None;
31844 return resultobj;
31845 fail:
31846 return NULL;
31847 }
31848
31849
31850 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
31851 PyObject *resultobj = NULL;
31852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31853 wxTreeItemId *arg2 = 0 ;
31854 PyObject * obj0 = 0 ;
31855 PyObject * obj1 = 0 ;
31856 char *kwnames[] = {
31857 (char *) "self",(char *) "item", NULL
31858 };
31859
31860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
31861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31862 if (SWIG_arg_fail(1)) SWIG_fail;
31863 {
31864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31865 if (SWIG_arg_fail(2)) SWIG_fail;
31866 if (arg2 == NULL) {
31867 SWIG_null_ref("wxTreeItemId");
31868 }
31869 if (SWIG_arg_fail(2)) SWIG_fail;
31870 }
31871 {
31872 PyThreadState* __tstate = wxPyBeginAllowThreads();
31873 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31874
31875 wxPyEndAllowThreads(__tstate);
31876 if (PyErr_Occurred()) SWIG_fail;
31877 }
31878 Py_INCREF(Py_None); resultobj = Py_None;
31879 return resultobj;
31880 fail:
31881 return NULL;
31882 }
31883
31884
31885 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
31886 PyObject *resultobj = NULL;
31887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31888 PyObject * obj0 = 0 ;
31889 char *kwnames[] = {
31890 (char *) "self", NULL
31891 };
31892
31893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
31894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail;
31896 {
31897 PyThreadState* __tstate = wxPyBeginAllowThreads();
31898 (arg1)->Unselect();
31899
31900 wxPyEndAllowThreads(__tstate);
31901 if (PyErr_Occurred()) SWIG_fail;
31902 }
31903 Py_INCREF(Py_None); resultobj = Py_None;
31904 return resultobj;
31905 fail:
31906 return NULL;
31907 }
31908
31909
31910 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31911 PyObject *resultobj = NULL;
31912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31913 wxTreeItemId *arg2 = 0 ;
31914 PyObject * obj0 = 0 ;
31915 PyObject * obj1 = 0 ;
31916 char *kwnames[] = {
31917 (char *) "self",(char *) "item", NULL
31918 };
31919
31920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
31921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31922 if (SWIG_arg_fail(1)) SWIG_fail;
31923 {
31924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31925 if (SWIG_arg_fail(2)) SWIG_fail;
31926 if (arg2 == NULL) {
31927 SWIG_null_ref("wxTreeItemId");
31928 }
31929 if (SWIG_arg_fail(2)) SWIG_fail;
31930 }
31931 {
31932 PyThreadState* __tstate = wxPyBeginAllowThreads();
31933 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31934
31935 wxPyEndAllowThreads(__tstate);
31936 if (PyErr_Occurred()) SWIG_fail;
31937 }
31938 Py_INCREF(Py_None); resultobj = Py_None;
31939 return resultobj;
31940 fail:
31941 return NULL;
31942 }
31943
31944
31945 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
31946 PyObject *resultobj = NULL;
31947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31948 PyObject * obj0 = 0 ;
31949 char *kwnames[] = {
31950 (char *) "self", NULL
31951 };
31952
31953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
31954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31955 if (SWIG_arg_fail(1)) SWIG_fail;
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 (arg1)->UnselectAll();
31959
31960 wxPyEndAllowThreads(__tstate);
31961 if (PyErr_Occurred()) SWIG_fail;
31962 }
31963 Py_INCREF(Py_None); resultobj = Py_None;
31964 return resultobj;
31965 fail:
31966 return NULL;
31967 }
31968
31969
31970 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31971 PyObject *resultobj = NULL;
31972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31973 wxTreeItemId *arg2 = 0 ;
31974 bool arg3 = (bool) true ;
31975 PyObject * obj0 = 0 ;
31976 PyObject * obj1 = 0 ;
31977 PyObject * obj2 = 0 ;
31978 char *kwnames[] = {
31979 (char *) "self",(char *) "item",(char *) "select", NULL
31980 };
31981
31982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
31983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail;
31985 {
31986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(2)) SWIG_fail;
31988 if (arg2 == NULL) {
31989 SWIG_null_ref("wxTreeItemId");
31990 }
31991 if (SWIG_arg_fail(2)) SWIG_fail;
31992 }
31993 if (obj2) {
31994 {
31995 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
31996 if (SWIG_arg_fail(3)) SWIG_fail;
31997 }
31998 }
31999 {
32000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32001 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
32002
32003 wxPyEndAllowThreads(__tstate);
32004 if (PyErr_Occurred()) SWIG_fail;
32005 }
32006 Py_INCREF(Py_None); resultobj = Py_None;
32007 return resultobj;
32008 fail:
32009 return NULL;
32010 }
32011
32012
32013 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32014 PyObject *resultobj = NULL;
32015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32016 wxTreeItemId *arg2 = 0 ;
32017 PyObject * obj0 = 0 ;
32018 PyObject * obj1 = 0 ;
32019 char *kwnames[] = {
32020 (char *) "self",(char *) "item", NULL
32021 };
32022
32023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
32024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32025 if (SWIG_arg_fail(1)) SWIG_fail;
32026 {
32027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32028 if (SWIG_arg_fail(2)) SWIG_fail;
32029 if (arg2 == NULL) {
32030 SWIG_null_ref("wxTreeItemId");
32031 }
32032 if (SWIG_arg_fail(2)) SWIG_fail;
32033 }
32034 {
32035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32036 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
32037
32038 wxPyEndAllowThreads(__tstate);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 }
32041 Py_INCREF(Py_None); resultobj = Py_None;
32042 return resultobj;
32043 fail:
32044 return NULL;
32045 }
32046
32047
32048 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj = NULL;
32050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32051 wxTreeItemId *arg2 = 0 ;
32052 PyObject * obj0 = 0 ;
32053 PyObject * obj1 = 0 ;
32054 char *kwnames[] = {
32055 (char *) "self",(char *) "item", NULL
32056 };
32057
32058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
32059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32060 if (SWIG_arg_fail(1)) SWIG_fail;
32061 {
32062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32063 if (SWIG_arg_fail(2)) SWIG_fail;
32064 if (arg2 == NULL) {
32065 SWIG_null_ref("wxTreeItemId");
32066 }
32067 if (SWIG_arg_fail(2)) SWIG_fail;
32068 }
32069 {
32070 PyThreadState* __tstate = wxPyBeginAllowThreads();
32071 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32072
32073 wxPyEndAllowThreads(__tstate);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 }
32076 Py_INCREF(Py_None); resultobj = Py_None;
32077 return resultobj;
32078 fail:
32079 return NULL;
32080 }
32081
32082
32083 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
32084 PyObject *resultobj = NULL;
32085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32086 wxTreeItemId *arg2 = 0 ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "item", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
32094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32095 if (SWIG_arg_fail(1)) SWIG_fail;
32096 {
32097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32098 if (SWIG_arg_fail(2)) SWIG_fail;
32099 if (arg2 == NULL) {
32100 SWIG_null_ref("wxTreeItemId");
32101 }
32102 if (SWIG_arg_fail(2)) SWIG_fail;
32103 }
32104 {
32105 PyThreadState* __tstate = wxPyBeginAllowThreads();
32106 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32107
32108 wxPyEndAllowThreads(__tstate);
32109 if (PyErr_Occurred()) SWIG_fail;
32110 }
32111 Py_INCREF(Py_None); resultobj = Py_None;
32112 return resultobj;
32113 fail:
32114 return NULL;
32115 }
32116
32117
32118 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32119 PyObject *resultobj = NULL;
32120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32121 wxTreeItemId *arg2 = 0 ;
32122 PyObject * obj0 = 0 ;
32123 PyObject * obj1 = 0 ;
32124 char *kwnames[] = {
32125 (char *) "self",(char *) "item", NULL
32126 };
32127
32128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
32129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32130 if (SWIG_arg_fail(1)) SWIG_fail;
32131 {
32132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32133 if (SWIG_arg_fail(2)) SWIG_fail;
32134 if (arg2 == NULL) {
32135 SWIG_null_ref("wxTreeItemId");
32136 }
32137 if (SWIG_arg_fail(2)) SWIG_fail;
32138 }
32139 {
32140 PyThreadState* __tstate = wxPyBeginAllowThreads();
32141 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32142
32143 wxPyEndAllowThreads(__tstate);
32144 if (PyErr_Occurred()) SWIG_fail;
32145 }
32146 Py_INCREF(Py_None); resultobj = Py_None;
32147 return resultobj;
32148 fail:
32149 return NULL;
32150 }
32151
32152
32153 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32154 PyObject *resultobj = NULL;
32155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32156 wxTextCtrl *result;
32157 PyObject * obj0 = 0 ;
32158 char *kwnames[] = {
32159 (char *) "self", NULL
32160 };
32161
32162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
32163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32164 if (SWIG_arg_fail(1)) SWIG_fail;
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 {
32173 resultobj = wxPyMake_wxObject(result, 0);
32174 }
32175 return resultobj;
32176 fail:
32177 return NULL;
32178 }
32179
32180
32181 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32182 PyObject *resultobj = NULL;
32183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32184 wxTreeItemId *arg2 = 0 ;
32185 PyObject * obj0 = 0 ;
32186 PyObject * obj1 = 0 ;
32187 char *kwnames[] = {
32188 (char *) "self",(char *) "item", NULL
32189 };
32190
32191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
32192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32193 if (SWIG_arg_fail(1)) SWIG_fail;
32194 {
32195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32196 if (SWIG_arg_fail(2)) SWIG_fail;
32197 if (arg2 == NULL) {
32198 SWIG_null_ref("wxTreeItemId");
32199 }
32200 if (SWIG_arg_fail(2)) SWIG_fail;
32201 }
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 Py_INCREF(Py_None); resultobj = Py_None;
32210 return resultobj;
32211 fail:
32212 return NULL;
32213 }
32214
32215
32216 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32217 PyObject *resultobj = NULL;
32218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32219 wxPoint *arg2 = 0 ;
32220 int *arg3 = 0 ;
32221 wxTreeItemId result;
32222 wxPoint temp2 ;
32223 int temp3 ;
32224 int res3 = 0 ;
32225 PyObject * obj0 = 0 ;
32226 PyObject * obj1 = 0 ;
32227 char *kwnames[] = {
32228 (char *) "self",(char *) "point", NULL
32229 };
32230
32231 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
32233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail;
32235 {
32236 arg2 = &temp2;
32237 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32238 }
32239 {
32240 PyThreadState* __tstate = wxPyBeginAllowThreads();
32241 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32242
32243 wxPyEndAllowThreads(__tstate);
32244 if (PyErr_Occurred()) SWIG_fail;
32245 }
32246 {
32247 wxTreeItemId * resultptr;
32248 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32250 }
32251 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32252 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32253 return resultobj;
32254 fail:
32255 return NULL;
32256 }
32257
32258
32259 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32260 PyObject *resultobj = NULL;
32261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32262 wxTreeItemId *arg2 = 0 ;
32263 bool arg3 = (bool) false ;
32264 PyObject *result;
32265 PyObject * obj0 = 0 ;
32266 PyObject * obj1 = 0 ;
32267 PyObject * obj2 = 0 ;
32268 char *kwnames[] = {
32269 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32270 };
32271
32272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
32273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32274 if (SWIG_arg_fail(1)) SWIG_fail;
32275 {
32276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32277 if (SWIG_arg_fail(2)) SWIG_fail;
32278 if (arg2 == NULL) {
32279 SWIG_null_ref("wxTreeItemId");
32280 }
32281 if (SWIG_arg_fail(2)) SWIG_fail;
32282 }
32283 if (obj2) {
32284 {
32285 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
32286 if (SWIG_arg_fail(3)) SWIG_fail;
32287 }
32288 }
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32292
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 resultobj = result;
32297 return resultobj;
32298 fail:
32299 return NULL;
32300 }
32301
32302
32303 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32304 PyObject *resultobj = NULL;
32305 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32306 wxVisualAttributes result;
32307 PyObject * obj0 = 0 ;
32308 char *kwnames[] = {
32309 (char *) "variant", NULL
32310 };
32311
32312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32313 if (obj0) {
32314 {
32315 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
32316 if (SWIG_arg_fail(1)) SWIG_fail;
32317 }
32318 }
32319 {
32320 if (!wxPyCheckForApp()) SWIG_fail;
32321 PyThreadState* __tstate = wxPyBeginAllowThreads();
32322 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
32323
32324 wxPyEndAllowThreads(__tstate);
32325 if (PyErr_Occurred()) SWIG_fail;
32326 }
32327 {
32328 wxVisualAttributes * resultptr;
32329 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
32330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32331 }
32332 return resultobj;
32333 fail:
32334 return NULL;
32335 }
32336
32337
32338 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
32339 PyObject *obj;
32340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32341 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32342 Py_INCREF(obj);
32343 return Py_BuildValue((char *)"");
32344 }
32345 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
32346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32347 return 1;
32348 }
32349
32350
32351 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
32352 PyObject *pyobj = NULL;
32353
32354 {
32355 #if wxUSE_UNICODE
32356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32357 #else
32358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32359 #endif
32360 }
32361 return pyobj;
32362 }
32363
32364
32365 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32366 PyObject *resultobj = NULL;
32367 wxWindow *arg1 = (wxWindow *) 0 ;
32368 int arg2 = (int) (int)-1 ;
32369 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32370 wxString *arg3 = (wxString *) &arg3_defvalue ;
32371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32373 wxSize const &arg5_defvalue = wxDefaultSize ;
32374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32375 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32376 wxString const &arg7_defvalue = wxPyEmptyString ;
32377 wxString *arg7 = (wxString *) &arg7_defvalue ;
32378 int arg8 = (int) 0 ;
32379 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32380 wxString *arg9 = (wxString *) &arg9_defvalue ;
32381 wxGenericDirCtrl *result;
32382 bool temp3 = false ;
32383 wxPoint temp4 ;
32384 wxSize temp5 ;
32385 bool temp7 = false ;
32386 bool temp9 = false ;
32387 PyObject * obj0 = 0 ;
32388 PyObject * obj1 = 0 ;
32389 PyObject * obj2 = 0 ;
32390 PyObject * obj3 = 0 ;
32391 PyObject * obj4 = 0 ;
32392 PyObject * obj5 = 0 ;
32393 PyObject * obj6 = 0 ;
32394 PyObject * obj7 = 0 ;
32395 PyObject * obj8 = 0 ;
32396 char *kwnames[] = {
32397 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32398 };
32399
32400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
32401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail;
32403 if (obj1) {
32404 {
32405 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32406 if (SWIG_arg_fail(2)) SWIG_fail;
32407 }
32408 }
32409 if (obj2) {
32410 {
32411 arg3 = wxString_in_helper(obj2);
32412 if (arg3 == NULL) SWIG_fail;
32413 temp3 = true;
32414 }
32415 }
32416 if (obj3) {
32417 {
32418 arg4 = &temp4;
32419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32420 }
32421 }
32422 if (obj4) {
32423 {
32424 arg5 = &temp5;
32425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32426 }
32427 }
32428 if (obj5) {
32429 {
32430 arg6 = static_cast<long >(SWIG_As_long(obj5));
32431 if (SWIG_arg_fail(6)) SWIG_fail;
32432 }
32433 }
32434 if (obj6) {
32435 {
32436 arg7 = wxString_in_helper(obj6);
32437 if (arg7 == NULL) SWIG_fail;
32438 temp7 = true;
32439 }
32440 }
32441 if (obj7) {
32442 {
32443 arg8 = static_cast<int >(SWIG_As_int(obj7));
32444 if (SWIG_arg_fail(8)) SWIG_fail;
32445 }
32446 }
32447 if (obj8) {
32448 {
32449 arg9 = wxString_in_helper(obj8);
32450 if (arg9 == NULL) SWIG_fail;
32451 temp9 = true;
32452 }
32453 }
32454 {
32455 if (!wxPyCheckForApp()) SWIG_fail;
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32458
32459 wxPyEndAllowThreads(__tstate);
32460 if (PyErr_Occurred()) SWIG_fail;
32461 }
32462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32463 {
32464 if (temp3)
32465 delete arg3;
32466 }
32467 {
32468 if (temp7)
32469 delete arg7;
32470 }
32471 {
32472 if (temp9)
32473 delete arg9;
32474 }
32475 return resultobj;
32476 fail:
32477 {
32478 if (temp3)
32479 delete arg3;
32480 }
32481 {
32482 if (temp7)
32483 delete arg7;
32484 }
32485 {
32486 if (temp9)
32487 delete arg9;
32488 }
32489 return NULL;
32490 }
32491
32492
32493 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32494 PyObject *resultobj = NULL;
32495 wxGenericDirCtrl *result;
32496 char *kwnames[] = {
32497 NULL
32498 };
32499
32500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32501 {
32502 if (!wxPyCheckForApp()) SWIG_fail;
32503 PyThreadState* __tstate = wxPyBeginAllowThreads();
32504 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32505
32506 wxPyEndAllowThreads(__tstate);
32507 if (PyErr_Occurred()) SWIG_fail;
32508 }
32509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32510 return resultobj;
32511 fail:
32512 return NULL;
32513 }
32514
32515
32516 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32517 PyObject *resultobj = NULL;
32518 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32519 wxWindow *arg2 = (wxWindow *) 0 ;
32520 int arg3 = (int) (int)-1 ;
32521 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32522 wxString *arg4 = (wxString *) &arg4_defvalue ;
32523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32525 wxSize const &arg6_defvalue = wxDefaultSize ;
32526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32527 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32528 wxString const &arg8_defvalue = wxPyEmptyString ;
32529 wxString *arg8 = (wxString *) &arg8_defvalue ;
32530 int arg9 = (int) 0 ;
32531 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32532 wxString *arg10 = (wxString *) &arg10_defvalue ;
32533 bool result;
32534 bool temp4 = false ;
32535 wxPoint temp5 ;
32536 wxSize temp6 ;
32537 bool temp8 = false ;
32538 bool temp10 = false ;
32539 PyObject * obj0 = 0 ;
32540 PyObject * obj1 = 0 ;
32541 PyObject * obj2 = 0 ;
32542 PyObject * obj3 = 0 ;
32543 PyObject * obj4 = 0 ;
32544 PyObject * obj5 = 0 ;
32545 PyObject * obj6 = 0 ;
32546 PyObject * obj7 = 0 ;
32547 PyObject * obj8 = 0 ;
32548 PyObject * obj9 = 0 ;
32549 char *kwnames[] = {
32550 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32551 };
32552
32553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
32554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail;
32556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32557 if (SWIG_arg_fail(2)) SWIG_fail;
32558 if (obj2) {
32559 {
32560 arg3 = static_cast<int const >(SWIG_As_int(obj2));
32561 if (SWIG_arg_fail(3)) SWIG_fail;
32562 }
32563 }
32564 if (obj3) {
32565 {
32566 arg4 = wxString_in_helper(obj3);
32567 if (arg4 == NULL) SWIG_fail;
32568 temp4 = true;
32569 }
32570 }
32571 if (obj4) {
32572 {
32573 arg5 = &temp5;
32574 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32575 }
32576 }
32577 if (obj5) {
32578 {
32579 arg6 = &temp6;
32580 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32581 }
32582 }
32583 if (obj6) {
32584 {
32585 arg7 = static_cast<long >(SWIG_As_long(obj6));
32586 if (SWIG_arg_fail(7)) SWIG_fail;
32587 }
32588 }
32589 if (obj7) {
32590 {
32591 arg8 = wxString_in_helper(obj7);
32592 if (arg8 == NULL) SWIG_fail;
32593 temp8 = true;
32594 }
32595 }
32596 if (obj8) {
32597 {
32598 arg9 = static_cast<int >(SWIG_As_int(obj8));
32599 if (SWIG_arg_fail(9)) SWIG_fail;
32600 }
32601 }
32602 if (obj9) {
32603 {
32604 arg10 = wxString_in_helper(obj9);
32605 if (arg10 == NULL) SWIG_fail;
32606 temp10 = true;
32607 }
32608 }
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32612
32613 wxPyEndAllowThreads(__tstate);
32614 if (PyErr_Occurred()) SWIG_fail;
32615 }
32616 {
32617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32618 }
32619 {
32620 if (temp4)
32621 delete arg4;
32622 }
32623 {
32624 if (temp8)
32625 delete arg8;
32626 }
32627 {
32628 if (temp10)
32629 delete arg10;
32630 }
32631 return resultobj;
32632 fail:
32633 {
32634 if (temp4)
32635 delete arg4;
32636 }
32637 {
32638 if (temp8)
32639 delete arg8;
32640 }
32641 {
32642 if (temp10)
32643 delete arg10;
32644 }
32645 return NULL;
32646 }
32647
32648
32649 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
32650 PyObject *resultobj = NULL;
32651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32652 wxString *arg2 = 0 ;
32653 bool result;
32654 bool temp2 = false ;
32655 PyObject * obj0 = 0 ;
32656 PyObject * obj1 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self",(char *) "path", NULL
32659 };
32660
32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
32662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail;
32664 {
32665 arg2 = wxString_in_helper(obj1);
32666 if (arg2 == NULL) SWIG_fail;
32667 temp2 = true;
32668 }
32669 {
32670 PyThreadState* __tstate = wxPyBeginAllowThreads();
32671 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32672
32673 wxPyEndAllowThreads(__tstate);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 }
32676 {
32677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32678 }
32679 {
32680 if (temp2)
32681 delete arg2;
32682 }
32683 return resultobj;
32684 fail:
32685 {
32686 if (temp2)
32687 delete arg2;
32688 }
32689 return NULL;
32690 }
32691
32692
32693 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32694 PyObject *resultobj = NULL;
32695 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32696 wxString result;
32697 PyObject * obj0 = 0 ;
32698 char *kwnames[] = {
32699 (char *) "self", NULL
32700 };
32701
32702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
32703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32704 if (SWIG_arg_fail(1)) SWIG_fail;
32705 {
32706 PyThreadState* __tstate = wxPyBeginAllowThreads();
32707 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32708
32709 wxPyEndAllowThreads(__tstate);
32710 if (PyErr_Occurred()) SWIG_fail;
32711 }
32712 {
32713 #if wxUSE_UNICODE
32714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32715 #else
32716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32717 #endif
32718 }
32719 return resultobj;
32720 fail:
32721 return NULL;
32722 }
32723
32724
32725 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32726 PyObject *resultobj = NULL;
32727 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32728 wxString *arg2 = 0 ;
32729 bool temp2 = false ;
32730 PyObject * obj0 = 0 ;
32731 PyObject * obj1 = 0 ;
32732 char *kwnames[] = {
32733 (char *) "self",(char *) "path", NULL
32734 };
32735
32736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
32737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail;
32739 {
32740 arg2 = wxString_in_helper(obj1);
32741 if (arg2 == NULL) SWIG_fail;
32742 temp2 = true;
32743 }
32744 {
32745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32746 (arg1)->SetDefaultPath((wxString const &)*arg2);
32747
32748 wxPyEndAllowThreads(__tstate);
32749 if (PyErr_Occurred()) SWIG_fail;
32750 }
32751 Py_INCREF(Py_None); resultobj = Py_None;
32752 {
32753 if (temp2)
32754 delete arg2;
32755 }
32756 return resultobj;
32757 fail:
32758 {
32759 if (temp2)
32760 delete arg2;
32761 }
32762 return NULL;
32763 }
32764
32765
32766 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32767 PyObject *resultobj = NULL;
32768 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32769 wxString result;
32770 PyObject * obj0 = 0 ;
32771 char *kwnames[] = {
32772 (char *) "self", NULL
32773 };
32774
32775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
32776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32777 if (SWIG_arg_fail(1)) SWIG_fail;
32778 {
32779 PyThreadState* __tstate = wxPyBeginAllowThreads();
32780 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32781
32782 wxPyEndAllowThreads(__tstate);
32783 if (PyErr_Occurred()) SWIG_fail;
32784 }
32785 {
32786 #if wxUSE_UNICODE
32787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32788 #else
32789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32790 #endif
32791 }
32792 return resultobj;
32793 fail:
32794 return NULL;
32795 }
32796
32797
32798 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
32799 PyObject *resultobj = NULL;
32800 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32801 wxString result;
32802 PyObject * obj0 = 0 ;
32803 char *kwnames[] = {
32804 (char *) "self", NULL
32805 };
32806
32807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
32808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail;
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32813
32814 wxPyEndAllowThreads(__tstate);
32815 if (PyErr_Occurred()) SWIG_fail;
32816 }
32817 {
32818 #if wxUSE_UNICODE
32819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32820 #else
32821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32822 #endif
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827 }
32828
32829
32830 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32831 PyObject *resultobj = NULL;
32832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32833 wxString *arg2 = 0 ;
32834 bool temp2 = false ;
32835 PyObject * obj0 = 0 ;
32836 PyObject * obj1 = 0 ;
32837 char *kwnames[] = {
32838 (char *) "self",(char *) "path", NULL
32839 };
32840
32841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
32842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail;
32844 {
32845 arg2 = wxString_in_helper(obj1);
32846 if (arg2 == NULL) SWIG_fail;
32847 temp2 = true;
32848 }
32849 {
32850 PyThreadState* __tstate = wxPyBeginAllowThreads();
32851 (arg1)->SetPath((wxString const &)*arg2);
32852
32853 wxPyEndAllowThreads(__tstate);
32854 if (PyErr_Occurred()) SWIG_fail;
32855 }
32856 Py_INCREF(Py_None); resultobj = Py_None;
32857 {
32858 if (temp2)
32859 delete arg2;
32860 }
32861 return resultobj;
32862 fail:
32863 {
32864 if (temp2)
32865 delete arg2;
32866 }
32867 return NULL;
32868 }
32869
32870
32871 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32872 PyObject *resultobj = NULL;
32873 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32874 bool arg2 ;
32875 PyObject * obj0 = 0 ;
32876 PyObject * obj1 = 0 ;
32877 char *kwnames[] = {
32878 (char *) "self",(char *) "show", NULL
32879 };
32880
32881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
32882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail;
32884 {
32885 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
32886 if (SWIG_arg_fail(2)) SWIG_fail;
32887 }
32888 {
32889 PyThreadState* __tstate = wxPyBeginAllowThreads();
32890 (arg1)->ShowHidden(arg2);
32891
32892 wxPyEndAllowThreads(__tstate);
32893 if (PyErr_Occurred()) SWIG_fail;
32894 }
32895 Py_INCREF(Py_None); resultobj = Py_None;
32896 return resultobj;
32897 fail:
32898 return NULL;
32899 }
32900
32901
32902 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32903 PyObject *resultobj = NULL;
32904 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32905 bool result;
32906 PyObject * obj0 = 0 ;
32907 char *kwnames[] = {
32908 (char *) "self", NULL
32909 };
32910
32911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
32912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32913 if (SWIG_arg_fail(1)) SWIG_fail;
32914 {
32915 PyThreadState* __tstate = wxPyBeginAllowThreads();
32916 result = (bool)(arg1)->GetShowHidden();
32917
32918 wxPyEndAllowThreads(__tstate);
32919 if (PyErr_Occurred()) SWIG_fail;
32920 }
32921 {
32922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32923 }
32924 return resultobj;
32925 fail:
32926 return NULL;
32927 }
32928
32929
32930 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32931 PyObject *resultobj = NULL;
32932 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32933 wxString result;
32934 PyObject * obj0 = 0 ;
32935 char *kwnames[] = {
32936 (char *) "self", NULL
32937 };
32938
32939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
32940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail;
32942 {
32943 PyThreadState* __tstate = wxPyBeginAllowThreads();
32944 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
32945
32946 wxPyEndAllowThreads(__tstate);
32947 if (PyErr_Occurred()) SWIG_fail;
32948 }
32949 {
32950 #if wxUSE_UNICODE
32951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32952 #else
32953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32954 #endif
32955 }
32956 return resultobj;
32957 fail:
32958 return NULL;
32959 }
32960
32961
32962 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32963 PyObject *resultobj = NULL;
32964 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32965 wxString *arg2 = 0 ;
32966 bool temp2 = false ;
32967 PyObject * obj0 = 0 ;
32968 PyObject * obj1 = 0 ;
32969 char *kwnames[] = {
32970 (char *) "self",(char *) "filter", NULL
32971 };
32972
32973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
32974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail;
32976 {
32977 arg2 = wxString_in_helper(obj1);
32978 if (arg2 == NULL) SWIG_fail;
32979 temp2 = true;
32980 }
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 (arg1)->SetFilter((wxString const &)*arg2);
32984
32985 wxPyEndAllowThreads(__tstate);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 Py_INCREF(Py_None); resultobj = Py_None;
32989 {
32990 if (temp2)
32991 delete arg2;
32992 }
32993 return resultobj;
32994 fail:
32995 {
32996 if (temp2)
32997 delete arg2;
32998 }
32999 return NULL;
33000 }
33001
33002
33003 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
33004 PyObject *resultobj = NULL;
33005 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33006 int result;
33007 PyObject * obj0 = 0 ;
33008 char *kwnames[] = {
33009 (char *) "self", NULL
33010 };
33011
33012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
33013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33014 if (SWIG_arg_fail(1)) SWIG_fail;
33015 {
33016 PyThreadState* __tstate = wxPyBeginAllowThreads();
33017 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
33018
33019 wxPyEndAllowThreads(__tstate);
33020 if (PyErr_Occurred()) SWIG_fail;
33021 }
33022 {
33023 resultobj = SWIG_From_int(static_cast<int >(result));
33024 }
33025 return resultobj;
33026 fail:
33027 return NULL;
33028 }
33029
33030
33031 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
33032 PyObject *resultobj = NULL;
33033 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33034 int arg2 ;
33035 PyObject * obj0 = 0 ;
33036 PyObject * obj1 = 0 ;
33037 char *kwnames[] = {
33038 (char *) "self",(char *) "n", NULL
33039 };
33040
33041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
33042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail;
33044 {
33045 arg2 = static_cast<int >(SWIG_As_int(obj1));
33046 if (SWIG_arg_fail(2)) SWIG_fail;
33047 }
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
33050 (arg1)->SetFilterIndex(arg2);
33051
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
33055 Py_INCREF(Py_None); resultobj = Py_None;
33056 return resultobj;
33057 fail:
33058 return NULL;
33059 }
33060
33061
33062 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
33063 PyObject *resultobj = NULL;
33064 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33065 wxTreeItemId result;
33066 PyObject * obj0 = 0 ;
33067 char *kwnames[] = {
33068 (char *) "self", NULL
33069 };
33070
33071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
33072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33073 if (SWIG_arg_fail(1)) SWIG_fail;
33074 {
33075 PyThreadState* __tstate = wxPyBeginAllowThreads();
33076 result = (arg1)->GetRootId();
33077
33078 wxPyEndAllowThreads(__tstate);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
33081 {
33082 wxTreeItemId * resultptr;
33083 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
33084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33085 }
33086 return resultobj;
33087 fail:
33088 return NULL;
33089 }
33090
33091
33092 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33093 PyObject *resultobj = NULL;
33094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33095 wxPyTreeCtrl *result;
33096 PyObject * obj0 = 0 ;
33097 char *kwnames[] = {
33098 (char *) "self", NULL
33099 };
33100
33101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
33102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail;
33104 {
33105 PyThreadState* __tstate = wxPyBeginAllowThreads();
33106 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
33107
33108 wxPyEndAllowThreads(__tstate);
33109 if (PyErr_Occurred()) SWIG_fail;
33110 }
33111 {
33112 resultobj = wxPyMake_wxObject(result, 0);
33113 }
33114 return resultobj;
33115 fail:
33116 return NULL;
33117 }
33118
33119
33120 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33121 PyObject *resultobj = NULL;
33122 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33123 wxDirFilterListCtrl *result;
33124 PyObject * obj0 = 0 ;
33125 char *kwnames[] = {
33126 (char *) "self", NULL
33127 };
33128
33129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
33130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail;
33132 {
33133 PyThreadState* __tstate = wxPyBeginAllowThreads();
33134 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33135
33136 wxPyEndAllowThreads(__tstate);
33137 if (PyErr_Occurred()) SWIG_fail;
33138 }
33139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33140 return resultobj;
33141 fail:
33142 return NULL;
33143 }
33144
33145
33146 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
33147 PyObject *resultobj = NULL;
33148 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33149 wxTreeItemId arg2 ;
33150 wxString *arg3 = 0 ;
33151 bool *arg4 = 0 ;
33152 wxTreeItemId result;
33153 bool temp3 = false ;
33154 bool temp4 ;
33155 int res4 = 0 ;
33156 PyObject * obj0 = 0 ;
33157 PyObject * obj1 = 0 ;
33158 PyObject * obj2 = 0 ;
33159 char *kwnames[] = {
33160 (char *) "self",(char *) "parentId",(char *) "path", NULL
33161 };
33162
33163 arg4 = &temp4; res4 = SWIG_NEWOBJ;
33164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
33165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33166 if (SWIG_arg_fail(1)) SWIG_fail;
33167 {
33168 wxTreeItemId * argp;
33169 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33170 if (SWIG_arg_fail(2)) SWIG_fail;
33171 if (argp == NULL) {
33172 SWIG_null_ref("wxTreeItemId");
33173 }
33174 if (SWIG_arg_fail(2)) SWIG_fail;
33175 arg2 = *argp;
33176 }
33177 {
33178 arg3 = wxString_in_helper(obj2);
33179 if (arg3 == NULL) SWIG_fail;
33180 temp3 = true;
33181 }
33182 {
33183 PyThreadState* __tstate = wxPyBeginAllowThreads();
33184 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33185
33186 wxPyEndAllowThreads(__tstate);
33187 if (PyErr_Occurred()) SWIG_fail;
33188 }
33189 {
33190 wxTreeItemId * resultptr;
33191 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
33192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33193 }
33194 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33195 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
33196 {
33197 if (temp3)
33198 delete arg3;
33199 }
33200 return resultobj;
33201 fail:
33202 {
33203 if (temp3)
33204 delete arg3;
33205 }
33206 return NULL;
33207 }
33208
33209
33210 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
33211 PyObject *resultobj = NULL;
33212 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33213 PyObject * obj0 = 0 ;
33214 char *kwnames[] = {
33215 (char *) "self", NULL
33216 };
33217
33218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
33219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail;
33221 {
33222 PyThreadState* __tstate = wxPyBeginAllowThreads();
33223 (arg1)->DoResize();
33224
33225 wxPyEndAllowThreads(__tstate);
33226 if (PyErr_Occurred()) SWIG_fail;
33227 }
33228 Py_INCREF(Py_None); resultobj = Py_None;
33229 return resultobj;
33230 fail:
33231 return NULL;
33232 }
33233
33234
33235 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
33236 PyObject *resultobj = NULL;
33237 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33238 PyObject * obj0 = 0 ;
33239 char *kwnames[] = {
33240 (char *) "self", NULL
33241 };
33242
33243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
33244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33245 if (SWIG_arg_fail(1)) SWIG_fail;
33246 {
33247 PyThreadState* __tstate = wxPyBeginAllowThreads();
33248 (arg1)->ReCreateTree();
33249
33250 wxPyEndAllowThreads(__tstate);
33251 if (PyErr_Occurred()) SWIG_fail;
33252 }
33253 Py_INCREF(Py_None); resultobj = Py_None;
33254 return resultobj;
33255 fail:
33256 return NULL;
33257 }
33258
33259
33260 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
33261 PyObject *obj;
33262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33263 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33264 Py_INCREF(obj);
33265 return Py_BuildValue((char *)"");
33266 }
33267 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33268 PyObject *resultobj = NULL;
33269 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33270 int arg2 = (int) (int)-1 ;
33271 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33272 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33273 wxSize const &arg4_defvalue = wxDefaultSize ;
33274 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33275 long arg5 = (long) 0 ;
33276 wxDirFilterListCtrl *result;
33277 wxPoint temp3 ;
33278 wxSize temp4 ;
33279 PyObject * obj0 = 0 ;
33280 PyObject * obj1 = 0 ;
33281 PyObject * obj2 = 0 ;
33282 PyObject * obj3 = 0 ;
33283 PyObject * obj4 = 0 ;
33284 char *kwnames[] = {
33285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33286 };
33287
33288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33290 if (SWIG_arg_fail(1)) SWIG_fail;
33291 if (obj1) {
33292 {
33293 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33294 if (SWIG_arg_fail(2)) SWIG_fail;
33295 }
33296 }
33297 if (obj2) {
33298 {
33299 arg3 = &temp3;
33300 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33301 }
33302 }
33303 if (obj3) {
33304 {
33305 arg4 = &temp4;
33306 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33307 }
33308 }
33309 if (obj4) {
33310 {
33311 arg5 = static_cast<long >(SWIG_As_long(obj4));
33312 if (SWIG_arg_fail(5)) SWIG_fail;
33313 }
33314 }
33315 {
33316 if (!wxPyCheckForApp()) SWIG_fail;
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33319
33320 wxPyEndAllowThreads(__tstate);
33321 if (PyErr_Occurred()) SWIG_fail;
33322 }
33323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33324 return resultobj;
33325 fail:
33326 return NULL;
33327 }
33328
33329
33330 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33331 PyObject *resultobj = NULL;
33332 wxDirFilterListCtrl *result;
33333 char *kwnames[] = {
33334 NULL
33335 };
33336
33337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33338 {
33339 if (!wxPyCheckForApp()) SWIG_fail;
33340 PyThreadState* __tstate = wxPyBeginAllowThreads();
33341 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33342
33343 wxPyEndAllowThreads(__tstate);
33344 if (PyErr_Occurred()) SWIG_fail;
33345 }
33346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33347 return resultobj;
33348 fail:
33349 return NULL;
33350 }
33351
33352
33353 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
33354 PyObject *resultobj = NULL;
33355 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33356 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33357 int arg3 = (int) (int)-1 ;
33358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33360 wxSize const &arg5_defvalue = wxDefaultSize ;
33361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33362 long arg6 = (long) 0 ;
33363 bool result;
33364 wxPoint temp4 ;
33365 wxSize temp5 ;
33366 PyObject * obj0 = 0 ;
33367 PyObject * obj1 = 0 ;
33368 PyObject * obj2 = 0 ;
33369 PyObject * obj3 = 0 ;
33370 PyObject * obj4 = 0 ;
33371 PyObject * obj5 = 0 ;
33372 char *kwnames[] = {
33373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33374 };
33375
33376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail;
33379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33380 if (SWIG_arg_fail(2)) SWIG_fail;
33381 if (obj2) {
33382 {
33383 arg3 = static_cast<int const >(SWIG_As_int(obj2));
33384 if (SWIG_arg_fail(3)) SWIG_fail;
33385 }
33386 }
33387 if (obj3) {
33388 {
33389 arg4 = &temp4;
33390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33391 }
33392 }
33393 if (obj4) {
33394 {
33395 arg5 = &temp5;
33396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33397 }
33398 }
33399 if (obj5) {
33400 {
33401 arg6 = static_cast<long >(SWIG_As_long(obj5));
33402 if (SWIG_arg_fail(6)) SWIG_fail;
33403 }
33404 }
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
33412 {
33413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33414 }
33415 return resultobj;
33416 fail:
33417 return NULL;
33418 }
33419
33420
33421 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
33422 PyObject *resultobj = NULL;
33423 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33424 wxString *arg2 = 0 ;
33425 int arg3 ;
33426 bool temp2 = false ;
33427 PyObject * obj0 = 0 ;
33428 PyObject * obj1 = 0 ;
33429 PyObject * obj2 = 0 ;
33430 char *kwnames[] = {
33431 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33432 };
33433
33434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
33435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33436 if (SWIG_arg_fail(1)) SWIG_fail;
33437 {
33438 arg2 = wxString_in_helper(obj1);
33439 if (arg2 == NULL) SWIG_fail;
33440 temp2 = true;
33441 }
33442 {
33443 arg3 = static_cast<int >(SWIG_As_int(obj2));
33444 if (SWIG_arg_fail(3)) SWIG_fail;
33445 }
33446 {
33447 PyThreadState* __tstate = wxPyBeginAllowThreads();
33448 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33449
33450 wxPyEndAllowThreads(__tstate);
33451 if (PyErr_Occurred()) SWIG_fail;
33452 }
33453 Py_INCREF(Py_None); resultobj = Py_None;
33454 {
33455 if (temp2)
33456 delete arg2;
33457 }
33458 return resultobj;
33459 fail:
33460 {
33461 if (temp2)
33462 delete arg2;
33463 }
33464 return NULL;
33465 }
33466
33467
33468 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
33469 PyObject *obj;
33470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33471 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33472 Py_INCREF(obj);
33473 return Py_BuildValue((char *)"");
33474 }
33475 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33476 PyObject *resultobj = NULL;
33477 wxWindow *arg1 = (wxWindow *) 0 ;
33478 int arg2 = (int) (int)-1 ;
33479 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33480 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33481 wxSize const &arg4_defvalue = wxDefaultSize ;
33482 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33483 long arg5 = (long) 0 ;
33484 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33485 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33486 wxString const &arg7_defvalue = wxPyControlNameStr ;
33487 wxString *arg7 = (wxString *) &arg7_defvalue ;
33488 wxPyControl *result;
33489 wxPoint temp3 ;
33490 wxSize temp4 ;
33491 bool temp7 = false ;
33492 PyObject * obj0 = 0 ;
33493 PyObject * obj1 = 0 ;
33494 PyObject * obj2 = 0 ;
33495 PyObject * obj3 = 0 ;
33496 PyObject * obj4 = 0 ;
33497 PyObject * obj5 = 0 ;
33498 PyObject * obj6 = 0 ;
33499 char *kwnames[] = {
33500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33501 };
33502
33503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
33504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail;
33506 if (obj1) {
33507 {
33508 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33509 if (SWIG_arg_fail(2)) SWIG_fail;
33510 }
33511 }
33512 if (obj2) {
33513 {
33514 arg3 = &temp3;
33515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33516 }
33517 }
33518 if (obj3) {
33519 {
33520 arg4 = &temp4;
33521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33522 }
33523 }
33524 if (obj4) {
33525 {
33526 arg5 = static_cast<long >(SWIG_As_long(obj4));
33527 if (SWIG_arg_fail(5)) SWIG_fail;
33528 }
33529 }
33530 if (obj5) {
33531 {
33532 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33533 if (SWIG_arg_fail(6)) SWIG_fail;
33534 if (arg6 == NULL) {
33535 SWIG_null_ref("wxValidator");
33536 }
33537 if (SWIG_arg_fail(6)) SWIG_fail;
33538 }
33539 }
33540 if (obj6) {
33541 {
33542 arg7 = wxString_in_helper(obj6);
33543 if (arg7 == NULL) SWIG_fail;
33544 temp7 = true;
33545 }
33546 }
33547 {
33548 if (!wxPyCheckForApp()) SWIG_fail;
33549 PyThreadState* __tstate = wxPyBeginAllowThreads();
33550 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33551
33552 wxPyEndAllowThreads(__tstate);
33553 if (PyErr_Occurred()) SWIG_fail;
33554 }
33555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33556 {
33557 if (temp7)
33558 delete arg7;
33559 }
33560 return resultobj;
33561 fail:
33562 {
33563 if (temp7)
33564 delete arg7;
33565 }
33566 return NULL;
33567 }
33568
33569
33570 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33571 PyObject *resultobj = NULL;
33572 wxPyControl *result;
33573 char *kwnames[] = {
33574 NULL
33575 };
33576
33577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33578 {
33579 if (!wxPyCheckForApp()) SWIG_fail;
33580 PyThreadState* __tstate = wxPyBeginAllowThreads();
33581 result = (wxPyControl *)new wxPyControl();
33582
33583 wxPyEndAllowThreads(__tstate);
33584 if (PyErr_Occurred()) SWIG_fail;
33585 }
33586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33587 return resultobj;
33588 fail:
33589 return NULL;
33590 }
33591
33592
33593 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
33594 PyObject *resultobj = NULL;
33595 wxPyControl *arg1 = (wxPyControl *) 0 ;
33596 PyObject *arg2 = (PyObject *) 0 ;
33597 PyObject *arg3 = (PyObject *) 0 ;
33598 PyObject * obj0 = 0 ;
33599 PyObject * obj1 = 0 ;
33600 PyObject * obj2 = 0 ;
33601 char *kwnames[] = {
33602 (char *) "self",(char *) "self",(char *) "_class", NULL
33603 };
33604
33605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
33606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33607 if (SWIG_arg_fail(1)) SWIG_fail;
33608 arg2 = obj1;
33609 arg3 = obj2;
33610 {
33611 PyThreadState* __tstate = wxPyBeginAllowThreads();
33612 (arg1)->_setCallbackInfo(arg2,arg3);
33613
33614 wxPyEndAllowThreads(__tstate);
33615 if (PyErr_Occurred()) SWIG_fail;
33616 }
33617 Py_INCREF(Py_None); resultobj = Py_None;
33618 return resultobj;
33619 fail:
33620 return NULL;
33621 }
33622
33623
33624 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
33625 PyObject *resultobj = NULL;
33626 wxPyControl *arg1 = (wxPyControl *) 0 ;
33627 wxSize *arg2 = 0 ;
33628 wxSize temp2 ;
33629 PyObject * obj0 = 0 ;
33630 PyObject * obj1 = 0 ;
33631 char *kwnames[] = {
33632 (char *) "self",(char *) "size", NULL
33633 };
33634
33635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
33636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33637 if (SWIG_arg_fail(1)) SWIG_fail;
33638 {
33639 arg2 = &temp2;
33640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33641 }
33642 {
33643 PyThreadState* __tstate = wxPyBeginAllowThreads();
33644 (arg1)->SetBestSize((wxSize const &)*arg2);
33645
33646 wxPyEndAllowThreads(__tstate);
33647 if (PyErr_Occurred()) SWIG_fail;
33648 }
33649 Py_INCREF(Py_None); resultobj = Py_None;
33650 return resultobj;
33651 fail:
33652 return NULL;
33653 }
33654
33655
33656 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
33657 PyObject *resultobj = NULL;
33658 wxPyControl *arg1 = (wxPyControl *) 0 ;
33659 wxDC *arg2 = (wxDC *) 0 ;
33660 bool result;
33661 PyObject * obj0 = 0 ;
33662 PyObject * obj1 = 0 ;
33663 char *kwnames[] = {
33664 (char *) "self",(char *) "dc", NULL
33665 };
33666
33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33669 if (SWIG_arg_fail(1)) SWIG_fail;
33670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33671 if (SWIG_arg_fail(2)) SWIG_fail;
33672 {
33673 PyThreadState* __tstate = wxPyBeginAllowThreads();
33674 result = (bool)(arg1)->DoEraseBackground(arg2);
33675
33676 wxPyEndAllowThreads(__tstate);
33677 if (PyErr_Occurred()) SWIG_fail;
33678 }
33679 {
33680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33681 }
33682 return resultobj;
33683 fail:
33684 return NULL;
33685 }
33686
33687
33688 static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33689 PyObject *resultobj = NULL;
33690 wxPyControl *arg1 = (wxPyControl *) 0 ;
33691 int arg2 ;
33692 int arg3 ;
33693 int arg4 ;
33694 int arg5 ;
33695 PyObject * obj0 = 0 ;
33696 PyObject * obj1 = 0 ;
33697 PyObject * obj2 = 0 ;
33698 PyObject * obj3 = 0 ;
33699 PyObject * obj4 = 0 ;
33700 char *kwnames[] = {
33701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33702 };
33703
33704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33706 if (SWIG_arg_fail(1)) SWIG_fail;
33707 {
33708 arg2 = static_cast<int >(SWIG_As_int(obj1));
33709 if (SWIG_arg_fail(2)) SWIG_fail;
33710 }
33711 {
33712 arg3 = static_cast<int >(SWIG_As_int(obj2));
33713 if (SWIG_arg_fail(3)) SWIG_fail;
33714 }
33715 {
33716 arg4 = static_cast<int >(SWIG_As_int(obj3));
33717 if (SWIG_arg_fail(4)) SWIG_fail;
33718 }
33719 {
33720 arg5 = static_cast<int >(SWIG_As_int(obj4));
33721 if (SWIG_arg_fail(5)) SWIG_fail;
33722 }
33723 {
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
33725 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
33726
33727 wxPyEndAllowThreads(__tstate);
33728 if (PyErr_Occurred()) SWIG_fail;
33729 }
33730 Py_INCREF(Py_None); resultobj = Py_None;
33731 return resultobj;
33732 fail:
33733 return NULL;
33734 }
33735
33736
33737 static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
33738 PyObject *resultobj = NULL;
33739 wxPyControl *arg1 = (wxPyControl *) 0 ;
33740 int arg2 ;
33741 int arg3 ;
33742 int arg4 ;
33743 int arg5 ;
33744 int arg6 = (int) wxSIZE_AUTO ;
33745 PyObject * obj0 = 0 ;
33746 PyObject * obj1 = 0 ;
33747 PyObject * obj2 = 0 ;
33748 PyObject * obj3 = 0 ;
33749 PyObject * obj4 = 0 ;
33750 PyObject * obj5 = 0 ;
33751 char *kwnames[] = {
33752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33753 };
33754
33755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33757 if (SWIG_arg_fail(1)) SWIG_fail;
33758 {
33759 arg2 = static_cast<int >(SWIG_As_int(obj1));
33760 if (SWIG_arg_fail(2)) SWIG_fail;
33761 }
33762 {
33763 arg3 = static_cast<int >(SWIG_As_int(obj2));
33764 if (SWIG_arg_fail(3)) SWIG_fail;
33765 }
33766 {
33767 arg4 = static_cast<int >(SWIG_As_int(obj3));
33768 if (SWIG_arg_fail(4)) SWIG_fail;
33769 }
33770 {
33771 arg5 = static_cast<int >(SWIG_As_int(obj4));
33772 if (SWIG_arg_fail(5)) SWIG_fail;
33773 }
33774 if (obj5) {
33775 {
33776 arg6 = static_cast<int >(SWIG_As_int(obj5));
33777 if (SWIG_arg_fail(6)) SWIG_fail;
33778 }
33779 }
33780 {
33781 PyThreadState* __tstate = wxPyBeginAllowThreads();
33782 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
33783
33784 wxPyEndAllowThreads(__tstate);
33785 if (PyErr_Occurred()) SWIG_fail;
33786 }
33787 Py_INCREF(Py_None); resultobj = Py_None;
33788 return resultobj;
33789 fail:
33790 return NULL;
33791 }
33792
33793
33794 static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
33795 PyObject *resultobj = NULL;
33796 wxPyControl *arg1 = (wxPyControl *) 0 ;
33797 int arg2 ;
33798 int arg3 ;
33799 PyObject * obj0 = 0 ;
33800 PyObject * obj1 = 0 ;
33801 PyObject * obj2 = 0 ;
33802 char *kwnames[] = {
33803 (char *) "self",(char *) "width",(char *) "height", NULL
33804 };
33805
33806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail;
33809 {
33810 arg2 = static_cast<int >(SWIG_As_int(obj1));
33811 if (SWIG_arg_fail(2)) SWIG_fail;
33812 }
33813 {
33814 arg3 = static_cast<int >(SWIG_As_int(obj2));
33815 if (SWIG_arg_fail(3)) SWIG_fail;
33816 }
33817 {
33818 PyThreadState* __tstate = wxPyBeginAllowThreads();
33819 (arg1)->DoSetClientSize(arg2,arg3);
33820
33821 wxPyEndAllowThreads(__tstate);
33822 if (PyErr_Occurred()) SWIG_fail;
33823 }
33824 Py_INCREF(Py_None); resultobj = Py_None;
33825 return resultobj;
33826 fail:
33827 return NULL;
33828 }
33829
33830
33831 static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
33832 PyObject *resultobj = NULL;
33833 wxPyControl *arg1 = (wxPyControl *) 0 ;
33834 int arg2 ;
33835 int arg3 ;
33836 PyObject * obj0 = 0 ;
33837 PyObject * obj1 = 0 ;
33838 PyObject * obj2 = 0 ;
33839 char *kwnames[] = {
33840 (char *) "self",(char *) "x",(char *) "y", NULL
33841 };
33842
33843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33845 if (SWIG_arg_fail(1)) SWIG_fail;
33846 {
33847 arg2 = static_cast<int >(SWIG_As_int(obj1));
33848 if (SWIG_arg_fail(2)) SWIG_fail;
33849 }
33850 {
33851 arg3 = static_cast<int >(SWIG_As_int(obj2));
33852 if (SWIG_arg_fail(3)) SWIG_fail;
33853 }
33854 {
33855 PyThreadState* __tstate = wxPyBeginAllowThreads();
33856 (arg1)->DoSetVirtualSize(arg2,arg3);
33857
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 Py_INCREF(Py_None); resultobj = Py_None;
33862 return resultobj;
33863 fail:
33864 return NULL;
33865 }
33866
33867
33868 static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
33869 PyObject *resultobj = NULL;
33870 wxPyControl *arg1 = (wxPyControl *) 0 ;
33871 int *arg2 = (int *) 0 ;
33872 int *arg3 = (int *) 0 ;
33873 int temp2 ;
33874 int res2 = 0 ;
33875 int temp3 ;
33876 int res3 = 0 ;
33877 PyObject * obj0 = 0 ;
33878 char *kwnames[] = {
33879 (char *) "self", NULL
33880 };
33881
33882 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33883 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
33885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail;
33887 {
33888 PyThreadState* __tstate = wxPyBeginAllowThreads();
33889 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
33890
33891 wxPyEndAllowThreads(__tstate);
33892 if (PyErr_Occurred()) SWIG_fail;
33893 }
33894 Py_INCREF(Py_None); resultobj = Py_None;
33895 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33896 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33897 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33898 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33899 return resultobj;
33900 fail:
33901 return NULL;
33902 }
33903
33904
33905 static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
33906 PyObject *resultobj = NULL;
33907 wxPyControl *arg1 = (wxPyControl *) 0 ;
33908 int *arg2 = (int *) 0 ;
33909 int *arg3 = (int *) 0 ;
33910 int temp2 ;
33911 int res2 = 0 ;
33912 int temp3 ;
33913 int res3 = 0 ;
33914 PyObject * obj0 = 0 ;
33915 char *kwnames[] = {
33916 (char *) "self", NULL
33917 };
33918
33919 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33920 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
33922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33923 if (SWIG_arg_fail(1)) SWIG_fail;
33924 {
33925 PyThreadState* __tstate = wxPyBeginAllowThreads();
33926 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
33927
33928 wxPyEndAllowThreads(__tstate);
33929 if (PyErr_Occurred()) SWIG_fail;
33930 }
33931 Py_INCREF(Py_None); resultobj = Py_None;
33932 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33933 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33934 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33935 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33936 return resultobj;
33937 fail:
33938 return NULL;
33939 }
33940
33941
33942 static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33943 PyObject *resultobj = NULL;
33944 wxPyControl *arg1 = (wxPyControl *) 0 ;
33945 int *arg2 = (int *) 0 ;
33946 int *arg3 = (int *) 0 ;
33947 int temp2 ;
33948 int res2 = 0 ;
33949 int temp3 ;
33950 int res3 = 0 ;
33951 PyObject * obj0 = 0 ;
33952 char *kwnames[] = {
33953 (char *) "self", NULL
33954 };
33955
33956 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33957 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
33959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33960 if (SWIG_arg_fail(1)) SWIG_fail;
33961 {
33962 PyThreadState* __tstate = wxPyBeginAllowThreads();
33963 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
33964
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
33968 Py_INCREF(Py_None); resultobj = Py_None;
33969 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33970 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33971 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33972 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33973 return resultobj;
33974 fail:
33975 return NULL;
33976 }
33977
33978
33979 static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
33980 PyObject *resultobj = NULL;
33981 wxPyControl *arg1 = (wxPyControl *) 0 ;
33982 wxSize result;
33983 PyObject * obj0 = 0 ;
33984 char *kwnames[] = {
33985 (char *) "self", NULL
33986 };
33987
33988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
33989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail;
33991 {
33992 PyThreadState* __tstate = wxPyBeginAllowThreads();
33993 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
33994
33995 wxPyEndAllowThreads(__tstate);
33996 if (PyErr_Occurred()) SWIG_fail;
33997 }
33998 {
33999 wxSize * resultptr;
34000 resultptr = new wxSize(static_cast<wxSize & >(result));
34001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34002 }
34003 return resultobj;
34004 fail:
34005 return NULL;
34006 }
34007
34008
34009 static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
34010 PyObject *resultobj = NULL;
34011 wxPyControl *arg1 = (wxPyControl *) 0 ;
34012 wxSize result;
34013 PyObject * obj0 = 0 ;
34014 char *kwnames[] = {
34015 (char *) "self", NULL
34016 };
34017
34018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
34019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail;
34021 {
34022 PyThreadState* __tstate = wxPyBeginAllowThreads();
34023 result = ((wxPyControl const *)arg1)->DoGetBestSize();
34024
34025 wxPyEndAllowThreads(__tstate);
34026 if (PyErr_Occurred()) SWIG_fail;
34027 }
34028 {
34029 wxSize * resultptr;
34030 resultptr = new wxSize(static_cast<wxSize & >(result));
34031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34032 }
34033 return resultobj;
34034 fail:
34035 return NULL;
34036 }
34037
34038
34039 static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
34040 PyObject *resultobj = NULL;
34041 wxPyControl *arg1 = (wxPyControl *) 0 ;
34042 PyObject * obj0 = 0 ;
34043 char *kwnames[] = {
34044 (char *) "self", NULL
34045 };
34046
34047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
34048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34049 if (SWIG_arg_fail(1)) SWIG_fail;
34050 {
34051 PyThreadState* __tstate = wxPyBeginAllowThreads();
34052 (arg1)->InitDialog();
34053
34054 wxPyEndAllowThreads(__tstate);
34055 if (PyErr_Occurred()) SWIG_fail;
34056 }
34057 Py_INCREF(Py_None); resultobj = Py_None;
34058 return resultobj;
34059 fail:
34060 return NULL;
34061 }
34062
34063
34064 static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34065 PyObject *resultobj = NULL;
34066 wxPyControl *arg1 = (wxPyControl *) 0 ;
34067 bool result;
34068 PyObject * obj0 = 0 ;
34069 char *kwnames[] = {
34070 (char *) "self", NULL
34071 };
34072
34073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
34074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34075 if (SWIG_arg_fail(1)) SWIG_fail;
34076 {
34077 PyThreadState* __tstate = wxPyBeginAllowThreads();
34078 result = (bool)(arg1)->TransferDataToWindow();
34079
34080 wxPyEndAllowThreads(__tstate);
34081 if (PyErr_Occurred()) SWIG_fail;
34082 }
34083 {
34084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34085 }
34086 return resultobj;
34087 fail:
34088 return NULL;
34089 }
34090
34091
34092 static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34093 PyObject *resultobj = NULL;
34094 wxPyControl *arg1 = (wxPyControl *) 0 ;
34095 bool result;
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
34104 {
34105 PyThreadState* __tstate = wxPyBeginAllowThreads();
34106 result = (bool)(arg1)->TransferDataFromWindow();
34107
34108 wxPyEndAllowThreads(__tstate);
34109 if (PyErr_Occurred()) SWIG_fail;
34110 }
34111 {
34112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34113 }
34114 return resultobj;
34115 fail:
34116 return NULL;
34117 }
34118
34119
34120 static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
34121 PyObject *resultobj = NULL;
34122 wxPyControl *arg1 = (wxPyControl *) 0 ;
34123 bool result;
34124 PyObject * obj0 = 0 ;
34125 char *kwnames[] = {
34126 (char *) "self", NULL
34127 };
34128
34129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
34130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail;
34132 {
34133 PyThreadState* __tstate = wxPyBeginAllowThreads();
34134 result = (bool)(arg1)->Validate();
34135
34136 wxPyEndAllowThreads(__tstate);
34137 if (PyErr_Occurred()) SWIG_fail;
34138 }
34139 {
34140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34141 }
34142 return resultobj;
34143 fail:
34144 return NULL;
34145 }
34146
34147
34148 static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
34149 PyObject *resultobj = NULL;
34150 wxPyControl *arg1 = (wxPyControl *) 0 ;
34151 bool result;
34152 PyObject * obj0 = 0 ;
34153 char *kwnames[] = {
34154 (char *) "self", NULL
34155 };
34156
34157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
34158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail;
34160 {
34161 PyThreadState* __tstate = wxPyBeginAllowThreads();
34162 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
34163
34164 wxPyEndAllowThreads(__tstate);
34165 if (PyErr_Occurred()) SWIG_fail;
34166 }
34167 {
34168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34169 }
34170 return resultobj;
34171 fail:
34172 return NULL;
34173 }
34174
34175
34176 static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
34177 PyObject *resultobj = NULL;
34178 wxPyControl *arg1 = (wxPyControl *) 0 ;
34179 bool result;
34180 PyObject * obj0 = 0 ;
34181 char *kwnames[] = {
34182 (char *) "self", NULL
34183 };
34184
34185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
34186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail;
34188 {
34189 PyThreadState* __tstate = wxPyBeginAllowThreads();
34190 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
34191
34192 wxPyEndAllowThreads(__tstate);
34193 if (PyErr_Occurred()) SWIG_fail;
34194 }
34195 {
34196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34197 }
34198 return resultobj;
34199 fail:
34200 return NULL;
34201 }
34202
34203
34204 static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
34205 PyObject *resultobj = NULL;
34206 wxPyControl *arg1 = (wxPyControl *) 0 ;
34207 wxSize result;
34208 PyObject * obj0 = 0 ;
34209 char *kwnames[] = {
34210 (char *) "self", NULL
34211 };
34212
34213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
34214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34215 if (SWIG_arg_fail(1)) SWIG_fail;
34216 {
34217 PyThreadState* __tstate = wxPyBeginAllowThreads();
34218 result = ((wxPyControl const *)arg1)->GetMaxSize();
34219
34220 wxPyEndAllowThreads(__tstate);
34221 if (PyErr_Occurred()) SWIG_fail;
34222 }
34223 {
34224 wxSize * resultptr;
34225 resultptr = new wxSize(static_cast<wxSize & >(result));
34226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34227 }
34228 return resultobj;
34229 fail:
34230 return NULL;
34231 }
34232
34233
34234 static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
34235 PyObject *resultobj = NULL;
34236 wxPyControl *arg1 = (wxPyControl *) 0 ;
34237 wxWindow *arg2 = (wxWindow *) 0 ;
34238 PyObject * obj0 = 0 ;
34239 PyObject * obj1 = 0 ;
34240 char *kwnames[] = {
34241 (char *) "self",(char *) "child", NULL
34242 };
34243
34244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
34245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail;
34247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34248 if (SWIG_arg_fail(2)) SWIG_fail;
34249 {
34250 PyThreadState* __tstate = wxPyBeginAllowThreads();
34251 (arg1)->AddChild(arg2);
34252
34253 wxPyEndAllowThreads(__tstate);
34254 if (PyErr_Occurred()) SWIG_fail;
34255 }
34256 Py_INCREF(Py_None); resultobj = Py_None;
34257 return resultobj;
34258 fail:
34259 return NULL;
34260 }
34261
34262
34263 static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
34264 PyObject *resultobj = NULL;
34265 wxPyControl *arg1 = (wxPyControl *) 0 ;
34266 wxWindow *arg2 = (wxWindow *) 0 ;
34267 PyObject * obj0 = 0 ;
34268 PyObject * obj1 = 0 ;
34269 char *kwnames[] = {
34270 (char *) "self",(char *) "child", NULL
34271 };
34272
34273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
34274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail;
34276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34277 if (SWIG_arg_fail(2)) SWIG_fail;
34278 {
34279 PyThreadState* __tstate = wxPyBeginAllowThreads();
34280 (arg1)->RemoveChild(arg2);
34281
34282 wxPyEndAllowThreads(__tstate);
34283 if (PyErr_Occurred()) SWIG_fail;
34284 }
34285 Py_INCREF(Py_None); resultobj = Py_None;
34286 return resultobj;
34287 fail:
34288 return NULL;
34289 }
34290
34291
34292 static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
34293 PyObject *resultobj = NULL;
34294 wxPyControl *arg1 = (wxPyControl *) 0 ;
34295 bool result;
34296 PyObject * obj0 = 0 ;
34297 char *kwnames[] = {
34298 (char *) "self", NULL
34299 };
34300
34301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
34302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34303 if (SWIG_arg_fail(1)) SWIG_fail;
34304 {
34305 PyThreadState* __tstate = wxPyBeginAllowThreads();
34306 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
34307
34308 wxPyEndAllowThreads(__tstate);
34309 if (PyErr_Occurred()) SWIG_fail;
34310 }
34311 {
34312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34313 }
34314 return resultobj;
34315 fail:
34316 return NULL;
34317 }
34318
34319
34320 static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
34321 PyObject *resultobj = NULL;
34322 wxPyControl *arg1 = (wxPyControl *) 0 ;
34323 wxVisualAttributes result;
34324 PyObject * obj0 = 0 ;
34325 char *kwnames[] = {
34326 (char *) "self", NULL
34327 };
34328
34329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
34330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34331 if (SWIG_arg_fail(1)) SWIG_fail;
34332 {
34333 PyThreadState* __tstate = wxPyBeginAllowThreads();
34334 result = (arg1)->GetDefaultAttributes();
34335
34336 wxPyEndAllowThreads(__tstate);
34337 if (PyErr_Occurred()) SWIG_fail;
34338 }
34339 {
34340 wxVisualAttributes * resultptr;
34341 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
34342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34343 }
34344 return resultobj;
34345 fail:
34346 return NULL;
34347 }
34348
34349
34350 static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
34351 PyObject *resultobj = NULL;
34352 wxPyControl *arg1 = (wxPyControl *) 0 ;
34353 PyObject * obj0 = 0 ;
34354 char *kwnames[] = {
34355 (char *) "self", NULL
34356 };
34357
34358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
34359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail;
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
34363 (arg1)->OnInternalIdle();
34364
34365 wxPyEndAllowThreads(__tstate);
34366 if (PyErr_Occurred()) SWIG_fail;
34367 }
34368 Py_INCREF(Py_None); resultobj = Py_None;
34369 return resultobj;
34370 fail:
34371 return NULL;
34372 }
34373
34374
34375 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
34376 PyObject *obj;
34377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34378 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34379 Py_INCREF(obj);
34380 return Py_BuildValue((char *)"");
34381 }
34382 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
34383 PyObject *resultobj = NULL;
34384 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34385 int arg2 = (int) 0 ;
34386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34388 wxHelpEvent *result;
34389 wxPoint temp3 ;
34390 PyObject * obj0 = 0 ;
34391 PyObject * obj1 = 0 ;
34392 PyObject * obj2 = 0 ;
34393 char *kwnames[] = {
34394 (char *) "type",(char *) "winid",(char *) "pt", NULL
34395 };
34396
34397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34398 if (obj0) {
34399 {
34400 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
34401 if (SWIG_arg_fail(1)) SWIG_fail;
34402 }
34403 }
34404 if (obj1) {
34405 {
34406 arg2 = static_cast<int >(SWIG_As_int(obj1));
34407 if (SWIG_arg_fail(2)) SWIG_fail;
34408 }
34409 }
34410 if (obj2) {
34411 {
34412 arg3 = &temp3;
34413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34414 }
34415 }
34416 {
34417 PyThreadState* __tstate = wxPyBeginAllowThreads();
34418 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34419
34420 wxPyEndAllowThreads(__tstate);
34421 if (PyErr_Occurred()) SWIG_fail;
34422 }
34423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34424 return resultobj;
34425 fail:
34426 return NULL;
34427 }
34428
34429
34430 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34431 PyObject *resultobj = NULL;
34432 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34433 wxPoint result;
34434 PyObject * obj0 = 0 ;
34435 char *kwnames[] = {
34436 (char *) "self", NULL
34437 };
34438
34439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
34440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34441 if (SWIG_arg_fail(1)) SWIG_fail;
34442 {
34443 PyThreadState* __tstate = wxPyBeginAllowThreads();
34444 result = ((wxHelpEvent const *)arg1)->GetPosition();
34445
34446 wxPyEndAllowThreads(__tstate);
34447 if (PyErr_Occurred()) SWIG_fail;
34448 }
34449 {
34450 wxPoint * resultptr;
34451 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
34452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34453 }
34454 return resultobj;
34455 fail:
34456 return NULL;
34457 }
34458
34459
34460 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34461 PyObject *resultobj = NULL;
34462 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34463 wxPoint *arg2 = 0 ;
34464 wxPoint temp2 ;
34465 PyObject * obj0 = 0 ;
34466 PyObject * obj1 = 0 ;
34467 char *kwnames[] = {
34468 (char *) "self",(char *) "pos", NULL
34469 };
34470
34471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
34472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34473 if (SWIG_arg_fail(1)) SWIG_fail;
34474 {
34475 arg2 = &temp2;
34476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34477 }
34478 {
34479 PyThreadState* __tstate = wxPyBeginAllowThreads();
34480 (arg1)->SetPosition((wxPoint const &)*arg2);
34481
34482 wxPyEndAllowThreads(__tstate);
34483 if (PyErr_Occurred()) SWIG_fail;
34484 }
34485 Py_INCREF(Py_None); resultobj = Py_None;
34486 return resultobj;
34487 fail:
34488 return NULL;
34489 }
34490
34491
34492 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34493 PyObject *resultobj = NULL;
34494 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34495 wxString *result;
34496 PyObject * obj0 = 0 ;
34497 char *kwnames[] = {
34498 (char *) "self", NULL
34499 };
34500
34501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
34502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail;
34504 {
34505 PyThreadState* __tstate = wxPyBeginAllowThreads();
34506 {
34507 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34508 result = (wxString *) &_result_ref;
34509 }
34510
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
34514 {
34515 #if wxUSE_UNICODE
34516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34517 #else
34518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34519 #endif
34520 }
34521 return resultobj;
34522 fail:
34523 return NULL;
34524 }
34525
34526
34527 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34528 PyObject *resultobj = NULL;
34529 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34530 wxString *arg2 = 0 ;
34531 bool temp2 = false ;
34532 PyObject * obj0 = 0 ;
34533 PyObject * obj1 = 0 ;
34534 char *kwnames[] = {
34535 (char *) "self",(char *) "link", NULL
34536 };
34537
34538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
34539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail;
34541 {
34542 arg2 = wxString_in_helper(obj1);
34543 if (arg2 == NULL) SWIG_fail;
34544 temp2 = true;
34545 }
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
34548 (arg1)->SetLink((wxString const &)*arg2);
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 Py_INCREF(Py_None); resultobj = Py_None;
34554 {
34555 if (temp2)
34556 delete arg2;
34557 }
34558 return resultobj;
34559 fail:
34560 {
34561 if (temp2)
34562 delete arg2;
34563 }
34564 return NULL;
34565 }
34566
34567
34568 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34569 PyObject *resultobj = NULL;
34570 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34571 wxString *result;
34572 PyObject * obj0 = 0 ;
34573 char *kwnames[] = {
34574 (char *) "self", NULL
34575 };
34576
34577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
34578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34579 if (SWIG_arg_fail(1)) SWIG_fail;
34580 {
34581 PyThreadState* __tstate = wxPyBeginAllowThreads();
34582 {
34583 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34584 result = (wxString *) &_result_ref;
34585 }
34586
34587 wxPyEndAllowThreads(__tstate);
34588 if (PyErr_Occurred()) SWIG_fail;
34589 }
34590 {
34591 #if wxUSE_UNICODE
34592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34593 #else
34594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34595 #endif
34596 }
34597 return resultobj;
34598 fail:
34599 return NULL;
34600 }
34601
34602
34603 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34604 PyObject *resultobj = NULL;
34605 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34606 wxString *arg2 = 0 ;
34607 bool temp2 = false ;
34608 PyObject * obj0 = 0 ;
34609 PyObject * obj1 = 0 ;
34610 char *kwnames[] = {
34611 (char *) "self",(char *) "target", NULL
34612 };
34613
34614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
34615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34616 if (SWIG_arg_fail(1)) SWIG_fail;
34617 {
34618 arg2 = wxString_in_helper(obj1);
34619 if (arg2 == NULL) SWIG_fail;
34620 temp2 = true;
34621 }
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 (arg1)->SetTarget((wxString const &)*arg2);
34625
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 Py_INCREF(Py_None); resultobj = Py_None;
34630 {
34631 if (temp2)
34632 delete arg2;
34633 }
34634 return resultobj;
34635 fail:
34636 {
34637 if (temp2)
34638 delete arg2;
34639 }
34640 return NULL;
34641 }
34642
34643
34644 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
34645 PyObject *obj;
34646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34647 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34648 Py_INCREF(obj);
34649 return Py_BuildValue((char *)"");
34650 }
34651 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34652 PyObject *resultobj = NULL;
34653 wxWindow *arg1 = (wxWindow *) NULL ;
34654 bool arg2 = (bool) true ;
34655 wxContextHelp *result;
34656 PyObject * obj0 = 0 ;
34657 PyObject * obj1 = 0 ;
34658 char *kwnames[] = {
34659 (char *) "window",(char *) "doNow", NULL
34660 };
34661
34662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34663 if (obj0) {
34664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail;
34666 }
34667 if (obj1) {
34668 {
34669 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
34670 if (SWIG_arg_fail(2)) SWIG_fail;
34671 }
34672 }
34673 {
34674 if (!wxPyCheckForApp()) SWIG_fail;
34675 PyThreadState* __tstate = wxPyBeginAllowThreads();
34676 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34677
34678 wxPyEndAllowThreads(__tstate);
34679 if (PyErr_Occurred()) SWIG_fail;
34680 }
34681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34682 return resultobj;
34683 fail:
34684 return NULL;
34685 }
34686
34687
34688 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34689 PyObject *resultobj = NULL;
34690 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34691 PyObject * obj0 = 0 ;
34692 char *kwnames[] = {
34693 (char *) "self", NULL
34694 };
34695
34696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
34697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34698 if (SWIG_arg_fail(1)) SWIG_fail;
34699 {
34700 PyThreadState* __tstate = wxPyBeginAllowThreads();
34701 delete arg1;
34702
34703 wxPyEndAllowThreads(__tstate);
34704 if (PyErr_Occurred()) SWIG_fail;
34705 }
34706 Py_INCREF(Py_None); resultobj = Py_None;
34707 return resultobj;
34708 fail:
34709 return NULL;
34710 }
34711
34712
34713 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34714 PyObject *resultobj = NULL;
34715 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34716 wxWindow *arg2 = (wxWindow *) NULL ;
34717 bool result;
34718 PyObject * obj0 = 0 ;
34719 PyObject * obj1 = 0 ;
34720 char *kwnames[] = {
34721 (char *) "self",(char *) "window", NULL
34722 };
34723
34724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
34725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34726 if (SWIG_arg_fail(1)) SWIG_fail;
34727 if (obj1) {
34728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34729 if (SWIG_arg_fail(2)) SWIG_fail;
34730 }
34731 {
34732 PyThreadState* __tstate = wxPyBeginAllowThreads();
34733 result = (bool)(arg1)->BeginContextHelp(arg2);
34734
34735 wxPyEndAllowThreads(__tstate);
34736 if (PyErr_Occurred()) SWIG_fail;
34737 }
34738 {
34739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34740 }
34741 return resultobj;
34742 fail:
34743 return NULL;
34744 }
34745
34746
34747 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34748 PyObject *resultobj = NULL;
34749 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34750 bool result;
34751 PyObject * obj0 = 0 ;
34752 char *kwnames[] = {
34753 (char *) "self", NULL
34754 };
34755
34756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
34757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34758 if (SWIG_arg_fail(1)) SWIG_fail;
34759 {
34760 PyThreadState* __tstate = wxPyBeginAllowThreads();
34761 result = (bool)(arg1)->EndContextHelp();
34762
34763 wxPyEndAllowThreads(__tstate);
34764 if (PyErr_Occurred()) SWIG_fail;
34765 }
34766 {
34767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34768 }
34769 return resultobj;
34770 fail:
34771 return NULL;
34772 }
34773
34774
34775 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
34776 PyObject *obj;
34777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34778 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34779 Py_INCREF(obj);
34780 return Py_BuildValue((char *)"");
34781 }
34782 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj = NULL;
34784 wxWindow *arg1 = (wxWindow *) 0 ;
34785 int arg2 = (int) wxID_CONTEXT_HELP ;
34786 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34787 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34788 wxSize const &arg4_defvalue = wxDefaultSize ;
34789 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34790 long arg5 = (long) wxBU_AUTODRAW ;
34791 wxContextHelpButton *result;
34792 wxPoint temp3 ;
34793 wxSize temp4 ;
34794 PyObject * obj0 = 0 ;
34795 PyObject * obj1 = 0 ;
34796 PyObject * obj2 = 0 ;
34797 PyObject * obj3 = 0 ;
34798 PyObject * obj4 = 0 ;
34799 char *kwnames[] = {
34800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34801 };
34802
34803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34805 if (SWIG_arg_fail(1)) SWIG_fail;
34806 if (obj1) {
34807 {
34808 arg2 = static_cast<int >(SWIG_As_int(obj1));
34809 if (SWIG_arg_fail(2)) SWIG_fail;
34810 }
34811 }
34812 if (obj2) {
34813 {
34814 arg3 = &temp3;
34815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34816 }
34817 }
34818 if (obj3) {
34819 {
34820 arg4 = &temp4;
34821 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34822 }
34823 }
34824 if (obj4) {
34825 {
34826 arg5 = static_cast<long >(SWIG_As_long(obj4));
34827 if (SWIG_arg_fail(5)) SWIG_fail;
34828 }
34829 }
34830 {
34831 if (!wxPyCheckForApp()) SWIG_fail;
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34834
34835 wxPyEndAllowThreads(__tstate);
34836 if (PyErr_Occurred()) SWIG_fail;
34837 }
34838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
34839 return resultobj;
34840 fail:
34841 return NULL;
34842 }
34843
34844
34845 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
34846 PyObject *obj;
34847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34848 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34849 Py_INCREF(obj);
34850 return Py_BuildValue((char *)"");
34851 }
34852 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
34853 PyObject *resultobj = NULL;
34854 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34855 wxHelpProvider *result;
34856 PyObject * obj0 = 0 ;
34857 char *kwnames[] = {
34858 (char *) "helpProvider", NULL
34859 };
34860
34861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
34862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
34863 if (SWIG_arg_fail(1)) SWIG_fail;
34864 {
34865 PyThreadState* __tstate = wxPyBeginAllowThreads();
34866 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
34867
34868 wxPyEndAllowThreads(__tstate);
34869 if (PyErr_Occurred()) SWIG_fail;
34870 }
34871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
34872 return resultobj;
34873 fail:
34874 return NULL;
34875 }
34876
34877
34878 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
34879 PyObject *resultobj = NULL;
34880 wxHelpProvider *result;
34881 char *kwnames[] = {
34882 NULL
34883 };
34884
34885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
34886 {
34887 PyThreadState* __tstate = wxPyBeginAllowThreads();
34888 result = (wxHelpProvider *)wxHelpProvider::Get();
34889
34890 wxPyEndAllowThreads(__tstate);
34891 if (PyErr_Occurred()) SWIG_fail;
34892 }
34893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
34894 return resultobj;
34895 fail:
34896 return NULL;
34897 }
34898
34899
34900 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34901 PyObject *resultobj = NULL;
34902 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34903 wxWindow *arg2 = (wxWindow *) 0 ;
34904 wxString result;
34905 PyObject * obj0 = 0 ;
34906 PyObject * obj1 = 0 ;
34907 char *kwnames[] = {
34908 (char *) "self",(char *) "window", NULL
34909 };
34910
34911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
34912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail;
34914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34915 if (SWIG_arg_fail(2)) SWIG_fail;
34916 {
34917 PyThreadState* __tstate = wxPyBeginAllowThreads();
34918 result = (arg1)->GetHelp((wxWindow const *)arg2);
34919
34920 wxPyEndAllowThreads(__tstate);
34921 if (PyErr_Occurred()) SWIG_fail;
34922 }
34923 {
34924 #if wxUSE_UNICODE
34925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34926 #else
34927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34928 #endif
34929 }
34930 return resultobj;
34931 fail:
34932 return NULL;
34933 }
34934
34935
34936 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34937 PyObject *resultobj = NULL;
34938 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34939 wxWindow *arg2 = (wxWindow *) 0 ;
34940 bool result;
34941 PyObject * obj0 = 0 ;
34942 PyObject * obj1 = 0 ;
34943 char *kwnames[] = {
34944 (char *) "self",(char *) "window", NULL
34945 };
34946
34947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
34948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34949 if (SWIG_arg_fail(1)) SWIG_fail;
34950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34951 if (SWIG_arg_fail(2)) SWIG_fail;
34952 {
34953 PyThreadState* __tstate = wxPyBeginAllowThreads();
34954 result = (bool)(arg1)->ShowHelp(arg2);
34955
34956 wxPyEndAllowThreads(__tstate);
34957 if (PyErr_Occurred()) SWIG_fail;
34958 }
34959 {
34960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34961 }
34962 return resultobj;
34963 fail:
34964 return NULL;
34965 }
34966
34967
34968 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34969 PyObject *resultobj = NULL;
34970 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34971 wxWindow *arg2 = (wxWindow *) 0 ;
34972 wxString *arg3 = 0 ;
34973 bool temp3 = false ;
34974 PyObject * obj0 = 0 ;
34975 PyObject * obj1 = 0 ;
34976 PyObject * obj2 = 0 ;
34977 char *kwnames[] = {
34978 (char *) "self",(char *) "window",(char *) "text", NULL
34979 };
34980
34981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
34982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34983 if (SWIG_arg_fail(1)) SWIG_fail;
34984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34985 if (SWIG_arg_fail(2)) SWIG_fail;
34986 {
34987 arg3 = wxString_in_helper(obj2);
34988 if (arg3 == NULL) SWIG_fail;
34989 temp3 = true;
34990 }
34991 {
34992 PyThreadState* __tstate = wxPyBeginAllowThreads();
34993 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34994
34995 wxPyEndAllowThreads(__tstate);
34996 if (PyErr_Occurred()) SWIG_fail;
34997 }
34998 Py_INCREF(Py_None); resultobj = Py_None;
34999 {
35000 if (temp3)
35001 delete arg3;
35002 }
35003 return resultobj;
35004 fail:
35005 {
35006 if (temp3)
35007 delete arg3;
35008 }
35009 return NULL;
35010 }
35011
35012
35013 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
35014 PyObject *resultobj = NULL;
35015 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35016 int arg2 ;
35017 wxString *arg3 = 0 ;
35018 bool temp3 = false ;
35019 PyObject * obj0 = 0 ;
35020 PyObject * obj1 = 0 ;
35021 PyObject * obj2 = 0 ;
35022 char *kwnames[] = {
35023 (char *) "self",(char *) "id",(char *) "text", NULL
35024 };
35025
35026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
35027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35028 if (SWIG_arg_fail(1)) SWIG_fail;
35029 {
35030 arg2 = static_cast<int >(SWIG_As_int(obj1));
35031 if (SWIG_arg_fail(2)) SWIG_fail;
35032 }
35033 {
35034 arg3 = wxString_in_helper(obj2);
35035 if (arg3 == NULL) SWIG_fail;
35036 temp3 = true;
35037 }
35038 {
35039 PyThreadState* __tstate = wxPyBeginAllowThreads();
35040 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35041
35042 wxPyEndAllowThreads(__tstate);
35043 if (PyErr_Occurred()) SWIG_fail;
35044 }
35045 Py_INCREF(Py_None); resultobj = Py_None;
35046 {
35047 if (temp3)
35048 delete arg3;
35049 }
35050 return resultobj;
35051 fail:
35052 {
35053 if (temp3)
35054 delete arg3;
35055 }
35056 return NULL;
35057 }
35058
35059
35060 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
35061 PyObject *resultobj = NULL;
35062 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35063 wxWindow *arg2 = (wxWindow *) 0 ;
35064 PyObject * obj0 = 0 ;
35065 PyObject * obj1 = 0 ;
35066 char *kwnames[] = {
35067 (char *) "self",(char *) "window", NULL
35068 };
35069
35070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
35071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35072 if (SWIG_arg_fail(1)) SWIG_fail;
35073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35074 if (SWIG_arg_fail(2)) SWIG_fail;
35075 {
35076 PyThreadState* __tstate = wxPyBeginAllowThreads();
35077 (arg1)->RemoveHelp(arg2);
35078
35079 wxPyEndAllowThreads(__tstate);
35080 if (PyErr_Occurred()) SWIG_fail;
35081 }
35082 Py_INCREF(Py_None); resultobj = Py_None;
35083 return resultobj;
35084 fail:
35085 return NULL;
35086 }
35087
35088
35089 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
35090 PyObject *resultobj = NULL;
35091 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35092 PyObject * obj0 = 0 ;
35093 char *kwnames[] = {
35094 (char *) "self", NULL
35095 };
35096
35097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
35098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail;
35100 {
35101 PyThreadState* __tstate = wxPyBeginAllowThreads();
35102 wxHelpProvider_Destroy(arg1);
35103
35104 wxPyEndAllowThreads(__tstate);
35105 if (PyErr_Occurred()) SWIG_fail;
35106 }
35107 Py_INCREF(Py_None); resultobj = Py_None;
35108 return resultobj;
35109 fail:
35110 return NULL;
35111 }
35112
35113
35114 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
35115 PyObject *obj;
35116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35117 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35118 Py_INCREF(obj);
35119 return Py_BuildValue((char *)"");
35120 }
35121 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
35122 PyObject *resultobj = NULL;
35123 wxSimpleHelpProvider *result;
35124 char *kwnames[] = {
35125 NULL
35126 };
35127
35128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35129 {
35130 PyThreadState* __tstate = wxPyBeginAllowThreads();
35131 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35132
35133 wxPyEndAllowThreads(__tstate);
35134 if (PyErr_Occurred()) SWIG_fail;
35135 }
35136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35137 return resultobj;
35138 fail:
35139 return NULL;
35140 }
35141
35142
35143 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
35144 PyObject *obj;
35145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35146 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35147 Py_INCREF(obj);
35148 return Py_BuildValue((char *)"");
35149 }
35150 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35151 PyObject *resultobj = NULL;
35152 wxBitmap *arg1 = 0 ;
35153 wxCursor const &arg2_defvalue = wxNullCursor ;
35154 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35155 wxGenericDragImage *result;
35156 PyObject * obj0 = 0 ;
35157 PyObject * obj1 = 0 ;
35158 char *kwnames[] = {
35159 (char *) "image",(char *) "cursor", NULL
35160 };
35161
35162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
35163 {
35164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35165 if (SWIG_arg_fail(1)) SWIG_fail;
35166 if (arg1 == NULL) {
35167 SWIG_null_ref("wxBitmap");
35168 }
35169 if (SWIG_arg_fail(1)) SWIG_fail;
35170 }
35171 if (obj1) {
35172 {
35173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35174 if (SWIG_arg_fail(2)) SWIG_fail;
35175 if (arg2 == NULL) {
35176 SWIG_null_ref("wxCursor");
35177 }
35178 if (SWIG_arg_fail(2)) SWIG_fail;
35179 }
35180 }
35181 {
35182 if (!wxPyCheckForApp()) SWIG_fail;
35183 PyThreadState* __tstate = wxPyBeginAllowThreads();
35184 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35185
35186 wxPyEndAllowThreads(__tstate);
35187 if (PyErr_Occurred()) SWIG_fail;
35188 }
35189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35190 return resultobj;
35191 fail:
35192 return NULL;
35193 }
35194
35195
35196 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
35197 PyObject *resultobj = NULL;
35198 wxIcon *arg1 = 0 ;
35199 wxCursor const &arg2_defvalue = wxNullCursor ;
35200 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35201 wxGenericDragImage *result;
35202 PyObject * obj0 = 0 ;
35203 PyObject * obj1 = 0 ;
35204 char *kwnames[] = {
35205 (char *) "image",(char *) "cursor", NULL
35206 };
35207
35208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
35209 {
35210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35211 if (SWIG_arg_fail(1)) SWIG_fail;
35212 if (arg1 == NULL) {
35213 SWIG_null_ref("wxIcon");
35214 }
35215 if (SWIG_arg_fail(1)) SWIG_fail;
35216 }
35217 if (obj1) {
35218 {
35219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35220 if (SWIG_arg_fail(2)) SWIG_fail;
35221 if (arg2 == NULL) {
35222 SWIG_null_ref("wxCursor");
35223 }
35224 if (SWIG_arg_fail(2)) SWIG_fail;
35225 }
35226 }
35227 {
35228 if (!wxPyCheckForApp()) SWIG_fail;
35229 PyThreadState* __tstate = wxPyBeginAllowThreads();
35230 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35231
35232 wxPyEndAllowThreads(__tstate);
35233 if (PyErr_Occurred()) SWIG_fail;
35234 }
35235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35236 return resultobj;
35237 fail:
35238 return NULL;
35239 }
35240
35241
35242 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
35243 PyObject *resultobj = NULL;
35244 wxString *arg1 = 0 ;
35245 wxCursor const &arg2_defvalue = wxNullCursor ;
35246 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35247 wxGenericDragImage *result;
35248 bool temp1 = false ;
35249 PyObject * obj0 = 0 ;
35250 PyObject * obj1 = 0 ;
35251 char *kwnames[] = {
35252 (char *) "str",(char *) "cursor", NULL
35253 };
35254
35255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35256 {
35257 arg1 = wxString_in_helper(obj0);
35258 if (arg1 == NULL) SWIG_fail;
35259 temp1 = true;
35260 }
35261 if (obj1) {
35262 {
35263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35264 if (SWIG_arg_fail(2)) SWIG_fail;
35265 if (arg2 == NULL) {
35266 SWIG_null_ref("wxCursor");
35267 }
35268 if (SWIG_arg_fail(2)) SWIG_fail;
35269 }
35270 }
35271 {
35272 if (!wxPyCheckForApp()) SWIG_fail;
35273 PyThreadState* __tstate = wxPyBeginAllowThreads();
35274 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35275
35276 wxPyEndAllowThreads(__tstate);
35277 if (PyErr_Occurred()) SWIG_fail;
35278 }
35279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35280 {
35281 if (temp1)
35282 delete arg1;
35283 }
35284 return resultobj;
35285 fail:
35286 {
35287 if (temp1)
35288 delete arg1;
35289 }
35290 return NULL;
35291 }
35292
35293
35294 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
35295 PyObject *resultobj = NULL;
35296 wxPyTreeCtrl *arg1 = 0 ;
35297 wxTreeItemId *arg2 = 0 ;
35298 wxGenericDragImage *result;
35299 PyObject * obj0 = 0 ;
35300 PyObject * obj1 = 0 ;
35301 char *kwnames[] = {
35302 (char *) "treeCtrl",(char *) "id", NULL
35303 };
35304
35305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
35306 {
35307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail;
35309 if (arg1 == NULL) {
35310 SWIG_null_ref("wxPyTreeCtrl");
35311 }
35312 if (SWIG_arg_fail(1)) SWIG_fail;
35313 }
35314 {
35315 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35316 if (SWIG_arg_fail(2)) SWIG_fail;
35317 if (arg2 == NULL) {
35318 SWIG_null_ref("wxTreeItemId");
35319 }
35320 if (SWIG_arg_fail(2)) SWIG_fail;
35321 }
35322 {
35323 if (!wxPyCheckForApp()) SWIG_fail;
35324 PyThreadState* __tstate = wxPyBeginAllowThreads();
35325 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35326
35327 wxPyEndAllowThreads(__tstate);
35328 if (PyErr_Occurred()) SWIG_fail;
35329 }
35330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35331 return resultobj;
35332 fail:
35333 return NULL;
35334 }
35335
35336
35337 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
35338 PyObject *resultobj = NULL;
35339 wxPyListCtrl *arg1 = 0 ;
35340 long arg2 ;
35341 wxGenericDragImage *result;
35342 PyObject * obj0 = 0 ;
35343 PyObject * obj1 = 0 ;
35344 char *kwnames[] = {
35345 (char *) "listCtrl",(char *) "id", NULL
35346 };
35347
35348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
35349 {
35350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35351 if (SWIG_arg_fail(1)) SWIG_fail;
35352 if (arg1 == NULL) {
35353 SWIG_null_ref("wxPyListCtrl");
35354 }
35355 if (SWIG_arg_fail(1)) SWIG_fail;
35356 }
35357 {
35358 arg2 = static_cast<long >(SWIG_As_long(obj1));
35359 if (SWIG_arg_fail(2)) SWIG_fail;
35360 }
35361 {
35362 if (!wxPyCheckForApp()) SWIG_fail;
35363 PyThreadState* __tstate = wxPyBeginAllowThreads();
35364 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35365
35366 wxPyEndAllowThreads(__tstate);
35367 if (PyErr_Occurred()) SWIG_fail;
35368 }
35369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35370 return resultobj;
35371 fail:
35372 return NULL;
35373 }
35374
35375
35376 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35377 PyObject *resultobj = NULL;
35378 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35379 PyObject * obj0 = 0 ;
35380 char *kwnames[] = {
35381 (char *) "self", NULL
35382 };
35383
35384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
35385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35386 if (SWIG_arg_fail(1)) SWIG_fail;
35387 {
35388 PyThreadState* __tstate = wxPyBeginAllowThreads();
35389 delete arg1;
35390
35391 wxPyEndAllowThreads(__tstate);
35392 if (PyErr_Occurred()) SWIG_fail;
35393 }
35394 Py_INCREF(Py_None); resultobj = Py_None;
35395 return resultobj;
35396 fail:
35397 return NULL;
35398 }
35399
35400
35401 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
35402 PyObject *resultobj = NULL;
35403 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35404 wxBitmap *arg2 = (wxBitmap *) 0 ;
35405 PyObject * obj0 = 0 ;
35406 PyObject * obj1 = 0 ;
35407 char *kwnames[] = {
35408 (char *) "self",(char *) "bitmap", NULL
35409 };
35410
35411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
35412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35413 if (SWIG_arg_fail(1)) SWIG_fail;
35414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35415 if (SWIG_arg_fail(2)) SWIG_fail;
35416 {
35417 PyThreadState* __tstate = wxPyBeginAllowThreads();
35418 (arg1)->SetBackingBitmap(arg2);
35419
35420 wxPyEndAllowThreads(__tstate);
35421 if (PyErr_Occurred()) SWIG_fail;
35422 }
35423 Py_INCREF(Py_None); resultobj = Py_None;
35424 return resultobj;
35425 fail:
35426 return NULL;
35427 }
35428
35429
35430 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35431 PyObject *resultobj = NULL;
35432 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35433 wxPoint *arg2 = 0 ;
35434 wxWindow *arg3 = (wxWindow *) 0 ;
35435 bool arg4 = (bool) false ;
35436 wxRect *arg5 = (wxRect *) NULL ;
35437 bool result;
35438 wxPoint temp2 ;
35439 PyObject * obj0 = 0 ;
35440 PyObject * obj1 = 0 ;
35441 PyObject * obj2 = 0 ;
35442 PyObject * obj3 = 0 ;
35443 PyObject * obj4 = 0 ;
35444 char *kwnames[] = {
35445 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35446 };
35447
35448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35450 if (SWIG_arg_fail(1)) SWIG_fail;
35451 {
35452 arg2 = &temp2;
35453 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35454 }
35455 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35456 if (SWIG_arg_fail(3)) SWIG_fail;
35457 if (obj3) {
35458 {
35459 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35460 if (SWIG_arg_fail(4)) SWIG_fail;
35461 }
35462 }
35463 if (obj4) {
35464 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35465 if (SWIG_arg_fail(5)) SWIG_fail;
35466 }
35467 {
35468 PyThreadState* __tstate = wxPyBeginAllowThreads();
35469 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35470
35471 wxPyEndAllowThreads(__tstate);
35472 if (PyErr_Occurred()) SWIG_fail;
35473 }
35474 {
35475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35476 }
35477 return resultobj;
35478 fail:
35479 return NULL;
35480 }
35481
35482
35483 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
35484 PyObject *resultobj = NULL;
35485 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35486 wxPoint *arg2 = 0 ;
35487 wxWindow *arg3 = (wxWindow *) 0 ;
35488 wxWindow *arg4 = (wxWindow *) 0 ;
35489 bool result;
35490 wxPoint temp2 ;
35491 PyObject * obj0 = 0 ;
35492 PyObject * obj1 = 0 ;
35493 PyObject * obj2 = 0 ;
35494 PyObject * obj3 = 0 ;
35495 char *kwnames[] = {
35496 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35497 };
35498
35499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail;
35502 {
35503 arg2 = &temp2;
35504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35505 }
35506 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35507 if (SWIG_arg_fail(3)) SWIG_fail;
35508 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35509 if (SWIG_arg_fail(4)) SWIG_fail;
35510 {
35511 PyThreadState* __tstate = wxPyBeginAllowThreads();
35512 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35513
35514 wxPyEndAllowThreads(__tstate);
35515 if (PyErr_Occurred()) SWIG_fail;
35516 }
35517 {
35518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35519 }
35520 return resultobj;
35521 fail:
35522 return NULL;
35523 }
35524
35525
35526 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35527 PyObject *resultobj = NULL;
35528 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35529 bool result;
35530 PyObject * obj0 = 0 ;
35531 char *kwnames[] = {
35532 (char *) "self", NULL
35533 };
35534
35535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
35536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35537 if (SWIG_arg_fail(1)) SWIG_fail;
35538 {
35539 PyThreadState* __tstate = wxPyBeginAllowThreads();
35540 result = (bool)(arg1)->EndDrag();
35541
35542 wxPyEndAllowThreads(__tstate);
35543 if (PyErr_Occurred()) SWIG_fail;
35544 }
35545 {
35546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35547 }
35548 return resultobj;
35549 fail:
35550 return NULL;
35551 }
35552
35553
35554 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
35555 PyObject *resultobj = NULL;
35556 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35557 wxPoint *arg2 = 0 ;
35558 bool result;
35559 wxPoint temp2 ;
35560 PyObject * obj0 = 0 ;
35561 PyObject * obj1 = 0 ;
35562 char *kwnames[] = {
35563 (char *) "self",(char *) "pt", NULL
35564 };
35565
35566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
35567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35568 if (SWIG_arg_fail(1)) SWIG_fail;
35569 {
35570 arg2 = &temp2;
35571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35572 }
35573 {
35574 PyThreadState* __tstate = wxPyBeginAllowThreads();
35575 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35576
35577 wxPyEndAllowThreads(__tstate);
35578 if (PyErr_Occurred()) SWIG_fail;
35579 }
35580 {
35581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35582 }
35583 return resultobj;
35584 fail:
35585 return NULL;
35586 }
35587
35588
35589 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
35590 PyObject *resultobj = NULL;
35591 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35592 bool result;
35593 PyObject * obj0 = 0 ;
35594 char *kwnames[] = {
35595 (char *) "self", NULL
35596 };
35597
35598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
35599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35600 if (SWIG_arg_fail(1)) SWIG_fail;
35601 {
35602 PyThreadState* __tstate = wxPyBeginAllowThreads();
35603 result = (bool)(arg1)->Show();
35604
35605 wxPyEndAllowThreads(__tstate);
35606 if (PyErr_Occurred()) SWIG_fail;
35607 }
35608 {
35609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35610 }
35611 return resultobj;
35612 fail:
35613 return NULL;
35614 }
35615
35616
35617 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
35618 PyObject *resultobj = NULL;
35619 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35620 bool result;
35621 PyObject * obj0 = 0 ;
35622 char *kwnames[] = {
35623 (char *) "self", NULL
35624 };
35625
35626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
35627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35628 if (SWIG_arg_fail(1)) SWIG_fail;
35629 {
35630 PyThreadState* __tstate = wxPyBeginAllowThreads();
35631 result = (bool)(arg1)->Hide();
35632
35633 wxPyEndAllowThreads(__tstate);
35634 if (PyErr_Occurred()) SWIG_fail;
35635 }
35636 {
35637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35638 }
35639 return resultobj;
35640 fail:
35641 return NULL;
35642 }
35643
35644
35645 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
35646 PyObject *resultobj = NULL;
35647 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35648 wxPoint *arg2 = 0 ;
35649 wxRect result;
35650 wxPoint temp2 ;
35651 PyObject * obj0 = 0 ;
35652 PyObject * obj1 = 0 ;
35653 char *kwnames[] = {
35654 (char *) "self",(char *) "pos", NULL
35655 };
35656
35657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
35658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35659 if (SWIG_arg_fail(1)) SWIG_fail;
35660 {
35661 arg2 = &temp2;
35662 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35663 }
35664 {
35665 PyThreadState* __tstate = wxPyBeginAllowThreads();
35666 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35667
35668 wxPyEndAllowThreads(__tstate);
35669 if (PyErr_Occurred()) SWIG_fail;
35670 }
35671 {
35672 wxRect * resultptr;
35673 resultptr = new wxRect(static_cast<wxRect & >(result));
35674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35675 }
35676 return resultobj;
35677 fail:
35678 return NULL;
35679 }
35680
35681
35682 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35683 PyObject *resultobj = NULL;
35684 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35685 wxDC *arg2 = 0 ;
35686 wxPoint *arg3 = 0 ;
35687 bool result;
35688 wxPoint temp3 ;
35689 PyObject * obj0 = 0 ;
35690 PyObject * obj1 = 0 ;
35691 PyObject * obj2 = 0 ;
35692 char *kwnames[] = {
35693 (char *) "self",(char *) "dc",(char *) "pos", NULL
35694 };
35695
35696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
35697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35698 if (SWIG_arg_fail(1)) SWIG_fail;
35699 {
35700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35701 if (SWIG_arg_fail(2)) SWIG_fail;
35702 if (arg2 == NULL) {
35703 SWIG_null_ref("wxDC");
35704 }
35705 if (SWIG_arg_fail(2)) SWIG_fail;
35706 }
35707 {
35708 arg3 = &temp3;
35709 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35710 }
35711 {
35712 PyThreadState* __tstate = wxPyBeginAllowThreads();
35713 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35714
35715 wxPyEndAllowThreads(__tstate);
35716 if (PyErr_Occurred()) SWIG_fail;
35717 }
35718 {
35719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35720 }
35721 return resultobj;
35722 fail:
35723 return NULL;
35724 }
35725
35726
35727 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
35728 PyObject *resultobj = NULL;
35729 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35730 wxDC *arg2 = 0 ;
35731 wxMemoryDC *arg3 = 0 ;
35732 wxRect *arg4 = 0 ;
35733 wxRect *arg5 = 0 ;
35734 bool result;
35735 wxRect temp4 ;
35736 wxRect temp5 ;
35737 PyObject * obj0 = 0 ;
35738 PyObject * obj1 = 0 ;
35739 PyObject * obj2 = 0 ;
35740 PyObject * obj3 = 0 ;
35741 PyObject * obj4 = 0 ;
35742 char *kwnames[] = {
35743 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35744 };
35745
35746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35748 if (SWIG_arg_fail(1)) SWIG_fail;
35749 {
35750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35751 if (SWIG_arg_fail(2)) SWIG_fail;
35752 if (arg2 == NULL) {
35753 SWIG_null_ref("wxDC");
35754 }
35755 if (SWIG_arg_fail(2)) SWIG_fail;
35756 }
35757 {
35758 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35759 if (SWIG_arg_fail(3)) SWIG_fail;
35760 if (arg3 == NULL) {
35761 SWIG_null_ref("wxMemoryDC");
35762 }
35763 if (SWIG_arg_fail(3)) SWIG_fail;
35764 }
35765 {
35766 arg4 = &temp4;
35767 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35768 }
35769 {
35770 arg5 = &temp5;
35771 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35772 }
35773 {
35774 PyThreadState* __tstate = wxPyBeginAllowThreads();
35775 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35776
35777 wxPyEndAllowThreads(__tstate);
35778 if (PyErr_Occurred()) SWIG_fail;
35779 }
35780 {
35781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35782 }
35783 return resultobj;
35784 fail:
35785 return NULL;
35786 }
35787
35788
35789 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35790 PyObject *resultobj = NULL;
35791 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35792 wxPoint *arg2 = 0 ;
35793 wxPoint *arg3 = 0 ;
35794 bool arg4 ;
35795 bool arg5 ;
35796 bool result;
35797 wxPoint temp2 ;
35798 wxPoint temp3 ;
35799 PyObject * obj0 = 0 ;
35800 PyObject * obj1 = 0 ;
35801 PyObject * obj2 = 0 ;
35802 PyObject * obj3 = 0 ;
35803 PyObject * obj4 = 0 ;
35804 char *kwnames[] = {
35805 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35806 };
35807
35808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35810 if (SWIG_arg_fail(1)) SWIG_fail;
35811 {
35812 arg2 = &temp2;
35813 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35814 }
35815 {
35816 arg3 = &temp3;
35817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35818 }
35819 {
35820 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35821 if (SWIG_arg_fail(4)) SWIG_fail;
35822 }
35823 {
35824 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
35825 if (SWIG_arg_fail(5)) SWIG_fail;
35826 }
35827 {
35828 PyThreadState* __tstate = wxPyBeginAllowThreads();
35829 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35830
35831 wxPyEndAllowThreads(__tstate);
35832 if (PyErr_Occurred()) SWIG_fail;
35833 }
35834 {
35835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35836 }
35837 return resultobj;
35838 fail:
35839 return NULL;
35840 }
35841
35842
35843 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
35844 PyObject *obj;
35845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35846 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35847 Py_INCREF(obj);
35848 return Py_BuildValue((char *)"");
35849 }
35850 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35851 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35852 return 1;
35853 }
35854
35855
35856 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
35857 PyObject *pyobj = NULL;
35858
35859 {
35860 #if wxUSE_UNICODE
35861 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35862 #else
35863 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35864 #endif
35865 }
35866 return pyobj;
35867 }
35868
35869
35870 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
35871 PyObject *resultobj = NULL;
35872 wxWindow *arg1 = (wxWindow *) 0 ;
35873 int arg2 = (int) -1 ;
35874 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
35875 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
35876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
35877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
35878 wxSize const &arg5_defvalue = wxDefaultSize ;
35879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
35880 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35881 wxValidator const &arg7_defvalue = wxDefaultValidator ;
35882 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
35883 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
35884 wxString *arg8 = (wxString *) &arg8_defvalue ;
35885 wxDatePickerCtrl *result;
35886 wxPoint temp4 ;
35887 wxSize temp5 ;
35888 bool temp8 = false ;
35889 PyObject * obj0 = 0 ;
35890 PyObject * obj1 = 0 ;
35891 PyObject * obj2 = 0 ;
35892 PyObject * obj3 = 0 ;
35893 PyObject * obj4 = 0 ;
35894 PyObject * obj5 = 0 ;
35895 PyObject * obj6 = 0 ;
35896 PyObject * obj7 = 0 ;
35897 char *kwnames[] = {
35898 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35899 };
35900
35901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
35902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35903 if (SWIG_arg_fail(1)) SWIG_fail;
35904 if (obj1) {
35905 {
35906 arg2 = static_cast<int >(SWIG_As_int(obj1));
35907 if (SWIG_arg_fail(2)) SWIG_fail;
35908 }
35909 }
35910 if (obj2) {
35911 {
35912 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35913 if (SWIG_arg_fail(3)) SWIG_fail;
35914 if (arg3 == NULL) {
35915 SWIG_null_ref("wxDateTime");
35916 }
35917 if (SWIG_arg_fail(3)) SWIG_fail;
35918 }
35919 }
35920 if (obj3) {
35921 {
35922 arg4 = &temp4;
35923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
35924 }
35925 }
35926 if (obj4) {
35927 {
35928 arg5 = &temp5;
35929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
35930 }
35931 }
35932 if (obj5) {
35933 {
35934 arg6 = static_cast<long >(SWIG_As_long(obj5));
35935 if (SWIG_arg_fail(6)) SWIG_fail;
35936 }
35937 }
35938 if (obj6) {
35939 {
35940 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35941 if (SWIG_arg_fail(7)) SWIG_fail;
35942 if (arg7 == NULL) {
35943 SWIG_null_ref("wxValidator");
35944 }
35945 if (SWIG_arg_fail(7)) SWIG_fail;
35946 }
35947 }
35948 if (obj7) {
35949 {
35950 arg8 = wxString_in_helper(obj7);
35951 if (arg8 == NULL) SWIG_fail;
35952 temp8 = true;
35953 }
35954 }
35955 {
35956 if (!wxPyCheckForApp()) SWIG_fail;
35957 PyThreadState* __tstate = wxPyBeginAllowThreads();
35958 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
35959
35960 wxPyEndAllowThreads(__tstate);
35961 if (PyErr_Occurred()) SWIG_fail;
35962 }
35963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35964 {
35965 if (temp8)
35966 delete arg8;
35967 }
35968 return resultobj;
35969 fail:
35970 {
35971 if (temp8)
35972 delete arg8;
35973 }
35974 return NULL;
35975 }
35976
35977
35978 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
35979 PyObject *resultobj = NULL;
35980 wxDatePickerCtrl *result;
35981 char *kwnames[] = {
35982 NULL
35983 };
35984
35985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
35986 {
35987 if (!wxPyCheckForApp()) SWIG_fail;
35988 PyThreadState* __tstate = wxPyBeginAllowThreads();
35989 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
35990
35991 wxPyEndAllowThreads(__tstate);
35992 if (PyErr_Occurred()) SWIG_fail;
35993 }
35994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35995 return resultobj;
35996 fail:
35997 return NULL;
35998 }
35999
36000
36001 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
36002 PyObject *resultobj = NULL;
36003 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36004 wxWindow *arg2 = (wxWindow *) 0 ;
36005 int arg3 = (int) -1 ;
36006 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
36007 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
36008 wxPoint const &arg5_defvalue = wxDefaultPosition ;
36009 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
36010 wxSize const &arg6_defvalue = wxDefaultSize ;
36011 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
36012 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36013 wxValidator const &arg8_defvalue = wxDefaultValidator ;
36014 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
36015 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
36016 wxString *arg9 = (wxString *) &arg9_defvalue ;
36017 bool result;
36018 wxPoint temp5 ;
36019 wxSize temp6 ;
36020 bool temp9 = false ;
36021 PyObject * obj0 = 0 ;
36022 PyObject * obj1 = 0 ;
36023 PyObject * obj2 = 0 ;
36024 PyObject * obj3 = 0 ;
36025 PyObject * obj4 = 0 ;
36026 PyObject * obj5 = 0 ;
36027 PyObject * obj6 = 0 ;
36028 PyObject * obj7 = 0 ;
36029 PyObject * obj8 = 0 ;
36030 char *kwnames[] = {
36031 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36032 };
36033
36034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36036 if (SWIG_arg_fail(1)) SWIG_fail;
36037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36038 if (SWIG_arg_fail(2)) SWIG_fail;
36039 if (obj2) {
36040 {
36041 arg3 = static_cast<int >(SWIG_As_int(obj2));
36042 if (SWIG_arg_fail(3)) SWIG_fail;
36043 }
36044 }
36045 if (obj3) {
36046 {
36047 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36048 if (SWIG_arg_fail(4)) SWIG_fail;
36049 if (arg4 == NULL) {
36050 SWIG_null_ref("wxDateTime");
36051 }
36052 if (SWIG_arg_fail(4)) SWIG_fail;
36053 }
36054 }
36055 if (obj4) {
36056 {
36057 arg5 = &temp5;
36058 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36059 }
36060 }
36061 if (obj5) {
36062 {
36063 arg6 = &temp6;
36064 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36065 }
36066 }
36067 if (obj6) {
36068 {
36069 arg7 = static_cast<long >(SWIG_As_long(obj6));
36070 if (SWIG_arg_fail(7)) SWIG_fail;
36071 }
36072 }
36073 if (obj7) {
36074 {
36075 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36076 if (SWIG_arg_fail(8)) SWIG_fail;
36077 if (arg8 == NULL) {
36078 SWIG_null_ref("wxValidator");
36079 }
36080 if (SWIG_arg_fail(8)) SWIG_fail;
36081 }
36082 }
36083 if (obj8) {
36084 {
36085 arg9 = wxString_in_helper(obj8);
36086 if (arg9 == NULL) SWIG_fail;
36087 temp9 = true;
36088 }
36089 }
36090 {
36091 PyThreadState* __tstate = wxPyBeginAllowThreads();
36092 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36093
36094 wxPyEndAllowThreads(__tstate);
36095 if (PyErr_Occurred()) SWIG_fail;
36096 }
36097 {
36098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36099 }
36100 {
36101 if (temp9)
36102 delete arg9;
36103 }
36104 return resultobj;
36105 fail:
36106 {
36107 if (temp9)
36108 delete arg9;
36109 }
36110 return NULL;
36111 }
36112
36113
36114 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
36115 PyObject *resultobj = NULL;
36116 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36117 wxDateTime *arg2 = 0 ;
36118 PyObject * obj0 = 0 ;
36119 PyObject * obj1 = 0 ;
36120 char *kwnames[] = {
36121 (char *) "self",(char *) "dt", NULL
36122 };
36123
36124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36126 if (SWIG_arg_fail(1)) SWIG_fail;
36127 {
36128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36129 if (SWIG_arg_fail(2)) SWIG_fail;
36130 if (arg2 == NULL) {
36131 SWIG_null_ref("wxDateTime");
36132 }
36133 if (SWIG_arg_fail(2)) SWIG_fail;
36134 }
36135 {
36136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36137 (arg1)->SetValue((wxDateTime const &)*arg2);
36138
36139 wxPyEndAllowThreads(__tstate);
36140 if (PyErr_Occurred()) SWIG_fail;
36141 }
36142 Py_INCREF(Py_None); resultobj = Py_None;
36143 return resultobj;
36144 fail:
36145 return NULL;
36146 }
36147
36148
36149 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
36150 PyObject *resultobj = NULL;
36151 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36152 wxDateTime result;
36153 PyObject * obj0 = 0 ;
36154 char *kwnames[] = {
36155 (char *) "self", NULL
36156 };
36157
36158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail;
36161 {
36162 PyThreadState* __tstate = wxPyBeginAllowThreads();
36163 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36164
36165 wxPyEndAllowThreads(__tstate);
36166 if (PyErr_Occurred()) SWIG_fail;
36167 }
36168 {
36169 wxDateTime * resultptr;
36170 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36172 }
36173 return resultobj;
36174 fail:
36175 return NULL;
36176 }
36177
36178
36179 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
36180 PyObject *resultobj = NULL;
36181 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36182 wxDateTime *arg2 = 0 ;
36183 wxDateTime *arg3 = 0 ;
36184 PyObject * obj0 = 0 ;
36185 PyObject * obj1 = 0 ;
36186 PyObject * obj2 = 0 ;
36187 char *kwnames[] = {
36188 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36189 };
36190
36191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36193 if (SWIG_arg_fail(1)) SWIG_fail;
36194 {
36195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36196 if (SWIG_arg_fail(2)) SWIG_fail;
36197 if (arg2 == NULL) {
36198 SWIG_null_ref("wxDateTime");
36199 }
36200 if (SWIG_arg_fail(2)) SWIG_fail;
36201 }
36202 {
36203 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36204 if (SWIG_arg_fail(3)) SWIG_fail;
36205 if (arg3 == NULL) {
36206 SWIG_null_ref("wxDateTime");
36207 }
36208 if (SWIG_arg_fail(3)) SWIG_fail;
36209 }
36210 {
36211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36212 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36213
36214 wxPyEndAllowThreads(__tstate);
36215 if (PyErr_Occurred()) SWIG_fail;
36216 }
36217 Py_INCREF(Py_None); resultobj = Py_None;
36218 return resultobj;
36219 fail:
36220 return NULL;
36221 }
36222
36223
36224 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36225 PyObject *resultobj = NULL;
36226 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36227 wxDateTime result;
36228 PyObject * obj0 = 0 ;
36229 char *kwnames[] = {
36230 (char *) "self", NULL
36231 };
36232
36233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail;
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36239
36240 wxPyEndAllowThreads(__tstate);
36241 if (PyErr_Occurred()) SWIG_fail;
36242 }
36243 {
36244 wxDateTime * resultptr;
36245 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36247 }
36248 return resultobj;
36249 fail:
36250 return NULL;
36251 }
36252
36253
36254 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36255 PyObject *resultobj = NULL;
36256 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36257 wxDateTime result;
36258 PyObject * obj0 = 0 ;
36259 char *kwnames[] = {
36260 (char *) "self", NULL
36261 };
36262
36263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36265 if (SWIG_arg_fail(1)) SWIG_fail;
36266 {
36267 PyThreadState* __tstate = wxPyBeginAllowThreads();
36268 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36269
36270 wxPyEndAllowThreads(__tstate);
36271 if (PyErr_Occurred()) SWIG_fail;
36272 }
36273 {
36274 wxDateTime * resultptr;
36275 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36277 }
36278 return resultobj;
36279 fail:
36280 return NULL;
36281 }
36282
36283
36284 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36285 PyObject *obj;
36286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36287 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36288 Py_INCREF(obj);
36289 return Py_BuildValue((char *)"");
36290 }
36291 static PyMethodDef SwigMethods[] = {
36292 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36293 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36294 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36295 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36296 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36297 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36298 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36299 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36300 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36301 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36302 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36303 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36304 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36305 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36306 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction) _wrap_BitmapButton_GetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
36307 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36308 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36309 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36310 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36311 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
36312 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36313 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36314 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36315 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36316 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36317 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36318 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36319 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36320 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36321 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36322 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36323 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36324 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36325 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36326 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36327 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36328 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36329 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36330 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36331 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36332 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36333 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36334 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36335 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36336 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36337 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36338 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36339 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36340 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36341 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36342 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36343 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36344 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36345 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36346 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36347 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36348 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36349 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36350 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36351 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36352 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36353 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36354 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36355 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36356 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36357 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36358 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36359 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36360 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36361 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36362 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36363 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36364 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36365 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36366 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36367 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36368 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36369 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36370 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36371 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36372 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36373 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36374 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36375 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36376 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36377 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36378 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36379 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36380 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36381 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36382 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36383 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36384 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36385 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36386 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36387 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36388 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36389 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36390 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36391 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36392 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36393 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36394 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36395 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
36396 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36397 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36398 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36399 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36400 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36401 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36402 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36403 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36404 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36405 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36406 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36407 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36408 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36409 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36410 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36411 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36412 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36413 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36414 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36415 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36416 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36417 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36418 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36419 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36420 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36421 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36422 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36423 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36424 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36425 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36426 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36427 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36428 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36429 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36430 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36431 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36432 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36433 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36434 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36435 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36436 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36437 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36438 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36444 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36453 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36455 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36459 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36460 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36469 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36471 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36472 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36474 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36475 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36477 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36485 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36486 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36492 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36493 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36494 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36497 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36501 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36509 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36521 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36523 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36525 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36528 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36530 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36535 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36538 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36540 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36541 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36542 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36549 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36555 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36567 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36571 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36572 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36581 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36589 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36596 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36601 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36604 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36609 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36612 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36622 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36630 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36657 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36663 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36674 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36675 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36676 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36681 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36683 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36687 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36689 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
36691 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36705 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36707 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36713 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
36715 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36741 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36745 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36790 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36796 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36808 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36810 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36819 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36826 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
36862 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
36889 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36890 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36935 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
36962 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
36974 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
36982 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
36990 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
37007 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37075 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37080 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37083 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37105 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37108 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37110 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37120 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37126 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37128 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37129 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37130 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
37136 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37137 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37145 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37150 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37151 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37152 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37153 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37160 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37161 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37163 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37168 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37170 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37174 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
37181 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37186 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
37190 { NULL, NULL, 0, NULL }
37191 };
37192
37193
37194 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37195
37196 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37198 }
37199 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37200 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37201 }
37202 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37203 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37204 }
37205 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37206 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37207 }
37208 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37209 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37210 }
37211 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37212 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37213 }
37214 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37215 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37216 }
37217 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37218 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37219 }
37220 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37221 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37222 }
37223 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37225 }
37226 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37228 }
37229 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37230 return (void *)((wxEvent *) ((wxPyEvent *) x));
37231 }
37232 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37233 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37234 }
37235 static void *_p_wxListEventTo_p_wxEvent(void *x) {
37236 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37237 }
37238 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
37239 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37240 }
37241 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
37242 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37243 }
37244 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
37245 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37246 }
37247 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37248 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37249 }
37250 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37251 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37252 }
37253 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37254 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37255 }
37256 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37257 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37258 }
37259 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37261 }
37262 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37263 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37264 }
37265 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37266 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37267 }
37268 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37269 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37270 }
37271 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37272 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37273 }
37274 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37275 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37276 }
37277 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37278 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37279 }
37280 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37282 }
37283 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37284 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37285 }
37286 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37287 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37288 }
37289 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37290 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37291 }
37292 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37293 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37294 }
37295 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37296 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37297 }
37298 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37299 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37300 }
37301 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37302 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37303 }
37304 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37305 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37306 }
37307 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37308 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37309 }
37310 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37312 }
37313 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37314 return (void *)((wxEvent *) ((wxShowEvent *) x));
37315 }
37316 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37317 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37318 }
37319 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37321 }
37322 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37324 }
37325 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37326 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37327 }
37328 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37329 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37330 }
37331 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37332 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37333 }
37334 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37335 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37336 }
37337 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37338 return (void *)((wxItemContainer *) ((wxComboBox *) x));
37339 }
37340 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37341 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37342 }
37343 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37344 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37345 }
37346 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37347 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37348 }
37349 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37350 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37351 }
37352 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37353 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37354 }
37355 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37356 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37357 }
37358 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37359 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
37360 }
37361 static void *_p_wxToolBarTo_p_wxControl(void *x) {
37362 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37363 }
37364 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37365 return (void *)((wxControl *) ((wxToggleButton *) x));
37366 }
37367 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37368 return (void *)((wxControl *) ((wxRadioButton *) x));
37369 }
37370 static void *_p_wxToolbookTo_p_wxControl(void *x) {
37371 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
37372 }
37373 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37374 return (void *)((wxControl *) ((wxToolBarBase *) x));
37375 }
37376 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37377 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37378 }
37379 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37380 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37381 }
37382 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37383 return (void *)((wxControl *) ((wxComboBox *) x));
37384 }
37385 static void *_p_wxPyControlTo_p_wxControl(void *x) {
37386 return (void *)((wxControl *) ((wxPyControl *) x));
37387 }
37388 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37389 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
37390 }
37391 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37392 return (void *)((wxControl *) ((wxScrollBar *) x));
37393 }
37394 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37395 return (void *)((wxControl *) ((wxControlWithItems *) x));
37396 }
37397 static void *_p_wxGaugeTo_p_wxControl(void *x) {
37398 return (void *)((wxControl *) ((wxGauge *) x));
37399 }
37400 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37401 return (void *)((wxControl *) ((wxStaticLine *) x));
37402 }
37403 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
37404 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
37405 }
37406 static void *_p_wxListbookTo_p_wxControl(void *x) {
37407 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
37408 }
37409 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37410 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
37411 }
37412 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37413 return (void *)((wxControl *) ((wxCheckBox *) x));
37414 }
37415 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37416 return (void *)((wxControl *) ((wxRadioBox *) x));
37417 }
37418 static void *_p_wxChoiceTo_p_wxControl(void *x) {
37419 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37420 }
37421 static void *_p_wxListBoxTo_p_wxControl(void *x) {
37422 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37423 }
37424 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37425 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37426 }
37427 static void *_p_wxListViewTo_p_wxControl(void *x) {
37428 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37429 }
37430 static void *_p_wxNotebookTo_p_wxControl(void *x) {
37431 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
37432 }
37433 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37434 return (void *)((wxControl *) ((wxStaticBitmap *) x));
37435 }
37436 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37437 return (void *)((wxControl *) ((wxSpinCtrl *) x));
37438 }
37439 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37440 return (void *)((wxControl *) ((wxStaticText *) x));
37441 }
37442 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37443 return (void *)((wxControl *) ((wxStaticBox *) x));
37444 }
37445 static void *_p_wxSliderTo_p_wxControl(void *x) {
37446 return (void *)((wxControl *) ((wxSlider *) x));
37447 }
37448 static void *_p_wxTreebookTo_p_wxControl(void *x) {
37449 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
37450 }
37451 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37452 return (void *)((wxControl *) ((wxSpinButton *) x));
37453 }
37454 static void *_p_wxButtonTo_p_wxControl(void *x) {
37455 return (void *)((wxControl *) ((wxButton *) x));
37456 }
37457 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37458 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37459 }
37460 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37461 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37462 }
37463 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37464 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37465 }
37466 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37467 return (void *)((wxControl *) ((wxTextCtrl *) x));
37468 }
37469 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37470 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37471 }
37472 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37473 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37474 }
37475 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37476 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37477 }
37478 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37479 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37480 }
37481 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37482 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37483 }
37484 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37485 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37486 }
37487 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
37488 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37489 }
37490 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
37491 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37492 }
37493 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
37494 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37495 }
37496 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37497 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37498 }
37499 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37500 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37501 }
37502 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37503 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37504 }
37505 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37506 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
37507 }
37508 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37509 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37510 }
37511 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37512 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37513 }
37514 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37515 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
37516 }
37517 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37518 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37519 }
37520 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37522 }
37523 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37524 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37525 }
37526 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37527 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37528 }
37529 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37530 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37531 }
37532 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37533 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37534 }
37535 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37537 }
37538 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37539 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37540 }
37541 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37543 }
37544 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37545 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37546 }
37547 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37549 }
37550 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37551 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
37552 }
37553 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37554 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37555 }
37556 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37557 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37558 }
37559 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37560 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37561 }
37562 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37563 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37564 }
37565 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37566 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37567 }
37568 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37569 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37570 }
37571 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37572 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37573 }
37574 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37575 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37576 }
37577 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37578 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37579 }
37580 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37581 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37582 }
37583 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
37584 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37585 }
37586 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
37587 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37588 }
37589 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37590 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37591 }
37592 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37593 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37594 }
37595 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37596 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37597 }
37598 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37600 }
37601 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37602 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37603 }
37604 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37605 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37606 }
37607 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
37608 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37609 }
37610 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37611 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37612 }
37613 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37614 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37615 }
37616 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37617 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37618 }
37619 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37620 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37621 }
37622 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37623 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37624 }
37625 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37626 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37627 }
37628 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37629 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37630 }
37631 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37632 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37633 }
37634 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37635 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37636 }
37637 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37638 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37639 }
37640 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37641 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37642 }
37643 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37644 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37645 }
37646 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37647 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37648 }
37649 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37650 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37651 }
37652 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37653 return (void *)((wxButton *) ((wxBitmapButton *) x));
37654 }
37655 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37656 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37657 }
37658 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37659 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37660 }
37661 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37662 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37663 }
37664 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37665 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37666 }
37667 static void *_p_wxToolbookTo_p_wxObject(void *x) {
37668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37669 }
37670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37671 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37672 }
37673 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37674 return (void *)((wxObject *) ((wxSizerItem *) x));
37675 }
37676 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37678 }
37679 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37680 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37681 }
37682 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37684 }
37685 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37686 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37687 }
37688 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37689 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37690 }
37691 static void *_p_wxSizerTo_p_wxObject(void *x) {
37692 return (void *)((wxObject *) ((wxSizer *) x));
37693 }
37694 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37695 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37696 }
37697 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37699 }
37700 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37702 }
37703 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37705 }
37706 static void *_p_wxEventTo_p_wxObject(void *x) {
37707 return (void *)((wxObject *) ((wxEvent *) x));
37708 }
37709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37710 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37711 }
37712 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37713 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37714 }
37715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37716 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37717 }
37718 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37720 }
37721 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37723 }
37724 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37726 }
37727 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37728 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37729 }
37730 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37731 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37732 }
37733 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37734 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37735 }
37736 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37737 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37738 }
37739 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37740 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37741 }
37742 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37743 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37744 }
37745 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37747 }
37748 static void *_p_wxControlTo_p_wxObject(void *x) {
37749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37750 }
37751 static void *_p_wxPyControlTo_p_wxObject(void *x) {
37752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37753 }
37754 static void *_p_wxGaugeTo_p_wxObject(void *x) {
37755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37756 }
37757 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37759 }
37760 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37762 }
37763 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37765 }
37766 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37767 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37768 }
37769 static void *_p_wxChoiceTo_p_wxObject(void *x) {
37770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37771 }
37772 static void *_p_wxFSFileTo_p_wxObject(void *x) {
37773 return (void *)((wxObject *) ((wxFSFile *) x));
37774 }
37775 static void *_p_wxPySizerTo_p_wxObject(void *x) {
37776 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37777 }
37778 static void *_p_wxTreebookTo_p_wxObject(void *x) {
37779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37780 }
37781 static void *_p_wxListViewTo_p_wxObject(void *x) {
37782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37783 }
37784 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37786 }
37787 static void *_p_wxNotebookTo_p_wxObject(void *x) {
37788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37789 }
37790 static void *_p_wxPyEventTo_p_wxObject(void *x) {
37791 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37792 }
37793 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37795 }
37796 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
37797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37798 }
37799 static void *_p_wxListbookTo_p_wxObject(void *x) {
37800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37801 }
37802 static void *_p_wxShowEventTo_p_wxObject(void *x) {
37803 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37804 }
37805 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37807 }
37808 static void *_p_wxSliderTo_p_wxObject(void *x) {
37809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37810 }
37811 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37812 return (void *)((wxObject *) ((wxMenuItem *) x));
37813 }
37814 static void *_p_wxDateEventTo_p_wxObject(void *x) {
37815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37816 }
37817 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37818 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37819 }
37820 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37822 }
37823 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37824 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37825 }
37826 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37827 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37828 }
37829 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37830 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37831 }
37832 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37833 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37834 }
37835 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37836 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37837 }
37838 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37839 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37840 }
37841 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37843 }
37844 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37845 return (void *)((wxObject *) ((wxContextHelp *) x));
37846 }
37847 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
37848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37849 }
37850 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37851 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37852 }
37853 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37854 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37855 }
37856 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37857 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37858 }
37859 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37860 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37861 }
37862 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37863 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37864 }
37865 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37866 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37867 }
37868 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37869 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37870 }
37871 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37872 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37873 }
37874 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37875 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37876 }
37877 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
37878 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
37879 }
37880 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37881 return (void *)((wxObject *) ((wxImageHandler *) x));
37882 }
37883 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37884 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37885 }
37886 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37887 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37888 }
37889 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37890 return (void *)((wxObject *) ((wxEvtHandler *) x));
37891 }
37892 static void *_p_wxListEventTo_p_wxObject(void *x) {
37893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37894 }
37895 static void *_p_wxListBoxTo_p_wxObject(void *x) {
37896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37897 }
37898 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
37899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37900 }
37901 static void *_p_wxButtonTo_p_wxObject(void *x) {
37902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
37903 }
37904 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
37905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37906 }
37907 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
37908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
37909 }
37910 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
37911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37912 }
37913 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
37914 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
37915 }
37916 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37917 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37918 }
37919 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
37920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
37921 }
37922 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
37923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
37924 }
37925 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
37926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
37927 }
37928 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
37929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
37930 }
37931 static void *_p_wxListItemTo_p_wxObject(void *x) {
37932 return (void *)((wxObject *) ((wxListItem *) x));
37933 }
37934 static void *_p_wxImageTo_p_wxObject(void *x) {
37935 return (void *)((wxObject *) ((wxImage *) x));
37936 }
37937 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37938 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37939 }
37940 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
37941 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37942 }
37943 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
37944 return (void *)((wxObject *) ((wxGenericDragImage *) x));
37945 }
37946 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
37947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37948 }
37949 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
37950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37951 }
37952 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
37953 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37954 }
37955 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
37956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37957 }
37958 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
37959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37960 }
37961 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
37962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37963 }
37964 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37966 }
37967 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37968 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37969 }
37970 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37971 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37972 }
37973 static void *_p_wxWindowTo_p_wxObject(void *x) {
37974 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37975 }
37976 static void *_p_wxMenuTo_p_wxObject(void *x) {
37977 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37978 }
37979 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37981 }
37982 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37983 return (void *)((wxObject *) ((wxFileSystem *) x));
37984 }
37985 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
37986 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
37987 }
37988 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
37989 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
37990 }
37991 static void *_p_wxPyAppTo_p_wxObject(void *x) {
37992 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37993 }
37994 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
37995 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
37996 }
37997 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
37998 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
37999 }
38000 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38001 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38002 }
38003 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
38004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38005 }
38006 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
38007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
38008 }
38009 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38011 }
38012 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38013 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38014 }
38015 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
38016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
38017 }
38018 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38019 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38020 }
38021 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38022 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38023 }
38024 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38026 }
38027 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
38028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
38029 }
38030 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38032 }
38033 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
38034 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
38035 }
38036 static void *_p_wxToolBarTo_p_wxObject(void *x) {
38037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38038 }
38039 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38040 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38041 }
38042 static void *_p_wxValidatorTo_p_wxObject(void *x) {
38043 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38044 }
38045 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
38046 return (void *)((wxWindow *) ((wxMenuBar *) x));
38047 }
38048 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
38049 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
38050 }
38051 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
38052 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38053 }
38054 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
38055 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
38056 }
38057 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
38058 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
38059 }
38060 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
38061 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
38062 }
38063 static void *_p_wxControlTo_p_wxWindow(void *x) {
38064 return (void *)((wxWindow *) ((wxControl *) x));
38065 }
38066 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
38067 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
38068 }
38069 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38070 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38071 }
38072 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38073 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
38074 }
38075 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38076 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38077 }
38078 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38079 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38080 }
38081 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38082 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38083 }
38084 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38085 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38086 }
38087 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38088 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38089 }
38090 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38091 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38092 }
38093 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38094 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38095 }
38096 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
38097 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
38098 }
38099 static void *_p_wxListbookTo_p_wxWindow(void *x) {
38100 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
38101 }
38102 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38103 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38104 }
38105 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38106 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38107 }
38108 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38109 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38110 }
38111 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38112 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38113 }
38114 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38115 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38116 }
38117 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38118 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38119 }
38120 static void *_p_wxListViewTo_p_wxWindow(void *x) {
38121 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38122 }
38123 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
38124 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
38125 }
38126 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38127 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38128 }
38129 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38130 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38131 }
38132 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38133 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38134 }
38135 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38136 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38137 }
38138 static void *_p_wxSliderTo_p_wxWindow(void *x) {
38139 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38140 }
38141 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38142 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38143 }
38144 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38145 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38146 }
38147 static void *_p_wxButtonTo_p_wxWindow(void *x) {
38148 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38149 }
38150 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38151 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38152 }
38153 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38154 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38155 }
38156 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38157 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38158 }
38159 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38160 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38161 }
38162 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38163 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38164 }
38165 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38166 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38167 }
38168 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38169 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38170 }
38171 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38172 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38173 }
38174 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38175 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38176 }
38177 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38178 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38179 }
38180 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38181 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38182 }
38183 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38184 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38185 }
38186 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38187 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38188 }
38189 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38190 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38191 }
38192 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38193 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38194 }
38195 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
38196 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38197 }
38198 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
38199 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38200 }
38201 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38202 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38203 }
38204 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38205 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38206 }
38207 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38208 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38209 }
38210 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38211 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38212 }
38213 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38214 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38215 }
38216 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38217 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38218 }
38219 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38220 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38221 }
38222 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38223 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38224 }
38225 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38226 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38227 }
38228 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38229 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38230 }
38231 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38232 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38233 }
38234 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38235 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38236 }
38237 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38238 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38239 }
38240 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38241 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38242 }
38243 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38244 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38245 }
38246 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38247 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38248 }
38249 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38250 return (void *)((wxValidator *) ((wxPyValidator *) x));
38251 }
38252 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38253 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38254 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38255 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38256 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38257 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38258 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38259 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38260 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38261 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38262 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38263 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38264 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38265 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38266 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38267 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38268 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38269 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38270 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38271 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38272 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38273 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38274 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38275 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38276 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38277 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38278 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38279 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38280 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38281 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38282 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38283 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38284 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38285 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38286 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38287 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38288 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38289 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38290 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38291 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38292 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38293 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38294 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38295 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38296 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38297 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38298 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38299 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38300 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38301 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38302 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38303 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38304 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38305 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38306 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38307 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38308 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38309 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38310 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38311 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38312 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38313 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38314 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38315 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38316 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38317 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38318 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38319 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38320 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38321 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38322 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38323 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38324 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38325 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38326 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38327 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38328 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38329 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38330 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38331 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38332 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38333 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38334 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38335 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38336 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38337 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38338 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38339 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38340 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38341 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38342 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38343 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38344 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38345 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38346 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38347 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38348 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38349 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38350 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38351 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38352 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38353 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38354 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38355 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38356 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38357 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38358 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38359 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
38360 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38361 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38362 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38363 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38364 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38365 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38366 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38367 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38368 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38369 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38370 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
38371 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38372 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
38373 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38374 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38375 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38376 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38377 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38378 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38379 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38380 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38381 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38382 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38383 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38384 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38385 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38386 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38387 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38388 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38389 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38390 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38391 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38392 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38393 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38394 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38395 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38396 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38397 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38398 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38399 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38400 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38401 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38402 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38403 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38404 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38405 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38406 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38407 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38408 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38409 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38410 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38411 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38412 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38413 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38414 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38415 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38416 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38417 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38418
38419 static swig_type_info *swig_type_initial[] = {
38420 &_swigt__p_bool,
38421 &_swigt__p_char,
38422 &_swigt__p_form_ops_t,
38423 &_swigt__p_int,
38424 &_swigt__p_long,
38425 &_swigt__p_unsigned_char,
38426 &_swigt__p_unsigned_int,
38427 &_swigt__p_unsigned_long,
38428 &_swigt__p_void,
38429 &_swigt__p_wxANIHandler,
38430 &_swigt__p_wxAcceleratorTable,
38431 &_swigt__p_wxActivateEvent,
38432 &_swigt__p_wxArrayInt,
38433 &_swigt__p_wxArrayString,
38434 &_swigt__p_wxBMPHandler,
38435 &_swigt__p_wxBitmap,
38436 &_swigt__p_wxBitmapButton,
38437 &_swigt__p_wxBookCtrlBase,
38438 &_swigt__p_wxBookCtrlBaseEvent,
38439 &_swigt__p_wxBoxSizer,
38440 &_swigt__p_wxButton,
38441 &_swigt__p_wxCURHandler,
38442 &_swigt__p_wxCheckBox,
38443 &_swigt__p_wxCheckListBox,
38444 &_swigt__p_wxChildFocusEvent,
38445 &_swigt__p_wxChoice,
38446 &_swigt__p_wxChoicebook,
38447 &_swigt__p_wxChoicebookEvent,
38448 &_swigt__p_wxCloseEvent,
38449 &_swigt__p_wxColour,
38450 &_swigt__p_wxComboBox,
38451 &_swigt__p_wxCommandEvent,
38452 &_swigt__p_wxContextHelp,
38453 &_swigt__p_wxContextHelpButton,
38454 &_swigt__p_wxContextMenuEvent,
38455 &_swigt__p_wxControl,
38456 &_swigt__p_wxControlWithItems,
38457 &_swigt__p_wxCursor,
38458 &_swigt__p_wxDC,
38459 &_swigt__p_wxDateEvent,
38460 &_swigt__p_wxDatePickerCtrl,
38461 &_swigt__p_wxDateTime,
38462 &_swigt__p_wxDirFilterListCtrl,
38463 &_swigt__p_wxDisplayChangedEvent,
38464 &_swigt__p_wxDropFilesEvent,
38465 &_swigt__p_wxDuplexMode,
38466 &_swigt__p_wxEraseEvent,
38467 &_swigt__p_wxEvent,
38468 &_swigt__p_wxEvtHandler,
38469 &_swigt__p_wxFSFile,
38470 &_swigt__p_wxFileSystem,
38471 &_swigt__p_wxFlexGridSizer,
38472 &_swigt__p_wxFocusEvent,
38473 &_swigt__p_wxFont,
38474 &_swigt__p_wxGBSizerItem,
38475 &_swigt__p_wxGIFHandler,
38476 &_swigt__p_wxGauge,
38477 &_swigt__p_wxGenericDirCtrl,
38478 &_swigt__p_wxGenericDragImage,
38479 &_swigt__p_wxGridBagSizer,
38480 &_swigt__p_wxGridSizer,
38481 &_swigt__p_wxHelpEvent,
38482 &_swigt__p_wxHelpProvider,
38483 &_swigt__p_wxICOHandler,
38484 &_swigt__p_wxIcon,
38485 &_swigt__p_wxIconizeEvent,
38486 &_swigt__p_wxIdleEvent,
38487 &_swigt__p_wxImage,
38488 &_swigt__p_wxImageHandler,
38489 &_swigt__p_wxImageList,
38490 &_swigt__p_wxIndividualLayoutConstraint,
38491 &_swigt__p_wxInitDialogEvent,
38492 &_swigt__p_wxItemContainer,
38493 &_swigt__p_wxJPEGHandler,
38494 &_swigt__p_wxKeyEvent,
38495 &_swigt__p_wxLayoutConstraints,
38496 &_swigt__p_wxListBox,
38497 &_swigt__p_wxListEvent,
38498 &_swigt__p_wxListItem,
38499 &_swigt__p_wxListItemAttr,
38500 &_swigt__p_wxListView,
38501 &_swigt__p_wxListbook,
38502 &_swigt__p_wxListbookEvent,
38503 &_swigt__p_wxMaximizeEvent,
38504 &_swigt__p_wxMemoryDC,
38505 &_swigt__p_wxMenu,
38506 &_swigt__p_wxMenuBar,
38507 &_swigt__p_wxMenuEvent,
38508 &_swigt__p_wxMenuItem,
38509 &_swigt__p_wxMouseCaptureChangedEvent,
38510 &_swigt__p_wxMouseEvent,
38511 &_swigt__p_wxMoveEvent,
38512 &_swigt__p_wxNavigationKeyEvent,
38513 &_swigt__p_wxNcPaintEvent,
38514 &_swigt__p_wxNotebook,
38515 &_swigt__p_wxNotebookEvent,
38516 &_swigt__p_wxNotifyEvent,
38517 &_swigt__p_wxObject,
38518 &_swigt__p_wxPCXHandler,
38519 &_swigt__p_wxPNGHandler,
38520 &_swigt__p_wxPNMHandler,
38521 &_swigt__p_wxPaintEvent,
38522 &_swigt__p_wxPaletteChangedEvent,
38523 &_swigt__p_wxPaperSize,
38524 &_swigt__p_wxPoint,
38525 &_swigt__p_wxPyApp,
38526 &_swigt__p_wxPyCommandEvent,
38527 &_swigt__p_wxPyControl,
38528 &_swigt__p_wxPyEvent,
38529 &_swigt__p_wxPyImageHandler,
38530 &_swigt__p_wxPyListCtrl,
38531 &_swigt__p_wxPySizer,
38532 &_swigt__p_wxPyTreeCtrl,
38533 &_swigt__p_wxPyTreeItemData,
38534 &_swigt__p_wxPyValidator,
38535 &_swigt__p_wxQueryNewPaletteEvent,
38536 &_swigt__p_wxRadioBox,
38537 &_swigt__p_wxRadioButton,
38538 &_swigt__p_wxRect,
38539 &_swigt__p_wxScrollBar,
38540 &_swigt__p_wxScrollEvent,
38541 &_swigt__p_wxScrollWinEvent,
38542 &_swigt__p_wxSetCursorEvent,
38543 &_swigt__p_wxShowEvent,
38544 &_swigt__p_wxSimpleHelpProvider,
38545 &_swigt__p_wxSize,
38546 &_swigt__p_wxSizeEvent,
38547 &_swigt__p_wxSizer,
38548 &_swigt__p_wxSizerItem,
38549 &_swigt__p_wxSlider,
38550 &_swigt__p_wxSpinButton,
38551 &_swigt__p_wxSpinCtrl,
38552 &_swigt__p_wxSpinEvent,
38553 &_swigt__p_wxStaticBitmap,
38554 &_swigt__p_wxStaticBox,
38555 &_swigt__p_wxStaticBoxSizer,
38556 &_swigt__p_wxStaticLine,
38557 &_swigt__p_wxStaticText,
38558 &_swigt__p_wxStdDialogButtonSizer,
38559 &_swigt__p_wxString,
38560 &_swigt__p_wxSysColourChangedEvent,
38561 &_swigt__p_wxTIFFHandler,
38562 &_swigt__p_wxTextAttr,
38563 &_swigt__p_wxTextCtrl,
38564 &_swigt__p_wxTextUrlEvent,
38565 &_swigt__p_wxToggleButton,
38566 &_swigt__p_wxToolBar,
38567 &_swigt__p_wxToolBarBase,
38568 &_swigt__p_wxToolBarToolBase,
38569 &_swigt__p_wxToolbook,
38570 &_swigt__p_wxToolbookEvent,
38571 &_swigt__p_wxTreeCtrl,
38572 &_swigt__p_wxTreeEvent,
38573 &_swigt__p_wxTreeItemId,
38574 &_swigt__p_wxTreebook,
38575 &_swigt__p_wxTreebookEvent,
38576 &_swigt__p_wxUpdateUIEvent,
38577 &_swigt__p_wxValidator,
38578 &_swigt__p_wxVisualAttributes,
38579 &_swigt__p_wxWindow,
38580 &_swigt__p_wxWindowCreateEvent,
38581 &_swigt__p_wxWindowDestroyEvent,
38582 &_swigt__p_wxXPMHandler,
38583 &_swigt__ptrdiff_t,
38584 &_swigt__std__ptrdiff_t,
38585 &_swigt__unsigned_int,
38586 };
38587
38588 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38589 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38590 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38591 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38592 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38593 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38594 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38595 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38596 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38597 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38598 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38599 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38600 static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}};
38601 static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
38602 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
38603 static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}};
38604 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38605 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38606 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38607 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38608 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38609 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38610 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38611 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38612 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38613 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38614 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38615 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38616 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38617 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38618 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
38619 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
38620 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38621 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
38622 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
38623 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
38624 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38625 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38626 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38627 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38628 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38629 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38630 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38631 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38632 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38633 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38634 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38635 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38636 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38637 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38638 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38639 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38640 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38641 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38642 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38643 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38644 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38645 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38646 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38647 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38648 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38649 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38650 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38651 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38652 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38653 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
38654 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
38655 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38656 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38657 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38658 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
38659 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
38660 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38661 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38662 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38663 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38664 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38665 static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0},{0, 0, 0, 0}};
38666 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38667 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38668 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
38669 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38670 static swig_cast_info _swigc__p_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}};
38671 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38672 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38673 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38674 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38675 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38676 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38677 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38678 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38679 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38680 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38681 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
38682 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38683 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38684 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38685 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38686 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38687 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38688 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38689 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38690 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38691 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38692 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38693 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38694 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
38695 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38696 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38697 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38698 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38699 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38700 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38701 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38702 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38703 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38704 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38705 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
38706 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38707 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
38708 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38709 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38710 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38711 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
38712 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
38713 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38714 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38715 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38716 static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
38717 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38718 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38719 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38720 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38721 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38722 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38723 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38724 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38725 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38726 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38727 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38728 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38729 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38730 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38731 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38732 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38733 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38734 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38735 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38736 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38737 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38738 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38739 static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}};
38740 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
38741 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38742 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38743 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38744 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38745 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
38746 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38747 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38748 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
38749 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
38750 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
38751 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38752 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38753 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38754
38755 static swig_cast_info *swig_cast_initial[] = {
38756 _swigc__p_bool,
38757 _swigc__p_char,
38758 _swigc__p_form_ops_t,
38759 _swigc__p_int,
38760 _swigc__p_long,
38761 _swigc__p_unsigned_char,
38762 _swigc__p_unsigned_int,
38763 _swigc__p_unsigned_long,
38764 _swigc__p_void,
38765 _swigc__p_wxANIHandler,
38766 _swigc__p_wxAcceleratorTable,
38767 _swigc__p_wxActivateEvent,
38768 _swigc__p_wxArrayInt,
38769 _swigc__p_wxArrayString,
38770 _swigc__p_wxBMPHandler,
38771 _swigc__p_wxBitmap,
38772 _swigc__p_wxBitmapButton,
38773 _swigc__p_wxBookCtrlBase,
38774 _swigc__p_wxBookCtrlBaseEvent,
38775 _swigc__p_wxBoxSizer,
38776 _swigc__p_wxButton,
38777 _swigc__p_wxCURHandler,
38778 _swigc__p_wxCheckBox,
38779 _swigc__p_wxCheckListBox,
38780 _swigc__p_wxChildFocusEvent,
38781 _swigc__p_wxChoice,
38782 _swigc__p_wxChoicebook,
38783 _swigc__p_wxChoicebookEvent,
38784 _swigc__p_wxCloseEvent,
38785 _swigc__p_wxColour,
38786 _swigc__p_wxComboBox,
38787 _swigc__p_wxCommandEvent,
38788 _swigc__p_wxContextHelp,
38789 _swigc__p_wxContextHelpButton,
38790 _swigc__p_wxContextMenuEvent,
38791 _swigc__p_wxControl,
38792 _swigc__p_wxControlWithItems,
38793 _swigc__p_wxCursor,
38794 _swigc__p_wxDC,
38795 _swigc__p_wxDateEvent,
38796 _swigc__p_wxDatePickerCtrl,
38797 _swigc__p_wxDateTime,
38798 _swigc__p_wxDirFilterListCtrl,
38799 _swigc__p_wxDisplayChangedEvent,
38800 _swigc__p_wxDropFilesEvent,
38801 _swigc__p_wxDuplexMode,
38802 _swigc__p_wxEraseEvent,
38803 _swigc__p_wxEvent,
38804 _swigc__p_wxEvtHandler,
38805 _swigc__p_wxFSFile,
38806 _swigc__p_wxFileSystem,
38807 _swigc__p_wxFlexGridSizer,
38808 _swigc__p_wxFocusEvent,
38809 _swigc__p_wxFont,
38810 _swigc__p_wxGBSizerItem,
38811 _swigc__p_wxGIFHandler,
38812 _swigc__p_wxGauge,
38813 _swigc__p_wxGenericDirCtrl,
38814 _swigc__p_wxGenericDragImage,
38815 _swigc__p_wxGridBagSizer,
38816 _swigc__p_wxGridSizer,
38817 _swigc__p_wxHelpEvent,
38818 _swigc__p_wxHelpProvider,
38819 _swigc__p_wxICOHandler,
38820 _swigc__p_wxIcon,
38821 _swigc__p_wxIconizeEvent,
38822 _swigc__p_wxIdleEvent,
38823 _swigc__p_wxImage,
38824 _swigc__p_wxImageHandler,
38825 _swigc__p_wxImageList,
38826 _swigc__p_wxIndividualLayoutConstraint,
38827 _swigc__p_wxInitDialogEvent,
38828 _swigc__p_wxItemContainer,
38829 _swigc__p_wxJPEGHandler,
38830 _swigc__p_wxKeyEvent,
38831 _swigc__p_wxLayoutConstraints,
38832 _swigc__p_wxListBox,
38833 _swigc__p_wxListEvent,
38834 _swigc__p_wxListItem,
38835 _swigc__p_wxListItemAttr,
38836 _swigc__p_wxListView,
38837 _swigc__p_wxListbook,
38838 _swigc__p_wxListbookEvent,
38839 _swigc__p_wxMaximizeEvent,
38840 _swigc__p_wxMemoryDC,
38841 _swigc__p_wxMenu,
38842 _swigc__p_wxMenuBar,
38843 _swigc__p_wxMenuEvent,
38844 _swigc__p_wxMenuItem,
38845 _swigc__p_wxMouseCaptureChangedEvent,
38846 _swigc__p_wxMouseEvent,
38847 _swigc__p_wxMoveEvent,
38848 _swigc__p_wxNavigationKeyEvent,
38849 _swigc__p_wxNcPaintEvent,
38850 _swigc__p_wxNotebook,
38851 _swigc__p_wxNotebookEvent,
38852 _swigc__p_wxNotifyEvent,
38853 _swigc__p_wxObject,
38854 _swigc__p_wxPCXHandler,
38855 _swigc__p_wxPNGHandler,
38856 _swigc__p_wxPNMHandler,
38857 _swigc__p_wxPaintEvent,
38858 _swigc__p_wxPaletteChangedEvent,
38859 _swigc__p_wxPaperSize,
38860 _swigc__p_wxPoint,
38861 _swigc__p_wxPyApp,
38862 _swigc__p_wxPyCommandEvent,
38863 _swigc__p_wxPyControl,
38864 _swigc__p_wxPyEvent,
38865 _swigc__p_wxPyImageHandler,
38866 _swigc__p_wxPyListCtrl,
38867 _swigc__p_wxPySizer,
38868 _swigc__p_wxPyTreeCtrl,
38869 _swigc__p_wxPyTreeItemData,
38870 _swigc__p_wxPyValidator,
38871 _swigc__p_wxQueryNewPaletteEvent,
38872 _swigc__p_wxRadioBox,
38873 _swigc__p_wxRadioButton,
38874 _swigc__p_wxRect,
38875 _swigc__p_wxScrollBar,
38876 _swigc__p_wxScrollEvent,
38877 _swigc__p_wxScrollWinEvent,
38878 _swigc__p_wxSetCursorEvent,
38879 _swigc__p_wxShowEvent,
38880 _swigc__p_wxSimpleHelpProvider,
38881 _swigc__p_wxSize,
38882 _swigc__p_wxSizeEvent,
38883 _swigc__p_wxSizer,
38884 _swigc__p_wxSizerItem,
38885 _swigc__p_wxSlider,
38886 _swigc__p_wxSpinButton,
38887 _swigc__p_wxSpinCtrl,
38888 _swigc__p_wxSpinEvent,
38889 _swigc__p_wxStaticBitmap,
38890 _swigc__p_wxStaticBox,
38891 _swigc__p_wxStaticBoxSizer,
38892 _swigc__p_wxStaticLine,
38893 _swigc__p_wxStaticText,
38894 _swigc__p_wxStdDialogButtonSizer,
38895 _swigc__p_wxString,
38896 _swigc__p_wxSysColourChangedEvent,
38897 _swigc__p_wxTIFFHandler,
38898 _swigc__p_wxTextAttr,
38899 _swigc__p_wxTextCtrl,
38900 _swigc__p_wxTextUrlEvent,
38901 _swigc__p_wxToggleButton,
38902 _swigc__p_wxToolBar,
38903 _swigc__p_wxToolBarBase,
38904 _swigc__p_wxToolBarToolBase,
38905 _swigc__p_wxToolbook,
38906 _swigc__p_wxToolbookEvent,
38907 _swigc__p_wxTreeCtrl,
38908 _swigc__p_wxTreeEvent,
38909 _swigc__p_wxTreeItemId,
38910 _swigc__p_wxTreebook,
38911 _swigc__p_wxTreebookEvent,
38912 _swigc__p_wxUpdateUIEvent,
38913 _swigc__p_wxValidator,
38914 _swigc__p_wxVisualAttributes,
38915 _swigc__p_wxWindow,
38916 _swigc__p_wxWindowCreateEvent,
38917 _swigc__p_wxWindowDestroyEvent,
38918 _swigc__p_wxXPMHandler,
38919 _swigc__ptrdiff_t,
38920 _swigc__std__ptrdiff_t,
38921 _swigc__unsigned_int,
38922 };
38923
38924
38925 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38926
38927 static swig_const_info swig_const_table[] = {
38928 {0, 0, 0, 0.0, 0, 0}};
38929
38930 #ifdef __cplusplus
38931 }
38932 #endif
38933 /*************************************************************************
38934 * Type initialization:
38935 * This problem is tough by the requirement that no dynamic
38936 * memory is used. Also, since swig_type_info structures store pointers to
38937 * swig_cast_info structures and swig_cast_info structures store pointers back
38938 * to swig_type_info structures, we need some lookup code at initialization.
38939 * The idea is that swig generates all the structures that are needed.
38940 * The runtime then collects these partially filled structures.
38941 * The SWIG_InitializeModule function takes these initial arrays out of
38942 * swig_module, and does all the lookup, filling in the swig_module.types
38943 * array with the correct data and linking the correct swig_cast_info
38944 * structures together.
38945
38946 * The generated swig_type_info structures are assigned staticly to an initial
38947 * array. We just loop though that array, and handle each type individually.
38948 * First we lookup if this type has been already loaded, and if so, use the
38949 * loaded structure instead of the generated one. Then we have to fill in the
38950 * cast linked list. The cast data is initially stored in something like a
38951 * two-dimensional array. Each row corresponds to a type (there are the same
38952 * number of rows as there are in the swig_type_initial array). Each entry in
38953 * a column is one of the swig_cast_info structures for that type.
38954 * The cast_initial array is actually an array of arrays, because each row has
38955 * a variable number of columns. So to actually build the cast linked list,
38956 * we find the array of casts associated with the type, and loop through it
38957 * adding the casts to the list. The one last trick we need to do is making
38958 * sure the type pointer in the swig_cast_info struct is correct.
38959
38960 * First off, we lookup the cast->type name to see if it is already loaded.
38961 * There are three cases to handle:
38962 * 1) If the cast->type has already been loaded AND the type we are adding
38963 * casting info to has not been loaded (it is in this module), THEN we
38964 * replace the cast->type pointer with the type pointer that has already
38965 * been loaded.
38966 * 2) If BOTH types (the one we are adding casting info to, and the
38967 * cast->type) are loaded, THEN the cast info has already been loaded by
38968 * the previous module so we just ignore it.
38969 * 3) Finally, if cast->type has not already been loaded, then we add that
38970 * swig_cast_info to the linked list (because the cast->type) pointer will
38971 * be correct.
38972 **/
38973
38974 #ifdef __cplusplus
38975 extern "C" {
38976 #if 0
38977 } /* c-mode */
38978 #endif
38979 #endif
38980
38981 #if 0
38982 #define SWIGRUNTIME_DEBUG
38983 #endif
38984
38985 SWIGRUNTIME void
38986 SWIG_InitializeModule(void *clientdata) {
38987 size_t i;
38988 swig_module_info *module_head;
38989 static int init_run = 0;
38990
38991 clientdata = clientdata;
38992
38993 if (init_run) return;
38994 init_run = 1;
38995
38996 /* Initialize the swig_module */
38997 swig_module.type_initial = swig_type_initial;
38998 swig_module.cast_initial = swig_cast_initial;
38999
39000 /* Try and load any already created modules */
39001 module_head = SWIG_GetModule(clientdata);
39002 if (module_head) {
39003 swig_module.next = module_head->next;
39004 module_head->next = &swig_module;
39005 } else {
39006 /* This is the first module loaded */
39007 swig_module.next = &swig_module;
39008 SWIG_SetModule(clientdata, &swig_module);
39009 }
39010
39011 /* Now work on filling in swig_module.types */
39012 #ifdef SWIGRUNTIME_DEBUG
39013 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
39014 #endif
39015 for (i = 0; i < swig_module.size; ++i) {
39016 swig_type_info *type = 0;
39017 swig_type_info *ret;
39018 swig_cast_info *cast;
39019
39020 #ifdef SWIGRUNTIME_DEBUG
39021 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39022 #endif
39023
39024 /* if there is another module already loaded */
39025 if (swig_module.next != &swig_module) {
39026 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
39027 }
39028 if (type) {
39029 /* Overwrite clientdata field */
39030 #ifdef SWIGRUNTIME_DEBUG
39031 printf("SWIG_InitializeModule: found type %s\n", type->name);
39032 #endif
39033 if (swig_module.type_initial[i]->clientdata) {
39034 type->clientdata = swig_module.type_initial[i]->clientdata;
39035 #ifdef SWIGRUNTIME_DEBUG
39036 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
39037 #endif
39038 }
39039 } else {
39040 type = swig_module.type_initial[i];
39041 }
39042
39043 /* Insert casting types */
39044 cast = swig_module.cast_initial[i];
39045 while (cast->type) {
39046 /* Don't need to add information already in the list */
39047 ret = 0;
39048 #ifdef SWIGRUNTIME_DEBUG
39049 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
39050 #endif
39051 if (swig_module.next != &swig_module) {
39052 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
39053 #ifdef SWIGRUNTIME_DEBUG
39054 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
39055 #endif
39056 }
39057 if (ret) {
39058 if (type == swig_module.type_initial[i]) {
39059 #ifdef SWIGRUNTIME_DEBUG
39060 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
39061 #endif
39062 cast->type = ret;
39063 ret = 0;
39064 } else {
39065 /* Check for casting already in the list */
39066 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
39067 #ifdef SWIGRUNTIME_DEBUG
39068 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
39069 #endif
39070 if (!ocast) ret = 0;
39071 }
39072 }
39073
39074 if (!ret) {
39075 #ifdef SWIGRUNTIME_DEBUG
39076 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39077 #endif
39078 if (type->cast) {
39079 type->cast->prev = cast;
39080 cast->next = type->cast;
39081 }
39082 type->cast = cast;
39083 }
39084 cast++;
39085 }
39086 /* Set entry in modules->types array equal to the type */
39087 swig_module.types[i] = type;
39088 }
39089 swig_module.types[i] = 0;
39090
39091 #ifdef SWIGRUNTIME_DEBUG
39092 printf("**** SWIG_InitializeModule: Cast List ******\n");
39093 for (i = 0; i < swig_module.size; ++i) {
39094 int j = 0;
39095 swig_cast_info *cast = swig_module.cast_initial[i];
39096 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39097 while (cast->type) {
39098 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39099 cast++;
39100 ++j;
39101 }
39102 printf("---- Total casts: %d\n",j);
39103 }
39104 printf("**** SWIG_InitializeModule: Cast List ******\n");
39105 #endif
39106 }
39107
39108 /* This function will propagate the clientdata field of type to
39109 * any new swig_type_info structures that have been added into the list
39110 * of equivalent types. It is like calling
39111 * SWIG_TypeClientData(type, clientdata) a second time.
39112 */
39113 SWIGRUNTIME void
39114 SWIG_PropagateClientData(void) {
39115 size_t i;
39116 swig_cast_info *equiv;
39117 static int init_run = 0;
39118
39119 if (init_run) return;
39120 init_run = 1;
39121
39122 for (i = 0; i < swig_module.size; i++) {
39123 if (swig_module.types[i]->clientdata) {
39124 equiv = swig_module.types[i]->cast;
39125 while (equiv) {
39126 if (!equiv->converter) {
39127 if (equiv->type && !equiv->type->clientdata)
39128 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39129 }
39130 equiv = equiv->next;
39131 }
39132 }
39133 }
39134 }
39135
39136 #ifdef __cplusplus
39137 #if 0
39138 {
39139 /* c-mode */
39140 #endif
39141 }
39142 #endif
39143
39144
39145
39146 #ifdef __cplusplus
39147 extern "C" {
39148 #endif
39149
39150 /* Python-specific SWIG API */
39151 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39152 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39153 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39154
39155 /* -----------------------------------------------------------------------------
39156 * global variable support code.
39157 * ----------------------------------------------------------------------------- */
39158
39159 typedef struct swig_globalvar {
39160 char *name; /* Name of global variable */
39161 PyObject *(*get_attr)(void); /* Return the current value */
39162 int (*set_attr)(PyObject *); /* Set the value */
39163 struct swig_globalvar *next;
39164 } swig_globalvar;
39165
39166 typedef struct swig_varlinkobject {
39167 PyObject_HEAD
39168 swig_globalvar *vars;
39169 } swig_varlinkobject;
39170
39171 SWIGINTERN PyObject *
39172 swig_varlink_repr(swig_varlinkobject *v) {
39173 v = v;
39174 return PyString_FromString("<Swig global variables>");
39175 }
39176
39177 SWIGINTERN int
39178 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39179 swig_globalvar *var;
39180 flags = flags;
39181 fprintf(fp,"Swig global variables { ");
39182 for (var = v->vars; var; var=var->next) {
39183 fprintf(fp,"%s", var->name);
39184 if (var->next) fprintf(fp,", ");
39185 }
39186 fprintf(fp," }\n");
39187 return 0;
39188 }
39189
39190 SWIGINTERN PyObject *
39191 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39192 swig_globalvar *var = v->vars;
39193 while (var) {
39194 if (strcmp(var->name,n) == 0) {
39195 return (*var->get_attr)();
39196 }
39197 var = var->next;
39198 }
39199 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39200 return NULL;
39201 }
39202
39203 SWIGINTERN int
39204 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39205 swig_globalvar *var = v->vars;
39206 while (var) {
39207 if (strcmp(var->name,n) == 0) {
39208 return (*var->set_attr)(p);
39209 }
39210 var = var->next;
39211 }
39212 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39213 return 1;
39214 }
39215
39216 SWIGINTERN PyTypeObject*
39217 swig_varlink_type(void) {
39218 static char varlink__doc__[] = "Swig var link object";
39219 static PyTypeObject varlink_type
39220 #if !defined(__cplusplus)
39221 ;
39222 static int type_init = 0;
39223 if (!type_init) {
39224 PyTypeObject tmp
39225 #endif
39226 = {
39227 PyObject_HEAD_INIT(&PyType_Type)
39228 0, /* Number of items in variable part (ob_size) */
39229 (char *)"swigvarlink", /* Type name (tp_name) */
39230 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39231 0, /* Itemsize (tp_itemsize) */
39232 0, /* Deallocator (tp_dealloc) */
39233 (printfunc) swig_varlink_print, /* Print (tp_print) */
39234 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39235 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39236 0, /* tp_compare */
39237 (reprfunc) swig_varlink_repr, /* tp_repr */
39238 0, /* tp_as_number */
39239 0, /* tp_as_sequence */
39240 0, /* tp_as_mapping */
39241 0, /* tp_hash */
39242 0, /* tp_call */
39243 0, /* tp_str */
39244 0, /* tp_getattro */
39245 0, /* tp_setattro */
39246 0, /* tp_as_buffer */
39247 0, /* tp_flags */
39248 varlink__doc__, /* tp_doc */
39249 #if PY_VERSION_HEX >= 0x02000000
39250 0, /* tp_traverse */
39251 0, /* tp_clear */
39252 #endif
39253 #if PY_VERSION_HEX >= 0x02010000
39254 0, /* tp_richcompare */
39255 0, /* tp_weaklistoffset */
39256 #endif
39257 #if PY_VERSION_HEX >= 0x02020000
39258 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39259 #endif
39260 #if PY_VERSION_HEX >= 0x02030000
39261 0, /* tp_del */
39262 #endif
39263 #ifdef COUNT_ALLOCS
39264 0,0,0,0 /* tp_alloc -> tp_next */
39265 #endif
39266 };
39267 #if !defined(__cplusplus)
39268 varlink_type = tmp;
39269 type_init = 1;
39270 }
39271 #endif
39272 return &varlink_type;
39273 }
39274
39275 /* Create a variable linking object for use later */
39276 SWIGINTERN PyObject *
39277 SWIG_Python_newvarlink(void) {
39278 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39279 if (result) {
39280 result->vars = 0;
39281 }
39282 return ((PyObject*) result);
39283 }
39284
39285 SWIGINTERN void
39286 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
39287 swig_varlinkobject *v = (swig_varlinkobject *) p;
39288 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39289 if (gv) {
39290 size_t size = strlen(name)+1;
39291 gv->name = (char *)malloc(size);
39292 if (gv->name) {
39293 strncpy(gv->name,name,size);
39294 gv->get_attr = get_attr;
39295 gv->set_attr = set_attr;
39296 gv->next = v->vars;
39297 }
39298 }
39299 v->vars = gv;
39300 }
39301
39302 /* -----------------------------------------------------------------------------
39303 * constants/methods manipulation
39304 * ----------------------------------------------------------------------------- */
39305
39306 /* Install Constants */
39307 SWIGINTERN void
39308 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39309 PyObject *obj = 0;
39310 size_t i;
39311 for (i = 0; constants[i].type; ++i) {
39312 switch(constants[i].type) {
39313 case SWIG_PY_INT:
39314 obj = PyInt_FromLong(constants[i].lvalue);
39315 break;
39316 case SWIG_PY_FLOAT:
39317 obj = PyFloat_FromDouble(constants[i].dvalue);
39318 break;
39319 case SWIG_PY_STRING:
39320 if (constants[i].pvalue) {
39321 obj = PyString_FromString((char *) constants[i].pvalue);
39322 } else {
39323 Py_INCREF(Py_None);
39324 obj = Py_None;
39325 }
39326 break;
39327 case SWIG_PY_POINTER:
39328 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39329 break;
39330 case SWIG_PY_BINARY:
39331 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39332 break;
39333 default:
39334 obj = 0;
39335 break;
39336 }
39337 if (obj) {
39338 PyDict_SetItemString(d,constants[i].name,obj);
39339 Py_DECREF(obj);
39340 }
39341 }
39342 }
39343
39344 /* -----------------------------------------------------------------------------*/
39345 /* Fix SwigMethods to carry the callback ptrs when needed */
39346 /* -----------------------------------------------------------------------------*/
39347
39348 SWIGINTERN void
39349 SWIG_Python_FixMethods(PyMethodDef *methods,
39350 swig_const_info *const_table,
39351 swig_type_info **types,
39352 swig_type_info **types_initial) {
39353 size_t i;
39354 for (i = 0; methods[i].ml_name; ++i) {
39355 char *c = methods[i].ml_doc;
39356 if (c && (c = strstr(c, "swig_ptr: "))) {
39357 int j;
39358 swig_const_info *ci = 0;
39359 char *name = c + 10;
39360 for (j = 0; const_table[j].type; ++j) {
39361 if (strncmp(const_table[j].name, name,
39362 strlen(const_table[j].name)) == 0) {
39363 ci = &(const_table[j]);
39364 break;
39365 }
39366 }
39367 if (ci) {
39368 size_t shift = (ci->ptype) - types;
39369 swig_type_info *ty = types_initial[shift];
39370 size_t ldoc = (c - methods[i].ml_doc);
39371 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39372 char *ndoc = (char*)malloc(ldoc + lptr + 10);
39373 if (ndoc) {
39374 char *buff = ndoc;
39375 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39376 if (ptr) {
39377 strncpy(buff, methods[i].ml_doc, ldoc);
39378 buff += ldoc;
39379 strncpy(buff, "swig_ptr: ", 10);
39380 buff += 10;
39381 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39382 methods[i].ml_doc = ndoc;
39383 }
39384 }
39385 }
39386 }
39387 }
39388 }
39389
39390 /* -----------------------------------------------------------------------------*
39391 * Initialize type list
39392 * -----------------------------------------------------------------------------*/
39393
39394 #ifdef __cplusplus
39395 }
39396 #endif
39397
39398 /* -----------------------------------------------------------------------------*
39399 * Partial Init method
39400 * -----------------------------------------------------------------------------*/
39401
39402 #ifdef __cplusplus
39403 extern "C"
39404 #endif
39405 SWIGEXPORT void SWIG_init(void) {
39406 static PyObject *SWIG_globals = 0;
39407 PyObject *m, *d;
39408 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
39409
39410 /* Fix SwigMethods to carry the callback ptrs when needed */
39411 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
39412
39413 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39414 d = PyModule_GetDict(m);
39415
39416 SWIG_InitializeModule(0);
39417 SWIG_InstallConstants(d,swig_const_table);
39418
39419 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39420 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
39421 {
39422 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
39423 }
39424 {
39425 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
39426 }
39427 {
39428 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
39429 }
39430 {
39431 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
39432 }
39433 {
39434 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
39435 }
39436 {
39437 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
39438 }
39439 {
39440 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
39441 }
39442 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
39443 {
39444 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
39445 }
39446 {
39447 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
39448 }
39449 {
39450 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
39451 }
39452 {
39453 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
39454 }
39455 {
39456 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
39457 }
39458 {
39459 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
39460 }
39461 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39462 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39463 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
39464 {
39465 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
39466 }
39467 {
39468 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
39469 }
39470 {
39471 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
39472 }
39473 {
39474 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
39475 }
39476 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39477 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39478 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39479 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39480 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
39481 {
39482 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
39483 }
39484 {
39485 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
39486 }
39487 {
39488 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
39489 }
39490 {
39491 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
39492 }
39493 {
39494 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
39495 }
39496 {
39497 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
39498 }
39499 {
39500 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
39501 }
39502 {
39503 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
39504 }
39505 {
39506 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
39507 }
39508 {
39509 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
39510 }
39511 {
39512 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
39513 }
39514 {
39515 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
39516 }
39517 {
39518 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
39519 }
39520 {
39521 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
39522 }
39523 {
39524 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
39525 }
39526 {
39527 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
39528 }
39529 {
39530 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
39531 }
39532 {
39533 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
39534 }
39535 {
39536 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
39537 }
39538 {
39539 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
39540 }
39541 {
39542 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
39543 }
39544 {
39545 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
39546 }
39547 {
39548 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
39549 }
39550 {
39551 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
39552 }
39553 {
39554 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
39555 }
39556 {
39557 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
39558 }
39559 {
39560 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
39561 }
39562 {
39563 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
39564 }
39565 {
39566 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
39567 }
39568 {
39569 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
39570 }
39571 {
39572 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
39573 }
39574 {
39575 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
39576 }
39577 {
39578 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
39579 }
39580 {
39581 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
39582 }
39583 {
39584 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
39585 }
39586 {
39587 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
39588 }
39589 {
39590 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
39591 }
39592 {
39593 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
39594 }
39595 {
39596 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
39597 }
39598 {
39599 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
39600 }
39601 {
39602 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
39603 }
39604 {
39605 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
39606 }
39607 {
39608 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
39609 }
39610 {
39611 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
39612 }
39613 {
39614 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
39615 }
39616 {
39617 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
39618 }
39619 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39620 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39621 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39622 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39623 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39624 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39625 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
39626 {
39627 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
39628 }
39629 {
39630 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
39631 }
39632 {
39633 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
39634 }
39635 {
39636 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
39637 }
39638 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39639 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39640 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39641 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
39642 {
39643 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
39644 }
39645 {
39646 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
39647 }
39648 {
39649 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
39650 }
39651 {
39652 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
39653 }
39654 {
39655 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
39656 }
39657 {
39658 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
39659 }
39660 {
39661 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
39662 }
39663 {
39664 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
39665 }
39666 {
39667 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
39668 }
39669 {
39670 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
39671 }
39672 {
39673 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
39674 }
39675 {
39676 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
39677 }
39678 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39679 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
39680 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
39681 {
39682 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39683 }
39684 {
39685 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39686 }
39687 {
39688 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39689 }
39690 {
39691 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39692 }
39693 {
39694 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39695 }
39696 {
39697 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39698 }
39699 {
39700 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
39701 }
39702 {
39703 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
39704 }
39705 {
39706 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
39707 }
39708 {
39709 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
39710 }
39711 {
39712 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
39713 }
39714 {
39715 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
39716 }
39717 {
39718 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
39719 }
39720 {
39721 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
39722 }
39723 {
39724 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
39725 }
39726 {
39727 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
39728 }
39729 {
39730 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
39731 }
39732 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39733 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
39734 {
39735 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
39736 }
39737 {
39738 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
39739 }
39740 {
39741 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
39742 }
39743 {
39744 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
39745 }
39746 {
39747 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
39748 }
39749 {
39750 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
39751 }
39752 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39753 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
39754 {
39755 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
39756 }
39757 {
39758 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
39759 }
39760 {
39761 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
39762 }
39763 {
39764 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
39765 }
39766 {
39767 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
39768 }
39769 {
39770 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
39771 }
39772 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39773 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
39774 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39775 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39776 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39777 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39778 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39779 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
39780 {
39781 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
39782 }
39783 {
39784 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
39785 }
39786 {
39787 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
39788 }
39789 {
39790 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
39791 }
39792 {
39793 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
39794 }
39795 {
39796 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
39797 }
39798 {
39799 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
39800 }
39801 {
39802 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
39803 }
39804 {
39805 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
39806 }
39807 {
39808 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
39809 }
39810 {
39811 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
39812 }
39813 {
39814 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
39815 }
39816 {
39817 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
39818 }
39819 {
39820 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
39821 }
39822 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
39823 {
39824 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
39825 }
39826 {
39827 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
39828 }
39829 {
39830 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
39831 }
39832 {
39833 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
39834 }
39835 {
39836 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
39837 }
39838 {
39839 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
39840 }
39841 {
39842 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
39843 }
39844 {
39845 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
39846 }
39847 {
39848 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
39849 }
39850 {
39851 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
39852 }
39853 {
39854 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
39855 }
39856 {
39857 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
39858 }
39859 {
39860 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
39861 }
39862 {
39863 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
39864 }
39865 {
39866 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
39867 }
39868 {
39869 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
39870 }
39871 {
39872 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
39873 }
39874 {
39875 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
39876 }
39877 {
39878 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
39879 }
39880 {
39881 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
39882 }
39883 {
39884 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
39885 }
39886 {
39887 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
39888 }
39889 {
39890 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
39891 }
39892 {
39893 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
39894 }
39895 {
39896 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
39897 }
39898 {
39899 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
39900 }
39901 {
39902 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
39903 }
39904 {
39905 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
39906 }
39907 {
39908 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
39909 }
39910 {
39911 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
39912 }
39913 {
39914 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
39915 }
39916 {
39917 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
39918 }
39919 {
39920 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
39921 }
39922 {
39923 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
39924 }
39925 {
39926 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
39927 }
39928 {
39929 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
39930 }
39931 {
39932 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
39933 }
39934 {
39935 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
39936 }
39937 {
39938 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
39939 }
39940 {
39941 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
39942 }
39943 {
39944 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
39945 }
39946 {
39947 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
39948 }
39949 {
39950 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
39951 }
39952 {
39953 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
39954 }
39955 {
39956 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
39957 }
39958 {
39959 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
39960 }
39961 {
39962 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
39963 }
39964 {
39965 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
39966 }
39967 {
39968 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
39969 }
39970 {
39971 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
39972 }
39973 {
39974 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
39975 }
39976 {
39977 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
39978 }
39979 {
39980 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
39981 }
39982 {
39983 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
39984 }
39985 {
39986 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
39987 }
39988 {
39989 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
39990 }
39991 {
39992 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
39993 }
39994 {
39995 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
39996 }
39997 {
39998 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
39999 }
40000 {
40001 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
40002 }
40003 {
40004 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
40005 }
40006 {
40007 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
40008 }
40009 {
40010 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
40011 }
40012 {
40013 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
40014 }
40015 {
40016 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
40017 }
40018 {
40019 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
40020 }
40021 {
40022 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
40023 }
40024 {
40025 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
40026 }
40027 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
40028 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
40029 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
40030 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
40031 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
40032 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
40033 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
40034 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
40035 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
40036 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
40037 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
40038 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
40039 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
40040 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
40041 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
40042 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
40043 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
40044 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
40045 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
40046 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
40047
40048 // Map renamed classes back to their common name for OOR
40049 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40050
40051 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
40052 {
40053 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
40054 }
40055 {
40056 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
40057 }
40058 {
40059 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
40060 }
40061 {
40062 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
40063 }
40064 {
40065 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
40066 }
40067 {
40068 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
40069 }
40070 {
40071 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
40072 }
40073 {
40074 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
40075 }
40076 {
40077 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
40078 }
40079 {
40080 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
40081 }
40082 {
40083 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
40084 }
40085 {
40086 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
40087 }
40088 {
40089 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
40090 }
40091 {
40092 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
40093 }
40094 {
40095 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
40096 }
40097 {
40098 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
40099 }
40100 {
40101 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
40102 }
40103 {
40104 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
40105 }
40106 {
40107 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
40108 }
40109 {
40110 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
40111 }
40112 {
40113 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
40114 }
40115 {
40116 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
40117 }
40118 {
40119 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
40120 }
40121 {
40122 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
40123 }
40124 {
40125 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
40126 }
40127 {
40128 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
40129 }
40130 {
40131 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
40132 }
40133 {
40134 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
40135 }
40136 {
40137 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
40138 }
40139 {
40140 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
40141 }
40142 {
40143 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
40144 }
40145 {
40146 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
40147 }
40148 {
40149 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
40150 }
40151 {
40152 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
40153 }
40154 {
40155 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
40156 }
40157 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40158 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40159 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40160 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40161 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40162 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40163 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40164 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40165 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40166 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40167 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40168 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40169 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40170 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40171 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40172 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40173 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40174 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40175 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40176 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
40177 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
40178
40179 // Map renamed classes back to their common name for OOR
40180 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40181 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40182
40183 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
40184 {
40185 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
40186 }
40187 {
40188 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
40189 }
40190 {
40191 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
40192 }
40193 {
40194 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
40195 }
40196 {
40197 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
40198 }
40199 {
40200 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
40201 }
40202 {
40203 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
40204 }
40205 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40206 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40207
40208 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40209
40210 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40211 {
40212 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
40213 }
40214 {
40215 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
40216 }
40217 {
40218 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
40219 }
40220 {
40221 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
40222 }
40223 {
40224 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
40225 }
40226 }
40227