]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
more about the downloadable swig
[wxWidgets.git] / wxPython / src / mac / _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_wxTreeEvent swig_types[149]
1584 #define SWIGTYPE_p_wxTreeItemId swig_types[150]
1585 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
1586 #define SWIGTYPE_p_wxValidator swig_types[152]
1587 #define SWIGTYPE_p_wxVisualAttributes swig_types[153]
1588 #define SWIGTYPE_p_wxWindow swig_types[154]
1589 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[155]
1590 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
1591 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
1592 #define SWIGTYPE_ptrdiff_t swig_types[158]
1593 #define SWIGTYPE_std__ptrdiff_t swig_types[159]
1594 #define SWIGTYPE_unsigned_int swig_types[160]
1595 static swig_type_info *swig_types[162];
1596 static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0};
1597 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1598 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1599
1600 /* -------- TYPES TABLE (END) -------- */
1601
1602
1603 /*-----------------------------------------------
1604 @(target):= _controls_.so
1605 ------------------------------------------------*/
1606 #define SWIG_init init_controls_
1607
1608 #define SWIG_name "_controls_"
1609
1610 #include "wx/wxPython/wxPython.h"
1611 #include "wx/wxPython/pyclasses.h"
1612
1613 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1614 static const wxString wxPyEmptyString(wxEmptyString);
1615 static const wxString wxPyControlNameStr(wxControlNameStr);
1616
1617 const wxArrayString wxPyEmptyStringArray;
1618
1619 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1620
1621 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1622 #define SWIG_From_int PyInt_FromLong
1623 /*@@*/
1624
1625
1626 #include <limits.h>
1627
1628
1629 SWIGINTERN int
1630 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1631 const char *errmsg)
1632 {
1633 if (value < min_value) {
1634 if (errmsg) {
1635 PyErr_Format(PyExc_OverflowError,
1636 "value %ld is less than '%s' minimum %ld",
1637 value, errmsg, min_value);
1638 }
1639 return 0;
1640 } else if (value > max_value) {
1641 if (errmsg) {
1642 PyErr_Format(PyExc_OverflowError,
1643 "value %ld is greater than '%s' maximum %ld",
1644 value, errmsg, max_value);
1645 }
1646 return 0;
1647 }
1648 return 1;
1649 }
1650
1651
1652 SWIGINTERN int
1653 SWIG_AsVal_long(PyObject* obj, long* val)
1654 {
1655 if (PyNumber_Check(obj)) {
1656 if (val) *val = PyInt_AsLong(obj);
1657 return 1;
1658 }
1659 else {
1660 SWIG_type_error("number", obj);
1661 }
1662 return 0;
1663 }
1664
1665
1666 #if INT_MAX != LONG_MAX
1667 SWIGINTERN int
1668 SWIG_AsVal_int(PyObject *obj, int *val)
1669 {
1670 const char* errmsg = val ? "int" : (char*)0;
1671 long v;
1672 if (SWIG_AsVal_long(obj, &v)) {
1673 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1674 if (val) *val = static_cast<int >(v);
1675 return 1;
1676 } else {
1677 return 0;
1678 }
1679 } else {
1680 PyErr_Clear();
1681 }
1682 if (val) {
1683 SWIG_type_error(errmsg, obj);
1684 }
1685 return 0;
1686 }
1687 #else
1688 SWIGINTERNINLINE int
1689 SWIG_AsVal_int(PyObject *obj, int *val)
1690 {
1691 return SWIG_AsVal_long(obj,(long*)val);
1692 }
1693 #endif
1694
1695
1696 SWIGINTERNINLINE int
1697 SWIG_As_int(PyObject* obj)
1698 {
1699 int v;
1700 if (!SWIG_AsVal_int(obj, &v)) {
1701 /*
1702 this is needed to make valgrind/purify happier.
1703 */
1704 memset((void*)&v, 0, sizeof(int));
1705 }
1706 return v;
1707 }
1708
1709
1710 SWIGINTERNINLINE long
1711 SWIG_As_long(PyObject* obj)
1712 {
1713 long v;
1714 if (!SWIG_AsVal_long(obj, &v)) {
1715 /*
1716 this is needed to make valgrind/purify happier.
1717 */
1718 memset((void*)&v, 0, sizeof(long));
1719 }
1720 return v;
1721 }
1722
1723
1724 SWIGINTERNINLINE int
1725 SWIG_Check_int(PyObject* obj)
1726 {
1727 return SWIG_AsVal_int(obj, (int*)0);
1728 }
1729
1730
1731 SWIGINTERNINLINE int
1732 SWIG_Check_long(PyObject* obj)
1733 {
1734 return SWIG_AsVal_long(obj, (long*)0);
1735 }
1736
1737 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1738
1739 SWIGINTERN int
1740 SWIG_AsVal_bool(PyObject *obj, bool *val)
1741 {
1742 if (obj == Py_True) {
1743 if (val) *val = true;
1744 return 1;
1745 }
1746 if (obj == Py_False) {
1747 if (val) *val = false;
1748 return 1;
1749 }
1750 int res = 0;
1751 if (SWIG_AsVal_int(obj, &res)) {
1752 if (val) *val = res ? true : false;
1753 return 1;
1754 } else {
1755 PyErr_Clear();
1756 }
1757 if (val) {
1758 SWIG_type_error("bool", obj);
1759 }
1760 return 0;
1761 }
1762
1763
1764 SWIGINTERNINLINE bool
1765 SWIG_As_bool(PyObject* obj)
1766 {
1767 bool v;
1768 if (!SWIG_AsVal_bool(obj, &v)) {
1769 /*
1770 this is needed to make valgrind/purify happier.
1771 */
1772 memset((void*)&v, 0, sizeof(bool));
1773 }
1774 return v;
1775 }
1776
1777
1778 SWIGINTERNINLINE int
1779 SWIG_Check_bool(PyObject* obj)
1780 {
1781 return SWIG_AsVal_bool(obj, (bool*)0);
1782 }
1783
1784 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1785 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1786
1787 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1788 #define SWIG_From_long PyInt_FromLong
1789 /*@@*/
1790
1791 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1792 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1793 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1794 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1795
1796 #include <wx/checklst.h>
1797
1798
1799 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1800 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1801 if (clientData) {
1802 wxPyClientData* data = new wxPyClientData(clientData);
1803 self->Insert(item, pos, data);
1804 } else
1805 self->Insert(item, pos);
1806 }
1807 static PyObject *wxListBox_GetSelections(wxListBox *self){
1808 wxArrayInt lst;
1809 self->GetSelections(lst);
1810 PyObject *tup = PyTuple_New(lst.GetCount());
1811 for(size_t i=0; i<lst.GetCount(); i++) {
1812 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1813 }
1814 return tup;
1815 }
1816 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1817 #ifdef __WXMSW__
1818 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1819 self->GetItem(item)->SetTextColour(c);
1820 #endif
1821 }
1822 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1823 #ifdef __WXMSW__
1824 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1825 self->GetItem(item)->SetBackgroundColour(c);
1826 #endif
1827 }
1828 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1829 #ifdef __WXMSW__
1830 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1831 self->GetItem(item)->SetFont(f);
1832 #endif
1833 }
1834 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1835
1836 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1837 PyObject* o2;
1838 PyObject* o3;
1839
1840 if (!target) {
1841 target = o;
1842 } else if (target == Py_None) {
1843 Py_DECREF(Py_None);
1844 target = o;
1845 } else {
1846 if (!PyTuple_Check(target)) {
1847 o2 = target;
1848 target = PyTuple_New(1);
1849 PyTuple_SetItem(target, 0, o2);
1850 }
1851 o3 = PyTuple_New(1);
1852 PyTuple_SetItem(o3, 0, o);
1853
1854 o2 = target;
1855 target = PySequence_Concat(o2, o3);
1856 Py_DECREF(o2);
1857 Py_DECREF(o3);
1858 }
1859 return target;
1860 }
1861
1862
1863
1864 SWIGINTERN int
1865 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1866 {
1867 long v = 0;
1868 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1869 SWIG_type_error("unsigned number", obj);
1870 }
1871 else if (val)
1872 *val = (unsigned long)v;
1873 return 1;
1874 }
1875
1876
1877 SWIGINTERNINLINE unsigned long
1878 SWIG_As_unsigned_SS_long(PyObject* obj)
1879 {
1880 unsigned long v;
1881 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1882 /*
1883 this is needed to make valgrind/purify happier.
1884 */
1885 memset((void*)&v, 0, sizeof(unsigned long));
1886 }
1887 return v;
1888 }
1889
1890
1891 SWIGINTERNINLINE int
1892 SWIG_Check_unsigned_SS_long(PyObject* obj)
1893 {
1894 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1895 }
1896
1897 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1898 self->AppendText(text);
1899 }
1900 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1901 return self->GetValue().Mid(from, to - from);
1902 }
1903 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1904 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1905 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1906 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1907 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1908
1909 #include <wx/slider.h>
1910
1911
1912 static const wxString wxPySliderNameStr(wxSliderNameStr);
1913 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1914
1915 #if !wxUSE_TOGGLEBTN
1916 // implement dummy items for platforms that don't have this class
1917
1918 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1919
1920 class wxToggleButton : public wxControl
1921 {
1922 public:
1923 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1924 const wxPoint&, const wxSize&, long,
1925 const wxValidator&, const wxString&)
1926 { wxPyRaiseNotImplemented(); }
1927
1928 wxToggleButton()
1929 { wxPyRaiseNotImplemented(); }
1930 };
1931 #endif
1932
1933 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1934
1935 SWIGINTERNINLINE PyObject*
1936 SWIG_From_unsigned_SS_long(unsigned long value)
1937 {
1938 return (value > LONG_MAX) ?
1939 PyLong_FromUnsignedLong(value)
1940 : PyInt_FromLong(static_cast<long >(value));
1941 }
1942
1943 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1944 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1945 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1946 if (udata) {
1947 Py_INCREF(udata->m_obj);
1948 return udata->m_obj;
1949 } else {
1950 Py_INCREF(Py_None);
1951 return Py_None;
1952 }
1953 }
1954 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1955 self->SetClientData(new wxPyUserData(clientData));
1956 }
1957 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){
1958 wxPyUserData* udata = NULL;
1959 if (clientData && clientData != Py_None)
1960 udata = new wxPyUserData(clientData);
1961 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1962 shortHelp, longHelp, udata);
1963 }
1964 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){
1965 wxPyUserData* udata = NULL;
1966 if (clientData && clientData != Py_None)
1967 udata = new wxPyUserData(clientData);
1968 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1969 shortHelp, longHelp, udata);
1970 }
1971 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1972 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1973 if (udata) {
1974 Py_INCREF(udata->m_obj);
1975 return udata->m_obj;
1976 } else {
1977 Py_INCREF(Py_None);
1978 return Py_None;
1979 }
1980 }
1981 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1982 self->SetToolClientData(id, new wxPyUserData(clientData));
1983 }
1984
1985 #include <wx/listctrl.h>
1986
1987 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1988 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1989 // Python aware sorting function for wxPyListCtrl
1990 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1991 int retval = 0;
1992 PyObject* func = (PyObject*)funcPtr;
1993 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1994
1995 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1996 PyObject* result = PyEval_CallObject(func, args);
1997 Py_DECREF(args);
1998 if (result) {
1999 retval = PyInt_AsLong(result);
2000 Py_DECREF(result);
2001 }
2002
2003 wxPyEndBlockThreads(blocked);
2004 return retval;
2005 }
2006
2007 // C++ Version of a Python aware class
2008 class wxPyListCtrl : public wxListCtrl {
2009 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
2010 public:
2011 wxPyListCtrl() : wxListCtrl() {}
2012 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2013 const wxPoint& pos,
2014 const wxSize& size,
2015 long style,
2016 const wxValidator& validator,
2017 const wxString& name) :
2018 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2019
2020 bool Create(wxWindow* parent, wxWindowID id,
2021 const wxPoint& pos,
2022 const wxSize& size,
2023 long style,
2024 const wxValidator& validator,
2025 const wxString& name) {
2026 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2027 }
2028
2029 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
2030 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2031
2032 // use the virtual version to avoid a confusing assert in the base class
2033 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
2034
2035 PYPRIVATE;
2036 };
2037
2038 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2039
2040 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
2041 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
2042 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
2043
2044
2045 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
2046 wxListItem item;
2047 item.SetMask( wxLIST_MASK_STATE |
2048 wxLIST_MASK_TEXT |
2049 wxLIST_MASK_IMAGE |
2050 wxLIST_MASK_DATA |
2051 wxLIST_SET_ITEM |
2052 wxLIST_MASK_WIDTH |
2053 wxLIST_MASK_FORMAT
2054 );
2055 if (self->GetColumn(col, item))
2056 return new wxListItem(item);
2057 else
2058 return NULL;
2059 }
2060 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
2061 wxListItem* info = new wxListItem;
2062 info->m_itemId = itemId;
2063 info->m_col = col;
2064 info->m_mask = 0xFFFF;
2065 self->GetItem(*info);
2066 return info;
2067 }
2068 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
2069 wxPoint pos;
2070 self->GetItemPosition(item, pos);
2071 return pos;
2072 }
2073 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
2074 wxRect rect;
2075 self->GetItemRect(item, rect, code);
2076 return rect;
2077 }
2078
2079 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
2080 if (!PyCallable_Check(func))
2081 return false;
2082 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2083 }
2084 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
2085
2086
2087
2088 return (wxWindow*)self->m_mainWin;
2089
2090 }
2091
2092 #include <wx/treectrl.h>
2093 #include "wx/wxPython/pytree.h"
2094
2095 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2096 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2097 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2098 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
2099 // C++ version of Python aware wxTreeCtrl
2100 class wxPyTreeCtrl : public wxTreeCtrl {
2101 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
2102 public:
2103 wxPyTreeCtrl() : wxTreeCtrl() {}
2104 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2105 const wxPoint& pos,
2106 const wxSize& size,
2107 long style,
2108 const wxValidator& validator,
2109 const wxString& name) :
2110 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2111
2112 bool Create(wxWindow *parent, wxWindowID id,
2113 const wxPoint& pos,
2114 const wxSize& size,
2115 long style,
2116 const wxValidator& validator,
2117 const wxString& name) {
2118 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2119 }
2120
2121
2122 int OnCompareItems(const wxTreeItemId& item1,
2123 const wxTreeItemId& item2) {
2124 int rval = 0;
2125 bool found;
2126 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2127 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2128 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2129 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
2130 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2131 Py_DECREF(o1);
2132 Py_DECREF(o2);
2133 }
2134 wxPyEndBlockThreads(blocked);
2135 if (! found)
2136 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2137 return rval;
2138 }
2139 PYPRIVATE;
2140 };
2141
2142 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2143
2144
2145
2146 #if UINT_MAX < LONG_MAX
2147 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2148 #define SWIG_From_unsigned_SS_int SWIG_From_long
2149 /*@@*/
2150 #else
2151 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2152 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2153 /*@@*/
2154 #endif
2155
2156
2157 SWIGINTERNINLINE int
2158 SWIG_CheckUnsignedLongInRange(unsigned long value,
2159 unsigned long max_value,
2160 const char *errmsg)
2161 {
2162 if (value > max_value) {
2163 if (errmsg) {
2164 PyErr_Format(PyExc_OverflowError,
2165 "value %lu is greater than '%s' minimum %lu",
2166 value, errmsg, max_value);
2167 }
2168 return 0;
2169 }
2170 return 1;
2171 }
2172
2173
2174 #if UINT_MAX != ULONG_MAX
2175 SWIGINTERN int
2176 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2177 {
2178 const char* errmsg = val ? "unsigned int" : (char*)0;
2179 unsigned long v;
2180 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2181 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2182 if (val) *val = static_cast<unsigned int >(v);
2183 return 1;
2184 }
2185 } else {
2186 PyErr_Clear();
2187 }
2188 if (val) {
2189 SWIG_type_error(errmsg, obj);
2190 }
2191 return 0;
2192 }
2193 #else
2194 SWIGINTERNINLINE unsigned int
2195 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2196 {
2197 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2198 }
2199 #endif
2200
2201
2202 SWIGINTERNINLINE unsigned int
2203 SWIG_As_unsigned_SS_int(PyObject* obj)
2204 {
2205 unsigned int v;
2206 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2207 /*
2208 this is needed to make valgrind/purify happier.
2209 */
2210 memset((void*)&v, 0, sizeof(unsigned int));
2211 }
2212 return v;
2213 }
2214
2215
2216 SWIGINTERNINLINE int
2217 SWIG_Check_unsigned_SS_int(PyObject* obj)
2218 {
2219 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2220 }
2221
2222 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2223 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2224 if (data == NULL) {
2225 data = new wxPyTreeItemData();
2226 data->SetId(item); // set the id
2227 self->SetItemData(item, data);
2228 }
2229 return data;
2230 }
2231 static PyObject *wxPyTreeCtrl_GetItemPyData(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->GetData();
2239 }
2240 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2241 data->SetId(item); // set the id
2242 self->SetItemData(item, data);
2243 }
2244 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2245 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2246 if (data == NULL) {
2247 data = new wxPyTreeItemData(obj);
2248 data->SetId(item); // set the id
2249 self->SetItemData(item, data);
2250 } else
2251 data->SetData(obj);
2252 }
2253 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2254 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2255 PyObject* rval = PyList_New(0);
2256 wxArrayTreeItemIds array;
2257 size_t num, x;
2258 num = self->GetSelections(array);
2259 for (x=0; x < num; x++) {
2260 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2261 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2262 PyList_Append(rval, item);
2263 Py_DECREF(item);
2264 }
2265 wxPyEndBlockThreads(blocked);
2266 return rval;
2267 }
2268 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2269 void* cookie = 0;
2270 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2271 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2272 PyObject* tup = PyTuple_New(2);
2273 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2274 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2275 wxPyEndBlockThreads(blocked);
2276 return tup;
2277 }
2278 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2279 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(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_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2288 wxRect rect;
2289 if (self->GetBoundingRect(item, rect, textOnly)) {
2290 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2291 wxRect* r = new wxRect(rect);
2292 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2293 wxPyEndBlockThreads(blocked);
2294 return val;
2295 }
2296 else
2297 RETURN_NONE();
2298 }
2299 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2300
2301 SWIGINTERNINLINE PyObject*
2302 SWIG_From_bool(bool value)
2303 {
2304 PyObject *obj = value ? Py_True : Py_False;
2305 Py_INCREF(obj);
2306 return obj;
2307 }
2308
2309
2310 // C++ version of Python aware wxControl
2311 class wxPyControl : public wxControl
2312 {
2313 DECLARE_DYNAMIC_CLASS(wxPyControl)
2314 public:
2315 wxPyControl() : wxControl() {}
2316 wxPyControl(wxWindow* parent, const wxWindowID id,
2317 const wxPoint& pos = wxDefaultPosition,
2318 const wxSize& size = wxDefaultSize,
2319 long style = 0,
2320 const wxValidator& validator=wxDefaultValidator,
2321 const wxString& name = wxPyControlNameStr)
2322 : wxControl(parent, id, pos, size, style, validator, name) {}
2323
2324 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2325
2326 bool DoEraseBackground(wxDC* dc) {
2327 #ifdef __WXMSW__
2328 return wxWindow::DoEraseBackground(dc->GetHDC());
2329 #else
2330 dc->SetBackground(wxBrush(GetBackgroundColour()));
2331 dc->Clear();
2332 return true;
2333 #endif
2334 }
2335
2336 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2337 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2338 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2339 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2340
2341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2343 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2344
2345 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2346 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2347
2348 DEC_PYCALLBACK__(InitDialog);
2349 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2350 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2351 DEC_PYCALLBACK_BOOL_(Validate);
2352
2353 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2354 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2355 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2356
2357 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2358 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2359
2360 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2361 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2362
2363 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2364
2365 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2366
2367 PYPRIVATE;
2368 };
2369
2370 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2371
2372 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2373 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2374 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2375 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2376
2377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2379 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2380
2381 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2382 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2383
2384 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2385 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2386 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2387 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2388
2389 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2390 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2391 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2392
2393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2394 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2395
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2397 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2398
2399 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2400
2401 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2402
2403
2404
2405 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2406
2407 #include <wx/generic/dragimgg.h>
2408
2409 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2410 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2411 wxDateTime rv;
2412 self->GetRange(&rv, NULL);
2413 return rv;
2414 }
2415 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2416 wxDateTime rv;
2417 self->GetRange(NULL, &rv);
2418 return rv;
2419 }
2420 #ifdef __cplusplus
2421 extern "C" {
2422 #endif
2423 static int _wrap_ButtonNameStr_set(PyObject *) {
2424 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2425 return 1;
2426 }
2427
2428
2429 static PyObject *_wrap_ButtonNameStr_get(void) {
2430 PyObject *pyobj = NULL;
2431
2432 {
2433 #if wxUSE_UNICODE
2434 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2435 #else
2436 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2437 #endif
2438 }
2439 return pyobj;
2440 }
2441
2442
2443 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj = NULL;
2445 wxWindow *arg1 = (wxWindow *) 0 ;
2446 int arg2 = (int) -1 ;
2447 wxString const &arg3_defvalue = wxPyEmptyString ;
2448 wxString *arg3 = (wxString *) &arg3_defvalue ;
2449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2451 wxSize const &arg5_defvalue = wxDefaultSize ;
2452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2453 long arg6 = (long) 0 ;
2454 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2455 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2456 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2457 wxString *arg8 = (wxString *) &arg8_defvalue ;
2458 wxButton *result;
2459 bool temp3 = false ;
2460 wxPoint temp4 ;
2461 wxSize temp5 ;
2462 bool temp8 = false ;
2463 PyObject * obj0 = 0 ;
2464 PyObject * obj1 = 0 ;
2465 PyObject * obj2 = 0 ;
2466 PyObject * obj3 = 0 ;
2467 PyObject * obj4 = 0 ;
2468 PyObject * obj5 = 0 ;
2469 PyObject * obj6 = 0 ;
2470 PyObject * obj7 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2477 if (SWIG_arg_fail(1)) SWIG_fail;
2478 if (obj1) {
2479 {
2480 arg2 = static_cast<int >(SWIG_As_int(obj1));
2481 if (SWIG_arg_fail(2)) SWIG_fail;
2482 }
2483 }
2484 if (obj2) {
2485 {
2486 arg3 = wxString_in_helper(obj2);
2487 if (arg3 == NULL) SWIG_fail;
2488 temp3 = true;
2489 }
2490 }
2491 if (obj3) {
2492 {
2493 arg4 = &temp4;
2494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2495 }
2496 }
2497 if (obj4) {
2498 {
2499 arg5 = &temp5;
2500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2501 }
2502 }
2503 if (obj5) {
2504 {
2505 arg6 = static_cast<long >(SWIG_As_long(obj5));
2506 if (SWIG_arg_fail(6)) SWIG_fail;
2507 }
2508 }
2509 if (obj6) {
2510 {
2511 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2512 if (SWIG_arg_fail(7)) SWIG_fail;
2513 if (arg7 == NULL) {
2514 SWIG_null_ref("wxValidator");
2515 }
2516 if (SWIG_arg_fail(7)) SWIG_fail;
2517 }
2518 }
2519 if (obj7) {
2520 {
2521 arg8 = wxString_in_helper(obj7);
2522 if (arg8 == NULL) SWIG_fail;
2523 temp8 = true;
2524 }
2525 }
2526 {
2527 if (!wxPyCheckForApp()) SWIG_fail;
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2535 {
2536 if (temp3)
2537 delete arg3;
2538 }
2539 {
2540 if (temp8)
2541 delete arg8;
2542 }
2543 return resultobj;
2544 fail:
2545 {
2546 if (temp3)
2547 delete arg3;
2548 }
2549 {
2550 if (temp8)
2551 delete arg8;
2552 }
2553 return NULL;
2554 }
2555
2556
2557 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj = NULL;
2559 wxButton *result;
2560 char *kwnames[] = {
2561 NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2565 {
2566 if (!wxPyCheckForApp()) SWIG_fail;
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 result = (wxButton *)new wxButton();
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj = NULL;
2582 wxButton *arg1 = (wxButton *) 0 ;
2583 wxWindow *arg2 = (wxWindow *) 0 ;
2584 int arg3 = (int) -1 ;
2585 wxString const &arg4_defvalue = wxPyEmptyString ;
2586 wxString *arg4 = (wxString *) &arg4_defvalue ;
2587 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2588 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2589 wxSize const &arg6_defvalue = wxDefaultSize ;
2590 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2591 long arg7 = (long) 0 ;
2592 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2593 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2594 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2595 wxString *arg9 = (wxString *) &arg9_defvalue ;
2596 bool result;
2597 bool temp4 = false ;
2598 wxPoint temp5 ;
2599 wxSize temp6 ;
2600 bool temp9 = false ;
2601 PyObject * obj0 = 0 ;
2602 PyObject * obj1 = 0 ;
2603 PyObject * obj2 = 0 ;
2604 PyObject * obj3 = 0 ;
2605 PyObject * obj4 = 0 ;
2606 PyObject * obj5 = 0 ;
2607 PyObject * obj6 = 0 ;
2608 PyObject * obj7 = 0 ;
2609 PyObject * obj8 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail;
2617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2618 if (SWIG_arg_fail(2)) SWIG_fail;
2619 if (obj2) {
2620 {
2621 arg3 = static_cast<int >(SWIG_As_int(obj2));
2622 if (SWIG_arg_fail(3)) SWIG_fail;
2623 }
2624 }
2625 if (obj3) {
2626 {
2627 arg4 = wxString_in_helper(obj3);
2628 if (arg4 == NULL) SWIG_fail;
2629 temp4 = true;
2630 }
2631 }
2632 if (obj4) {
2633 {
2634 arg5 = &temp5;
2635 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2636 }
2637 }
2638 if (obj5) {
2639 {
2640 arg6 = &temp6;
2641 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2642 }
2643 }
2644 if (obj6) {
2645 {
2646 arg7 = static_cast<long >(SWIG_As_long(obj6));
2647 if (SWIG_arg_fail(7)) SWIG_fail;
2648 }
2649 }
2650 if (obj7) {
2651 {
2652 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2653 if (SWIG_arg_fail(8)) SWIG_fail;
2654 if (arg8 == NULL) {
2655 SWIG_null_ref("wxValidator");
2656 }
2657 if (SWIG_arg_fail(8)) SWIG_fail;
2658 }
2659 }
2660 if (obj8) {
2661 {
2662 arg9 = wxString_in_helper(obj8);
2663 if (arg9 == NULL) SWIG_fail;
2664 temp9 = true;
2665 }
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 {
2675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2676 }
2677 {
2678 if (temp4)
2679 delete arg4;
2680 }
2681 {
2682 if (temp9)
2683 delete arg9;
2684 }
2685 return resultobj;
2686 fail:
2687 {
2688 if (temp4)
2689 delete arg4;
2690 }
2691 {
2692 if (temp9)
2693 delete arg9;
2694 }
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj = NULL;
2701 wxButton *arg1 = (wxButton *) 0 ;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2709 if (SWIG_arg_fail(1)) SWIG_fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->SetDefault();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj = NULL;
2726 wxSize result;
2727 char *kwnames[] = {
2728 NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = wxButton::GetDefaultSize();
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 wxSize * resultptr;
2741 resultptr = new wxSize(static_cast<wxSize & >(result));
2742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2743 }
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj = NULL;
2752 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2753 wxVisualAttributes result;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "variant", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2760 if (obj0) {
2761 {
2762 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
2763 if (SWIG_arg_fail(1)) SWIG_fail;
2764 }
2765 }
2766 {
2767 if (!wxPyCheckForApp()) SWIG_fail;
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = wxButton::GetClassDefaultAttributes(arg1);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775 wxVisualAttributes * resultptr;
2776 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
2777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2778 }
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2786 PyObject *obj;
2787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2788 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2789 Py_INCREF(obj);
2790 return Py_BuildValue((char *)"");
2791 }
2792 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj = NULL;
2794 wxWindow *arg1 = (wxWindow *) 0 ;
2795 int arg2 = (int) -1 ;
2796 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2797 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2800 wxSize const &arg5_defvalue = wxDefaultSize ;
2801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2802 long arg6 = (long) wxBU_AUTODRAW ;
2803 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2804 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2805 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2806 wxString *arg8 = (wxString *) &arg8_defvalue ;
2807 wxBitmapButton *result;
2808 wxPoint temp4 ;
2809 wxSize temp5 ;
2810 bool temp8 = false ;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2813 PyObject * obj2 = 0 ;
2814 PyObject * obj3 = 0 ;
2815 PyObject * obj4 = 0 ;
2816 PyObject * obj5 = 0 ;
2817 PyObject * obj6 = 0 ;
2818 PyObject * obj7 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2825 if (SWIG_arg_fail(1)) SWIG_fail;
2826 if (obj1) {
2827 {
2828 arg2 = static_cast<int >(SWIG_As_int(obj1));
2829 if (SWIG_arg_fail(2)) SWIG_fail;
2830 }
2831 }
2832 if (obj2) {
2833 {
2834 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2835 if (SWIG_arg_fail(3)) SWIG_fail;
2836 if (arg3 == NULL) {
2837 SWIG_null_ref("wxBitmap");
2838 }
2839 if (SWIG_arg_fail(3)) SWIG_fail;
2840 }
2841 }
2842 if (obj3) {
2843 {
2844 arg4 = &temp4;
2845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2846 }
2847 }
2848 if (obj4) {
2849 {
2850 arg5 = &temp5;
2851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2852 }
2853 }
2854 if (obj5) {
2855 {
2856 arg6 = static_cast<long >(SWIG_As_long(obj5));
2857 if (SWIG_arg_fail(6)) SWIG_fail;
2858 }
2859 }
2860 if (obj6) {
2861 {
2862 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2863 if (SWIG_arg_fail(7)) SWIG_fail;
2864 if (arg7 == NULL) {
2865 SWIG_null_ref("wxValidator");
2866 }
2867 if (SWIG_arg_fail(7)) SWIG_fail;
2868 }
2869 }
2870 if (obj7) {
2871 {
2872 arg8 = wxString_in_helper(obj7);
2873 if (arg8 == NULL) SWIG_fail;
2874 temp8 = true;
2875 }
2876 }
2877 {
2878 if (!wxPyCheckForApp()) SWIG_fail;
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2886 {
2887 if (temp8)
2888 delete arg8;
2889 }
2890 return resultobj;
2891 fail:
2892 {
2893 if (temp8)
2894 delete arg8;
2895 }
2896 return NULL;
2897 }
2898
2899
2900 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj = NULL;
2902 wxBitmapButton *result;
2903 char *kwnames[] = {
2904 NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2908 {
2909 if (!wxPyCheckForApp()) SWIG_fail;
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxBitmapButton *)new wxBitmapButton();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj = NULL;
2925 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2926 wxWindow *arg2 = (wxWindow *) 0 ;
2927 int arg3 = (int) -1 ;
2928 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2929 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2932 wxSize const &arg6_defvalue = wxDefaultSize ;
2933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2934 long arg7 = (long) wxBU_AUTODRAW ;
2935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2937 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2938 wxString *arg9 = (wxString *) &arg9_defvalue ;
2939 bool result;
2940 wxPoint temp5 ;
2941 wxSize temp6 ;
2942 bool temp9 = false ;
2943 PyObject * obj0 = 0 ;
2944 PyObject * obj1 = 0 ;
2945 PyObject * obj2 = 0 ;
2946 PyObject * obj3 = 0 ;
2947 PyObject * obj4 = 0 ;
2948 PyObject * obj5 = 0 ;
2949 PyObject * obj6 = 0 ;
2950 PyObject * obj7 = 0 ;
2951 PyObject * obj8 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2958 if (SWIG_arg_fail(1)) SWIG_fail;
2959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2960 if (SWIG_arg_fail(2)) SWIG_fail;
2961 if (obj2) {
2962 {
2963 arg3 = static_cast<int >(SWIG_As_int(obj2));
2964 if (SWIG_arg_fail(3)) SWIG_fail;
2965 }
2966 }
2967 if (obj3) {
2968 {
2969 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(4)) SWIG_fail;
2971 if (arg4 == NULL) {
2972 SWIG_null_ref("wxBitmap");
2973 }
2974 if (SWIG_arg_fail(4)) SWIG_fail;
2975 }
2976 }
2977 if (obj4) {
2978 {
2979 arg5 = &temp5;
2980 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2981 }
2982 }
2983 if (obj5) {
2984 {
2985 arg6 = &temp6;
2986 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2987 }
2988 }
2989 if (obj6) {
2990 {
2991 arg7 = static_cast<long >(SWIG_As_long(obj6));
2992 if (SWIG_arg_fail(7)) SWIG_fail;
2993 }
2994 }
2995 if (obj7) {
2996 {
2997 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2998 if (SWIG_arg_fail(8)) SWIG_fail;
2999 if (arg8 == NULL) {
3000 SWIG_null_ref("wxValidator");
3001 }
3002 if (SWIG_arg_fail(8)) SWIG_fail;
3003 }
3004 }
3005 if (obj8) {
3006 {
3007 arg9 = wxString_in_helper(obj8);
3008 if (arg9 == NULL) SWIG_fail;
3009 temp9 = true;
3010 }
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 {
3020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3021 }
3022 {
3023 if (temp9)
3024 delete arg9;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp9)
3030 delete arg9;
3031 }
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj = NULL;
3038 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3039 wxBitmap result;
3040 PyObject * obj0 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
3046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3047 if (SWIG_arg_fail(1)) SWIG_fail;
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 result = (arg1)->GetBitmapLabel();
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 {
3056 wxBitmap * resultptr;
3057 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3059 }
3060 return resultobj;
3061 fail:
3062 return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj = NULL;
3068 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3069 wxBitmap result;
3070 PyObject * obj0 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
3076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail;
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = (arg1)->GetBitmapDisabled();
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086 wxBitmap * resultptr;
3087 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3089 }
3090 return resultobj;
3091 fail:
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj = NULL;
3098 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3099 wxBitmap result;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
3106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail;
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (arg1)->GetBitmapFocus();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 {
3116 wxBitmap * resultptr;
3117 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3119 }
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj = NULL;
3128 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3129 wxBitmap result;
3130 PyObject * obj0 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
3136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3137 if (SWIG_arg_fail(1)) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (arg1)->GetBitmapSelected();
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 {
3146 wxBitmap * resultptr;
3147 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3149 }
3150 return resultobj;
3151 fail:
3152 return NULL;
3153 }
3154
3155
3156 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj = NULL;
3158 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3159 wxBitmap *arg2 = 0 ;
3160 PyObject * obj0 = 0 ;
3161 PyObject * obj1 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "bitmap", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
3169 {
3170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3171 if (SWIG_arg_fail(2)) SWIG_fail;
3172 if (arg2 == NULL) {
3173 SWIG_null_ref("wxBitmap");
3174 }
3175 if (SWIG_arg_fail(2)) SWIG_fail;
3176 }
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 Py_INCREF(Py_None); resultobj = Py_None;
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj = NULL;
3193 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3194 wxBitmap *arg2 = 0 ;
3195 PyObject * obj0 = 0 ;
3196 PyObject * obj1 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "bitmap", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail;
3204 {
3205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3206 if (SWIG_arg_fail(2)) SWIG_fail;
3207 if (arg2 == NULL) {
3208 SWIG_null_ref("wxBitmap");
3209 }
3210 if (SWIG_arg_fail(2)) SWIG_fail;
3211 }
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj = NULL;
3228 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3229 wxBitmap *arg2 = 0 ;
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "bitmap", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 {
3240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 if (arg2 == NULL) {
3243 SWIG_null_ref("wxBitmap");
3244 }
3245 if (SWIG_arg_fail(2)) SWIG_fail;
3246 }
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = NULL;
3263 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3264 wxBitmap *arg2 = 0 ;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "bitmap", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail;
3274 {
3275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3276 if (SWIG_arg_fail(2)) SWIG_fail;
3277 if (arg2 == NULL) {
3278 SWIG_null_ref("wxBitmap");
3279 }
3280 if (SWIG_arg_fail(2)) SWIG_fail;
3281 }
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 Py_INCREF(Py_None); resultobj = Py_None;
3290 return resultobj;
3291 fail:
3292 return NULL;
3293 }
3294
3295
3296 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj = NULL;
3298 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3299 int arg2 ;
3300 int arg3 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 PyObject * obj2 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "x",(char *) "y", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3310 if (SWIG_arg_fail(1)) SWIG_fail;
3311 {
3312 arg2 = static_cast<int >(SWIG_As_int(obj1));
3313 if (SWIG_arg_fail(2)) SWIG_fail;
3314 }
3315 {
3316 arg3 = static_cast<int >(SWIG_As_int(obj2));
3317 if (SWIG_arg_fail(3)) SWIG_fail;
3318 }
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 (arg1)->SetMargins(arg2,arg3);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 Py_INCREF(Py_None); resultobj = Py_None;
3327 return resultobj;
3328 fail:
3329 return NULL;
3330 }
3331
3332
3333 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj = NULL;
3335 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3336 int result;
3337 PyObject * obj0 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 resultobj = SWIG_From_int(static_cast<int >(result));
3354 }
3355 return resultobj;
3356 fail:
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj = NULL;
3363 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3364 int result;
3365 PyObject * obj0 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail;
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
3381 resultobj = SWIG_From_int(static_cast<int >(result));
3382 }
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3390 PyObject *obj;
3391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3393 Py_INCREF(obj);
3394 return Py_BuildValue((char *)"");
3395 }
3396 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3397 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3398 return 1;
3399 }
3400
3401
3402 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3403 PyObject *pyobj = NULL;
3404
3405 {
3406 #if wxUSE_UNICODE
3407 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3408 #else
3409 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3410 #endif
3411 }
3412 return pyobj;
3413 }
3414
3415
3416 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj = NULL;
3418 wxWindow *arg1 = (wxWindow *) 0 ;
3419 int arg2 = (int) -1 ;
3420 wxString const &arg3_defvalue = wxPyEmptyString ;
3421 wxString *arg3 = (wxString *) &arg3_defvalue ;
3422 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3423 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3424 wxSize const &arg5_defvalue = wxDefaultSize ;
3425 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3426 long arg6 = (long) 0 ;
3427 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3428 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3429 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3430 wxString *arg8 = (wxString *) &arg8_defvalue ;
3431 wxCheckBox *result;
3432 bool temp3 = false ;
3433 wxPoint temp4 ;
3434 wxSize temp5 ;
3435 bool temp8 = false ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 PyObject * obj4 = 0 ;
3441 PyObject * obj5 = 0 ;
3442 PyObject * obj6 = 0 ;
3443 PyObject * obj7 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail;
3451 if (obj1) {
3452 {
3453 arg2 = static_cast<int >(SWIG_As_int(obj1));
3454 if (SWIG_arg_fail(2)) SWIG_fail;
3455 }
3456 }
3457 if (obj2) {
3458 {
3459 arg3 = wxString_in_helper(obj2);
3460 if (arg3 == NULL) SWIG_fail;
3461 temp3 = true;
3462 }
3463 }
3464 if (obj3) {
3465 {
3466 arg4 = &temp4;
3467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3468 }
3469 }
3470 if (obj4) {
3471 {
3472 arg5 = &temp5;
3473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3474 }
3475 }
3476 if (obj5) {
3477 {
3478 arg6 = static_cast<long >(SWIG_As_long(obj5));
3479 if (SWIG_arg_fail(6)) SWIG_fail;
3480 }
3481 }
3482 if (obj6) {
3483 {
3484 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3485 if (SWIG_arg_fail(7)) SWIG_fail;
3486 if (arg7 == NULL) {
3487 SWIG_null_ref("wxValidator");
3488 }
3489 if (SWIG_arg_fail(7)) SWIG_fail;
3490 }
3491 }
3492 if (obj7) {
3493 {
3494 arg8 = wxString_in_helper(obj7);
3495 if (arg8 == NULL) SWIG_fail;
3496 temp8 = true;
3497 }
3498 }
3499 {
3500 if (!wxPyCheckForApp()) SWIG_fail;
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3508 {
3509 if (temp3)
3510 delete arg3;
3511 }
3512 {
3513 if (temp8)
3514 delete arg8;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp3)
3520 delete arg3;
3521 }
3522 {
3523 if (temp8)
3524 delete arg8;
3525 }
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj = NULL;
3532 wxCheckBox *result;
3533 char *kwnames[] = {
3534 NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3538 {
3539 if (!wxPyCheckForApp()) SWIG_fail;
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (wxCheckBox *)new wxCheckBox();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj = NULL;
3555 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3556 wxWindow *arg2 = (wxWindow *) 0 ;
3557 int arg3 = (int) -1 ;
3558 wxString const &arg4_defvalue = wxPyEmptyString ;
3559 wxString *arg4 = (wxString *) &arg4_defvalue ;
3560 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3561 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3562 wxSize const &arg6_defvalue = wxDefaultSize ;
3563 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3564 long arg7 = (long) 0 ;
3565 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3566 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3567 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3568 wxString *arg9 = (wxString *) &arg9_defvalue ;
3569 bool result;
3570 bool temp4 = false ;
3571 wxPoint temp5 ;
3572 wxSize temp6 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail;
3590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3591 if (SWIG_arg_fail(2)) SWIG_fail;
3592 if (obj2) {
3593 {
3594 arg3 = static_cast<int >(SWIG_As_int(obj2));
3595 if (SWIG_arg_fail(3)) SWIG_fail;
3596 }
3597 }
3598 if (obj3) {
3599 {
3600 arg4 = wxString_in_helper(obj3);
3601 if (arg4 == NULL) SWIG_fail;
3602 temp4 = true;
3603 }
3604 }
3605 if (obj4) {
3606 {
3607 arg5 = &temp5;
3608 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3609 }
3610 }
3611 if (obj5) {
3612 {
3613 arg6 = &temp6;
3614 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3615 }
3616 }
3617 if (obj6) {
3618 {
3619 arg7 = static_cast<long >(SWIG_As_long(obj6));
3620 if (SWIG_arg_fail(7)) SWIG_fail;
3621 }
3622 }
3623 if (obj7) {
3624 {
3625 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(8)) SWIG_fail;
3627 if (arg8 == NULL) {
3628 SWIG_null_ref("wxValidator");
3629 }
3630 if (SWIG_arg_fail(8)) SWIG_fail;
3631 }
3632 }
3633 if (obj8) {
3634 {
3635 arg9 = wxString_in_helper(obj8);
3636 if (arg9 == NULL) SWIG_fail;
3637 temp9 = true;
3638 }
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3649 }
3650 {
3651 if (temp4)
3652 delete arg4;
3653 }
3654 {
3655 if (temp9)
3656 delete arg9;
3657 }
3658 return resultobj;
3659 fail:
3660 {
3661 if (temp4)
3662 delete arg4;
3663 }
3664 {
3665 if (temp9)
3666 delete arg9;
3667 }
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj = NULL;
3674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3675 bool result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (bool)(arg1)->GetValue();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj = NULL;
3702 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)(arg1)->IsChecked();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 {
3720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3721 }
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj = NULL;
3730 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3731 bool arg2 ;
3732 PyObject * obj0 = 0 ;
3733 PyObject * obj1 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self",(char *) "state", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail;
3741 {
3742 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
3743 if (SWIG_arg_fail(2)) SWIG_fail;
3744 }
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->SetValue(arg2);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = NULL;
3761 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3762 wxCheckBoxState result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail;
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 resultobj = SWIG_From_int((result));
3779 return resultobj;
3780 fail:
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj = NULL;
3787 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3788 wxCheckBoxState arg2 ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "state", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail;
3798 {
3799 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
3800 if (SWIG_arg_fail(2)) SWIG_fail;
3801 }
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 (arg1)->Set3StateValue(arg2);
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj = NULL;
3818 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3819 bool result;
3820 PyObject * obj0 = 0 ;
3821 char *kwnames[] = {
3822 (char *) "self", NULL
3823 };
3824
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 {
3836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3837 }
3838 return resultobj;
3839 fail:
3840 return NULL;
3841 }
3842
3843
3844 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj = NULL;
3846 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3847 bool result;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail;
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 {
3864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3865 }
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj = NULL;
3874 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3875 wxVisualAttributes result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "variant", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3882 if (obj0) {
3883 {
3884 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3885 if (SWIG_arg_fail(1)) SWIG_fail;
3886 }
3887 }
3888 {
3889 if (!wxPyCheckForApp()) SWIG_fail;
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = wxCheckBox::GetClassDefaultAttributes(arg1);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897 wxVisualAttributes * resultptr;
3898 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3900 }
3901 return resultobj;
3902 fail:
3903 return NULL;
3904 }
3905
3906
3907 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3908 PyObject *obj;
3909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3910 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3911 Py_INCREF(obj);
3912 return Py_BuildValue((char *)"");
3913 }
3914 static int _wrap_ChoiceNameStr_set(PyObject *) {
3915 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3916 return 1;
3917 }
3918
3919
3920 static PyObject *_wrap_ChoiceNameStr_get(void) {
3921 PyObject *pyobj = NULL;
3922
3923 {
3924 #if wxUSE_UNICODE
3925 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3926 #else
3927 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3928 #endif
3929 }
3930 return pyobj;
3931 }
3932
3933
3934 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj = NULL;
3936 wxWindow *arg1 = (wxWindow *) 0 ;
3937 int arg2 = (int) -1 ;
3938 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3939 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3940 wxSize const &arg4_defvalue = wxDefaultSize ;
3941 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3942 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3943 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3944 long arg6 = (long) 0 ;
3945 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3946 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3947 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3948 wxString *arg8 = (wxString *) &arg8_defvalue ;
3949 wxChoice *result;
3950 wxPoint temp3 ;
3951 wxSize temp4 ;
3952 bool temp5 = false ;
3953 bool temp8 = false ;
3954 PyObject * obj0 = 0 ;
3955 PyObject * obj1 = 0 ;
3956 PyObject * obj2 = 0 ;
3957 PyObject * obj3 = 0 ;
3958 PyObject * obj4 = 0 ;
3959 PyObject * obj5 = 0 ;
3960 PyObject * obj6 = 0 ;
3961 PyObject * obj7 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3968 if (SWIG_arg_fail(1)) SWIG_fail;
3969 if (obj1) {
3970 {
3971 arg2 = static_cast<int >(SWIG_As_int(obj1));
3972 if (SWIG_arg_fail(2)) SWIG_fail;
3973 }
3974 }
3975 if (obj2) {
3976 {
3977 arg3 = &temp3;
3978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3979 }
3980 }
3981 if (obj3) {
3982 {
3983 arg4 = &temp4;
3984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3985 }
3986 }
3987 if (obj4) {
3988 {
3989 if (! PySequence_Check(obj4)) {
3990 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3991 SWIG_fail;
3992 }
3993 arg5 = new wxArrayString;
3994 temp5 = true;
3995 int i, len=PySequence_Length(obj4);
3996 for (i=0; i<len; i++) {
3997 PyObject* item = PySequence_GetItem(obj4, i);
3998 wxString* s = wxString_in_helper(item);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 arg5->Add(*s);
4001 delete s;
4002 Py_DECREF(item);
4003 }
4004 }
4005 }
4006 if (obj5) {
4007 {
4008 arg6 = static_cast<long >(SWIG_As_long(obj5));
4009 if (SWIG_arg_fail(6)) SWIG_fail;
4010 }
4011 }
4012 if (obj6) {
4013 {
4014 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4015 if (SWIG_arg_fail(7)) SWIG_fail;
4016 if (arg7 == NULL) {
4017 SWIG_null_ref("wxValidator");
4018 }
4019 if (SWIG_arg_fail(7)) SWIG_fail;
4020 }
4021 }
4022 if (obj7) {
4023 {
4024 arg8 = wxString_in_helper(obj7);
4025 if (arg8 == NULL) SWIG_fail;
4026 temp8 = true;
4027 }
4028 }
4029 {
4030 if (!wxPyCheckForApp()) SWIG_fail;
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4038 {
4039 if (temp5) delete arg5;
4040 }
4041 {
4042 if (temp8)
4043 delete arg8;
4044 }
4045 return resultobj;
4046 fail:
4047 {
4048 if (temp5) delete arg5;
4049 }
4050 {
4051 if (temp8)
4052 delete arg8;
4053 }
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj = NULL;
4060 wxChoice *result;
4061 char *kwnames[] = {
4062 NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (wxChoice *)new wxChoice();
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj = NULL;
4083 wxChoice *arg1 = (wxChoice *) 0 ;
4084 wxWindow *arg2 = (wxWindow *) 0 ;
4085 int arg3 = (int) -1 ;
4086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4088 wxSize const &arg5_defvalue = wxDefaultSize ;
4089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4090 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4091 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4092 long arg7 = (long) 0 ;
4093 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4094 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4095 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4096 wxString *arg9 = (wxString *) &arg9_defvalue ;
4097 bool result;
4098 wxPoint temp4 ;
4099 wxSize temp5 ;
4100 bool temp6 = false ;
4101 bool temp9 = false ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj2 = 0 ;
4105 PyObject * obj3 = 0 ;
4106 PyObject * obj4 = 0 ;
4107 PyObject * obj5 = 0 ;
4108 PyObject * obj6 = 0 ;
4109 PyObject * obj7 = 0 ;
4110 PyObject * obj8 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4117 if (SWIG_arg_fail(1)) SWIG_fail;
4118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(2)) SWIG_fail;
4120 if (obj2) {
4121 {
4122 arg3 = static_cast<int >(SWIG_As_int(obj2));
4123 if (SWIG_arg_fail(3)) SWIG_fail;
4124 }
4125 }
4126 if (obj3) {
4127 {
4128 arg4 = &temp4;
4129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4130 }
4131 }
4132 if (obj4) {
4133 {
4134 arg5 = &temp5;
4135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4136 }
4137 }
4138 if (obj5) {
4139 {
4140 if (! PySequence_Check(obj5)) {
4141 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4142 SWIG_fail;
4143 }
4144 arg6 = new wxArrayString;
4145 temp6 = true;
4146 int i, len=PySequence_Length(obj5);
4147 for (i=0; i<len; i++) {
4148 PyObject* item = PySequence_GetItem(obj5, i);
4149 wxString* s = wxString_in_helper(item);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 arg6->Add(*s);
4152 delete s;
4153 Py_DECREF(item);
4154 }
4155 }
4156 }
4157 if (obj6) {
4158 {
4159 arg7 = static_cast<long >(SWIG_As_long(obj6));
4160 if (SWIG_arg_fail(7)) SWIG_fail;
4161 }
4162 }
4163 if (obj7) {
4164 {
4165 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4166 if (SWIG_arg_fail(8)) SWIG_fail;
4167 if (arg8 == NULL) {
4168 SWIG_null_ref("wxValidator");
4169 }
4170 if (SWIG_arg_fail(8)) SWIG_fail;
4171 }
4172 }
4173 if (obj8) {
4174 {
4175 arg9 = wxString_in_helper(obj8);
4176 if (arg9 == NULL) SWIG_fail;
4177 temp9 = true;
4178 }
4179 }
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 {
4188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4189 }
4190 {
4191 if (temp6) delete arg6;
4192 }
4193 {
4194 if (temp9)
4195 delete arg9;
4196 }
4197 return resultobj;
4198 fail:
4199 {
4200 if (temp6) delete arg6;
4201 }
4202 {
4203 if (temp9)
4204 delete arg9;
4205 }
4206 return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj = NULL;
4212 wxChoice *arg1 = (wxChoice *) 0 ;
4213 int result;
4214 PyObject * obj0 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "self", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4221 if (SWIG_arg_fail(1)) SWIG_fail;
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = SWIG_From_int(static_cast<int >(result));
4231 }
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = NULL;
4240 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4241 wxVisualAttributes result;
4242 PyObject * obj0 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "variant", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4248 if (obj0) {
4249 {
4250 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4251 if (SWIG_arg_fail(1)) SWIG_fail;
4252 }
4253 }
4254 {
4255 if (!wxPyCheckForApp()) SWIG_fail;
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = wxChoice::GetClassDefaultAttributes(arg1);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 {
4263 wxVisualAttributes * resultptr;
4264 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4266 }
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4274 PyObject *obj;
4275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4277 Py_INCREF(obj);
4278 return Py_BuildValue((char *)"");
4279 }
4280 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4281 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4282 return 1;
4283 }
4284
4285
4286 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4287 PyObject *pyobj = NULL;
4288
4289 {
4290 #if wxUSE_UNICODE
4291 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4292 #else
4293 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4294 #endif
4295 }
4296 return pyobj;
4297 }
4298
4299
4300 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj = NULL;
4302 wxWindow *arg1 = (wxWindow *) 0 ;
4303 int arg2 = (int) -1 ;
4304 wxString const &arg3_defvalue = wxPyEmptyString ;
4305 wxString *arg3 = (wxString *) &arg3_defvalue ;
4306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4308 wxSize const &arg5_defvalue = wxDefaultSize ;
4309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4310 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4311 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4312 long arg7 = (long) 0 ;
4313 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4314 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4315 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4316 wxString *arg9 = (wxString *) &arg9_defvalue ;
4317 wxComboBox *result;
4318 bool temp3 = false ;
4319 wxPoint temp4 ;
4320 wxSize temp5 ;
4321 bool temp6 = false ;
4322 bool temp9 = false ;
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
4325 PyObject * obj2 = 0 ;
4326 PyObject * obj3 = 0 ;
4327 PyObject * obj4 = 0 ;
4328 PyObject * obj5 = 0 ;
4329 PyObject * obj6 = 0 ;
4330 PyObject * obj7 = 0 ;
4331 PyObject * obj8 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4338 if (SWIG_arg_fail(1)) SWIG_fail;
4339 if (obj1) {
4340 {
4341 arg2 = static_cast<int >(SWIG_As_int(obj1));
4342 if (SWIG_arg_fail(2)) SWIG_fail;
4343 }
4344 }
4345 if (obj2) {
4346 {
4347 arg3 = wxString_in_helper(obj2);
4348 if (arg3 == NULL) SWIG_fail;
4349 temp3 = true;
4350 }
4351 }
4352 if (obj3) {
4353 {
4354 arg4 = &temp4;
4355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4356 }
4357 }
4358 if (obj4) {
4359 {
4360 arg5 = &temp5;
4361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4362 }
4363 }
4364 if (obj5) {
4365 {
4366 if (! PySequence_Check(obj5)) {
4367 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4368 SWIG_fail;
4369 }
4370 arg6 = new wxArrayString;
4371 temp6 = true;
4372 int i, len=PySequence_Length(obj5);
4373 for (i=0; i<len; i++) {
4374 PyObject* item = PySequence_GetItem(obj5, i);
4375 wxString* s = wxString_in_helper(item);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 arg6->Add(*s);
4378 delete s;
4379 Py_DECREF(item);
4380 }
4381 }
4382 }
4383 if (obj6) {
4384 {
4385 arg7 = static_cast<long >(SWIG_As_long(obj6));
4386 if (SWIG_arg_fail(7)) SWIG_fail;
4387 }
4388 }
4389 if (obj7) {
4390 {
4391 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4392 if (SWIG_arg_fail(8)) SWIG_fail;
4393 if (arg8 == NULL) {
4394 SWIG_null_ref("wxValidator");
4395 }
4396 if (SWIG_arg_fail(8)) SWIG_fail;
4397 }
4398 }
4399 if (obj8) {
4400 {
4401 arg9 = wxString_in_helper(obj8);
4402 if (arg9 == NULL) SWIG_fail;
4403 temp9 = true;
4404 }
4405 }
4406 {
4407 if (!wxPyCheckForApp()) SWIG_fail;
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 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);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4415 {
4416 if (temp3)
4417 delete arg3;
4418 }
4419 {
4420 if (temp6) delete arg6;
4421 }
4422 {
4423 if (temp9)
4424 delete arg9;
4425 }
4426 return resultobj;
4427 fail:
4428 {
4429 if (temp3)
4430 delete arg3;
4431 }
4432 {
4433 if (temp6) delete arg6;
4434 }
4435 {
4436 if (temp9)
4437 delete arg9;
4438 }
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj = NULL;
4445 wxComboBox *result;
4446 char *kwnames[] = {
4447 NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4451 {
4452 if (!wxPyCheckForApp()) SWIG_fail;
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (wxComboBox *)new wxComboBox();
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4460 return resultobj;
4461 fail:
4462 return NULL;
4463 }
4464
4465
4466 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj = NULL;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxWindow *arg2 = (wxWindow *) 0 ;
4470 int arg3 = (int) -1 ;
4471 wxString const &arg4_defvalue = wxPyEmptyString ;
4472 wxString *arg4 = (wxString *) &arg4_defvalue ;
4473 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4474 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4475 wxSize const &arg6_defvalue = wxDefaultSize ;
4476 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4477 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4478 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4479 long arg8 = (long) 0 ;
4480 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4481 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4482 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4483 wxString *arg10 = (wxString *) &arg10_defvalue ;
4484 bool result;
4485 bool temp4 = false ;
4486 wxPoint temp5 ;
4487 wxSize temp6 ;
4488 bool temp7 = false ;
4489 bool temp10 = false ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 PyObject * obj3 = 0 ;
4494 PyObject * obj4 = 0 ;
4495 PyObject * obj5 = 0 ;
4496 PyObject * obj6 = 0 ;
4497 PyObject * obj7 = 0 ;
4498 PyObject * obj8 = 0 ;
4499 PyObject * obj9 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail;
4507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(2)) SWIG_fail;
4509 if (obj2) {
4510 {
4511 arg3 = static_cast<int >(SWIG_As_int(obj2));
4512 if (SWIG_arg_fail(3)) SWIG_fail;
4513 }
4514 }
4515 if (obj3) {
4516 {
4517 arg4 = wxString_in_helper(obj3);
4518 if (arg4 == NULL) SWIG_fail;
4519 temp4 = true;
4520 }
4521 }
4522 if (obj4) {
4523 {
4524 arg5 = &temp5;
4525 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4526 }
4527 }
4528 if (obj5) {
4529 {
4530 arg6 = &temp6;
4531 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4532 }
4533 }
4534 if (obj6) {
4535 {
4536 if (! PySequence_Check(obj6)) {
4537 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4538 SWIG_fail;
4539 }
4540 arg7 = new wxArrayString;
4541 temp7 = true;
4542 int i, len=PySequence_Length(obj6);
4543 for (i=0; i<len; i++) {
4544 PyObject* item = PySequence_GetItem(obj6, i);
4545 wxString* s = wxString_in_helper(item);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 arg7->Add(*s);
4548 delete s;
4549 Py_DECREF(item);
4550 }
4551 }
4552 }
4553 if (obj7) {
4554 {
4555 arg8 = static_cast<long >(SWIG_As_long(obj7));
4556 if (SWIG_arg_fail(8)) SWIG_fail;
4557 }
4558 }
4559 if (obj8) {
4560 {
4561 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4562 if (SWIG_arg_fail(9)) SWIG_fail;
4563 if (arg9 == NULL) {
4564 SWIG_null_ref("wxValidator");
4565 }
4566 if (SWIG_arg_fail(9)) SWIG_fail;
4567 }
4568 }
4569 if (obj9) {
4570 {
4571 arg10 = wxString_in_helper(obj9);
4572 if (arg10 == NULL) SWIG_fail;
4573 temp10 = true;
4574 }
4575 }
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 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);
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 {
4584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4585 }
4586 {
4587 if (temp4)
4588 delete arg4;
4589 }
4590 {
4591 if (temp7) delete arg7;
4592 }
4593 {
4594 if (temp10)
4595 delete arg10;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp7) delete arg7;
4605 }
4606 {
4607 if (temp10)
4608 delete arg10;
4609 }
4610 return NULL;
4611 }
4612
4613
4614 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj = NULL;
4616 wxComboBox *arg1 = (wxComboBox *) 0 ;
4617 wxString result;
4618 PyObject * obj0 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = ((wxComboBox const *)arg1)->GetValue();
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 #if wxUSE_UNICODE
4635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4636 #else
4637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4638 #endif
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj = NULL;
4648 wxComboBox *arg1 = (wxComboBox *) 0 ;
4649 wxString *arg2 = 0 ;
4650 bool temp2 = false ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self",(char *) "value", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4659 if (SWIG_arg_fail(1)) SWIG_fail;
4660 {
4661 arg2 = wxString_in_helper(obj1);
4662 if (arg2 == NULL) SWIG_fail;
4663 temp2 = true;
4664 }
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 (arg1)->SetValue((wxString const &)*arg2);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 Py_INCREF(Py_None); resultobj = Py_None;
4673 {
4674 if (temp2)
4675 delete arg2;
4676 }
4677 return resultobj;
4678 fail:
4679 {
4680 if (temp2)
4681 delete arg2;
4682 }
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj = NULL;
4689 wxComboBox *arg1 = (wxComboBox *) 0 ;
4690 PyObject * obj0 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Copy();
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj = NULL;
4714 wxComboBox *arg1 = (wxComboBox *) 0 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4722 if (SWIG_arg_fail(1)) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 (arg1)->Cut();
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj = NULL;
4739 wxComboBox *arg1 = (wxComboBox *) 0 ;
4740 PyObject * obj0 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail;
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 (arg1)->Paste();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 Py_INCREF(Py_None); resultobj = Py_None;
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj = NULL;
4764 wxComboBox *arg1 = (wxComboBox *) 0 ;
4765 long arg2 ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "self",(char *) "pos", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4774 if (SWIG_arg_fail(1)) SWIG_fail;
4775 {
4776 arg2 = static_cast<long >(SWIG_As_long(obj1));
4777 if (SWIG_arg_fail(2)) SWIG_fail;
4778 }
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 (arg1)->SetInsertionPoint(arg2);
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 Py_INCREF(Py_None); resultobj = Py_None;
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj = NULL;
4795 wxComboBox *arg1 = (wxComboBox *) 0 ;
4796 long result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = SWIG_From_long(static_cast<long >(result));
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj = NULL;
4823 wxComboBox *arg1 = (wxComboBox *) 0 ;
4824 long result;
4825 PyObject * obj0 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4832 if (SWIG_arg_fail(1)) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 resultobj = SWIG_From_long(static_cast<long >(result));
4842 }
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj = NULL;
4851 wxComboBox *arg1 = (wxComboBox *) 0 ;
4852 long arg2 ;
4853 long arg3 ;
4854 wxString *arg4 = 0 ;
4855 bool temp4 = false ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 PyObject * obj2 = 0 ;
4859 PyObject * obj3 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 {
4868 arg2 = static_cast<long >(SWIG_As_long(obj1));
4869 if (SWIG_arg_fail(2)) SWIG_fail;
4870 }
4871 {
4872 arg3 = static_cast<long >(SWIG_As_long(obj2));
4873 if (SWIG_arg_fail(3)) SWIG_fail;
4874 }
4875 {
4876 arg4 = wxString_in_helper(obj3);
4877 if (arg4 == NULL) SWIG_fail;
4878 temp4 = true;
4879 }
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 Py_INCREF(Py_None); resultobj = Py_None;
4888 {
4889 if (temp4)
4890 delete arg4;
4891 }
4892 return resultobj;
4893 fail:
4894 {
4895 if (temp4)
4896 delete arg4;
4897 }
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj = NULL;
4904 wxComboBox *arg1 = (wxComboBox *) 0 ;
4905 int arg2 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "n", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail;
4915 {
4916 arg2 = static_cast<int >(SWIG_As_int(obj1));
4917 if (SWIG_arg_fail(2)) SWIG_fail;
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->SetSelection(arg2);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj = NULL;
4935 wxComboBox *arg1 = (wxComboBox *) 0 ;
4936 long arg2 ;
4937 long arg3 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "from",(char *) "to", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail;
4948 {
4949 arg2 = static_cast<long >(SWIG_As_long(obj1));
4950 if (SWIG_arg_fail(2)) SWIG_fail;
4951 }
4952 {
4953 arg3 = static_cast<long >(SWIG_As_long(obj2));
4954 if (SWIG_arg_fail(3)) SWIG_fail;
4955 }
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SetSelection(arg2,arg3);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj = NULL;
4972 wxComboBox *arg1 = (wxComboBox *) 0 ;
4973 int result;
4974 PyObject * obj0 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
4980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail;
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 {
4990 resultobj = SWIG_From_int(static_cast<int >(result));
4991 }
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj = NULL;
5000 wxComboBox *arg1 = (wxComboBox *) 0 ;
5001 wxString *arg2 = 0 ;
5002 bool result;
5003 bool temp2 = false ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "string", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
5011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail;
5013 {
5014 arg2 = wxString_in_helper(obj1);
5015 if (arg2 == NULL) SWIG_fail;
5016 temp2 = true;
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 {
5026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5027 }
5028 {
5029 if (temp2)
5030 delete arg2;
5031 }
5032 return resultobj;
5033 fail:
5034 {
5035 if (temp2)
5036 delete arg2;
5037 }
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj = NULL;
5044 wxComboBox *arg1 = (wxComboBox *) 0 ;
5045 int arg2 ;
5046 wxString *arg3 = 0 ;
5047 bool temp3 = false ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 PyObject * obj2 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "n",(char *) "string", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
5056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail;
5058 {
5059 arg2 = static_cast<int >(SWIG_As_int(obj1));
5060 if (SWIG_arg_fail(2)) SWIG_fail;
5061 }
5062 {
5063 arg3 = wxString_in_helper(obj2);
5064 if (arg3 == NULL) SWIG_fail;
5065 temp3 = true;
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 (arg1)->SetString(arg2,(wxString const &)*arg3);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 Py_INCREF(Py_None); resultobj = Py_None;
5075 {
5076 if (temp3)
5077 delete arg3;
5078 }
5079 return resultobj;
5080 fail:
5081 {
5082 if (temp3)
5083 delete arg3;
5084 }
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = NULL;
5091 wxComboBox *arg1 = (wxComboBox *) 0 ;
5092 bool arg2 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "editable", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5104 if (SWIG_arg_fail(2)) SWIG_fail;
5105 }
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->SetEditable(arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj = NULL;
5122 wxComboBox *arg1 = (wxComboBox *) 0 ;
5123 PyObject * obj0 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail;
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 (arg1)->SetInsertionPointEnd();
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 Py_INCREF(Py_None); resultobj = Py_None;
5139 return resultobj;
5140 fail:
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj = NULL;
5147 wxComboBox *arg1 = (wxComboBox *) 0 ;
5148 long arg2 ;
5149 long arg3 ;
5150 PyObject * obj0 = 0 ;
5151 PyObject * obj1 = 0 ;
5152 PyObject * obj2 = 0 ;
5153 char *kwnames[] = {
5154 (char *) "self",(char *) "from",(char *) "to", NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail;
5160 {
5161 arg2 = static_cast<long >(SWIG_As_long(obj1));
5162 if (SWIG_arg_fail(2)) SWIG_fail;
5163 }
5164 {
5165 arg3 = static_cast<long >(SWIG_As_long(obj2));
5166 if (SWIG_arg_fail(3)) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->Remove(arg2,arg3);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj = NULL;
5184 wxComboBox *arg1 = (wxComboBox *) 0 ;
5185 bool result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail;
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 {
5202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5203 }
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj = NULL;
5212 wxComboBox *arg1 = (wxComboBox *) 0 ;
5213 PyObject * obj0 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self", NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5220 if (SWIG_arg_fail(1)) SWIG_fail;
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->Undo();
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 Py_INCREF(Py_None); resultobj = Py_None;
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj = NULL;
5237 wxComboBox *arg1 = (wxComboBox *) 0 ;
5238 PyObject * obj0 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->Redo();
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj = NULL;
5262 wxComboBox *arg1 = (wxComboBox *) 0 ;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 (arg1)->SelectAll();
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 Py_INCREF(Py_None); resultobj = Py_None;
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj = NULL;
5287 wxComboBox *arg1 = (wxComboBox *) 0 ;
5288 bool result;
5289 PyObject * obj0 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 {
5305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5306 }
5307 return resultobj;
5308 fail:
5309 return NULL;
5310 }
5311
5312
5313 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj = NULL;
5315 wxComboBox *arg1 = (wxComboBox *) 0 ;
5316 bool result;
5317 PyObject * obj0 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "self", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail;
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (bool)((wxComboBox const *)arg1)->CanCut();
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 {
5333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5334 }
5335 return resultobj;
5336 fail:
5337 return NULL;
5338 }
5339
5340
5341 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj = NULL;
5343 wxComboBox *arg1 = (wxComboBox *) 0 ;
5344 bool result;
5345 PyObject * obj0 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5352 if (SWIG_arg_fail(1)) SWIG_fail;
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 {
5361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5362 }
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj = NULL;
5371 wxComboBox *arg1 = (wxComboBox *) 0 ;
5372 bool result;
5373 PyObject * obj0 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5380 if (SWIG_arg_fail(1)) SWIG_fail;
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj = NULL;
5399 wxComboBox *arg1 = (wxComboBox *) 0 ;
5400 bool result;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail;
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5418 }
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = NULL;
5427 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5428 wxVisualAttributes result;
5429 PyObject * obj0 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "variant", NULL
5432 };
5433
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5435 if (obj0) {
5436 {
5437 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5438 if (SWIG_arg_fail(1)) SWIG_fail;
5439 }
5440 }
5441 {
5442 if (!wxPyCheckForApp()) SWIG_fail;
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = wxComboBox::GetClassDefaultAttributes(arg1);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 {
5450 wxVisualAttributes * resultptr;
5451 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5453 }
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5461 PyObject *obj;
5462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5463 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5464 Py_INCREF(obj);
5465 return Py_BuildValue((char *)"");
5466 }
5467 static int _wrap_GaugeNameStr_set(PyObject *) {
5468 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5469 return 1;
5470 }
5471
5472
5473 static PyObject *_wrap_GaugeNameStr_get(void) {
5474 PyObject *pyobj = NULL;
5475
5476 {
5477 #if wxUSE_UNICODE
5478 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5479 #else
5480 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5481 #endif
5482 }
5483 return pyobj;
5484 }
5485
5486
5487 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj = NULL;
5489 wxWindow *arg1 = (wxWindow *) 0 ;
5490 int arg2 = (int) -1 ;
5491 int arg3 = (int) 100 ;
5492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5494 wxSize const &arg5_defvalue = wxDefaultSize ;
5495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5496 long arg6 = (long) wxGA_HORIZONTAL ;
5497 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5498 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5499 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5500 wxString *arg8 = (wxString *) &arg8_defvalue ;
5501 wxGauge *result;
5502 wxPoint temp4 ;
5503 wxSize temp5 ;
5504 bool temp8 = false ;
5505 PyObject * obj0 = 0 ;
5506 PyObject * obj1 = 0 ;
5507 PyObject * obj2 = 0 ;
5508 PyObject * obj3 = 0 ;
5509 PyObject * obj4 = 0 ;
5510 PyObject * obj5 = 0 ;
5511 PyObject * obj6 = 0 ;
5512 PyObject * obj7 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail;
5520 if (obj1) {
5521 {
5522 arg2 = static_cast<int >(SWIG_As_int(obj1));
5523 if (SWIG_arg_fail(2)) SWIG_fail;
5524 }
5525 }
5526 if (obj2) {
5527 {
5528 arg3 = static_cast<int >(SWIG_As_int(obj2));
5529 if (SWIG_arg_fail(3)) SWIG_fail;
5530 }
5531 }
5532 if (obj3) {
5533 {
5534 arg4 = &temp4;
5535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5536 }
5537 }
5538 if (obj4) {
5539 {
5540 arg5 = &temp5;
5541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5542 }
5543 }
5544 if (obj5) {
5545 {
5546 arg6 = static_cast<long >(SWIG_As_long(obj5));
5547 if (SWIG_arg_fail(6)) SWIG_fail;
5548 }
5549 }
5550 if (obj6) {
5551 {
5552 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5553 if (SWIG_arg_fail(7)) SWIG_fail;
5554 if (arg7 == NULL) {
5555 SWIG_null_ref("wxValidator");
5556 }
5557 if (SWIG_arg_fail(7)) SWIG_fail;
5558 }
5559 }
5560 if (obj7) {
5561 {
5562 arg8 = wxString_in_helper(obj7);
5563 if (arg8 == NULL) SWIG_fail;
5564 temp8 = true;
5565 }
5566 }
5567 {
5568 if (!wxPyCheckForApp()) SWIG_fail;
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5576 {
5577 if (temp8)
5578 delete arg8;
5579 }
5580 return resultobj;
5581 fail:
5582 {
5583 if (temp8)
5584 delete arg8;
5585 }
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj = NULL;
5592 wxGauge *result;
5593 char *kwnames[] = {
5594 NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5598 {
5599 if (!wxPyCheckForApp()) SWIG_fail;
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 result = (wxGauge *)new wxGauge();
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5607 return resultobj;
5608 fail:
5609 return NULL;
5610 }
5611
5612
5613 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj = NULL;
5615 wxGauge *arg1 = (wxGauge *) 0 ;
5616 wxWindow *arg2 = (wxWindow *) 0 ;
5617 int arg3 = (int) -1 ;
5618 int arg4 = (int) 100 ;
5619 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5620 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5621 wxSize const &arg6_defvalue = wxDefaultSize ;
5622 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5623 long arg7 = (long) wxGA_HORIZONTAL ;
5624 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5625 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5626 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5627 wxString *arg9 = (wxString *) &arg9_defvalue ;
5628 bool result;
5629 wxPoint temp5 ;
5630 wxSize temp6 ;
5631 bool temp9 = false ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 PyObject * obj2 = 0 ;
5635 PyObject * obj3 = 0 ;
5636 PyObject * obj4 = 0 ;
5637 PyObject * obj5 = 0 ;
5638 PyObject * obj6 = 0 ;
5639 PyObject * obj7 = 0 ;
5640 PyObject * obj8 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail;
5648 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5649 if (SWIG_arg_fail(2)) SWIG_fail;
5650 if (obj2) {
5651 {
5652 arg3 = static_cast<int >(SWIG_As_int(obj2));
5653 if (SWIG_arg_fail(3)) SWIG_fail;
5654 }
5655 }
5656 if (obj3) {
5657 {
5658 arg4 = static_cast<int >(SWIG_As_int(obj3));
5659 if (SWIG_arg_fail(4)) SWIG_fail;
5660 }
5661 }
5662 if (obj4) {
5663 {
5664 arg5 = &temp5;
5665 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5666 }
5667 }
5668 if (obj5) {
5669 {
5670 arg6 = &temp6;
5671 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5672 }
5673 }
5674 if (obj6) {
5675 {
5676 arg7 = static_cast<long >(SWIG_As_long(obj6));
5677 if (SWIG_arg_fail(7)) SWIG_fail;
5678 }
5679 }
5680 if (obj7) {
5681 {
5682 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5683 if (SWIG_arg_fail(8)) SWIG_fail;
5684 if (arg8 == NULL) {
5685 SWIG_null_ref("wxValidator");
5686 }
5687 if (SWIG_arg_fail(8)) SWIG_fail;
5688 }
5689 }
5690 if (obj8) {
5691 {
5692 arg9 = wxString_in_helper(obj8);
5693 if (arg9 == NULL) SWIG_fail;
5694 temp9 = true;
5695 }
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 {
5705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5706 }
5707 {
5708 if (temp9)
5709 delete arg9;
5710 }
5711 return resultobj;
5712 fail:
5713 {
5714 if (temp9)
5715 delete arg9;
5716 }
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj = NULL;
5723 wxGauge *arg1 = (wxGauge *) 0 ;
5724 int arg2 ;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "range", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5733 if (SWIG_arg_fail(1)) SWIG_fail;
5734 {
5735 arg2 = static_cast<int >(SWIG_As_int(obj1));
5736 if (SWIG_arg_fail(2)) SWIG_fail;
5737 }
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SetRange(arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj = NULL;
5754 wxGauge *arg1 = (wxGauge *) 0 ;
5755 int result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 result = (int)((wxGauge const *)arg1)->GetRange();
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 {
5772 resultobj = SWIG_From_int(static_cast<int >(result));
5773 }
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj = NULL;
5782 wxGauge *arg1 = (wxGauge *) 0 ;
5783 int arg2 ;
5784 PyObject * obj0 = 0 ;
5785 PyObject * obj1 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self",(char *) "pos", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5792 if (SWIG_arg_fail(1)) SWIG_fail;
5793 {
5794 arg2 = static_cast<int >(SWIG_As_int(obj1));
5795 if (SWIG_arg_fail(2)) SWIG_fail;
5796 }
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 (arg1)->SetValue(arg2);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 Py_INCREF(Py_None); resultobj = Py_None;
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj = NULL;
5813 wxGauge *arg1 = (wxGauge *) 0 ;
5814 int result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5822 if (SWIG_arg_fail(1)) SWIG_fail;
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 result = (int)((wxGauge const *)arg1)->GetValue();
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 {
5831 resultobj = SWIG_From_int(static_cast<int >(result));
5832 }
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj = NULL;
5841 wxGauge *arg1 = (wxGauge *) 0 ;
5842 bool result;
5843 PyObject * obj0 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5850 if (SWIG_arg_fail(1)) SWIG_fail;
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (bool)((wxGauge const *)arg1)->IsVertical();
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5860 }
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj = NULL;
5869 wxGauge *arg1 = (wxGauge *) 0 ;
5870 int arg2 ;
5871 PyObject * obj0 = 0 ;
5872 PyObject * obj1 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "w", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail;
5880 {
5881 arg2 = static_cast<int >(SWIG_As_int(obj1));
5882 if (SWIG_arg_fail(2)) SWIG_fail;
5883 }
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 (arg1)->SetShadowWidth(arg2);
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 Py_INCREF(Py_None); resultobj = Py_None;
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5899 PyObject *resultobj = NULL;
5900 wxGauge *arg1 = (wxGauge *) 0 ;
5901 int result;
5902 PyObject * obj0 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5909 if (SWIG_arg_fail(1)) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 {
5918 resultobj = SWIG_From_int(static_cast<int >(result));
5919 }
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj = NULL;
5928 wxGauge *arg1 = (wxGauge *) 0 ;
5929 int arg2 ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "w", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail;
5939 {
5940 arg2 = static_cast<int >(SWIG_As_int(obj1));
5941 if (SWIG_arg_fail(2)) SWIG_fail;
5942 }
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 (arg1)->SetBezelFace(arg2);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 Py_INCREF(Py_None); resultobj = Py_None;
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj = NULL;
5959 wxGauge *arg1 = (wxGauge *) 0 ;
5960 int result;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5968 if (SWIG_arg_fail(1)) SWIG_fail;
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 {
5977 resultobj = SWIG_From_int(static_cast<int >(result));
5978 }
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj = NULL;
5987 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5988 wxVisualAttributes result;
5989 PyObject * obj0 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "variant", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5995 if (obj0) {
5996 {
5997 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5998 if (SWIG_arg_fail(1)) SWIG_fail;
5999 }
6000 }
6001 {
6002 if (!wxPyCheckForApp()) SWIG_fail;
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 result = wxGauge::GetClassDefaultAttributes(arg1);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 {
6010 wxVisualAttributes * resultptr;
6011 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6013 }
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
6021 PyObject *obj;
6022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6023 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6024 Py_INCREF(obj);
6025 return Py_BuildValue((char *)"");
6026 }
6027 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
6028 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6029 return 1;
6030 }
6031
6032
6033 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
6034 PyObject *pyobj = NULL;
6035
6036 {
6037 #if wxUSE_UNICODE
6038 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6039 #else
6040 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6041 #endif
6042 }
6043 return pyobj;
6044 }
6045
6046
6047 static int _wrap_StaticBoxNameStr_set(PyObject *) {
6048 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6049 return 1;
6050 }
6051
6052
6053 static PyObject *_wrap_StaticBoxNameStr_get(void) {
6054 PyObject *pyobj = NULL;
6055
6056 {
6057 #if wxUSE_UNICODE
6058 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6059 #else
6060 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6061 #endif
6062 }
6063 return pyobj;
6064 }
6065
6066
6067 static int _wrap_StaticTextNameStr_set(PyObject *) {
6068 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6069 return 1;
6070 }
6071
6072
6073 static PyObject *_wrap_StaticTextNameStr_get(void) {
6074 PyObject *pyobj = NULL;
6075
6076 {
6077 #if wxUSE_UNICODE
6078 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6079 #else
6080 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6081 #endif
6082 }
6083 return pyobj;
6084 }
6085
6086
6087 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj = NULL;
6089 wxWindow *arg1 = (wxWindow *) 0 ;
6090 int arg2 = (int) -1 ;
6091 wxString const &arg3_defvalue = wxPyEmptyString ;
6092 wxString *arg3 = (wxString *) &arg3_defvalue ;
6093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6095 wxSize const &arg5_defvalue = wxDefaultSize ;
6096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6097 long arg6 = (long) 0 ;
6098 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6099 wxString *arg7 = (wxString *) &arg7_defvalue ;
6100 wxStaticBox *result;
6101 bool temp3 = false ;
6102 wxPoint temp4 ;
6103 wxSize temp5 ;
6104 bool temp7 = false ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 PyObject * obj2 = 0 ;
6108 PyObject * obj3 = 0 ;
6109 PyObject * obj4 = 0 ;
6110 PyObject * obj5 = 0 ;
6111 PyObject * obj6 = 0 ;
6112 char *kwnames[] = {
6113 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6114 };
6115
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6118 if (SWIG_arg_fail(1)) SWIG_fail;
6119 if (obj1) {
6120 {
6121 arg2 = static_cast<int >(SWIG_As_int(obj1));
6122 if (SWIG_arg_fail(2)) SWIG_fail;
6123 }
6124 }
6125 if (obj2) {
6126 {
6127 arg3 = wxString_in_helper(obj2);
6128 if (arg3 == NULL) SWIG_fail;
6129 temp3 = true;
6130 }
6131 }
6132 if (obj3) {
6133 {
6134 arg4 = &temp4;
6135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6136 }
6137 }
6138 if (obj4) {
6139 {
6140 arg5 = &temp5;
6141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6142 }
6143 }
6144 if (obj5) {
6145 {
6146 arg6 = static_cast<long >(SWIG_As_long(obj5));
6147 if (SWIG_arg_fail(6)) SWIG_fail;
6148 }
6149 }
6150 if (obj6) {
6151 {
6152 arg7 = wxString_in_helper(obj6);
6153 if (arg7 == NULL) SWIG_fail;
6154 temp7 = true;
6155 }
6156 }
6157 {
6158 if (!wxPyCheckForApp()) SWIG_fail;
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6166 {
6167 if (temp3)
6168 delete arg3;
6169 }
6170 {
6171 if (temp7)
6172 delete arg7;
6173 }
6174 return resultobj;
6175 fail:
6176 {
6177 if (temp3)
6178 delete arg3;
6179 }
6180 {
6181 if (temp7)
6182 delete arg7;
6183 }
6184 return NULL;
6185 }
6186
6187
6188 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj = NULL;
6190 wxStaticBox *result;
6191 char *kwnames[] = {
6192 NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6196 {
6197 if (!wxPyCheckForApp()) SWIG_fail;
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 result = (wxStaticBox *)new wxStaticBox();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj = NULL;
6213 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6214 wxWindow *arg2 = (wxWindow *) 0 ;
6215 int arg3 = (int) -1 ;
6216 wxString const &arg4_defvalue = wxPyEmptyString ;
6217 wxString *arg4 = (wxString *) &arg4_defvalue ;
6218 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6219 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6220 wxSize const &arg6_defvalue = wxDefaultSize ;
6221 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6222 long arg7 = (long) 0 ;
6223 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6224 wxString *arg8 = (wxString *) &arg8_defvalue ;
6225 bool result;
6226 bool temp4 = false ;
6227 wxPoint temp5 ;
6228 wxSize temp6 ;
6229 bool temp8 = false ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 PyObject * obj2 = 0 ;
6233 PyObject * obj3 = 0 ;
6234 PyObject * obj4 = 0 ;
6235 PyObject * obj5 = 0 ;
6236 PyObject * obj6 = 0 ;
6237 PyObject * obj7 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail;
6245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(2)) SWIG_fail;
6247 if (obj2) {
6248 {
6249 arg3 = static_cast<int >(SWIG_As_int(obj2));
6250 if (SWIG_arg_fail(3)) SWIG_fail;
6251 }
6252 }
6253 if (obj3) {
6254 {
6255 arg4 = wxString_in_helper(obj3);
6256 if (arg4 == NULL) SWIG_fail;
6257 temp4 = true;
6258 }
6259 }
6260 if (obj4) {
6261 {
6262 arg5 = &temp5;
6263 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6264 }
6265 }
6266 if (obj5) {
6267 {
6268 arg6 = &temp6;
6269 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6270 }
6271 }
6272 if (obj6) {
6273 {
6274 arg7 = static_cast<long >(SWIG_As_long(obj6));
6275 if (SWIG_arg_fail(7)) SWIG_fail;
6276 }
6277 }
6278 if (obj7) {
6279 {
6280 arg8 = wxString_in_helper(obj7);
6281 if (arg8 == NULL) SWIG_fail;
6282 temp8 = true;
6283 }
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6294 }
6295 {
6296 if (temp4)
6297 delete arg4;
6298 }
6299 {
6300 if (temp8)
6301 delete arg8;
6302 }
6303 return resultobj;
6304 fail:
6305 {
6306 if (temp4)
6307 delete arg4;
6308 }
6309 {
6310 if (temp8)
6311 delete arg8;
6312 }
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj = NULL;
6319 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6320 wxVisualAttributes result;
6321 PyObject * obj0 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "variant", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6327 if (obj0) {
6328 {
6329 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6330 if (SWIG_arg_fail(1)) SWIG_fail;
6331 }
6332 }
6333 {
6334 if (!wxPyCheckForApp()) SWIG_fail;
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = wxStaticBox::GetClassDefaultAttributes(arg1);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 {
6342 wxVisualAttributes * resultptr;
6343 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6353 PyObject *obj;
6354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6355 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6356 Py_INCREF(obj);
6357 return Py_BuildValue((char *)"");
6358 }
6359 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj = NULL;
6361 wxWindow *arg1 = (wxWindow *) 0 ;
6362 int arg2 = (int) -1 ;
6363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6365 wxSize const &arg4_defvalue = wxDefaultSize ;
6366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6367 long arg5 = (long) wxLI_HORIZONTAL ;
6368 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6369 wxString *arg6 = (wxString *) &arg6_defvalue ;
6370 wxStaticLine *result;
6371 wxPoint temp3 ;
6372 wxSize temp4 ;
6373 bool temp6 = false ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6386 if (SWIG_arg_fail(1)) SWIG_fail;
6387 if (obj1) {
6388 {
6389 arg2 = static_cast<int >(SWIG_As_int(obj1));
6390 if (SWIG_arg_fail(2)) SWIG_fail;
6391 }
6392 }
6393 if (obj2) {
6394 {
6395 arg3 = &temp3;
6396 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6397 }
6398 }
6399 if (obj3) {
6400 {
6401 arg4 = &temp4;
6402 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6403 }
6404 }
6405 if (obj4) {
6406 {
6407 arg5 = static_cast<long >(SWIG_As_long(obj4));
6408 if (SWIG_arg_fail(5)) SWIG_fail;
6409 }
6410 }
6411 if (obj5) {
6412 {
6413 arg6 = wxString_in_helper(obj5);
6414 if (arg6 == NULL) SWIG_fail;
6415 temp6 = true;
6416 }
6417 }
6418 {
6419 if (!wxPyCheckForApp()) SWIG_fail;
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6427 {
6428 if (temp6)
6429 delete arg6;
6430 }
6431 return resultobj;
6432 fail:
6433 {
6434 if (temp6)
6435 delete arg6;
6436 }
6437 return NULL;
6438 }
6439
6440
6441 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6442 PyObject *resultobj = NULL;
6443 wxStaticLine *result;
6444 char *kwnames[] = {
6445 NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6449 {
6450 if (!wxPyCheckForApp()) SWIG_fail;
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = (wxStaticLine *)new wxStaticLine();
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj = NULL;
6466 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6467 wxWindow *arg2 = (wxWindow *) 0 ;
6468 int arg3 = (int) -1 ;
6469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6471 wxSize const &arg5_defvalue = wxDefaultSize ;
6472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6473 long arg6 = (long) wxLI_HORIZONTAL ;
6474 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6475 wxString *arg7 = (wxString *) &arg7_defvalue ;
6476 bool result;
6477 wxPoint temp4 ;
6478 wxSize temp5 ;
6479 bool temp7 = false ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 PyObject * obj2 = 0 ;
6483 PyObject * obj3 = 0 ;
6484 PyObject * obj4 = 0 ;
6485 PyObject * obj5 = 0 ;
6486 PyObject * obj6 = 0 ;
6487 char *kwnames[] = {
6488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6489 };
6490
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail;
6494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6495 if (SWIG_arg_fail(2)) SWIG_fail;
6496 if (obj2) {
6497 {
6498 arg3 = static_cast<int >(SWIG_As_int(obj2));
6499 if (SWIG_arg_fail(3)) SWIG_fail;
6500 }
6501 }
6502 if (obj3) {
6503 {
6504 arg4 = &temp4;
6505 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6506 }
6507 }
6508 if (obj4) {
6509 {
6510 arg5 = &temp5;
6511 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6512 }
6513 }
6514 if (obj5) {
6515 {
6516 arg6 = static_cast<long >(SWIG_As_long(obj5));
6517 if (SWIG_arg_fail(6)) SWIG_fail;
6518 }
6519 }
6520 if (obj6) {
6521 {
6522 arg7 = wxString_in_helper(obj6);
6523 if (arg7 == NULL) SWIG_fail;
6524 temp7 = true;
6525 }
6526 }
6527 {
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6530
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 {
6535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6536 }
6537 {
6538 if (temp7)
6539 delete arg7;
6540 }
6541 return resultobj;
6542 fail:
6543 {
6544 if (temp7)
6545 delete arg7;
6546 }
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj = NULL;
6553 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6554 bool result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail;
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 {
6571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6572 }
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj = NULL;
6581 int result;
6582 char *kwnames[] = {
6583 NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 result = (int)wxStaticLine::GetDefaultSize();
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 {
6595 resultobj = SWIG_From_int(static_cast<int >(result));
6596 }
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj = NULL;
6605 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6606 wxVisualAttributes result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "variant", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6613 if (obj0) {
6614 {
6615 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6616 if (SWIG_arg_fail(1)) SWIG_fail;
6617 }
6618 }
6619 {
6620 if (!wxPyCheckForApp()) SWIG_fail;
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 result = wxStaticLine::GetClassDefaultAttributes(arg1);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 {
6628 wxVisualAttributes * resultptr;
6629 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6631 }
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6639 PyObject *obj;
6640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6642 Py_INCREF(obj);
6643 return Py_BuildValue((char *)"");
6644 }
6645 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj = NULL;
6647 wxWindow *arg1 = (wxWindow *) 0 ;
6648 int arg2 = (int) -1 ;
6649 wxString const &arg3_defvalue = wxPyEmptyString ;
6650 wxString *arg3 = (wxString *) &arg3_defvalue ;
6651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6653 wxSize const &arg5_defvalue = wxDefaultSize ;
6654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6655 long arg6 = (long) 0 ;
6656 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6657 wxString *arg7 = (wxString *) &arg7_defvalue ;
6658 wxStaticText *result;
6659 bool temp3 = false ;
6660 wxPoint temp4 ;
6661 wxSize temp5 ;
6662 bool temp7 = false ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 PyObject * obj2 = 0 ;
6666 PyObject * obj3 = 0 ;
6667 PyObject * obj4 = 0 ;
6668 PyObject * obj5 = 0 ;
6669 PyObject * obj6 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 if (obj1) {
6678 {
6679 arg2 = static_cast<int >(SWIG_As_int(obj1));
6680 if (SWIG_arg_fail(2)) SWIG_fail;
6681 }
6682 }
6683 if (obj2) {
6684 {
6685 arg3 = wxString_in_helper(obj2);
6686 if (arg3 == NULL) SWIG_fail;
6687 temp3 = true;
6688 }
6689 }
6690 if (obj3) {
6691 {
6692 arg4 = &temp4;
6693 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6694 }
6695 }
6696 if (obj4) {
6697 {
6698 arg5 = &temp5;
6699 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6700 }
6701 }
6702 if (obj5) {
6703 {
6704 arg6 = static_cast<long >(SWIG_As_long(obj5));
6705 if (SWIG_arg_fail(6)) SWIG_fail;
6706 }
6707 }
6708 if (obj6) {
6709 {
6710 arg7 = wxString_in_helper(obj6);
6711 if (arg7 == NULL) SWIG_fail;
6712 temp7 = true;
6713 }
6714 }
6715 {
6716 if (!wxPyCheckForApp()) SWIG_fail;
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6724 {
6725 if (temp3)
6726 delete arg3;
6727 }
6728 {
6729 if (temp7)
6730 delete arg7;
6731 }
6732 return resultobj;
6733 fail:
6734 {
6735 if (temp3)
6736 delete arg3;
6737 }
6738 {
6739 if (temp7)
6740 delete arg7;
6741 }
6742 return NULL;
6743 }
6744
6745
6746 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj = NULL;
6748 wxStaticText *result;
6749 char *kwnames[] = {
6750 NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6754 {
6755 if (!wxPyCheckForApp()) SWIG_fail;
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (wxStaticText *)new wxStaticText();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj = NULL;
6771 wxStaticText *arg1 = (wxStaticText *) 0 ;
6772 wxWindow *arg2 = (wxWindow *) 0 ;
6773 int arg3 = (int) -1 ;
6774 wxString const &arg4_defvalue = wxPyEmptyString ;
6775 wxString *arg4 = (wxString *) &arg4_defvalue ;
6776 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6777 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6778 wxSize const &arg6_defvalue = wxDefaultSize ;
6779 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6780 long arg7 = (long) 0 ;
6781 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6782 wxString *arg8 = (wxString *) &arg8_defvalue ;
6783 bool result;
6784 bool temp4 = false ;
6785 wxPoint temp5 ;
6786 wxSize temp6 ;
6787 bool temp8 = false ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 PyObject * obj2 = 0 ;
6791 PyObject * obj3 = 0 ;
6792 PyObject * obj4 = 0 ;
6793 PyObject * obj5 = 0 ;
6794 PyObject * obj6 = 0 ;
6795 PyObject * obj7 = 0 ;
6796 char *kwnames[] = {
6797 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6798 };
6799
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6802 if (SWIG_arg_fail(1)) SWIG_fail;
6803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6804 if (SWIG_arg_fail(2)) SWIG_fail;
6805 if (obj2) {
6806 {
6807 arg3 = static_cast<int >(SWIG_As_int(obj2));
6808 if (SWIG_arg_fail(3)) SWIG_fail;
6809 }
6810 }
6811 if (obj3) {
6812 {
6813 arg4 = wxString_in_helper(obj3);
6814 if (arg4 == NULL) SWIG_fail;
6815 temp4 = true;
6816 }
6817 }
6818 if (obj4) {
6819 {
6820 arg5 = &temp5;
6821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6822 }
6823 }
6824 if (obj5) {
6825 {
6826 arg6 = &temp6;
6827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6828 }
6829 }
6830 if (obj6) {
6831 {
6832 arg7 = static_cast<long >(SWIG_As_long(obj6));
6833 if (SWIG_arg_fail(7)) SWIG_fail;
6834 }
6835 }
6836 if (obj7) {
6837 {
6838 arg8 = wxString_in_helper(obj7);
6839 if (arg8 == NULL) SWIG_fail;
6840 temp8 = true;
6841 }
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 {
6851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6852 }
6853 {
6854 if (temp4)
6855 delete arg4;
6856 }
6857 {
6858 if (temp8)
6859 delete arg8;
6860 }
6861 return resultobj;
6862 fail:
6863 {
6864 if (temp4)
6865 delete arg4;
6866 }
6867 {
6868 if (temp8)
6869 delete arg8;
6870 }
6871 return NULL;
6872 }
6873
6874
6875 static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = NULL;
6877 wxStaticText *arg1 = (wxStaticText *) 0 ;
6878 int arg2 ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "width", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 {
6889 arg2 = static_cast<int >(SWIG_As_int(obj1));
6890 if (SWIG_arg_fail(2)) SWIG_fail;
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 (arg1)->Wrap(arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 Py_INCREF(Py_None); resultobj = Py_None;
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj = NULL;
6908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6909 wxVisualAttributes result;
6910 PyObject * obj0 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "variant", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6916 if (obj0) {
6917 {
6918 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6919 if (SWIG_arg_fail(1)) SWIG_fail;
6920 }
6921 }
6922 {
6923 if (!wxPyCheckForApp()) SWIG_fail;
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = wxStaticText::GetClassDefaultAttributes(arg1);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 {
6931 wxVisualAttributes * resultptr;
6932 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6934 }
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6942 PyObject *obj;
6943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6945 Py_INCREF(obj);
6946 return Py_BuildValue((char *)"");
6947 }
6948 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj = NULL;
6950 wxWindow *arg1 = (wxWindow *) 0 ;
6951 int arg2 = (int) -1 ;
6952 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6953 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6956 wxSize const &arg5_defvalue = wxDefaultSize ;
6957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6958 long arg6 = (long) 0 ;
6959 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6960 wxString *arg7 = (wxString *) &arg7_defvalue ;
6961 wxStaticBitmap *result;
6962 wxPoint temp4 ;
6963 wxSize temp5 ;
6964 bool temp7 = false ;
6965 PyObject * obj0 = 0 ;
6966 PyObject * obj1 = 0 ;
6967 PyObject * obj2 = 0 ;
6968 PyObject * obj3 = 0 ;
6969 PyObject * obj4 = 0 ;
6970 PyObject * obj5 = 0 ;
6971 PyObject * obj6 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6978 if (SWIG_arg_fail(1)) SWIG_fail;
6979 if (obj1) {
6980 {
6981 arg2 = static_cast<int >(SWIG_As_int(obj1));
6982 if (SWIG_arg_fail(2)) SWIG_fail;
6983 }
6984 }
6985 if (obj2) {
6986 {
6987 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6988 if (SWIG_arg_fail(3)) SWIG_fail;
6989 if (arg3 == NULL) {
6990 SWIG_null_ref("wxBitmap");
6991 }
6992 if (SWIG_arg_fail(3)) SWIG_fail;
6993 }
6994 }
6995 if (obj3) {
6996 {
6997 arg4 = &temp4;
6998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6999 }
7000 }
7001 if (obj4) {
7002 {
7003 arg5 = &temp5;
7004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7005 }
7006 }
7007 if (obj5) {
7008 {
7009 arg6 = static_cast<long >(SWIG_As_long(obj5));
7010 if (SWIG_arg_fail(6)) SWIG_fail;
7011 }
7012 }
7013 if (obj6) {
7014 {
7015 arg7 = wxString_in_helper(obj6);
7016 if (arg7 == NULL) SWIG_fail;
7017 temp7 = true;
7018 }
7019 }
7020 {
7021 if (!wxPyCheckForApp()) SWIG_fail;
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7029 {
7030 if (temp7)
7031 delete arg7;
7032 }
7033 return resultobj;
7034 fail:
7035 {
7036 if (temp7)
7037 delete arg7;
7038 }
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj = NULL;
7045 wxStaticBitmap *result;
7046 char *kwnames[] = {
7047 NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7051 {
7052 if (!wxPyCheckForApp()) SWIG_fail;
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (wxStaticBitmap *)new wxStaticBitmap();
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj = NULL;
7068 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7069 wxWindow *arg2 = (wxWindow *) 0 ;
7070 int arg3 = (int) -1 ;
7071 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7072 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
7073 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7074 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7075 wxSize const &arg6_defvalue = wxDefaultSize ;
7076 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7077 long arg7 = (long) 0 ;
7078 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7079 wxString *arg8 = (wxString *) &arg8_defvalue ;
7080 bool result;
7081 wxPoint temp5 ;
7082 wxSize temp6 ;
7083 bool temp8 = false ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 PyObject * obj2 = 0 ;
7087 PyObject * obj3 = 0 ;
7088 PyObject * obj4 = 0 ;
7089 PyObject * obj5 = 0 ;
7090 PyObject * obj6 = 0 ;
7091 PyObject * obj7 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7098 if (SWIG_arg_fail(1)) SWIG_fail;
7099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7100 if (SWIG_arg_fail(2)) SWIG_fail;
7101 if (obj2) {
7102 {
7103 arg3 = static_cast<int >(SWIG_As_int(obj2));
7104 if (SWIG_arg_fail(3)) SWIG_fail;
7105 }
7106 }
7107 if (obj3) {
7108 {
7109 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7110 if (SWIG_arg_fail(4)) SWIG_fail;
7111 if (arg4 == NULL) {
7112 SWIG_null_ref("wxBitmap");
7113 }
7114 if (SWIG_arg_fail(4)) SWIG_fail;
7115 }
7116 }
7117 if (obj4) {
7118 {
7119 arg5 = &temp5;
7120 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7121 }
7122 }
7123 if (obj5) {
7124 {
7125 arg6 = &temp6;
7126 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7127 }
7128 }
7129 if (obj6) {
7130 {
7131 arg7 = static_cast<long >(SWIG_As_long(obj6));
7132 if (SWIG_arg_fail(7)) SWIG_fail;
7133 }
7134 }
7135 if (obj7) {
7136 {
7137 arg8 = wxString_in_helper(obj7);
7138 if (arg8 == NULL) SWIG_fail;
7139 temp8 = true;
7140 }
7141 }
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 {
7150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7151 }
7152 {
7153 if (temp8)
7154 delete arg8;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp8)
7160 delete arg8;
7161 }
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj = NULL;
7168 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7169 wxBitmap result;
7170 PyObject * obj0 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7177 if (SWIG_arg_fail(1)) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (arg1)->GetBitmap();
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 {
7186 wxBitmap * resultptr;
7187 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
7188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7189 }
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj = NULL;
7198 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7199 wxBitmap *arg2 = 0 ;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "bitmap", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail;
7209 {
7210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(2)) SWIG_fail;
7212 if (arg2 == NULL) {
7213 SWIG_null_ref("wxBitmap");
7214 }
7215 if (SWIG_arg_fail(2)) SWIG_fail;
7216 }
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 Py_INCREF(Py_None); resultobj = Py_None;
7225 return resultobj;
7226 fail:
7227 return NULL;
7228 }
7229
7230
7231 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj = NULL;
7233 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7234 wxIcon *arg2 = 0 ;
7235 PyObject * obj0 = 0 ;
7236 PyObject * obj1 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self",(char *) "icon", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7243 if (SWIG_arg_fail(1)) SWIG_fail;
7244 {
7245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7246 if (SWIG_arg_fail(2)) SWIG_fail;
7247 if (arg2 == NULL) {
7248 SWIG_null_ref("wxIcon");
7249 }
7250 if (SWIG_arg_fail(2)) SWIG_fail;
7251 }
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->SetIcon((wxIcon const &)*arg2);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj = NULL;
7268 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7269 wxVisualAttributes result;
7270 PyObject * obj0 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "variant", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7276 if (obj0) {
7277 {
7278 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7279 if (SWIG_arg_fail(1)) SWIG_fail;
7280 }
7281 }
7282 {
7283 if (!wxPyCheckForApp()) SWIG_fail;
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291 wxVisualAttributes * resultptr;
7292 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7294 }
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7302 PyObject *obj;
7303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7304 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7305 Py_INCREF(obj);
7306 return Py_BuildValue((char *)"");
7307 }
7308 static int _wrap_ListBoxNameStr_set(PyObject *) {
7309 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7310 return 1;
7311 }
7312
7313
7314 static PyObject *_wrap_ListBoxNameStr_get(void) {
7315 PyObject *pyobj = NULL;
7316
7317 {
7318 #if wxUSE_UNICODE
7319 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7320 #else
7321 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7322 #endif
7323 }
7324 return pyobj;
7325 }
7326
7327
7328 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj = NULL;
7330 wxWindow *arg1 = (wxWindow *) 0 ;
7331 int arg2 = (int) -1 ;
7332 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7333 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7334 wxSize const &arg4_defvalue = wxDefaultSize ;
7335 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7336 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7337 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7338 long arg6 = (long) 0 ;
7339 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7340 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7341 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7342 wxString *arg8 = (wxString *) &arg8_defvalue ;
7343 wxListBox *result;
7344 wxPoint temp3 ;
7345 wxSize temp4 ;
7346 bool temp5 = false ;
7347 bool temp8 = false ;
7348 PyObject * obj0 = 0 ;
7349 PyObject * obj1 = 0 ;
7350 PyObject * obj2 = 0 ;
7351 PyObject * obj3 = 0 ;
7352 PyObject * obj4 = 0 ;
7353 PyObject * obj5 = 0 ;
7354 PyObject * obj6 = 0 ;
7355 PyObject * obj7 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail;
7363 if (obj1) {
7364 {
7365 arg2 = static_cast<int >(SWIG_As_int(obj1));
7366 if (SWIG_arg_fail(2)) SWIG_fail;
7367 }
7368 }
7369 if (obj2) {
7370 {
7371 arg3 = &temp3;
7372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7373 }
7374 }
7375 if (obj3) {
7376 {
7377 arg4 = &temp4;
7378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7379 }
7380 }
7381 if (obj4) {
7382 {
7383 if (! PySequence_Check(obj4)) {
7384 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7385 SWIG_fail;
7386 }
7387 arg5 = new wxArrayString;
7388 temp5 = true;
7389 int i, len=PySequence_Length(obj4);
7390 for (i=0; i<len; i++) {
7391 PyObject* item = PySequence_GetItem(obj4, i);
7392 wxString* s = wxString_in_helper(item);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 arg5->Add(*s);
7395 delete s;
7396 Py_DECREF(item);
7397 }
7398 }
7399 }
7400 if (obj5) {
7401 {
7402 arg6 = static_cast<long >(SWIG_As_long(obj5));
7403 if (SWIG_arg_fail(6)) SWIG_fail;
7404 }
7405 }
7406 if (obj6) {
7407 {
7408 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(7)) SWIG_fail;
7410 if (arg7 == NULL) {
7411 SWIG_null_ref("wxValidator");
7412 }
7413 if (SWIG_arg_fail(7)) SWIG_fail;
7414 }
7415 }
7416 if (obj7) {
7417 {
7418 arg8 = wxString_in_helper(obj7);
7419 if (arg8 == NULL) SWIG_fail;
7420 temp8 = true;
7421 }
7422 }
7423 {
7424 if (!wxPyCheckForApp()) SWIG_fail;
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7432 {
7433 if (temp5) delete arg5;
7434 }
7435 {
7436 if (temp8)
7437 delete arg8;
7438 }
7439 return resultobj;
7440 fail:
7441 {
7442 if (temp5) delete arg5;
7443 }
7444 {
7445 if (temp8)
7446 delete arg8;
7447 }
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj = NULL;
7454 wxListBox *result;
7455 char *kwnames[] = {
7456 NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7460 {
7461 if (!wxPyCheckForApp()) SWIG_fail;
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (wxListBox *)new wxListBox();
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj = NULL;
7477 wxListBox *arg1 = (wxListBox *) 0 ;
7478 wxWindow *arg2 = (wxWindow *) 0 ;
7479 int arg3 = (int) -1 ;
7480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7482 wxSize const &arg5_defvalue = wxDefaultSize ;
7483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7484 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7485 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7486 long arg7 = (long) 0 ;
7487 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7488 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7489 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7490 wxString *arg9 = (wxString *) &arg9_defvalue ;
7491 bool result;
7492 wxPoint temp4 ;
7493 wxSize temp5 ;
7494 bool temp6 = false ;
7495 bool temp9 = false ;
7496 PyObject * obj0 = 0 ;
7497 PyObject * obj1 = 0 ;
7498 PyObject * obj2 = 0 ;
7499 PyObject * obj3 = 0 ;
7500 PyObject * obj4 = 0 ;
7501 PyObject * obj5 = 0 ;
7502 PyObject * obj6 = 0 ;
7503 PyObject * obj7 = 0 ;
7504 PyObject * obj8 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7511 if (SWIG_arg_fail(1)) SWIG_fail;
7512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(2)) SWIG_fail;
7514 if (obj2) {
7515 {
7516 arg3 = static_cast<int >(SWIG_As_int(obj2));
7517 if (SWIG_arg_fail(3)) SWIG_fail;
7518 }
7519 }
7520 if (obj3) {
7521 {
7522 arg4 = &temp4;
7523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7524 }
7525 }
7526 if (obj4) {
7527 {
7528 arg5 = &temp5;
7529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7530 }
7531 }
7532 if (obj5) {
7533 {
7534 if (! PySequence_Check(obj5)) {
7535 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7536 SWIG_fail;
7537 }
7538 arg6 = new wxArrayString;
7539 temp6 = true;
7540 int i, len=PySequence_Length(obj5);
7541 for (i=0; i<len; i++) {
7542 PyObject* item = PySequence_GetItem(obj5, i);
7543 wxString* s = wxString_in_helper(item);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 arg6->Add(*s);
7546 delete s;
7547 Py_DECREF(item);
7548 }
7549 }
7550 }
7551 if (obj6) {
7552 {
7553 arg7 = static_cast<long >(SWIG_As_long(obj6));
7554 if (SWIG_arg_fail(7)) SWIG_fail;
7555 }
7556 }
7557 if (obj7) {
7558 {
7559 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7560 if (SWIG_arg_fail(8)) SWIG_fail;
7561 if (arg8 == NULL) {
7562 SWIG_null_ref("wxValidator");
7563 }
7564 if (SWIG_arg_fail(8)) SWIG_fail;
7565 }
7566 }
7567 if (obj8) {
7568 {
7569 arg9 = wxString_in_helper(obj8);
7570 if (arg9 == NULL) SWIG_fail;
7571 temp9 = true;
7572 }
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 {
7582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7583 }
7584 {
7585 if (temp6) delete arg6;
7586 }
7587 {
7588 if (temp9)
7589 delete arg9;
7590 }
7591 return resultobj;
7592 fail:
7593 {
7594 if (temp6) delete arg6;
7595 }
7596 {
7597 if (temp9)
7598 delete arg9;
7599 }
7600 return NULL;
7601 }
7602
7603
7604 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj = NULL;
7606 wxListBox *arg1 = (wxListBox *) 0 ;
7607 wxString *arg2 = 0 ;
7608 int arg3 ;
7609 PyObject *arg4 = (PyObject *) NULL ;
7610 bool temp2 = false ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 PyObject * obj2 = 0 ;
7614 PyObject * obj3 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail;
7622 {
7623 arg2 = wxString_in_helper(obj1);
7624 if (arg2 == NULL) SWIG_fail;
7625 temp2 = true;
7626 }
7627 {
7628 arg3 = static_cast<int >(SWIG_As_int(obj2));
7629 if (SWIG_arg_fail(3)) SWIG_fail;
7630 }
7631 if (obj3) {
7632 arg4 = obj3;
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 {
7643 if (temp2)
7644 delete arg2;
7645 }
7646 return resultobj;
7647 fail:
7648 {
7649 if (temp2)
7650 delete arg2;
7651 }
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj = NULL;
7658 wxListBox *arg1 = (wxListBox *) 0 ;
7659 wxArrayString *arg2 = 0 ;
7660 int arg3 ;
7661 bool temp2 = false ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 PyObject * obj2 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self",(char *) "items",(char *) "pos", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail;
7672 {
7673 if (! PySequence_Check(obj1)) {
7674 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7675 SWIG_fail;
7676 }
7677 arg2 = new wxArrayString;
7678 temp2 = true;
7679 int i, len=PySequence_Length(obj1);
7680 for (i=0; i<len; i++) {
7681 PyObject* item = PySequence_GetItem(obj1, i);
7682 wxString* s = wxString_in_helper(item);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 arg2->Add(*s);
7685 delete s;
7686 Py_DECREF(item);
7687 }
7688 }
7689 {
7690 arg3 = static_cast<int >(SWIG_As_int(obj2));
7691 if (SWIG_arg_fail(3)) SWIG_fail;
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 {
7702 if (temp2) delete arg2;
7703 }
7704 return resultobj;
7705 fail:
7706 {
7707 if (temp2) delete arg2;
7708 }
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj = NULL;
7715 wxListBox *arg1 = (wxListBox *) 0 ;
7716 wxArrayString *arg2 = 0 ;
7717 bool temp2 = false ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self",(char *) "items", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail;
7727 {
7728 if (! PySequence_Check(obj1)) {
7729 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7730 SWIG_fail;
7731 }
7732 arg2 = new wxArrayString;
7733 temp2 = true;
7734 int i, len=PySequence_Length(obj1);
7735 for (i=0; i<len; i++) {
7736 PyObject* item = PySequence_GetItem(obj1, i);
7737 wxString* s = wxString_in_helper(item);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 arg2->Add(*s);
7740 delete s;
7741 Py_DECREF(item);
7742 }
7743 }
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->Set((wxArrayString const &)*arg2);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 {
7753 if (temp2) delete arg2;
7754 }
7755 return resultobj;
7756 fail:
7757 {
7758 if (temp2) delete arg2;
7759 }
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj = NULL;
7766 wxListBox *arg1 = (wxListBox *) 0 ;
7767 int arg2 ;
7768 bool result;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "n", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail;
7778 {
7779 arg2 = static_cast<int >(SWIG_As_int(obj1));
7780 if (SWIG_arg_fail(2)) SWIG_fail;
7781 }
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 {
7790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7791 }
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj = NULL;
7800 wxListBox *arg1 = (wxListBox *) 0 ;
7801 int arg2 ;
7802 bool arg3 = (bool) true ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 PyObject * obj2 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "n",(char *) "select", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
7813 {
7814 arg2 = static_cast<int >(SWIG_As_int(obj1));
7815 if (SWIG_arg_fail(2)) SWIG_fail;
7816 }
7817 if (obj2) {
7818 {
7819 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7820 if (SWIG_arg_fail(3)) SWIG_fail;
7821 }
7822 }
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 (arg1)->SetSelection(arg2,arg3);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 Py_INCREF(Py_None); resultobj = Py_None;
7831 return resultobj;
7832 fail:
7833 return NULL;
7834 }
7835
7836
7837 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj = NULL;
7839 wxListBox *arg1 = (wxListBox *) 0 ;
7840 int arg2 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "n", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 arg2 = static_cast<int >(SWIG_As_int(obj1));
7852 if (SWIG_arg_fail(2)) SWIG_fail;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 (arg1)->Select(arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 Py_INCREF(Py_None); resultobj = Py_None;
7862 return resultobj;
7863 fail:
7864 return NULL;
7865 }
7866
7867
7868 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj = NULL;
7870 wxListBox *arg1 = (wxListBox *) 0 ;
7871 int arg2 ;
7872 PyObject * obj0 = 0 ;
7873 PyObject * obj1 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self",(char *) "n", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail;
7881 {
7882 arg2 = static_cast<int >(SWIG_As_int(obj1));
7883 if (SWIG_arg_fail(2)) SWIG_fail;
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 (arg1)->Deselect(arg2);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj = NULL;
7901 wxListBox *arg1 = (wxListBox *) 0 ;
7902 int arg2 = (int) -1 ;
7903 PyObject * obj0 = 0 ;
7904 PyObject * obj1 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self",(char *) "itemToLeaveSelected", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail;
7912 if (obj1) {
7913 {
7914 arg2 = static_cast<int >(SWIG_As_int(obj1));
7915 if (SWIG_arg_fail(2)) SWIG_fail;
7916 }
7917 }
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 (arg1)->DeselectAll(arg2);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj = NULL;
7934 wxListBox *arg1 = (wxListBox *) 0 ;
7935 wxString *arg2 = 0 ;
7936 bool arg3 = (bool) true ;
7937 bool result;
7938 bool temp2 = false ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 PyObject * obj2 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "s",(char *) "select", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail;
7949 {
7950 arg2 = wxString_in_helper(obj1);
7951 if (arg2 == NULL) SWIG_fail;
7952 temp2 = true;
7953 }
7954 if (obj2) {
7955 {
7956 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7957 if (SWIG_arg_fail(3)) SWIG_fail;
7958 }
7959 }
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 {
7968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7969 }
7970 {
7971 if (temp2)
7972 delete arg2;
7973 }
7974 return resultobj;
7975 fail:
7976 {
7977 if (temp2)
7978 delete arg2;
7979 }
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj = NULL;
7986 wxListBox *arg1 = (wxListBox *) 0 ;
7987 PyObject *result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (PyObject *)wxListBox_GetSelections(arg1);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 resultobj = result;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = NULL;
8012 wxListBox *arg1 = (wxListBox *) 0 ;
8013 int arg2 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "n", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",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 {
8024 arg2 = static_cast<int >(SWIG_As_int(obj1));
8025 if (SWIG_arg_fail(2)) SWIG_fail;
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 (arg1)->SetFirstItem(arg2);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 Py_INCREF(Py_None); resultobj = Py_None;
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj = NULL;
8043 wxListBox *arg1 = (wxListBox *) 0 ;
8044 wxString *arg2 = 0 ;
8045 bool temp2 = false ;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self",(char *) "s", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
8053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail;
8055 {
8056 arg2 = wxString_in_helper(obj1);
8057 if (arg2 == NULL) SWIG_fail;
8058 temp2 = true;
8059 }
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 (arg1)->SetFirstItem((wxString const &)*arg2);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 Py_INCREF(Py_None); resultobj = Py_None;
8068 {
8069 if (temp2)
8070 delete arg2;
8071 }
8072 return resultobj;
8073 fail:
8074 {
8075 if (temp2)
8076 delete arg2;
8077 }
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj = NULL;
8084 wxListBox *arg1 = (wxListBox *) 0 ;
8085 int arg2 ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self",(char *) "n", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail;
8095 {
8096 arg2 = static_cast<int >(SWIG_As_int(obj1));
8097 if (SWIG_arg_fail(2)) SWIG_fail;
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 (arg1)->EnsureVisible(arg2);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 Py_INCREF(Py_None); resultobj = Py_None;
8107 return resultobj;
8108 fail:
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj = NULL;
8115 wxListBox *arg1 = (wxListBox *) 0 ;
8116 wxString *arg2 = 0 ;
8117 bool temp2 = false ;
8118 PyObject * obj0 = 0 ;
8119 PyObject * obj1 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "self",(char *) "s", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail;
8127 {
8128 arg2 = wxString_in_helper(obj1);
8129 if (arg2 == NULL) SWIG_fail;
8130 temp2 = true;
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 {
8141 if (temp2)
8142 delete arg2;
8143 }
8144 return resultobj;
8145 fail:
8146 {
8147 if (temp2)
8148 delete arg2;
8149 }
8150 return NULL;
8151 }
8152
8153
8154 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj = NULL;
8156 wxListBox *arg1 = (wxListBox *) 0 ;
8157 bool result;
8158 PyObject * obj0 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (bool)((wxListBox const *)arg1)->IsSorted();
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 {
8174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8175 }
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj = NULL;
8184 wxListBox *arg1 = (wxListBox *) 0 ;
8185 int arg2 ;
8186 wxColour *arg3 = 0 ;
8187 wxColour temp3 ;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 PyObject * obj2 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self",(char *) "item",(char *) "c", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail;
8198 {
8199 arg2 = static_cast<int >(SWIG_As_int(obj1));
8200 if (SWIG_arg_fail(2)) SWIG_fail;
8201 }
8202 {
8203 arg3 = &temp3;
8204 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 Py_INCREF(Py_None); resultobj = Py_None;
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj = NULL;
8222 wxListBox *arg1 = (wxListBox *) 0 ;
8223 int arg2 ;
8224 wxColour *arg3 = 0 ;
8225 wxColour temp3 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 PyObject * obj2 = 0 ;
8229 char *kwnames[] = {
8230 (char *) "self",(char *) "item",(char *) "c", NULL
8231 };
8232
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail;
8236 {
8237 arg2 = static_cast<int >(SWIG_As_int(obj1));
8238 if (SWIG_arg_fail(2)) SWIG_fail;
8239 }
8240 {
8241 arg3 = &temp3;
8242 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8243 }
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 Py_INCREF(Py_None); resultobj = Py_None;
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj = NULL;
8260 wxListBox *arg1 = (wxListBox *) 0 ;
8261 int arg2 ;
8262 wxFont *arg3 = 0 ;
8263 PyObject * obj0 = 0 ;
8264 PyObject * obj1 = 0 ;
8265 PyObject * obj2 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "item",(char *) "f", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail;
8273 {
8274 arg2 = static_cast<int >(SWIG_As_int(obj1));
8275 if (SWIG_arg_fail(2)) SWIG_fail;
8276 }
8277 {
8278 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(3)) SWIG_fail;
8280 if (arg3 == NULL) {
8281 SWIG_null_ref("wxFont");
8282 }
8283 if (SWIG_arg_fail(3)) SWIG_fail;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj = NULL;
8301 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8302 wxVisualAttributes result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "variant", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8309 if (obj0) {
8310 {
8311 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8312 if (SWIG_arg_fail(1)) SWIG_fail;
8313 }
8314 }
8315 {
8316 if (!wxPyCheckForApp()) SWIG_fail;
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = wxListBox::GetClassDefaultAttributes(arg1);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
8324 wxVisualAttributes * resultptr;
8325 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8327 }
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8335 PyObject *obj;
8336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8338 Py_INCREF(obj);
8339 return Py_BuildValue((char *)"");
8340 }
8341 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj = NULL;
8343 wxWindow *arg1 = (wxWindow *) 0 ;
8344 int arg2 = (int) -1 ;
8345 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8346 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8347 wxSize const &arg4_defvalue = wxDefaultSize ;
8348 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8349 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8350 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8351 long arg6 = (long) 0 ;
8352 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8353 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8354 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8355 wxString *arg8 = (wxString *) &arg8_defvalue ;
8356 wxCheckListBox *result;
8357 wxPoint temp3 ;
8358 wxSize temp4 ;
8359 bool temp5 = false ;
8360 bool temp8 = false ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj1 = 0 ;
8363 PyObject * obj2 = 0 ;
8364 PyObject * obj3 = 0 ;
8365 PyObject * obj4 = 0 ;
8366 PyObject * obj5 = 0 ;
8367 PyObject * obj6 = 0 ;
8368 PyObject * obj7 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail;
8376 if (obj1) {
8377 {
8378 arg2 = static_cast<int >(SWIG_As_int(obj1));
8379 if (SWIG_arg_fail(2)) SWIG_fail;
8380 }
8381 }
8382 if (obj2) {
8383 {
8384 arg3 = &temp3;
8385 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8386 }
8387 }
8388 if (obj3) {
8389 {
8390 arg4 = &temp4;
8391 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8392 }
8393 }
8394 if (obj4) {
8395 {
8396 if (! PySequence_Check(obj4)) {
8397 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8398 SWIG_fail;
8399 }
8400 arg5 = new wxArrayString;
8401 temp5 = true;
8402 int i, len=PySequence_Length(obj4);
8403 for (i=0; i<len; i++) {
8404 PyObject* item = PySequence_GetItem(obj4, i);
8405 wxString* s = wxString_in_helper(item);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 arg5->Add(*s);
8408 delete s;
8409 Py_DECREF(item);
8410 }
8411 }
8412 }
8413 if (obj5) {
8414 {
8415 arg6 = static_cast<long >(SWIG_As_long(obj5));
8416 if (SWIG_arg_fail(6)) SWIG_fail;
8417 }
8418 }
8419 if (obj6) {
8420 {
8421 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8422 if (SWIG_arg_fail(7)) SWIG_fail;
8423 if (arg7 == NULL) {
8424 SWIG_null_ref("wxValidator");
8425 }
8426 if (SWIG_arg_fail(7)) SWIG_fail;
8427 }
8428 }
8429 if (obj7) {
8430 {
8431 arg8 = wxString_in_helper(obj7);
8432 if (arg8 == NULL) SWIG_fail;
8433 temp8 = true;
8434 }
8435 }
8436 {
8437 if (!wxPyCheckForApp()) SWIG_fail;
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8445 {
8446 if (temp5) delete arg5;
8447 }
8448 {
8449 if (temp8)
8450 delete arg8;
8451 }
8452 return resultobj;
8453 fail:
8454 {
8455 if (temp5) delete arg5;
8456 }
8457 {
8458 if (temp8)
8459 delete arg8;
8460 }
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj = NULL;
8467 wxCheckListBox *result;
8468 char *kwnames[] = {
8469 NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8473 {
8474 if (!wxPyCheckForApp()) SWIG_fail;
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxCheckListBox *)new wxCheckListBox();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj = NULL;
8490 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8491 wxWindow *arg2 = (wxWindow *) 0 ;
8492 int arg3 = (int) -1 ;
8493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8495 wxSize const &arg5_defvalue = wxDefaultSize ;
8496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8497 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8498 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8499 long arg7 = (long) 0 ;
8500 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8501 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8502 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8503 wxString *arg9 = (wxString *) &arg9_defvalue ;
8504 bool result;
8505 wxPoint temp4 ;
8506 wxSize temp5 ;
8507 bool temp6 = false ;
8508 bool temp9 = false ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 PyObject * obj2 = 0 ;
8512 PyObject * obj3 = 0 ;
8513 PyObject * obj4 = 0 ;
8514 PyObject * obj5 = 0 ;
8515 PyObject * obj6 = 0 ;
8516 PyObject * obj7 = 0 ;
8517 PyObject * obj8 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail;
8525 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8526 if (SWIG_arg_fail(2)) SWIG_fail;
8527 if (obj2) {
8528 {
8529 arg3 = static_cast<int >(SWIG_As_int(obj2));
8530 if (SWIG_arg_fail(3)) SWIG_fail;
8531 }
8532 }
8533 if (obj3) {
8534 {
8535 arg4 = &temp4;
8536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8537 }
8538 }
8539 if (obj4) {
8540 {
8541 arg5 = &temp5;
8542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8543 }
8544 }
8545 if (obj5) {
8546 {
8547 if (! PySequence_Check(obj5)) {
8548 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8549 SWIG_fail;
8550 }
8551 arg6 = new wxArrayString;
8552 temp6 = true;
8553 int i, len=PySequence_Length(obj5);
8554 for (i=0; i<len; i++) {
8555 PyObject* item = PySequence_GetItem(obj5, i);
8556 wxString* s = wxString_in_helper(item);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 arg6->Add(*s);
8559 delete s;
8560 Py_DECREF(item);
8561 }
8562 }
8563 }
8564 if (obj6) {
8565 {
8566 arg7 = static_cast<long >(SWIG_As_long(obj6));
8567 if (SWIG_arg_fail(7)) SWIG_fail;
8568 }
8569 }
8570 if (obj7) {
8571 {
8572 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8573 if (SWIG_arg_fail(8)) SWIG_fail;
8574 if (arg8 == NULL) {
8575 SWIG_null_ref("wxValidator");
8576 }
8577 if (SWIG_arg_fail(8)) SWIG_fail;
8578 }
8579 }
8580 if (obj8) {
8581 {
8582 arg9 = wxString_in_helper(obj8);
8583 if (arg9 == NULL) SWIG_fail;
8584 temp9 = true;
8585 }
8586 }
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8596 }
8597 {
8598 if (temp6) delete arg6;
8599 }
8600 {
8601 if (temp9)
8602 delete arg9;
8603 }
8604 return resultobj;
8605 fail:
8606 {
8607 if (temp6) delete arg6;
8608 }
8609 {
8610 if (temp9)
8611 delete arg9;
8612 }
8613 return NULL;
8614 }
8615
8616
8617 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8618 PyObject *resultobj = NULL;
8619 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8620 int arg2 ;
8621 bool result;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "index", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail;
8631 {
8632 arg2 = static_cast<int >(SWIG_As_int(obj1));
8633 if (SWIG_arg_fail(2)) SWIG_fail;
8634 }
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (bool)(arg1)->IsChecked(arg2);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 {
8643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8644 }
8645 return resultobj;
8646 fail:
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj = NULL;
8653 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8654 int arg2 ;
8655 int arg3 = (int) true ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj1 = 0 ;
8658 PyObject * obj2 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self",(char *) "index",(char *) "check", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail;
8666 {
8667 arg2 = static_cast<int >(SWIG_As_int(obj1));
8668 if (SWIG_arg_fail(2)) SWIG_fail;
8669 }
8670 if (obj2) {
8671 {
8672 arg3 = static_cast<int >(SWIG_As_int(obj2));
8673 if (SWIG_arg_fail(3)) SWIG_fail;
8674 }
8675 }
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->Check(arg2,arg3);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj = NULL;
8692 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8693 wxPoint *arg2 = 0 ;
8694 int result;
8695 wxPoint temp2 ;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "self",(char *) "pt", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail;
8705 {
8706 arg2 = &temp2;
8707 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 {
8717 resultobj = SWIG_From_int(static_cast<int >(result));
8718 }
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = NULL;
8727 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8728 int arg2 ;
8729 int arg3 ;
8730 int result;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 PyObject * obj2 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "x",(char *) "y", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail;
8741 {
8742 arg2 = static_cast<int >(SWIG_As_int(obj1));
8743 if (SWIG_arg_fail(2)) SWIG_fail;
8744 }
8745 {
8746 arg3 = static_cast<int >(SWIG_As_int(obj2));
8747 if (SWIG_arg_fail(3)) SWIG_fail;
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 {
8757 resultobj = SWIG_From_int(static_cast<int >(result));
8758 }
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8766 PyObject *obj;
8767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8768 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8769 Py_INCREF(obj);
8770 return Py_BuildValue((char *)"");
8771 }
8772 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8773 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8774 return 1;
8775 }
8776
8777
8778 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8779 PyObject *pyobj = NULL;
8780
8781 {
8782 #if wxUSE_UNICODE
8783 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8784 #else
8785 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8786 #endif
8787 }
8788 return pyobj;
8789 }
8790
8791
8792 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj = NULL;
8794 wxColour const &arg1_defvalue = wxNullColour ;
8795 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8796 wxColour const &arg2_defvalue = wxNullColour ;
8797 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8798 wxFont const &arg3_defvalue = wxNullFont ;
8799 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8800 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8801 wxTextAttr *result;
8802 wxColour temp1 ;
8803 wxColour temp2 ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 PyObject * obj2 = 0 ;
8807 PyObject * obj3 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8813 if (obj0) {
8814 {
8815 arg1 = &temp1;
8816 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8817 }
8818 }
8819 if (obj1) {
8820 {
8821 arg2 = &temp2;
8822 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8823 }
8824 }
8825 if (obj2) {
8826 {
8827 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8828 if (SWIG_arg_fail(3)) SWIG_fail;
8829 if (arg3 == NULL) {
8830 SWIG_null_ref("wxFont");
8831 }
8832 if (SWIG_arg_fail(3)) SWIG_fail;
8833 }
8834 }
8835 if (obj3) {
8836 {
8837 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
8838 if (SWIG_arg_fail(4)) SWIG_fail;
8839 }
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj = NULL;
8857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 delete arg1;
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 Py_INCREF(Py_None); resultobj = Py_None;
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj = NULL;
8882 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8883 PyObject * obj0 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->Init();
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj = NULL;
8907 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8908 wxColour *arg2 = 0 ;
8909 wxColour temp2 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self",(char *) "colText", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail;
8919 {
8920 arg2 = &temp2;
8921 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetTextColour((wxColour const &)*arg2);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj = NULL;
8939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8940 wxColour *arg2 = 0 ;
8941 wxColour temp2 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "colBack", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail;
8951 {
8952 arg2 = &temp2;
8953 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 Py_INCREF(Py_None); resultobj = Py_None;
8963 return resultobj;
8964 fail:
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj = NULL;
8971 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8972 wxFont *arg2 = 0 ;
8973 long arg3 = (long) wxTEXT_ATTR_FONT ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 PyObject * obj2 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "font",(char *) "flags", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail;
8984 {
8985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8986 if (SWIG_arg_fail(2)) SWIG_fail;
8987 if (arg2 == NULL) {
8988 SWIG_null_ref("wxFont");
8989 }
8990 if (SWIG_arg_fail(2)) SWIG_fail;
8991 }
8992 if (obj2) {
8993 {
8994 arg3 = static_cast<long >(SWIG_As_long(obj2));
8995 if (SWIG_arg_fail(3)) SWIG_fail;
8996 }
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 Py_INCREF(Py_None); resultobj = Py_None;
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj = NULL;
9014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9015 wxTextAttrAlignment arg2 ;
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self",(char *) "alignment", NULL
9020 };
9021
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail;
9025 {
9026 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
9027 if (SWIG_arg_fail(2)) SWIG_fail;
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->SetAlignment(arg2);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj = NULL;
9045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9046 wxArrayInt *arg2 = 0 ;
9047 bool temp2 = false ;
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self",(char *) "tabs", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
9055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail;
9057 {
9058 if (! PySequence_Check(obj1)) {
9059 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9060 SWIG_fail;
9061 }
9062 arg2 = new wxArrayInt;
9063 temp2 = true;
9064 int i, len=PySequence_Length(obj1);
9065 for (i=0; i<len; i++) {
9066 PyObject* item = PySequence_GetItem(obj1, i);
9067 PyObject* number = PyNumber_Int(item);
9068 arg2->Add(PyInt_AS_LONG(number));
9069 Py_DECREF(item);
9070 Py_DECREF(number);
9071 }
9072 }
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 Py_INCREF(Py_None); resultobj = Py_None;
9081 {
9082 if (temp2) delete arg2;
9083 }
9084 return resultobj;
9085 fail:
9086 {
9087 if (temp2) delete arg2;
9088 }
9089 return NULL;
9090 }
9091
9092
9093 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj = NULL;
9095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9096 int arg2 ;
9097 int arg3 = (int) 0 ;
9098 PyObject * obj0 = 0 ;
9099 PyObject * obj1 = 0 ;
9100 PyObject * obj2 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9107 if (SWIG_arg_fail(1)) SWIG_fail;
9108 {
9109 arg2 = static_cast<int >(SWIG_As_int(obj1));
9110 if (SWIG_arg_fail(2)) SWIG_fail;
9111 }
9112 if (obj2) {
9113 {
9114 arg3 = static_cast<int >(SWIG_As_int(obj2));
9115 if (SWIG_arg_fail(3)) SWIG_fail;
9116 }
9117 }
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 (arg1)->SetLeftIndent(arg2,arg3);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 Py_INCREF(Py_None); resultobj = Py_None;
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj = NULL;
9134 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9135 int arg2 ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj1 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "indent", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9144 if (SWIG_arg_fail(1)) SWIG_fail;
9145 {
9146 arg2 = static_cast<int >(SWIG_As_int(obj1));
9147 if (SWIG_arg_fail(2)) SWIG_fail;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 (arg1)->SetRightIndent(arg2);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 Py_INCREF(Py_None); resultobj = Py_None;
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj = NULL;
9165 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9166 long arg2 ;
9167 PyObject * obj0 = 0 ;
9168 PyObject * obj1 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "self",(char *) "flags", NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9175 if (SWIG_arg_fail(1)) SWIG_fail;
9176 {
9177 arg2 = static_cast<long >(SWIG_As_long(obj1));
9178 if (SWIG_arg_fail(2)) SWIG_fail;
9179 }
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->SetFlags(arg2);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj = NULL;
9196 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9197 bool result;
9198 PyObject * obj0 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9205 if (SWIG_arg_fail(1)) SWIG_fail;
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 {
9214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9215 }
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj = NULL;
9224 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9225 bool result;
9226 PyObject * obj0 = 0 ;
9227 char *kwnames[] = {
9228 (char *) "self", NULL
9229 };
9230
9231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9233 if (SWIG_arg_fail(1)) SWIG_fail;
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 {
9242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9243 }
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj = NULL;
9252 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9253 bool result;
9254 PyObject * obj0 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9261 if (SWIG_arg_fail(1)) SWIG_fail;
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 {
9270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9271 }
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj = NULL;
9280 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9281 bool result;
9282 PyObject * obj0 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9289 if (SWIG_arg_fail(1)) SWIG_fail;
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 {
9298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9299 }
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj = NULL;
9308 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9309 bool result;
9310 PyObject * obj0 = 0 ;
9311 char *kwnames[] = {
9312 (char *) "self", NULL
9313 };
9314
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9317 if (SWIG_arg_fail(1)) SWIG_fail;
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 {
9326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9327 }
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj = NULL;
9336 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9337 bool result;
9338 PyObject * obj0 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail;
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 {
9354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9355 }
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = NULL;
9364 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9365 bool result;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 {
9382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9383 }
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj = NULL;
9392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9393 long arg2 ;
9394 bool result;
9395 PyObject * obj0 = 0 ;
9396 PyObject * obj1 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "flag", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail;
9404 {
9405 arg2 = static_cast<long >(SWIG_As_long(obj1));
9406 if (SWIG_arg_fail(2)) SWIG_fail;
9407 }
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 {
9416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9417 }
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj = NULL;
9426 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9427 wxColour *result;
9428 PyObject * obj0 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9435 if (SWIG_arg_fail(1)) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 {
9439 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9440 result = (wxColour *) &_result_ref;
9441 }
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj = NULL;
9455 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9456 wxColour *result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 {
9468 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9469 result = (wxColour *) &_result_ref;
9470 }
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj = NULL;
9484 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9485 wxFont *result;
9486 PyObject * obj0 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9493 if (SWIG_arg_fail(1)) SWIG_fail;
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 {
9497 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9498 result = (wxFont *) &_result_ref;
9499 }
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 {
9505 wxFont* resultptr = new wxFont(*result);
9506 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9507 }
9508 return resultobj;
9509 fail:
9510 return NULL;
9511 }
9512
9513
9514 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj = NULL;
9516 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9517 wxTextAttrAlignment result;
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9525 if (SWIG_arg_fail(1)) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 resultobj = SWIG_From_int((result));
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj = NULL;
9542 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9543 wxArrayInt *result;
9544 PyObject * obj0 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9551 if (SWIG_arg_fail(1)) SWIG_fail;
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 {
9555 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9556 result = (wxArrayInt *) &_result_ref;
9557 }
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 {
9563 resultobj = PyList_New(0);
9564 size_t idx;
9565 for (idx = 0; idx < result->GetCount(); idx += 1) {
9566 PyObject* val = PyInt_FromLong( result->Item(idx) );
9567 PyList_Append(resultobj, val);
9568 Py_DECREF(val);
9569 }
9570 }
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj = NULL;
9579 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9580 long result;
9581 PyObject * obj0 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9588 if (SWIG_arg_fail(1)) SWIG_fail;
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 {
9597 resultobj = SWIG_From_long(static_cast<long >(result));
9598 }
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj = NULL;
9607 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9608 long result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9616 if (SWIG_arg_fail(1)) SWIG_fail;
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 {
9625 resultobj = SWIG_From_long(static_cast<long >(result));
9626 }
9627 return resultobj;
9628 fail:
9629 return NULL;
9630 }
9631
9632
9633 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj = NULL;
9635 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9636 long result;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9644 if (SWIG_arg_fail(1)) SWIG_fail;
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
9653 resultobj = SWIG_From_long(static_cast<long >(result));
9654 }
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj = NULL;
9663 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9664 long result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9672 if (SWIG_arg_fail(1)) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 {
9681 resultobj = SWIG_From_long(static_cast<long >(result));
9682 }
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj = NULL;
9691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9692 bool result;
9693 PyObject * obj0 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail;
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 {
9709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9710 }
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj = NULL;
9719 wxTextAttr *arg1 = 0 ;
9720 wxTextAttr *arg2 = 0 ;
9721 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9722 wxTextAttr result;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 PyObject * obj2 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9731 {
9732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail;
9734 if (arg1 == NULL) {
9735 SWIG_null_ref("wxTextAttr");
9736 }
9737 if (SWIG_arg_fail(1)) SWIG_fail;
9738 }
9739 {
9740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail;
9742 if (arg2 == NULL) {
9743 SWIG_null_ref("wxTextAttr");
9744 }
9745 if (SWIG_arg_fail(2)) SWIG_fail;
9746 }
9747 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9748 if (SWIG_arg_fail(3)) SWIG_fail;
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 {
9757 wxTextAttr * resultptr;
9758 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
9759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9760 }
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9768 PyObject *obj;
9769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9770 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9771 Py_INCREF(obj);
9772 return Py_BuildValue((char *)"");
9773 }
9774 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj = NULL;
9776 wxWindow *arg1 = (wxWindow *) 0 ;
9777 int arg2 = (int) -1 ;
9778 wxString const &arg3_defvalue = wxPyEmptyString ;
9779 wxString *arg3 = (wxString *) &arg3_defvalue ;
9780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9782 wxSize const &arg5_defvalue = wxDefaultSize ;
9783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9784 long arg6 = (long) 0 ;
9785 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9786 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9787 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9788 wxString *arg8 = (wxString *) &arg8_defvalue ;
9789 wxTextCtrl *result;
9790 bool temp3 = false ;
9791 wxPoint temp4 ;
9792 wxSize temp5 ;
9793 bool temp8 = false ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 PyObject * obj3 = 0 ;
9798 PyObject * obj4 = 0 ;
9799 PyObject * obj5 = 0 ;
9800 PyObject * obj6 = 0 ;
9801 PyObject * obj7 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail;
9809 if (obj1) {
9810 {
9811 arg2 = static_cast<int >(SWIG_As_int(obj1));
9812 if (SWIG_arg_fail(2)) SWIG_fail;
9813 }
9814 }
9815 if (obj2) {
9816 {
9817 arg3 = wxString_in_helper(obj2);
9818 if (arg3 == NULL) SWIG_fail;
9819 temp3 = true;
9820 }
9821 }
9822 if (obj3) {
9823 {
9824 arg4 = &temp4;
9825 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9826 }
9827 }
9828 if (obj4) {
9829 {
9830 arg5 = &temp5;
9831 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9832 }
9833 }
9834 if (obj5) {
9835 {
9836 arg6 = static_cast<long >(SWIG_As_long(obj5));
9837 if (SWIG_arg_fail(6)) SWIG_fail;
9838 }
9839 }
9840 if (obj6) {
9841 {
9842 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9843 if (SWIG_arg_fail(7)) SWIG_fail;
9844 if (arg7 == NULL) {
9845 SWIG_null_ref("wxValidator");
9846 }
9847 if (SWIG_arg_fail(7)) SWIG_fail;
9848 }
9849 }
9850 if (obj7) {
9851 {
9852 arg8 = wxString_in_helper(obj7);
9853 if (arg8 == NULL) SWIG_fail;
9854 temp8 = true;
9855 }
9856 }
9857 {
9858 if (!wxPyCheckForApp()) SWIG_fail;
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9866 {
9867 if (temp3)
9868 delete arg3;
9869 }
9870 {
9871 if (temp8)
9872 delete arg8;
9873 }
9874 return resultobj;
9875 fail:
9876 {
9877 if (temp3)
9878 delete arg3;
9879 }
9880 {
9881 if (temp8)
9882 delete arg8;
9883 }
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj = NULL;
9890 wxTextCtrl *result;
9891 char *kwnames[] = {
9892 NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9896 {
9897 if (!wxPyCheckForApp()) SWIG_fail;
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (wxTextCtrl *)new wxTextCtrl();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj = NULL;
9913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9914 wxWindow *arg2 = (wxWindow *) 0 ;
9915 int arg3 = (int) -1 ;
9916 wxString const &arg4_defvalue = wxPyEmptyString ;
9917 wxString *arg4 = (wxString *) &arg4_defvalue ;
9918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9920 wxSize const &arg6_defvalue = wxDefaultSize ;
9921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9922 long arg7 = (long) 0 ;
9923 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9924 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9925 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9926 wxString *arg9 = (wxString *) &arg9_defvalue ;
9927 bool result;
9928 bool temp4 = false ;
9929 wxPoint temp5 ;
9930 wxSize temp6 ;
9931 bool temp9 = false ;
9932 PyObject * obj0 = 0 ;
9933 PyObject * obj1 = 0 ;
9934 PyObject * obj2 = 0 ;
9935 PyObject * obj3 = 0 ;
9936 PyObject * obj4 = 0 ;
9937 PyObject * obj5 = 0 ;
9938 PyObject * obj6 = 0 ;
9939 PyObject * obj7 = 0 ;
9940 PyObject * obj8 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self",(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 *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail;
9948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9949 if (SWIG_arg_fail(2)) SWIG_fail;
9950 if (obj2) {
9951 {
9952 arg3 = static_cast<int >(SWIG_As_int(obj2));
9953 if (SWIG_arg_fail(3)) SWIG_fail;
9954 }
9955 }
9956 if (obj3) {
9957 {
9958 arg4 = wxString_in_helper(obj3);
9959 if (arg4 == NULL) SWIG_fail;
9960 temp4 = true;
9961 }
9962 }
9963 if (obj4) {
9964 {
9965 arg5 = &temp5;
9966 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9967 }
9968 }
9969 if (obj5) {
9970 {
9971 arg6 = &temp6;
9972 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9973 }
9974 }
9975 if (obj6) {
9976 {
9977 arg7 = static_cast<long >(SWIG_As_long(obj6));
9978 if (SWIG_arg_fail(7)) SWIG_fail;
9979 }
9980 }
9981 if (obj7) {
9982 {
9983 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9984 if (SWIG_arg_fail(8)) SWIG_fail;
9985 if (arg8 == NULL) {
9986 SWIG_null_ref("wxValidator");
9987 }
9988 if (SWIG_arg_fail(8)) SWIG_fail;
9989 }
9990 }
9991 if (obj8) {
9992 {
9993 arg9 = wxString_in_helper(obj8);
9994 if (arg9 == NULL) SWIG_fail;
9995 temp9 = true;
9996 }
9997 }
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 {
10006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10007 }
10008 {
10009 if (temp4)
10010 delete arg4;
10011 }
10012 {
10013 if (temp9)
10014 delete arg9;
10015 }
10016 return resultobj;
10017 fail:
10018 {
10019 if (temp4)
10020 delete arg4;
10021 }
10022 {
10023 if (temp9)
10024 delete arg9;
10025 }
10026 return NULL;
10027 }
10028
10029
10030 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj = NULL;
10032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10033 wxString result;
10034 PyObject * obj0 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
10040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail;
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 result = ((wxTextCtrl const *)arg1)->GetValue();
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 {
10050 #if wxUSE_UNICODE
10051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10052 #else
10053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10054 #endif
10055 }
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj = NULL;
10064 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10065 wxString *arg2 = 0 ;
10066 bool temp2 = false ;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self",(char *) "value", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail;
10076 {
10077 arg2 = wxString_in_helper(obj1);
10078 if (arg2 == NULL) SWIG_fail;
10079 temp2 = true;
10080 }
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 (arg1)->SetValue((wxString const &)*arg2);
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 Py_INCREF(Py_None); resultobj = Py_None;
10089 {
10090 if (temp2)
10091 delete arg2;
10092 }
10093 return resultobj;
10094 fail:
10095 {
10096 if (temp2)
10097 delete arg2;
10098 }
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj = NULL;
10105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10106 long arg2 ;
10107 long arg3 ;
10108 wxString result;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj2 = 0 ;
10112 char *kwnames[] = {
10113 (char *) "self",(char *) "from",(char *) "to", NULL
10114 };
10115
10116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10118 if (SWIG_arg_fail(1)) SWIG_fail;
10119 {
10120 arg2 = static_cast<long >(SWIG_As_long(obj1));
10121 if (SWIG_arg_fail(2)) SWIG_fail;
10122 }
10123 {
10124 arg3 = static_cast<long >(SWIG_As_long(obj2));
10125 if (SWIG_arg_fail(3)) SWIG_fail;
10126 }
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 {
10135 #if wxUSE_UNICODE
10136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10137 #else
10138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10139 #endif
10140 }
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj = NULL;
10149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10150 long arg2 ;
10151 int result;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "lineNo", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail;
10161 {
10162 arg2 = static_cast<long >(SWIG_As_long(obj1));
10163 if (SWIG_arg_fail(2)) SWIG_fail;
10164 }
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 {
10173 resultobj = SWIG_From_int(static_cast<int >(result));
10174 }
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj = NULL;
10183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10184 long arg2 ;
10185 wxString result;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self",(char *) "lineNo", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10194 if (SWIG_arg_fail(1)) SWIG_fail;
10195 {
10196 arg2 = static_cast<long >(SWIG_As_long(obj1));
10197 if (SWIG_arg_fail(2)) SWIG_fail;
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207 #if wxUSE_UNICODE
10208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10209 #else
10210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10211 #endif
10212 }
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj = NULL;
10221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 {
10239 resultobj = SWIG_From_int(static_cast<int >(result));
10240 }
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj = NULL;
10249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10250 bool result;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail;
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 {
10267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10268 }
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj = NULL;
10277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10278 bool result;
10279 PyObject * obj0 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail;
10287 {
10288 PyThreadState* __tstate = wxPyBeginAllowThreads();
10289 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10290
10291 wxPyEndAllowThreads(__tstate);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 {
10295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10296 }
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj = NULL;
10305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10306 bool result;
10307 PyObject * obj0 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 {
10323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10324 }
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj = NULL;
10333 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10334 bool result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10342 if (SWIG_arg_fail(1)) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 {
10351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10352 }
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj = NULL;
10361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10362 long *arg2 = (long *) 0 ;
10363 long *arg3 = (long *) 0 ;
10364 long temp2 ;
10365 int res2 = 0 ;
10366 long temp3 ;
10367 int res3 = 0 ;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self", NULL
10371 };
10372
10373 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10374 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10387 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10388 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10389 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj = NULL;
10398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10399 wxString result;
10400 PyObject * obj0 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 {
10416 #if wxUSE_UNICODE
10417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10418 #else
10419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10420 #endif
10421 }
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj = NULL;
10430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 (arg1)->Clear();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 Py_INCREF(Py_None); resultobj = Py_None;
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj = NULL;
10455 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10456 long arg2 ;
10457 long arg3 ;
10458 wxString *arg4 = 0 ;
10459 bool temp4 = false ;
10460 PyObject * obj0 = 0 ;
10461 PyObject * obj1 = 0 ;
10462 PyObject * obj2 = 0 ;
10463 PyObject * obj3 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail;
10471 {
10472 arg2 = static_cast<long >(SWIG_As_long(obj1));
10473 if (SWIG_arg_fail(2)) SWIG_fail;
10474 }
10475 {
10476 arg3 = static_cast<long >(SWIG_As_long(obj2));
10477 if (SWIG_arg_fail(3)) SWIG_fail;
10478 }
10479 {
10480 arg4 = wxString_in_helper(obj3);
10481 if (arg4 == NULL) SWIG_fail;
10482 temp4 = true;
10483 }
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 Py_INCREF(Py_None); resultobj = Py_None;
10492 {
10493 if (temp4)
10494 delete arg4;
10495 }
10496 return resultobj;
10497 fail:
10498 {
10499 if (temp4)
10500 delete arg4;
10501 }
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj = NULL;
10508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10509 long arg2 ;
10510 long arg3 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 PyObject * obj2 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "from",(char *) "to", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
10521 {
10522 arg2 = static_cast<long >(SWIG_As_long(obj1));
10523 if (SWIG_arg_fail(2)) SWIG_fail;
10524 }
10525 {
10526 arg3 = static_cast<long >(SWIG_As_long(obj2));
10527 if (SWIG_arg_fail(3)) SWIG_fail;
10528 }
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 (arg1)->Remove(arg2,arg3);
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 Py_INCREF(Py_None); resultobj = Py_None;
10537 return resultobj;
10538 fail:
10539 return NULL;
10540 }
10541
10542
10543 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj = NULL;
10545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10546 wxString *arg2 = 0 ;
10547 bool result;
10548 bool temp2 = false ;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "file", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail;
10558 {
10559 arg2 = wxString_in_helper(obj1);
10560 if (arg2 == NULL) SWIG_fail;
10561 temp2 = true;
10562 }
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 {
10571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10572 }
10573 {
10574 if (temp2)
10575 delete arg2;
10576 }
10577 return resultobj;
10578 fail:
10579 {
10580 if (temp2)
10581 delete arg2;
10582 }
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj = NULL;
10589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10590 wxString const &arg2_defvalue = wxPyEmptyString ;
10591 wxString *arg2 = (wxString *) &arg2_defvalue ;
10592 bool result;
10593 bool temp2 = false ;
10594 PyObject * obj0 = 0 ;
10595 PyObject * obj1 = 0 ;
10596 char *kwnames[] = {
10597 (char *) "self",(char *) "file", NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10602 if (SWIG_arg_fail(1)) SWIG_fail;
10603 if (obj1) {
10604 {
10605 arg2 = wxString_in_helper(obj1);
10606 if (arg2 == NULL) SWIG_fail;
10607 temp2 = true;
10608 }
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 {
10618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10619 }
10620 {
10621 if (temp2)
10622 delete arg2;
10623 }
10624 return resultobj;
10625 fail:
10626 {
10627 if (temp2)
10628 delete arg2;
10629 }
10630 return NULL;
10631 }
10632
10633
10634 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj = NULL;
10636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 (arg1)->MarkDirty();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 Py_INCREF(Py_None); resultobj = Py_None;
10653 return resultobj;
10654 fail:
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj = NULL;
10661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10662 PyObject * obj0 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->DiscardEdits();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj = NULL;
10686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10687 unsigned long arg2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "len", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",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 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
10699 if (SWIG_arg_fail(2)) SWIG_fail;
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 (arg1)->SetMaxLength(arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 Py_INCREF(Py_None); resultobj = Py_None;
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj = NULL;
10717 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10718 wxString *arg2 = 0 ;
10719 bool temp2 = false ;
10720 PyObject * obj0 = 0 ;
10721 PyObject * obj1 = 0 ;
10722 char *kwnames[] = {
10723 (char *) "self",(char *) "text", NULL
10724 };
10725
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10728 if (SWIG_arg_fail(1)) SWIG_fail;
10729 {
10730 arg2 = wxString_in_helper(obj1);
10731 if (arg2 == NULL) SWIG_fail;
10732 temp2 = true;
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 (arg1)->WriteText((wxString const &)*arg2);
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 Py_INCREF(Py_None); resultobj = Py_None;
10742 {
10743 if (temp2)
10744 delete arg2;
10745 }
10746 return resultobj;
10747 fail:
10748 {
10749 if (temp2)
10750 delete arg2;
10751 }
10752 return NULL;
10753 }
10754
10755
10756 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj = NULL;
10758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10759 wxString *arg2 = 0 ;
10760 bool temp2 = false ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "text", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail;
10770 {
10771 arg2 = wxString_in_helper(obj1);
10772 if (arg2 == NULL) SWIG_fail;
10773 temp2 = true;
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 (arg1)->AppendText((wxString const &)*arg2);
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 Py_INCREF(Py_None); resultobj = Py_None;
10783 {
10784 if (temp2)
10785 delete arg2;
10786 }
10787 return resultobj;
10788 fail:
10789 {
10790 if (temp2)
10791 delete arg2;
10792 }
10793 return NULL;
10794 }
10795
10796
10797 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj = NULL;
10799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10800 wxKeyEvent *arg2 = 0 ;
10801 bool result;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self",(char *) "event", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail;
10811 {
10812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10813 if (SWIG_arg_fail(2)) SWIG_fail;
10814 if (arg2 == NULL) {
10815 SWIG_null_ref("wxKeyEvent");
10816 }
10817 if (SWIG_arg_fail(2)) SWIG_fail;
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 {
10827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10828 }
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj = NULL;
10837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10838 long arg2 ;
10839 long arg3 ;
10840 wxTextAttr *arg4 = 0 ;
10841 bool result;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 PyObject * obj2 = 0 ;
10845 PyObject * obj3 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10852 if (SWIG_arg_fail(1)) SWIG_fail;
10853 {
10854 arg2 = static_cast<long >(SWIG_As_long(obj1));
10855 if (SWIG_arg_fail(2)) SWIG_fail;
10856 }
10857 {
10858 arg3 = static_cast<long >(SWIG_As_long(obj2));
10859 if (SWIG_arg_fail(3)) SWIG_fail;
10860 }
10861 {
10862 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10863 if (SWIG_arg_fail(4)) SWIG_fail;
10864 if (arg4 == NULL) {
10865 SWIG_null_ref("wxTextAttr");
10866 }
10867 if (SWIG_arg_fail(4)) SWIG_fail;
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 {
10877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10878 }
10879 return resultobj;
10880 fail:
10881 return NULL;
10882 }
10883
10884
10885 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10886 PyObject *resultobj = NULL;
10887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10888 long arg2 ;
10889 wxTextAttr *arg3 = 0 ;
10890 bool result;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self",(char *) "position",(char *) "style", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail;
10901 {
10902 arg2 = static_cast<long >(SWIG_As_long(obj1));
10903 if (SWIG_arg_fail(2)) SWIG_fail;
10904 }
10905 {
10906 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10907 if (SWIG_arg_fail(3)) SWIG_fail;
10908 if (arg3 == NULL) {
10909 SWIG_null_ref("wxTextAttr");
10910 }
10911 if (SWIG_arg_fail(3)) SWIG_fail;
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 {
10921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10922 }
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj = NULL;
10931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10932 wxTextAttr *arg2 = 0 ;
10933 bool result;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "style", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10942 if (SWIG_arg_fail(1)) SWIG_fail;
10943 {
10944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10945 if (SWIG_arg_fail(2)) SWIG_fail;
10946 if (arg2 == NULL) {
10947 SWIG_null_ref("wxTextAttr");
10948 }
10949 if (SWIG_arg_fail(2)) SWIG_fail;
10950 }
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 {
10959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10960 }
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj = NULL;
10969 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10970 wxTextAttr *result;
10971 PyObject * obj0 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail;
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 {
10982 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10983 result = (wxTextAttr *) &_result_ref;
10984 }
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj = NULL;
10998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10999 long arg2 ;
11000 long arg3 ;
11001 long result;
11002 PyObject * obj0 = 0 ;
11003 PyObject * obj1 = 0 ;
11004 PyObject * obj2 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "x",(char *) "y", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
11010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail;
11012 {
11013 arg2 = static_cast<long >(SWIG_As_long(obj1));
11014 if (SWIG_arg_fail(2)) SWIG_fail;
11015 }
11016 {
11017 arg3 = static_cast<long >(SWIG_As_long(obj2));
11018 if (SWIG_arg_fail(3)) SWIG_fail;
11019 }
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 {
11028 resultobj = SWIG_From_long(static_cast<long >(result));
11029 }
11030 return resultobj;
11031 fail:
11032 return NULL;
11033 }
11034
11035
11036 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj = NULL;
11038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11039 long arg2 ;
11040 long *arg3 = (long *) 0 ;
11041 long *arg4 = (long *) 0 ;
11042 long temp3 ;
11043 int res3 = 0 ;
11044 long temp4 ;
11045 int res4 = 0 ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self",(char *) "pos", NULL
11050 };
11051
11052 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11053 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
11055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail;
11057 {
11058 arg2 = static_cast<long >(SWIG_As_long(obj1));
11059 if (SWIG_arg_fail(2)) SWIG_fail;
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11070 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11071 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11072 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11073 return resultobj;
11074 fail:
11075 return NULL;
11076 }
11077
11078
11079 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj = NULL;
11081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11082 long arg2 ;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "self",(char *) "pos", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
11090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail;
11092 {
11093 arg2 = static_cast<long >(SWIG_As_long(obj1));
11094 if (SWIG_arg_fail(2)) SWIG_fail;
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 (arg1)->ShowPosition(arg2);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 Py_INCREF(Py_None); resultobj = Py_None;
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj = NULL;
11112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11113 wxPoint *arg2 = 0 ;
11114 long *arg3 = (long *) 0 ;
11115 long *arg4 = (long *) 0 ;
11116 wxTextCtrlHitTestResult result;
11117 wxPoint temp2 ;
11118 long temp3 ;
11119 int res3 = 0 ;
11120 long temp4 ;
11121 int res4 = 0 ;
11122 PyObject * obj0 = 0 ;
11123 PyObject * obj1 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self",(char *) "pt", NULL
11126 };
11127
11128 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11129 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail;
11133 {
11134 arg2 = &temp2;
11135 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_From_int((result));
11145 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11146 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11147 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11148 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj = NULL;
11157 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11158 wxPoint *arg2 = 0 ;
11159 long *arg3 = (long *) 0 ;
11160 wxTextCtrlHitTestResult result;
11161 wxPoint temp2 ;
11162 long temp3 ;
11163 int res3 = 0 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "pt", NULL
11168 };
11169
11170 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail;
11174 {
11175 arg2 = &temp2;
11176 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11177 }
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 resultobj = SWIG_From_int((result));
11186 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11187 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = NULL;
11196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->Copy();
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 Py_INCREF(Py_None); resultobj = Py_None;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj = NULL;
11221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11222 PyObject * obj0 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11229 if (SWIG_arg_fail(1)) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 (arg1)->Cut();
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj = NULL;
11246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail;
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->Paste();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj = NULL;
11271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11272 bool result;
11273 PyObject * obj0 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail;
11281 {
11282 PyThreadState* __tstate = wxPyBeginAllowThreads();
11283 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11284
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 {
11289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11290 }
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj = NULL;
11299 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11300 bool result;
11301 PyObject * obj0 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self", NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail;
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 {
11317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11318 }
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj = NULL;
11327 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11328 bool result;
11329 PyObject * obj0 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 {
11345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11346 }
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = NULL;
11355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11363 if (SWIG_arg_fail(1)) SWIG_fail;
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 (arg1)->Undo();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 Py_INCREF(Py_None); resultobj = Py_None;
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj = NULL;
11380 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11381 PyObject * obj0 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11388 if (SWIG_arg_fail(1)) SWIG_fail;
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 (arg1)->Redo();
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 Py_INCREF(Py_None); resultobj = Py_None;
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj = NULL;
11405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11406 bool result;
11407 PyObject * obj0 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail;
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 {
11423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11424 }
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj = NULL;
11433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11434 bool result;
11435 PyObject * obj0 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self", NULL
11438 };
11439
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail;
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 {
11451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11452 }
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj = NULL;
11461 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11462 long arg2 ;
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self",(char *) "pos", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail;
11472 {
11473 arg2 = static_cast<long >(SWIG_As_long(obj1));
11474 if (SWIG_arg_fail(2)) SWIG_fail;
11475 }
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 (arg1)->SetInsertionPoint(arg2);
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 Py_INCREF(Py_None); resultobj = Py_None;
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj = NULL;
11492 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11493 PyObject * obj0 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 (arg1)->SetInsertionPointEnd();
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 Py_INCREF(Py_None); resultobj = Py_None;
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj = NULL;
11517 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11518 long result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11526 if (SWIG_arg_fail(1)) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 {
11535 resultobj = SWIG_From_long(static_cast<long >(result));
11536 }
11537 return resultobj;
11538 fail:
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj = NULL;
11545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11546 long result;
11547 PyObject * obj0 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail;
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 {
11563 resultobj = SWIG_From_long(static_cast<long >(result));
11564 }
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11572 PyObject *resultobj = NULL;
11573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11574 long arg2 ;
11575 long arg3 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 PyObject * obj2 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "from",(char *) "to", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11585 if (SWIG_arg_fail(1)) SWIG_fail;
11586 {
11587 arg2 = static_cast<long >(SWIG_As_long(obj1));
11588 if (SWIG_arg_fail(2)) SWIG_fail;
11589 }
11590 {
11591 arg3 = static_cast<long >(SWIG_As_long(obj2));
11592 if (SWIG_arg_fail(3)) SWIG_fail;
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 (arg1)->SetSelection(arg2,arg3);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 Py_INCREF(Py_None); resultobj = Py_None;
11602 return resultobj;
11603 fail:
11604 return NULL;
11605 }
11606
11607
11608 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj = NULL;
11610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11611 PyObject * obj0 = 0 ;
11612 char *kwnames[] = {
11613 (char *) "self", NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11618 if (SWIG_arg_fail(1)) SWIG_fail;
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 (arg1)->SelectAll();
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 Py_INCREF(Py_None); resultobj = Py_None;
11627 return resultobj;
11628 fail:
11629 return NULL;
11630 }
11631
11632
11633 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11634 PyObject *resultobj = NULL;
11635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11636 bool arg2 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self",(char *) "editable", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail;
11646 {
11647 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11648 if (SWIG_arg_fail(2)) SWIG_fail;
11649 }
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetEditable(arg2);
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 Py_INCREF(Py_None); resultobj = Py_None;
11658 return resultobj;
11659 fail:
11660 return NULL;
11661 }
11662
11663
11664 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj = NULL;
11666 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11667 wxString *arg2 = 0 ;
11668 bool temp2 = false ;
11669 PyObject * obj0 = 0 ;
11670 PyObject * obj1 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "text", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
11678 {
11679 arg2 = wxString_in_helper(obj1);
11680 if (arg2 == NULL) SWIG_fail;
11681 temp2 = true;
11682 }
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 Py_INCREF(Py_None); resultobj = Py_None;
11691 {
11692 if (temp2)
11693 delete arg2;
11694 }
11695 return resultobj;
11696 fail:
11697 {
11698 if (temp2)
11699 delete arg2;
11700 }
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj = NULL;
11707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11708 long arg2 ;
11709 long arg3 ;
11710 wxString result;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11713 PyObject * obj2 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "self",(char *) "from",(char *) "to", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11720 if (SWIG_arg_fail(1)) SWIG_fail;
11721 {
11722 arg2 = static_cast<long >(SWIG_As_long(obj1));
11723 if (SWIG_arg_fail(2)) SWIG_fail;
11724 }
11725 {
11726 arg3 = static_cast<long >(SWIG_As_long(obj2));
11727 if (SWIG_arg_fail(3)) SWIG_fail;
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 {
11737 #if wxUSE_UNICODE
11738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11739 #else
11740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11741 #endif
11742 }
11743 return resultobj;
11744 fail:
11745 return NULL;
11746 }
11747
11748
11749 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj = NULL;
11751 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11752 wxVisualAttributes result;
11753 PyObject * obj0 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "variant", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11759 if (obj0) {
11760 {
11761 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
11762 if (SWIG_arg_fail(1)) SWIG_fail;
11763 }
11764 }
11765 {
11766 if (!wxPyCheckForApp()) SWIG_fail;
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 wxVisualAttributes * resultptr;
11775 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
11776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11777 }
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11785 PyObject *obj;
11786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11787 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11788 Py_INCREF(obj);
11789 return Py_BuildValue((char *)"");
11790 }
11791 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = NULL;
11793 int arg1 ;
11794 wxMouseEvent *arg2 = 0 ;
11795 long arg3 ;
11796 long arg4 ;
11797 wxTextUrlEvent *result;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 PyObject * obj2 = 0 ;
11801 PyObject * obj3 = 0 ;
11802 char *kwnames[] = {
11803 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11804 };
11805
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11807 {
11808 arg1 = static_cast<int >(SWIG_As_int(obj0));
11809 if (SWIG_arg_fail(1)) SWIG_fail;
11810 }
11811 {
11812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(2)) SWIG_fail;
11814 if (arg2 == NULL) {
11815 SWIG_null_ref("wxMouseEvent");
11816 }
11817 if (SWIG_arg_fail(2)) SWIG_fail;
11818 }
11819 {
11820 arg3 = static_cast<long >(SWIG_As_long(obj2));
11821 if (SWIG_arg_fail(3)) SWIG_fail;
11822 }
11823 {
11824 arg4 = static_cast<long >(SWIG_As_long(obj3));
11825 if (SWIG_arg_fail(4)) SWIG_fail;
11826 }
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj = NULL;
11843 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11844 wxMouseEvent *result;
11845 PyObject * obj0 = 0 ;
11846 char *kwnames[] = {
11847 (char *) "self", NULL
11848 };
11849
11850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail;
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 {
11856 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11857 result = (wxMouseEvent *) &_result_ref;
11858 }
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj = NULL;
11872 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11873 long result;
11874 PyObject * obj0 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 {
11890 resultobj = SWIG_From_long(static_cast<long >(result));
11891 }
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj = NULL;
11900 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11901 long result;
11902 PyObject * obj0 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail;
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 {
11918 resultobj = SWIG_From_long(static_cast<long >(result));
11919 }
11920 return resultobj;
11921 fail:
11922 return NULL;
11923 }
11924
11925
11926 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11927 PyObject *obj;
11928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11929 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11930 Py_INCREF(obj);
11931 return Py_BuildValue((char *)"");
11932 }
11933 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11934 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11935 return 1;
11936 }
11937
11938
11939 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11940 PyObject *pyobj = NULL;
11941
11942 {
11943 #if wxUSE_UNICODE
11944 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11945 #else
11946 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11947 #endif
11948 }
11949 return pyobj;
11950 }
11951
11952
11953 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj = NULL;
11955 wxWindow *arg1 = (wxWindow *) 0 ;
11956 int arg2 = (int) -1 ;
11957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11959 wxSize const &arg4_defvalue = wxDefaultSize ;
11960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11961 long arg5 = (long) wxSB_HORIZONTAL ;
11962 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11963 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11964 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11965 wxString *arg7 = (wxString *) &arg7_defvalue ;
11966 wxScrollBar *result;
11967 wxPoint temp3 ;
11968 wxSize temp4 ;
11969 bool temp7 = false ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 PyObject * obj2 = 0 ;
11973 PyObject * obj3 = 0 ;
11974 PyObject * obj4 = 0 ;
11975 PyObject * obj5 = 0 ;
11976 PyObject * obj6 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail;
11984 if (obj1) {
11985 {
11986 arg2 = static_cast<int >(SWIG_As_int(obj1));
11987 if (SWIG_arg_fail(2)) SWIG_fail;
11988 }
11989 }
11990 if (obj2) {
11991 {
11992 arg3 = &temp3;
11993 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11994 }
11995 }
11996 if (obj3) {
11997 {
11998 arg4 = &temp4;
11999 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12000 }
12001 }
12002 if (obj4) {
12003 {
12004 arg5 = static_cast<long >(SWIG_As_long(obj4));
12005 if (SWIG_arg_fail(5)) SWIG_fail;
12006 }
12007 }
12008 if (obj5) {
12009 {
12010 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12011 if (SWIG_arg_fail(6)) SWIG_fail;
12012 if (arg6 == NULL) {
12013 SWIG_null_ref("wxValidator");
12014 }
12015 if (SWIG_arg_fail(6)) SWIG_fail;
12016 }
12017 }
12018 if (obj6) {
12019 {
12020 arg7 = wxString_in_helper(obj6);
12021 if (arg7 == NULL) SWIG_fail;
12022 temp7 = true;
12023 }
12024 }
12025 {
12026 if (!wxPyCheckForApp()) SWIG_fail;
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12034 {
12035 if (temp7)
12036 delete arg7;
12037 }
12038 return resultobj;
12039 fail:
12040 {
12041 if (temp7)
12042 delete arg7;
12043 }
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj = NULL;
12050 wxScrollBar *result;
12051 char *kwnames[] = {
12052 NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12056 {
12057 if (!wxPyCheckForApp()) SWIG_fail;
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 result = (wxScrollBar *)new wxScrollBar();
12060
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj = NULL;
12073 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12074 wxWindow *arg2 = (wxWindow *) 0 ;
12075 int arg3 = (int) -1 ;
12076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12078 wxSize const &arg5_defvalue = wxDefaultSize ;
12079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12080 long arg6 = (long) wxSB_HORIZONTAL ;
12081 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12082 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12083 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12084 wxString *arg8 = (wxString *) &arg8_defvalue ;
12085 bool result;
12086 wxPoint temp4 ;
12087 wxSize temp5 ;
12088 bool temp8 = false ;
12089 PyObject * obj0 = 0 ;
12090 PyObject * obj1 = 0 ;
12091 PyObject * obj2 = 0 ;
12092 PyObject * obj3 = 0 ;
12093 PyObject * obj4 = 0 ;
12094 PyObject * obj5 = 0 ;
12095 PyObject * obj6 = 0 ;
12096 PyObject * obj7 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail;
12104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12105 if (SWIG_arg_fail(2)) SWIG_fail;
12106 if (obj2) {
12107 {
12108 arg3 = static_cast<int >(SWIG_As_int(obj2));
12109 if (SWIG_arg_fail(3)) SWIG_fail;
12110 }
12111 }
12112 if (obj3) {
12113 {
12114 arg4 = &temp4;
12115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12116 }
12117 }
12118 if (obj4) {
12119 {
12120 arg5 = &temp5;
12121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12122 }
12123 }
12124 if (obj5) {
12125 {
12126 arg6 = static_cast<long >(SWIG_As_long(obj5));
12127 if (SWIG_arg_fail(6)) SWIG_fail;
12128 }
12129 }
12130 if (obj6) {
12131 {
12132 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12133 if (SWIG_arg_fail(7)) SWIG_fail;
12134 if (arg7 == NULL) {
12135 SWIG_null_ref("wxValidator");
12136 }
12137 if (SWIG_arg_fail(7)) SWIG_fail;
12138 }
12139 }
12140 if (obj7) {
12141 {
12142 arg8 = wxString_in_helper(obj7);
12143 if (arg8 == NULL) SWIG_fail;
12144 temp8 = true;
12145 }
12146 }
12147 {
12148 PyThreadState* __tstate = wxPyBeginAllowThreads();
12149 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12150
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 {
12155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12156 }
12157 {
12158 if (temp8)
12159 delete arg8;
12160 }
12161 return resultobj;
12162 fail:
12163 {
12164 if (temp8)
12165 delete arg8;
12166 }
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj = NULL;
12173 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12174 int result;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail;
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 {
12191 resultobj = SWIG_From_int(static_cast<int >(result));
12192 }
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj = NULL;
12201 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12202 int result;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 {
12219 resultobj = SWIG_From_int(static_cast<int >(result));
12220 }
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = NULL;
12229 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12230 int result;
12231 PyObject * obj0 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12238 if (SWIG_arg_fail(1)) SWIG_fail;
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247 resultobj = SWIG_From_int(static_cast<int >(result));
12248 }
12249 return resultobj;
12250 fail:
12251 return NULL;
12252 }
12253
12254
12255 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12256 PyObject *resultobj = NULL;
12257 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12258 int result;
12259 PyObject * obj0 = 0 ;
12260 char *kwnames[] = {
12261 (char *) "self", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12266 if (SWIG_arg_fail(1)) SWIG_fail;
12267 {
12268 PyThreadState* __tstate = wxPyBeginAllowThreads();
12269 result = (int)((wxScrollBar const *)arg1)->GetRange();
12270
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
12274 {
12275 resultobj = SWIG_From_int(static_cast<int >(result));
12276 }
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj = NULL;
12285 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12286 bool result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 {
12303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12304 }
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = NULL;
12313 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12314 int arg2 ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "viewStart", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail;
12324 {
12325 arg2 = static_cast<int >(SWIG_As_int(obj1));
12326 if (SWIG_arg_fail(2)) SWIG_fail;
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->SetThumbPosition(arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj = NULL;
12344 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12345 int arg2 ;
12346 int arg3 ;
12347 int arg4 ;
12348 int arg5 ;
12349 bool arg6 = (bool) true ;
12350 PyObject * obj0 = 0 ;
12351 PyObject * obj1 = 0 ;
12352 PyObject * obj2 = 0 ;
12353 PyObject * obj3 = 0 ;
12354 PyObject * obj4 = 0 ;
12355 PyObject * obj5 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12362 if (SWIG_arg_fail(1)) SWIG_fail;
12363 {
12364 arg2 = static_cast<int >(SWIG_As_int(obj1));
12365 if (SWIG_arg_fail(2)) SWIG_fail;
12366 }
12367 {
12368 arg3 = static_cast<int >(SWIG_As_int(obj2));
12369 if (SWIG_arg_fail(3)) SWIG_fail;
12370 }
12371 {
12372 arg4 = static_cast<int >(SWIG_As_int(obj3));
12373 if (SWIG_arg_fail(4)) SWIG_fail;
12374 }
12375 {
12376 arg5 = static_cast<int >(SWIG_As_int(obj4));
12377 if (SWIG_arg_fail(5)) SWIG_fail;
12378 }
12379 if (obj5) {
12380 {
12381 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
12382 if (SWIG_arg_fail(6)) SWIG_fail;
12383 }
12384 }
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 Py_INCREF(Py_None); resultobj = Py_None;
12393 return resultobj;
12394 fail:
12395 return NULL;
12396 }
12397
12398
12399 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj = NULL;
12401 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12402 wxVisualAttributes result;
12403 PyObject * obj0 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "variant", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12409 if (obj0) {
12410 {
12411 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12412 if (SWIG_arg_fail(1)) SWIG_fail;
12413 }
12414 }
12415 {
12416 if (!wxPyCheckForApp()) SWIG_fail;
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 result = wxScrollBar::GetClassDefaultAttributes(arg1);
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 {
12424 wxVisualAttributes * resultptr;
12425 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12427 }
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12435 PyObject *obj;
12436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12437 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12438 Py_INCREF(obj);
12439 return Py_BuildValue((char *)"");
12440 }
12441 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12442 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12443 return 1;
12444 }
12445
12446
12447 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12448 PyObject *pyobj = NULL;
12449
12450 {
12451 #if wxUSE_UNICODE
12452 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12453 #else
12454 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12455 #endif
12456 }
12457 return pyobj;
12458 }
12459
12460
12461 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12462 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12463 return 1;
12464 }
12465
12466
12467 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12468 PyObject *pyobj = NULL;
12469
12470 {
12471 #if wxUSE_UNICODE
12472 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12473 #else
12474 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12475 #endif
12476 }
12477 return pyobj;
12478 }
12479
12480
12481 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj = NULL;
12483 wxWindow *arg1 = (wxWindow *) 0 ;
12484 int arg2 = (int) -1 ;
12485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12487 wxSize const &arg4_defvalue = wxDefaultSize ;
12488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12489 long arg5 = (long) wxSP_HORIZONTAL ;
12490 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12491 wxString *arg6 = (wxString *) &arg6_defvalue ;
12492 wxSpinButton *result;
12493 wxPoint temp3 ;
12494 wxSize temp4 ;
12495 bool temp6 = false ;
12496 PyObject * obj0 = 0 ;
12497 PyObject * obj1 = 0 ;
12498 PyObject * obj2 = 0 ;
12499 PyObject * obj3 = 0 ;
12500 PyObject * obj4 = 0 ;
12501 PyObject * obj5 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail;
12509 if (obj1) {
12510 {
12511 arg2 = static_cast<int >(SWIG_As_int(obj1));
12512 if (SWIG_arg_fail(2)) SWIG_fail;
12513 }
12514 }
12515 if (obj2) {
12516 {
12517 arg3 = &temp3;
12518 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12519 }
12520 }
12521 if (obj3) {
12522 {
12523 arg4 = &temp4;
12524 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12525 }
12526 }
12527 if (obj4) {
12528 {
12529 arg5 = static_cast<long >(SWIG_As_long(obj4));
12530 if (SWIG_arg_fail(5)) SWIG_fail;
12531 }
12532 }
12533 if (obj5) {
12534 {
12535 arg6 = wxString_in_helper(obj5);
12536 if (arg6 == NULL) SWIG_fail;
12537 temp6 = true;
12538 }
12539 }
12540 {
12541 if (!wxPyCheckForApp()) SWIG_fail;
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12549 {
12550 if (temp6)
12551 delete arg6;
12552 }
12553 return resultobj;
12554 fail:
12555 {
12556 if (temp6)
12557 delete arg6;
12558 }
12559 return NULL;
12560 }
12561
12562
12563 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj = NULL;
12565 wxSpinButton *result;
12566 char *kwnames[] = {
12567 NULL
12568 };
12569
12570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12571 {
12572 if (!wxPyCheckForApp()) SWIG_fail;
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (wxSpinButton *)new wxSpinButton();
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj = NULL;
12588 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12589 wxWindow *arg2 = (wxWindow *) 0 ;
12590 int arg3 = (int) -1 ;
12591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12593 wxSize const &arg5_defvalue = wxDefaultSize ;
12594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12595 long arg6 = (long) wxSP_HORIZONTAL ;
12596 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12597 wxString *arg7 = (wxString *) &arg7_defvalue ;
12598 bool result;
12599 wxPoint temp4 ;
12600 wxSize temp5 ;
12601 bool temp7 = false ;
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 PyObject * obj2 = 0 ;
12605 PyObject * obj3 = 0 ;
12606 PyObject * obj4 = 0 ;
12607 PyObject * obj5 = 0 ;
12608 PyObject * obj6 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail;
12616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12617 if (SWIG_arg_fail(2)) SWIG_fail;
12618 if (obj2) {
12619 {
12620 arg3 = static_cast<int >(SWIG_As_int(obj2));
12621 if (SWIG_arg_fail(3)) SWIG_fail;
12622 }
12623 }
12624 if (obj3) {
12625 {
12626 arg4 = &temp4;
12627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12628 }
12629 }
12630 if (obj4) {
12631 {
12632 arg5 = &temp5;
12633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12634 }
12635 }
12636 if (obj5) {
12637 {
12638 arg6 = static_cast<long >(SWIG_As_long(obj5));
12639 if (SWIG_arg_fail(6)) SWIG_fail;
12640 }
12641 }
12642 if (obj6) {
12643 {
12644 arg7 = wxString_in_helper(obj6);
12645 if (arg7 == NULL) SWIG_fail;
12646 temp7 = true;
12647 }
12648 }
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12658 }
12659 {
12660 if (temp7)
12661 delete arg7;
12662 }
12663 return resultobj;
12664 fail:
12665 {
12666 if (temp7)
12667 delete arg7;
12668 }
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj = NULL;
12675 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12676 int result;
12677 PyObject * obj0 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail;
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 result = (int)((wxSpinButton const *)arg1)->GetValue();
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 {
12693 resultobj = SWIG_From_int(static_cast<int >(result));
12694 }
12695 return resultobj;
12696 fail:
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj = NULL;
12703 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12704 int result;
12705 PyObject * obj0 = 0 ;
12706 char *kwnames[] = {
12707 (char *) "self", NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail;
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (int)((wxSpinButton const *)arg1)->GetMin();
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 {
12721 resultobj = SWIG_From_int(static_cast<int >(result));
12722 }
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj = NULL;
12731 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12732 int result;
12733 PyObject * obj0 = 0 ;
12734 char *kwnames[] = {
12735 (char *) "self", NULL
12736 };
12737
12738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12740 if (SWIG_arg_fail(1)) SWIG_fail;
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (int)((wxSpinButton const *)arg1)->GetMax();
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 {
12749 resultobj = SWIG_From_int(static_cast<int >(result));
12750 }
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj = NULL;
12759 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12760 int arg2 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 char *kwnames[] = {
12764 (char *) "self",(char *) "val", NULL
12765 };
12766
12767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12769 if (SWIG_arg_fail(1)) SWIG_fail;
12770 {
12771 arg2 = static_cast<int >(SWIG_As_int(obj1));
12772 if (SWIG_arg_fail(2)) SWIG_fail;
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 (arg1)->SetValue(arg2);
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 Py_INCREF(Py_None); resultobj = Py_None;
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj = NULL;
12790 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12791 int arg2 ;
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "self",(char *) "minVal", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12800 if (SWIG_arg_fail(1)) SWIG_fail;
12801 {
12802 arg2 = static_cast<int >(SWIG_As_int(obj1));
12803 if (SWIG_arg_fail(2)) SWIG_fail;
12804 }
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 (arg1)->SetMin(arg2);
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 Py_INCREF(Py_None); resultobj = Py_None;
12813 return resultobj;
12814 fail:
12815 return NULL;
12816 }
12817
12818
12819 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12820 PyObject *resultobj = NULL;
12821 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12822 int arg2 ;
12823 PyObject * obj0 = 0 ;
12824 PyObject * obj1 = 0 ;
12825 char *kwnames[] = {
12826 (char *) "self",(char *) "maxVal", NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12831 if (SWIG_arg_fail(1)) SWIG_fail;
12832 {
12833 arg2 = static_cast<int >(SWIG_As_int(obj1));
12834 if (SWIG_arg_fail(2)) SWIG_fail;
12835 }
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 (arg1)->SetMax(arg2);
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 Py_INCREF(Py_None); resultobj = Py_None;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj = NULL;
12852 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12853 int arg2 ;
12854 int arg3 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 PyObject * obj2 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12864 if (SWIG_arg_fail(1)) SWIG_fail;
12865 {
12866 arg2 = static_cast<int >(SWIG_As_int(obj1));
12867 if (SWIG_arg_fail(2)) SWIG_fail;
12868 }
12869 {
12870 arg3 = static_cast<int >(SWIG_As_int(obj2));
12871 if (SWIG_arg_fail(3)) SWIG_fail;
12872 }
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 (arg1)->SetRange(arg2,arg3);
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 Py_INCREF(Py_None); resultobj = Py_None;
12881 return resultobj;
12882 fail:
12883 return NULL;
12884 }
12885
12886
12887 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12888 PyObject *resultobj = NULL;
12889 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12890 bool result;
12891 PyObject * obj0 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail;
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 {
12907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12908 }
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj = NULL;
12917 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12918 wxVisualAttributes result;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "variant", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12925 if (obj0) {
12926 {
12927 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12928 if (SWIG_arg_fail(1)) SWIG_fail;
12929 }
12930 }
12931 {
12932 if (!wxPyCheckForApp()) SWIG_fail;
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 result = wxSpinButton::GetClassDefaultAttributes(arg1);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 {
12940 wxVisualAttributes * resultptr;
12941 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12943 }
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12951 PyObject *obj;
12952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12953 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12954 Py_INCREF(obj);
12955 return Py_BuildValue((char *)"");
12956 }
12957 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj = NULL;
12959 wxWindow *arg1 = (wxWindow *) 0 ;
12960 int arg2 = (int) -1 ;
12961 wxString const &arg3_defvalue = wxPyEmptyString ;
12962 wxString *arg3 = (wxString *) &arg3_defvalue ;
12963 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12964 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12965 wxSize const &arg5_defvalue = wxDefaultSize ;
12966 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12967 long arg6 = (long) wxSP_ARROW_KEYS ;
12968 int arg7 = (int) 0 ;
12969 int arg8 = (int) 100 ;
12970 int arg9 = (int) 0 ;
12971 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12972 wxString *arg10 = (wxString *) &arg10_defvalue ;
12973 wxSpinCtrl *result;
12974 bool temp3 = false ;
12975 wxPoint temp4 ;
12976 wxSize temp5 ;
12977 bool temp10 = false ;
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 PyObject * obj2 = 0 ;
12981 PyObject * obj3 = 0 ;
12982 PyObject * obj4 = 0 ;
12983 PyObject * obj5 = 0 ;
12984 PyObject * obj6 = 0 ;
12985 PyObject * obj7 = 0 ;
12986 PyObject * obj8 = 0 ;
12987 PyObject * obj9 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 if (obj1) {
12996 {
12997 arg2 = static_cast<int >(SWIG_As_int(obj1));
12998 if (SWIG_arg_fail(2)) SWIG_fail;
12999 }
13000 }
13001 if (obj2) {
13002 {
13003 arg3 = wxString_in_helper(obj2);
13004 if (arg3 == NULL) SWIG_fail;
13005 temp3 = true;
13006 }
13007 }
13008 if (obj3) {
13009 {
13010 arg4 = &temp4;
13011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13012 }
13013 }
13014 if (obj4) {
13015 {
13016 arg5 = &temp5;
13017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13018 }
13019 }
13020 if (obj5) {
13021 {
13022 arg6 = static_cast<long >(SWIG_As_long(obj5));
13023 if (SWIG_arg_fail(6)) SWIG_fail;
13024 }
13025 }
13026 if (obj6) {
13027 {
13028 arg7 = static_cast<int >(SWIG_As_int(obj6));
13029 if (SWIG_arg_fail(7)) SWIG_fail;
13030 }
13031 }
13032 if (obj7) {
13033 {
13034 arg8 = static_cast<int >(SWIG_As_int(obj7));
13035 if (SWIG_arg_fail(8)) SWIG_fail;
13036 }
13037 }
13038 if (obj8) {
13039 {
13040 arg9 = static_cast<int >(SWIG_As_int(obj8));
13041 if (SWIG_arg_fail(9)) SWIG_fail;
13042 }
13043 }
13044 if (obj9) {
13045 {
13046 arg10 = wxString_in_helper(obj9);
13047 if (arg10 == NULL) SWIG_fail;
13048 temp10 = true;
13049 }
13050 }
13051 {
13052 if (!wxPyCheckForApp()) SWIG_fail;
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13060 {
13061 if (temp3)
13062 delete arg3;
13063 }
13064 {
13065 if (temp10)
13066 delete arg10;
13067 }
13068 return resultobj;
13069 fail:
13070 {
13071 if (temp3)
13072 delete arg3;
13073 }
13074 {
13075 if (temp10)
13076 delete arg10;
13077 }
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj = NULL;
13084 wxSpinCtrl *result;
13085 char *kwnames[] = {
13086 NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13090 {
13091 if (!wxPyCheckForApp()) SWIG_fail;
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 result = (wxSpinCtrl *)new wxSpinCtrl();
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj = NULL;
13107 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13108 wxWindow *arg2 = (wxWindow *) 0 ;
13109 int arg3 = (int) -1 ;
13110 wxString const &arg4_defvalue = wxPyEmptyString ;
13111 wxString *arg4 = (wxString *) &arg4_defvalue ;
13112 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13113 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13114 wxSize const &arg6_defvalue = wxDefaultSize ;
13115 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13116 long arg7 = (long) wxSP_ARROW_KEYS ;
13117 int arg8 = (int) 0 ;
13118 int arg9 = (int) 100 ;
13119 int arg10 = (int) 0 ;
13120 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13121 wxString *arg11 = (wxString *) &arg11_defvalue ;
13122 bool result;
13123 bool temp4 = false ;
13124 wxPoint temp5 ;
13125 wxSize temp6 ;
13126 bool temp11 = false ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 PyObject * obj3 = 0 ;
13131 PyObject * obj4 = 0 ;
13132 PyObject * obj5 = 0 ;
13133 PyObject * obj6 = 0 ;
13134 PyObject * obj7 = 0 ;
13135 PyObject * obj8 = 0 ;
13136 PyObject * obj9 = 0 ;
13137 PyObject * obj10 = 0 ;
13138 char *kwnames[] = {
13139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13140 };
13141
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail;
13145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13146 if (SWIG_arg_fail(2)) SWIG_fail;
13147 if (obj2) {
13148 {
13149 arg3 = static_cast<int >(SWIG_As_int(obj2));
13150 if (SWIG_arg_fail(3)) SWIG_fail;
13151 }
13152 }
13153 if (obj3) {
13154 {
13155 arg4 = wxString_in_helper(obj3);
13156 if (arg4 == NULL) SWIG_fail;
13157 temp4 = true;
13158 }
13159 }
13160 if (obj4) {
13161 {
13162 arg5 = &temp5;
13163 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13164 }
13165 }
13166 if (obj5) {
13167 {
13168 arg6 = &temp6;
13169 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13170 }
13171 }
13172 if (obj6) {
13173 {
13174 arg7 = static_cast<long >(SWIG_As_long(obj6));
13175 if (SWIG_arg_fail(7)) SWIG_fail;
13176 }
13177 }
13178 if (obj7) {
13179 {
13180 arg8 = static_cast<int >(SWIG_As_int(obj7));
13181 if (SWIG_arg_fail(8)) SWIG_fail;
13182 }
13183 }
13184 if (obj8) {
13185 {
13186 arg9 = static_cast<int >(SWIG_As_int(obj8));
13187 if (SWIG_arg_fail(9)) SWIG_fail;
13188 }
13189 }
13190 if (obj9) {
13191 {
13192 arg10 = static_cast<int >(SWIG_As_int(obj9));
13193 if (SWIG_arg_fail(10)) SWIG_fail;
13194 }
13195 }
13196 if (obj10) {
13197 {
13198 arg11 = wxString_in_helper(obj10);
13199 if (arg11 == NULL) SWIG_fail;
13200 temp11 = true;
13201 }
13202 }
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 {
13211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13212 }
13213 {
13214 if (temp4)
13215 delete arg4;
13216 }
13217 {
13218 if (temp11)
13219 delete arg11;
13220 }
13221 return resultobj;
13222 fail:
13223 {
13224 if (temp4)
13225 delete arg4;
13226 }
13227 {
13228 if (temp11)
13229 delete arg11;
13230 }
13231 return NULL;
13232 }
13233
13234
13235 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj = NULL;
13237 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13238 int result;
13239 PyObject * obj0 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "self", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13246 if (SWIG_arg_fail(1)) SWIG_fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 {
13255 resultobj = SWIG_From_int(static_cast<int >(result));
13256 }
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj = NULL;
13265 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13266 int arg2 ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "value", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail;
13276 {
13277 arg2 = static_cast<int >(SWIG_As_int(obj1));
13278 if (SWIG_arg_fail(2)) SWIG_fail;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 (arg1)->SetValue(arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 Py_INCREF(Py_None); resultobj = Py_None;
13288 return resultobj;
13289 fail:
13290 return NULL;
13291 }
13292
13293
13294 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13295 PyObject *resultobj = NULL;
13296 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13297 wxString *arg2 = 0 ;
13298 bool temp2 = false ;
13299 PyObject * obj0 = 0 ;
13300 PyObject * obj1 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self",(char *) "text", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail;
13308 {
13309 arg2 = wxString_in_helper(obj1);
13310 if (arg2 == NULL) SWIG_fail;
13311 temp2 = true;
13312 }
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 (arg1)->SetValue((wxString const &)*arg2);
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 Py_INCREF(Py_None); resultobj = Py_None;
13321 {
13322 if (temp2)
13323 delete arg2;
13324 }
13325 return resultobj;
13326 fail:
13327 {
13328 if (temp2)
13329 delete arg2;
13330 }
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj = NULL;
13337 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13338 int arg2 ;
13339 int arg3 ;
13340 PyObject * obj0 = 0 ;
13341 PyObject * obj1 = 0 ;
13342 PyObject * obj2 = 0 ;
13343 char *kwnames[] = {
13344 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13345 };
13346
13347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail;
13350 {
13351 arg2 = static_cast<int >(SWIG_As_int(obj1));
13352 if (SWIG_arg_fail(2)) SWIG_fail;
13353 }
13354 {
13355 arg3 = static_cast<int >(SWIG_As_int(obj2));
13356 if (SWIG_arg_fail(3)) SWIG_fail;
13357 }
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 (arg1)->SetRange(arg2,arg3);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 Py_INCREF(Py_None); resultobj = Py_None;
13366 return resultobj;
13367 fail:
13368 return NULL;
13369 }
13370
13371
13372 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13373 PyObject *resultobj = NULL;
13374 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13375 int result;
13376 PyObject * obj0 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self", NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail;
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 {
13392 resultobj = SWIG_From_int(static_cast<int >(result));
13393 }
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj = NULL;
13402 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13403 int result;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = SWIG_From_int(static_cast<int >(result));
13421 }
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj = NULL;
13430 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13431 long arg2 ;
13432 long arg3 ;
13433 PyObject * obj0 = 0 ;
13434 PyObject * obj1 = 0 ;
13435 PyObject * obj2 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "from",(char *) "to", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
13443 {
13444 arg2 = static_cast<long >(SWIG_As_long(obj1));
13445 if (SWIG_arg_fail(2)) SWIG_fail;
13446 }
13447 {
13448 arg3 = static_cast<long >(SWIG_As_long(obj2));
13449 if (SWIG_arg_fail(3)) SWIG_fail;
13450 }
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 (arg1)->SetSelection(arg2,arg3);
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 Py_INCREF(Py_None); resultobj = Py_None;
13459 return resultobj;
13460 fail:
13461 return NULL;
13462 }
13463
13464
13465 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj = NULL;
13467 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13468 wxVisualAttributes result;
13469 PyObject * obj0 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "variant", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13475 if (obj0) {
13476 {
13477 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13478 if (SWIG_arg_fail(1)) SWIG_fail;
13479 }
13480 }
13481 {
13482 if (!wxPyCheckForApp()) SWIG_fail;
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 {
13490 wxVisualAttributes * resultptr;
13491 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13493 }
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13501 PyObject *obj;
13502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13504 Py_INCREF(obj);
13505 return Py_BuildValue((char *)"");
13506 }
13507 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj = NULL;
13509 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13510 int arg2 = (int) 0 ;
13511 wxSpinEvent *result;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "commandType",(char *) "winid", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13519 if (obj0) {
13520 {
13521 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13522 if (SWIG_arg_fail(1)) SWIG_fail;
13523 }
13524 }
13525 if (obj1) {
13526 {
13527 arg2 = static_cast<int >(SWIG_As_int(obj1));
13528 if (SWIG_arg_fail(2)) SWIG_fail;
13529 }
13530 }
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj = NULL;
13547 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13548 int result;
13549 PyObject * obj0 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13556 if (SWIG_arg_fail(1)) SWIG_fail;
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 {
13565 resultobj = SWIG_From_int(static_cast<int >(result));
13566 }
13567 return resultobj;
13568 fail:
13569 return NULL;
13570 }
13571
13572
13573 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13574 PyObject *resultobj = NULL;
13575 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13576 int arg2 ;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self",(char *) "pos", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail;
13586 {
13587 arg2 = static_cast<int >(SWIG_As_int(obj1));
13588 if (SWIG_arg_fail(2)) SWIG_fail;
13589 }
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 (arg1)->SetPosition(arg2);
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 * SpinEvent_swigregister(PyObject *, PyObject *args) {
13605 PyObject *obj;
13606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13608 Py_INCREF(obj);
13609 return Py_BuildValue((char *)"");
13610 }
13611 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13612 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13613 return 1;
13614 }
13615
13616
13617 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13618 PyObject *pyobj = NULL;
13619
13620 {
13621 #if wxUSE_UNICODE
13622 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13623 #else
13624 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13625 #endif
13626 }
13627 return pyobj;
13628 }
13629
13630
13631 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13632 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13633 return 1;
13634 }
13635
13636
13637 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13638 PyObject *pyobj = NULL;
13639
13640 {
13641 #if wxUSE_UNICODE
13642 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13643 #else
13644 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13645 #endif
13646 }
13647 return pyobj;
13648 }
13649
13650
13651 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj = NULL;
13653 wxWindow *arg1 = (wxWindow *) 0 ;
13654 int arg2 = (int) -1 ;
13655 wxString const &arg3_defvalue = wxPyEmptyString ;
13656 wxString *arg3 = (wxString *) &arg3_defvalue ;
13657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13659 wxSize const &arg5_defvalue = wxDefaultSize ;
13660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13661 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13662 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13663 int arg7 = (int) 0 ;
13664 long arg8 = (long) wxRA_HORIZONTAL ;
13665 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13666 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13667 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13668 wxString *arg10 = (wxString *) &arg10_defvalue ;
13669 wxRadioBox *result;
13670 bool temp3 = false ;
13671 wxPoint temp4 ;
13672 wxSize temp5 ;
13673 bool temp6 = false ;
13674 bool temp10 = false ;
13675 PyObject * obj0 = 0 ;
13676 PyObject * obj1 = 0 ;
13677 PyObject * obj2 = 0 ;
13678 PyObject * obj3 = 0 ;
13679 PyObject * obj4 = 0 ;
13680 PyObject * obj5 = 0 ;
13681 PyObject * obj6 = 0 ;
13682 PyObject * obj7 = 0 ;
13683 PyObject * obj8 = 0 ;
13684 PyObject * obj9 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13691 if (SWIG_arg_fail(1)) SWIG_fail;
13692 if (obj1) {
13693 {
13694 arg2 = static_cast<int >(SWIG_As_int(obj1));
13695 if (SWIG_arg_fail(2)) SWIG_fail;
13696 }
13697 }
13698 if (obj2) {
13699 {
13700 arg3 = wxString_in_helper(obj2);
13701 if (arg3 == NULL) SWIG_fail;
13702 temp3 = true;
13703 }
13704 }
13705 if (obj3) {
13706 {
13707 arg4 = &temp4;
13708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13709 }
13710 }
13711 if (obj4) {
13712 {
13713 arg5 = &temp5;
13714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13715 }
13716 }
13717 if (obj5) {
13718 {
13719 if (! PySequence_Check(obj5)) {
13720 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13721 SWIG_fail;
13722 }
13723 arg6 = new wxArrayString;
13724 temp6 = true;
13725 int i, len=PySequence_Length(obj5);
13726 for (i=0; i<len; i++) {
13727 PyObject* item = PySequence_GetItem(obj5, i);
13728 wxString* s = wxString_in_helper(item);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 arg6->Add(*s);
13731 delete s;
13732 Py_DECREF(item);
13733 }
13734 }
13735 }
13736 if (obj6) {
13737 {
13738 arg7 = static_cast<int >(SWIG_As_int(obj6));
13739 if (SWIG_arg_fail(7)) SWIG_fail;
13740 }
13741 }
13742 if (obj7) {
13743 {
13744 arg8 = static_cast<long >(SWIG_As_long(obj7));
13745 if (SWIG_arg_fail(8)) SWIG_fail;
13746 }
13747 }
13748 if (obj8) {
13749 {
13750 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13751 if (SWIG_arg_fail(9)) SWIG_fail;
13752 if (arg9 == NULL) {
13753 SWIG_null_ref("wxValidator");
13754 }
13755 if (SWIG_arg_fail(9)) SWIG_fail;
13756 }
13757 }
13758 if (obj9) {
13759 {
13760 arg10 = wxString_in_helper(obj9);
13761 if (arg10 == NULL) SWIG_fail;
13762 temp10 = true;
13763 }
13764 }
13765 {
13766 if (!wxPyCheckForApp()) SWIG_fail;
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 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);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13774 {
13775 if (temp3)
13776 delete arg3;
13777 }
13778 {
13779 if (temp6) delete arg6;
13780 }
13781 {
13782 if (temp10)
13783 delete arg10;
13784 }
13785 return resultobj;
13786 fail:
13787 {
13788 if (temp3)
13789 delete arg3;
13790 }
13791 {
13792 if (temp6) delete arg6;
13793 }
13794 {
13795 if (temp10)
13796 delete arg10;
13797 }
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj = NULL;
13804 wxRadioBox *result;
13805 char *kwnames[] = {
13806 NULL
13807 };
13808
13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13810 {
13811 if (!wxPyCheckForApp()) SWIG_fail;
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 result = (wxRadioBox *)new wxRadioBox();
13814
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj = NULL;
13827 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13828 wxWindow *arg2 = (wxWindow *) 0 ;
13829 int arg3 = (int) -1 ;
13830 wxString const &arg4_defvalue = wxPyEmptyString ;
13831 wxString *arg4 = (wxString *) &arg4_defvalue ;
13832 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13833 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13834 wxSize const &arg6_defvalue = wxDefaultSize ;
13835 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13836 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13837 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13838 int arg8 = (int) 0 ;
13839 long arg9 = (long) wxRA_HORIZONTAL ;
13840 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13841 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13842 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13843 wxString *arg11 = (wxString *) &arg11_defvalue ;
13844 bool result;
13845 bool temp4 = false ;
13846 wxPoint temp5 ;
13847 wxSize temp6 ;
13848 bool temp7 = false ;
13849 bool temp11 = false ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 PyObject * obj2 = 0 ;
13853 PyObject * obj3 = 0 ;
13854 PyObject * obj4 = 0 ;
13855 PyObject * obj5 = 0 ;
13856 PyObject * obj6 = 0 ;
13857 PyObject * obj7 = 0 ;
13858 PyObject * obj8 = 0 ;
13859 PyObject * obj9 = 0 ;
13860 PyObject * obj10 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail;
13868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13869 if (SWIG_arg_fail(2)) SWIG_fail;
13870 if (obj2) {
13871 {
13872 arg3 = static_cast<int >(SWIG_As_int(obj2));
13873 if (SWIG_arg_fail(3)) SWIG_fail;
13874 }
13875 }
13876 if (obj3) {
13877 {
13878 arg4 = wxString_in_helper(obj3);
13879 if (arg4 == NULL) SWIG_fail;
13880 temp4 = true;
13881 }
13882 }
13883 if (obj4) {
13884 {
13885 arg5 = &temp5;
13886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13887 }
13888 }
13889 if (obj5) {
13890 {
13891 arg6 = &temp6;
13892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13893 }
13894 }
13895 if (obj6) {
13896 {
13897 if (! PySequence_Check(obj6)) {
13898 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13899 SWIG_fail;
13900 }
13901 arg7 = new wxArrayString;
13902 temp7 = true;
13903 int i, len=PySequence_Length(obj6);
13904 for (i=0; i<len; i++) {
13905 PyObject* item = PySequence_GetItem(obj6, i);
13906 wxString* s = wxString_in_helper(item);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 arg7->Add(*s);
13909 delete s;
13910 Py_DECREF(item);
13911 }
13912 }
13913 }
13914 if (obj7) {
13915 {
13916 arg8 = static_cast<int >(SWIG_As_int(obj7));
13917 if (SWIG_arg_fail(8)) SWIG_fail;
13918 }
13919 }
13920 if (obj8) {
13921 {
13922 arg9 = static_cast<long >(SWIG_As_long(obj8));
13923 if (SWIG_arg_fail(9)) SWIG_fail;
13924 }
13925 }
13926 if (obj9) {
13927 {
13928 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13929 if (SWIG_arg_fail(10)) SWIG_fail;
13930 if (arg10 == NULL) {
13931 SWIG_null_ref("wxValidator");
13932 }
13933 if (SWIG_arg_fail(10)) SWIG_fail;
13934 }
13935 }
13936 if (obj10) {
13937 {
13938 arg11 = wxString_in_helper(obj10);
13939 if (arg11 == NULL) SWIG_fail;
13940 temp11 = true;
13941 }
13942 }
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 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);
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 {
13951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13952 }
13953 {
13954 if (temp4)
13955 delete arg4;
13956 }
13957 {
13958 if (temp7) delete arg7;
13959 }
13960 {
13961 if (temp11)
13962 delete arg11;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp4)
13968 delete arg4;
13969 }
13970 {
13971 if (temp7) delete arg7;
13972 }
13973 {
13974 if (temp11)
13975 delete arg11;
13976 }
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj = NULL;
13983 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13984 int arg2 ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "n", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13993 if (SWIG_arg_fail(1)) SWIG_fail;
13994 {
13995 arg2 = static_cast<int >(SWIG_As_int(obj1));
13996 if (SWIG_arg_fail(2)) SWIG_fail;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->SetSelection(arg2);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj = NULL;
14014 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14015 int result;
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
14022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14023 if (SWIG_arg_fail(1)) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 {
14032 resultobj = SWIG_From_int(static_cast<int >(result));
14033 }
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj = NULL;
14042 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14043 wxString result;
14044 PyObject * obj0 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
14050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail;
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 {
14060 #if wxUSE_UNICODE
14061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14062 #else
14063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14064 #endif
14065 }
14066 return resultobj;
14067 fail:
14068 return NULL;
14069 }
14070
14071
14072 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj = NULL;
14074 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14075 wxString *arg2 = 0 ;
14076 bool result;
14077 bool temp2 = false ;
14078 PyObject * obj0 = 0 ;
14079 PyObject * obj1 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "self",(char *) "s", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14086 if (SWIG_arg_fail(1)) SWIG_fail;
14087 {
14088 arg2 = wxString_in_helper(obj1);
14089 if (arg2 == NULL) SWIG_fail;
14090 temp2 = true;
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 {
14100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14101 }
14102 {
14103 if (temp2)
14104 delete arg2;
14105 }
14106 return resultobj;
14107 fail:
14108 {
14109 if (temp2)
14110 delete arg2;
14111 }
14112 return NULL;
14113 }
14114
14115
14116 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj = NULL;
14118 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14119 int result;
14120 PyObject * obj0 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "self", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14127 if (SWIG_arg_fail(1)) SWIG_fail;
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (int)((wxRadioBox const *)arg1)->GetCount();
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 {
14136 resultobj = SWIG_From_int(static_cast<int >(result));
14137 }
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj = NULL;
14146 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14147 wxString *arg2 = 0 ;
14148 int result;
14149 bool temp2 = false ;
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj1 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "s", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail;
14159 {
14160 arg2 = wxString_in_helper(obj1);
14161 if (arg2 == NULL) SWIG_fail;
14162 temp2 = true;
14163 }
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 {
14172 resultobj = SWIG_From_int(static_cast<int >(result));
14173 }
14174 {
14175 if (temp2)
14176 delete arg2;
14177 }
14178 return resultobj;
14179 fail:
14180 {
14181 if (temp2)
14182 delete arg2;
14183 }
14184 return NULL;
14185 }
14186
14187
14188 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj = NULL;
14190 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14191 int arg2 ;
14192 wxString result;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self",(char *) "n", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14201 if (SWIG_arg_fail(1)) SWIG_fail;
14202 {
14203 arg2 = static_cast<int >(SWIG_As_int(obj1));
14204 if (SWIG_arg_fail(2)) SWIG_fail;
14205 }
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 {
14214 #if wxUSE_UNICODE
14215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14216 #else
14217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14218 #endif
14219 }
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj = NULL;
14228 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14229 int arg2 ;
14230 wxString *arg3 = 0 ;
14231 bool temp3 = false ;
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self",(char *) "n",(char *) "label", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14241 if (SWIG_arg_fail(1)) SWIG_fail;
14242 {
14243 arg2 = static_cast<int >(SWIG_As_int(obj1));
14244 if (SWIG_arg_fail(2)) SWIG_fail;
14245 }
14246 {
14247 arg3 = wxString_in_helper(obj2);
14248 if (arg3 == NULL) SWIG_fail;
14249 temp3 = true;
14250 }
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 (arg1)->SetString(arg2,(wxString const &)*arg3);
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 Py_INCREF(Py_None); resultobj = Py_None;
14259 {
14260 if (temp3)
14261 delete arg3;
14262 }
14263 return resultobj;
14264 fail:
14265 {
14266 if (temp3)
14267 delete arg3;
14268 }
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj = NULL;
14275 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14276 int arg2 ;
14277 bool arg3 = (bool) true ;
14278 PyObject * obj0 = 0 ;
14279 PyObject * obj1 = 0 ;
14280 PyObject * obj2 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "n",(char *) "enable", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail;
14288 {
14289 arg2 = static_cast<int >(SWIG_As_int(obj1));
14290 if (SWIG_arg_fail(2)) SWIG_fail;
14291 }
14292 if (obj2) {
14293 {
14294 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14295 if (SWIG_arg_fail(3)) SWIG_fail;
14296 }
14297 }
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 (arg1)->Enable(arg2,arg3);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 Py_INCREF(Py_None); resultobj = Py_None;
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj = NULL;
14314 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14315 int arg2 ;
14316 bool arg3 = (bool) true ;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj1 = 0 ;
14319 PyObject * obj2 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "self",(char *) "n",(char *) "show", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14326 if (SWIG_arg_fail(1)) SWIG_fail;
14327 {
14328 arg2 = static_cast<int >(SWIG_As_int(obj1));
14329 if (SWIG_arg_fail(2)) SWIG_fail;
14330 }
14331 if (obj2) {
14332 {
14333 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14334 if (SWIG_arg_fail(3)) SWIG_fail;
14335 }
14336 }
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->Show(arg2,arg3);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 return resultobj;
14346 fail:
14347 return NULL;
14348 }
14349
14350
14351 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj = NULL;
14353 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14354 int result;
14355 PyObject * obj0 = 0 ;
14356 char *kwnames[] = {
14357 (char *) "self", NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 {
14371 resultobj = SWIG_From_int(static_cast<int >(result));
14372 }
14373 return resultobj;
14374 fail:
14375 return NULL;
14376 }
14377
14378
14379 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14380 PyObject *resultobj = NULL;
14381 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14382 int result;
14383 PyObject * obj0 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "self", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail;
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 {
14399 resultobj = SWIG_From_int(static_cast<int >(result));
14400 }
14401 return resultobj;
14402 fail:
14403 return NULL;
14404 }
14405
14406
14407 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14408 PyObject *resultobj = NULL;
14409 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14410 int arg2 ;
14411 wxDirection arg3 ;
14412 long arg4 ;
14413 int result;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 PyObject * obj3 = 0 ;
14418 char *kwnames[] = {
14419 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14420 };
14421
14422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14424 if (SWIG_arg_fail(1)) SWIG_fail;
14425 {
14426 arg2 = static_cast<int >(SWIG_As_int(obj1));
14427 if (SWIG_arg_fail(2)) SWIG_fail;
14428 }
14429 {
14430 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
14431 if (SWIG_arg_fail(3)) SWIG_fail;
14432 }
14433 {
14434 arg4 = static_cast<long >(SWIG_As_long(obj3));
14435 if (SWIG_arg_fail(4)) SWIG_fail;
14436 }
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 resultobj = SWIG_From_int(static_cast<int >(result));
14446 }
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj = NULL;
14455 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14456 wxVisualAttributes result;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "variant", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14463 if (obj0) {
14464 {
14465 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14466 if (SWIG_arg_fail(1)) SWIG_fail;
14467 }
14468 }
14469 {
14470 if (!wxPyCheckForApp()) SWIG_fail;
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = wxRadioBox::GetClassDefaultAttributes(arg1);
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 {
14478 wxVisualAttributes * resultptr;
14479 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14481 }
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14489 PyObject *obj;
14490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14491 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14492 Py_INCREF(obj);
14493 return Py_BuildValue((char *)"");
14494 }
14495 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj = NULL;
14497 wxWindow *arg1 = (wxWindow *) 0 ;
14498 int arg2 = (int) -1 ;
14499 wxString const &arg3_defvalue = wxPyEmptyString ;
14500 wxString *arg3 = (wxString *) &arg3_defvalue ;
14501 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14502 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14503 wxSize const &arg5_defvalue = wxDefaultSize ;
14504 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14505 long arg6 = (long) 0 ;
14506 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14507 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14508 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14509 wxString *arg8 = (wxString *) &arg8_defvalue ;
14510 wxRadioButton *result;
14511 bool temp3 = false ;
14512 wxPoint temp4 ;
14513 wxSize temp5 ;
14514 bool temp8 = false ;
14515 PyObject * obj0 = 0 ;
14516 PyObject * obj1 = 0 ;
14517 PyObject * obj2 = 0 ;
14518 PyObject * obj3 = 0 ;
14519 PyObject * obj4 = 0 ;
14520 PyObject * obj5 = 0 ;
14521 PyObject * obj6 = 0 ;
14522 PyObject * obj7 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail;
14530 if (obj1) {
14531 {
14532 arg2 = static_cast<int >(SWIG_As_int(obj1));
14533 if (SWIG_arg_fail(2)) SWIG_fail;
14534 }
14535 }
14536 if (obj2) {
14537 {
14538 arg3 = wxString_in_helper(obj2);
14539 if (arg3 == NULL) SWIG_fail;
14540 temp3 = true;
14541 }
14542 }
14543 if (obj3) {
14544 {
14545 arg4 = &temp4;
14546 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14547 }
14548 }
14549 if (obj4) {
14550 {
14551 arg5 = &temp5;
14552 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14553 }
14554 }
14555 if (obj5) {
14556 {
14557 arg6 = static_cast<long >(SWIG_As_long(obj5));
14558 if (SWIG_arg_fail(6)) SWIG_fail;
14559 }
14560 }
14561 if (obj6) {
14562 {
14563 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14564 if (SWIG_arg_fail(7)) SWIG_fail;
14565 if (arg7 == NULL) {
14566 SWIG_null_ref("wxValidator");
14567 }
14568 if (SWIG_arg_fail(7)) SWIG_fail;
14569 }
14570 }
14571 if (obj7) {
14572 {
14573 arg8 = wxString_in_helper(obj7);
14574 if (arg8 == NULL) SWIG_fail;
14575 temp8 = true;
14576 }
14577 }
14578 {
14579 if (!wxPyCheckForApp()) SWIG_fail;
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14587 {
14588 if (temp3)
14589 delete arg3;
14590 }
14591 {
14592 if (temp8)
14593 delete arg8;
14594 }
14595 return resultobj;
14596 fail:
14597 {
14598 if (temp3)
14599 delete arg3;
14600 }
14601 {
14602 if (temp8)
14603 delete arg8;
14604 }
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj = NULL;
14611 wxRadioButton *result;
14612 char *kwnames[] = {
14613 NULL
14614 };
14615
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14617 {
14618 if (!wxPyCheckForApp()) SWIG_fail;
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (wxRadioButton *)new wxRadioButton();
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj = NULL;
14634 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14635 wxWindow *arg2 = (wxWindow *) 0 ;
14636 int arg3 = (int) -1 ;
14637 wxString const &arg4_defvalue = wxPyEmptyString ;
14638 wxString *arg4 = (wxString *) &arg4_defvalue ;
14639 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14640 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14641 wxSize const &arg6_defvalue = wxDefaultSize ;
14642 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14643 long arg7 = (long) 0 ;
14644 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14645 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14646 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14647 wxString *arg9 = (wxString *) &arg9_defvalue ;
14648 bool result;
14649 bool temp4 = false ;
14650 wxPoint temp5 ;
14651 wxSize temp6 ;
14652 bool temp9 = false ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
14657 PyObject * obj4 = 0 ;
14658 PyObject * obj5 = 0 ;
14659 PyObject * obj6 = 0 ;
14660 PyObject * obj7 = 0 ;
14661 PyObject * obj8 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self",(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 *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail;
14669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14670 if (SWIG_arg_fail(2)) SWIG_fail;
14671 if (obj2) {
14672 {
14673 arg3 = static_cast<int >(SWIG_As_int(obj2));
14674 if (SWIG_arg_fail(3)) SWIG_fail;
14675 }
14676 }
14677 if (obj3) {
14678 {
14679 arg4 = wxString_in_helper(obj3);
14680 if (arg4 == NULL) SWIG_fail;
14681 temp4 = true;
14682 }
14683 }
14684 if (obj4) {
14685 {
14686 arg5 = &temp5;
14687 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14688 }
14689 }
14690 if (obj5) {
14691 {
14692 arg6 = &temp6;
14693 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14694 }
14695 }
14696 if (obj6) {
14697 {
14698 arg7 = static_cast<long >(SWIG_As_long(obj6));
14699 if (SWIG_arg_fail(7)) SWIG_fail;
14700 }
14701 }
14702 if (obj7) {
14703 {
14704 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14705 if (SWIG_arg_fail(8)) SWIG_fail;
14706 if (arg8 == NULL) {
14707 SWIG_null_ref("wxValidator");
14708 }
14709 if (SWIG_arg_fail(8)) SWIG_fail;
14710 }
14711 }
14712 if (obj8) {
14713 {
14714 arg9 = wxString_in_helper(obj8);
14715 if (arg9 == NULL) SWIG_fail;
14716 temp9 = true;
14717 }
14718 }
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 {
14727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14728 }
14729 {
14730 if (temp4)
14731 delete arg4;
14732 }
14733 {
14734 if (temp9)
14735 delete arg9;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp4)
14741 delete arg4;
14742 }
14743 {
14744 if (temp9)
14745 delete arg9;
14746 }
14747 return NULL;
14748 }
14749
14750
14751 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj = NULL;
14753 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14762 if (SWIG_arg_fail(1)) SWIG_fail;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (bool)(arg1)->GetValue();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 {
14771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14772 }
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj = NULL;
14781 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14782 bool arg2 ;
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self",(char *) "value", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail;
14792 {
14793 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
14794 if (SWIG_arg_fail(2)) SWIG_fail;
14795 }
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 (arg1)->SetValue(arg2);
14799
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 Py_INCREF(Py_None); resultobj = Py_None;
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj = NULL;
14812 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14813 wxVisualAttributes result;
14814 PyObject * obj0 = 0 ;
14815 char *kwnames[] = {
14816 (char *) "variant", NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14820 if (obj0) {
14821 {
14822 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14823 if (SWIG_arg_fail(1)) SWIG_fail;
14824 }
14825 }
14826 {
14827 if (!wxPyCheckForApp()) SWIG_fail;
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = wxRadioButton::GetClassDefaultAttributes(arg1);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 {
14835 wxVisualAttributes * resultptr;
14836 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14838 }
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14846 PyObject *obj;
14847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14848 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14849 Py_INCREF(obj);
14850 return Py_BuildValue((char *)"");
14851 }
14852 static int _wrap_SliderNameStr_set(PyObject *) {
14853 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14854 return 1;
14855 }
14856
14857
14858 static PyObject *_wrap_SliderNameStr_get(void) {
14859 PyObject *pyobj = NULL;
14860
14861 {
14862 #if wxUSE_UNICODE
14863 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14864 #else
14865 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14866 #endif
14867 }
14868 return pyobj;
14869 }
14870
14871
14872 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj = NULL;
14874 wxWindow *arg1 = (wxWindow *) 0 ;
14875 int arg2 = (int) -1 ;
14876 int arg3 = (int) 0 ;
14877 int arg4 = (int) 0 ;
14878 int arg5 = (int) 100 ;
14879 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14880 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14881 wxSize const &arg7_defvalue = wxDefaultSize ;
14882 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14883 long arg8 = (long) wxSL_HORIZONTAL ;
14884 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14885 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14886 wxString const &arg10_defvalue = wxPySliderNameStr ;
14887 wxString *arg10 = (wxString *) &arg10_defvalue ;
14888 wxSlider *result;
14889 wxPoint temp6 ;
14890 wxSize temp7 ;
14891 bool temp10 = false ;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 PyObject * obj2 = 0 ;
14895 PyObject * obj3 = 0 ;
14896 PyObject * obj4 = 0 ;
14897 PyObject * obj5 = 0 ;
14898 PyObject * obj6 = 0 ;
14899 PyObject * obj7 = 0 ;
14900 PyObject * obj8 = 0 ;
14901 PyObject * obj9 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail;
14909 if (obj1) {
14910 {
14911 arg2 = static_cast<int >(SWIG_As_int(obj1));
14912 if (SWIG_arg_fail(2)) SWIG_fail;
14913 }
14914 }
14915 if (obj2) {
14916 {
14917 arg3 = static_cast<int >(SWIG_As_int(obj2));
14918 if (SWIG_arg_fail(3)) SWIG_fail;
14919 }
14920 }
14921 if (obj3) {
14922 {
14923 arg4 = static_cast<int >(SWIG_As_int(obj3));
14924 if (SWIG_arg_fail(4)) SWIG_fail;
14925 }
14926 }
14927 if (obj4) {
14928 {
14929 arg5 = static_cast<int >(SWIG_As_int(obj4));
14930 if (SWIG_arg_fail(5)) SWIG_fail;
14931 }
14932 }
14933 if (obj5) {
14934 {
14935 arg6 = &temp6;
14936 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14937 }
14938 }
14939 if (obj6) {
14940 {
14941 arg7 = &temp7;
14942 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14943 }
14944 }
14945 if (obj7) {
14946 {
14947 arg8 = static_cast<long >(SWIG_As_long(obj7));
14948 if (SWIG_arg_fail(8)) SWIG_fail;
14949 }
14950 }
14951 if (obj8) {
14952 {
14953 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14954 if (SWIG_arg_fail(9)) SWIG_fail;
14955 if (arg9 == NULL) {
14956 SWIG_null_ref("wxValidator");
14957 }
14958 if (SWIG_arg_fail(9)) SWIG_fail;
14959 }
14960 }
14961 if (obj9) {
14962 {
14963 arg10 = wxString_in_helper(obj9);
14964 if (arg10 == NULL) SWIG_fail;
14965 temp10 = true;
14966 }
14967 }
14968 {
14969 if (!wxPyCheckForApp()) SWIG_fail;
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14977 {
14978 if (temp10)
14979 delete arg10;
14980 }
14981 return resultobj;
14982 fail:
14983 {
14984 if (temp10)
14985 delete arg10;
14986 }
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj = NULL;
14993 wxSlider *result;
14994 char *kwnames[] = {
14995 NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14999 {
15000 if (!wxPyCheckForApp()) SWIG_fail;
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (wxSlider *)new wxSlider();
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj = NULL;
15016 wxSlider *arg1 = (wxSlider *) 0 ;
15017 wxWindow *arg2 = (wxWindow *) 0 ;
15018 int arg3 = (int) -1 ;
15019 int arg4 = (int) 0 ;
15020 int arg5 = (int) 0 ;
15021 int arg6 = (int) 100 ;
15022 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15023 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15024 wxSize const &arg8_defvalue = wxDefaultSize ;
15025 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15026 long arg9 = (long) wxSL_HORIZONTAL ;
15027 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15028 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15029 wxString const &arg11_defvalue = wxPySliderNameStr ;
15030 wxString *arg11 = (wxString *) &arg11_defvalue ;
15031 bool result;
15032 wxPoint temp7 ;
15033 wxSize temp8 ;
15034 bool temp11 = false ;
15035 PyObject * obj0 = 0 ;
15036 PyObject * obj1 = 0 ;
15037 PyObject * obj2 = 0 ;
15038 PyObject * obj3 = 0 ;
15039 PyObject * obj4 = 0 ;
15040 PyObject * obj5 = 0 ;
15041 PyObject * obj6 = 0 ;
15042 PyObject * obj7 = 0 ;
15043 PyObject * obj8 = 0 ;
15044 PyObject * obj9 = 0 ;
15045 PyObject * obj10 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail;
15053 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15054 if (SWIG_arg_fail(2)) SWIG_fail;
15055 if (obj2) {
15056 {
15057 arg3 = static_cast<int >(SWIG_As_int(obj2));
15058 if (SWIG_arg_fail(3)) SWIG_fail;
15059 }
15060 }
15061 if (obj3) {
15062 {
15063 arg4 = static_cast<int >(SWIG_As_int(obj3));
15064 if (SWIG_arg_fail(4)) SWIG_fail;
15065 }
15066 }
15067 if (obj4) {
15068 {
15069 arg5 = static_cast<int >(SWIG_As_int(obj4));
15070 if (SWIG_arg_fail(5)) SWIG_fail;
15071 }
15072 }
15073 if (obj5) {
15074 {
15075 arg6 = static_cast<int >(SWIG_As_int(obj5));
15076 if (SWIG_arg_fail(6)) SWIG_fail;
15077 }
15078 }
15079 if (obj6) {
15080 {
15081 arg7 = &temp7;
15082 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15083 }
15084 }
15085 if (obj7) {
15086 {
15087 arg8 = &temp8;
15088 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15089 }
15090 }
15091 if (obj8) {
15092 {
15093 arg9 = static_cast<long >(SWIG_As_long(obj8));
15094 if (SWIG_arg_fail(9)) SWIG_fail;
15095 }
15096 }
15097 if (obj9) {
15098 {
15099 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15100 if (SWIG_arg_fail(10)) SWIG_fail;
15101 if (arg10 == NULL) {
15102 SWIG_null_ref("wxValidator");
15103 }
15104 if (SWIG_arg_fail(10)) SWIG_fail;
15105 }
15106 }
15107 if (obj10) {
15108 {
15109 arg11 = wxString_in_helper(obj10);
15110 if (arg11 == NULL) SWIG_fail;
15111 temp11 = true;
15112 }
15113 }
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 {
15122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15123 }
15124 {
15125 if (temp11)
15126 delete arg11;
15127 }
15128 return resultobj;
15129 fail:
15130 {
15131 if (temp11)
15132 delete arg11;
15133 }
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj = NULL;
15140 wxSlider *arg1 = (wxSlider *) 0 ;
15141 int result;
15142 PyObject * obj0 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (int)((wxSlider const *)arg1)->GetValue();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 {
15158 resultobj = SWIG_From_int(static_cast<int >(result));
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj = NULL;
15168 wxSlider *arg1 = (wxSlider *) 0 ;
15169 int arg2 ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "value", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail;
15179 {
15180 arg2 = static_cast<int >(SWIG_As_int(obj1));
15181 if (SWIG_arg_fail(2)) SWIG_fail;
15182 }
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 (arg1)->SetValue(arg2);
15186
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 Py_INCREF(Py_None); resultobj = Py_None;
15191 return resultobj;
15192 fail:
15193 return NULL;
15194 }
15195
15196
15197 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj = NULL;
15199 wxSlider *arg1 = (wxSlider *) 0 ;
15200 int arg2 ;
15201 int arg3 ;
15202 PyObject * obj0 = 0 ;
15203 PyObject * obj1 = 0 ;
15204 PyObject * obj2 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail;
15212 {
15213 arg2 = static_cast<int >(SWIG_As_int(obj1));
15214 if (SWIG_arg_fail(2)) SWIG_fail;
15215 }
15216 {
15217 arg3 = static_cast<int >(SWIG_As_int(obj2));
15218 if (SWIG_arg_fail(3)) SWIG_fail;
15219 }
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 (arg1)->SetRange(arg2,arg3);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj = NULL;
15236 wxSlider *arg1 = (wxSlider *) 0 ;
15237 int result;
15238 PyObject * obj0 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15245 if (SWIG_arg_fail(1)) SWIG_fail;
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 result = (int)((wxSlider const *)arg1)->GetMin();
15249
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 {
15254 resultobj = SWIG_From_int(static_cast<int >(result));
15255 }
15256 return resultobj;
15257 fail:
15258 return NULL;
15259 }
15260
15261
15262 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj = NULL;
15264 wxSlider *arg1 = (wxSlider *) 0 ;
15265 int result;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (int)((wxSlider const *)arg1)->GetMax();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 {
15282 resultobj = SWIG_From_int(static_cast<int >(result));
15283 }
15284 return resultobj;
15285 fail:
15286 return NULL;
15287 }
15288
15289
15290 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15291 PyObject *resultobj = NULL;
15292 wxSlider *arg1 = (wxSlider *) 0 ;
15293 int arg2 ;
15294 PyObject * obj0 = 0 ;
15295 PyObject * obj1 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self",(char *) "minValue", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail;
15303 {
15304 arg2 = static_cast<int >(SWIG_As_int(obj1));
15305 if (SWIG_arg_fail(2)) SWIG_fail;
15306 }
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->SetMin(arg2);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 Py_INCREF(Py_None); resultobj = Py_None;
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj = NULL;
15323 wxSlider *arg1 = (wxSlider *) 0 ;
15324 int arg2 ;
15325 PyObject * obj0 = 0 ;
15326 PyObject * obj1 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self",(char *) "maxValue", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail;
15334 {
15335 arg2 = static_cast<int >(SWIG_As_int(obj1));
15336 if (SWIG_arg_fail(2)) SWIG_fail;
15337 }
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 (arg1)->SetMax(arg2);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 Py_INCREF(Py_None); resultobj = Py_None;
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj = NULL;
15354 wxSlider *arg1 = (wxSlider *) 0 ;
15355 int arg2 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "lineSize", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
15365 {
15366 arg2 = static_cast<int >(SWIG_As_int(obj1));
15367 if (SWIG_arg_fail(2)) SWIG_fail;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->SetLineSize(arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj = NULL;
15385 wxSlider *arg1 = (wxSlider *) 0 ;
15386 int arg2 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "pageSize", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail;
15396 {
15397 arg2 = static_cast<int >(SWIG_As_int(obj1));
15398 if (SWIG_arg_fail(2)) SWIG_fail;
15399 }
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 (arg1)->SetPageSize(arg2);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 Py_INCREF(Py_None); resultobj = Py_None;
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15415 PyObject *resultobj = NULL;
15416 wxSlider *arg1 = (wxSlider *) 0 ;
15417 int result;
15418 PyObject * obj0 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "self", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15425 if (SWIG_arg_fail(1)) SWIG_fail;
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (int)((wxSlider const *)arg1)->GetLineSize();
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 {
15434 resultobj = SWIG_From_int(static_cast<int >(result));
15435 }
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj = NULL;
15444 wxSlider *arg1 = (wxSlider *) 0 ;
15445 int result;
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail;
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = (int)((wxSlider const *)arg1)->GetPageSize();
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 {
15462 resultobj = SWIG_From_int(static_cast<int >(result));
15463 }
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj = NULL;
15472 wxSlider *arg1 = (wxSlider *) 0 ;
15473 int arg2 ;
15474 PyObject * obj0 = 0 ;
15475 PyObject * obj1 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self",(char *) "lenPixels", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail;
15483 {
15484 arg2 = static_cast<int >(SWIG_As_int(obj1));
15485 if (SWIG_arg_fail(2)) SWIG_fail;
15486 }
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 (arg1)->SetThumbLength(arg2);
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 Py_INCREF(Py_None); resultobj = Py_None;
15495 return resultobj;
15496 fail:
15497 return NULL;
15498 }
15499
15500
15501 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj = NULL;
15503 wxSlider *arg1 = (wxSlider *) 0 ;
15504 int result;
15505 PyObject * obj0 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 resultobj = SWIG_From_int(static_cast<int >(result));
15522 }
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj = NULL;
15531 wxSlider *arg1 = (wxSlider *) 0 ;
15532 int arg2 ;
15533 int arg3 = (int) 1 ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 PyObject * obj2 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self",(char *) "n",(char *) "pos", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail;
15544 {
15545 arg2 = static_cast<int >(SWIG_As_int(obj1));
15546 if (SWIG_arg_fail(2)) SWIG_fail;
15547 }
15548 if (obj2) {
15549 {
15550 arg3 = static_cast<int >(SWIG_As_int(obj2));
15551 if (SWIG_arg_fail(3)) SWIG_fail;
15552 }
15553 }
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 (arg1)->SetTickFreq(arg2,arg3);
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 Py_INCREF(Py_None); resultobj = Py_None;
15562 return resultobj;
15563 fail:
15564 return NULL;
15565 }
15566
15567
15568 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15569 PyObject *resultobj = NULL;
15570 wxSlider *arg1 = (wxSlider *) 0 ;
15571 int result;
15572 PyObject * obj0 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self", NULL
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15579 if (SWIG_arg_fail(1)) SWIG_fail;
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 {
15588 resultobj = SWIG_From_int(static_cast<int >(result));
15589 }
15590 return resultobj;
15591 fail:
15592 return NULL;
15593 }
15594
15595
15596 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15597 PyObject *resultobj = NULL;
15598 wxSlider *arg1 = (wxSlider *) 0 ;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 (arg1)->ClearTicks();
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 Py_INCREF(Py_None); resultobj = Py_None;
15615 return resultobj;
15616 fail:
15617 return NULL;
15618 }
15619
15620
15621 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj = NULL;
15623 wxSlider *arg1 = (wxSlider *) 0 ;
15624 int arg2 ;
15625 PyObject * obj0 = 0 ;
15626 PyObject * obj1 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self",(char *) "tickPos", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail;
15634 {
15635 arg2 = static_cast<int >(SWIG_As_int(obj1));
15636 if (SWIG_arg_fail(2)) SWIG_fail;
15637 }
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 (arg1)->SetTick(arg2);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 Py_INCREF(Py_None); resultobj = Py_None;
15646 return resultobj;
15647 fail:
15648 return NULL;
15649 }
15650
15651
15652 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj = NULL;
15654 wxSlider *arg1 = (wxSlider *) 0 ;
15655 PyObject * obj0 = 0 ;
15656 char *kwnames[] = {
15657 (char *) "self", NULL
15658 };
15659
15660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15662 if (SWIG_arg_fail(1)) SWIG_fail;
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->ClearSel();
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 Py_INCREF(Py_None); resultobj = Py_None;
15671 return resultobj;
15672 fail:
15673 return NULL;
15674 }
15675
15676
15677 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj = NULL;
15679 wxSlider *arg1 = (wxSlider *) 0 ;
15680 int result;
15681 PyObject * obj0 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "self", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 {
15697 resultobj = SWIG_From_int(static_cast<int >(result));
15698 }
15699 return resultobj;
15700 fail:
15701 return NULL;
15702 }
15703
15704
15705 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15706 PyObject *resultobj = NULL;
15707 wxSlider *arg1 = (wxSlider *) 0 ;
15708 int result;
15709 PyObject * obj0 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail;
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = (int)((wxSlider const *)arg1)->GetSelStart();
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 resultobj = SWIG_From_int(static_cast<int >(result));
15726 }
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj = NULL;
15735 wxSlider *arg1 = (wxSlider *) 0 ;
15736 int arg2 ;
15737 int arg3 ;
15738 PyObject * obj0 = 0 ;
15739 PyObject * obj1 = 0 ;
15740 PyObject * obj2 = 0 ;
15741 char *kwnames[] = {
15742 (char *) "self",(char *) "min",(char *) "max", NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15747 if (SWIG_arg_fail(1)) SWIG_fail;
15748 {
15749 arg2 = static_cast<int >(SWIG_As_int(obj1));
15750 if (SWIG_arg_fail(2)) SWIG_fail;
15751 }
15752 {
15753 arg3 = static_cast<int >(SWIG_As_int(obj2));
15754 if (SWIG_arg_fail(3)) SWIG_fail;
15755 }
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 (arg1)->SetSelection(arg2,arg3);
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 Py_INCREF(Py_None); resultobj = Py_None;
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj = NULL;
15772 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15773 wxVisualAttributes result;
15774 PyObject * obj0 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "variant", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15780 if (obj0) {
15781 {
15782 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
15783 if (SWIG_arg_fail(1)) SWIG_fail;
15784 }
15785 }
15786 {
15787 if (!wxPyCheckForApp()) SWIG_fail;
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 result = wxSlider::GetClassDefaultAttributes(arg1);
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 {
15795 wxVisualAttributes * resultptr;
15796 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
15797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15798 }
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15806 PyObject *obj;
15807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15808 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15809 Py_INCREF(obj);
15810 return Py_BuildValue((char *)"");
15811 }
15812 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15813 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15814 return 1;
15815 }
15816
15817
15818 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15819 PyObject *pyobj = NULL;
15820
15821 {
15822 #if wxUSE_UNICODE
15823 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15824 #else
15825 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15826 #endif
15827 }
15828 return pyobj;
15829 }
15830
15831
15832 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj = NULL;
15834 wxWindow *arg1 = (wxWindow *) 0 ;
15835 int arg2 = (int) -1 ;
15836 wxString const &arg3_defvalue = wxPyEmptyString ;
15837 wxString *arg3 = (wxString *) &arg3_defvalue ;
15838 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15839 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15840 wxSize const &arg5_defvalue = wxDefaultSize ;
15841 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15842 long arg6 = (long) 0 ;
15843 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15844 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15845 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15846 wxString *arg8 = (wxString *) &arg8_defvalue ;
15847 wxToggleButton *result;
15848 bool temp3 = false ;
15849 wxPoint temp4 ;
15850 wxSize temp5 ;
15851 bool temp8 = false ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 PyObject * obj2 = 0 ;
15855 PyObject * obj3 = 0 ;
15856 PyObject * obj4 = 0 ;
15857 PyObject * obj5 = 0 ;
15858 PyObject * obj6 = 0 ;
15859 PyObject * obj7 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15866 if (SWIG_arg_fail(1)) SWIG_fail;
15867 if (obj1) {
15868 {
15869 arg2 = static_cast<int >(SWIG_As_int(obj1));
15870 if (SWIG_arg_fail(2)) SWIG_fail;
15871 }
15872 }
15873 if (obj2) {
15874 {
15875 arg3 = wxString_in_helper(obj2);
15876 if (arg3 == NULL) SWIG_fail;
15877 temp3 = true;
15878 }
15879 }
15880 if (obj3) {
15881 {
15882 arg4 = &temp4;
15883 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15884 }
15885 }
15886 if (obj4) {
15887 {
15888 arg5 = &temp5;
15889 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15890 }
15891 }
15892 if (obj5) {
15893 {
15894 arg6 = static_cast<long >(SWIG_As_long(obj5));
15895 if (SWIG_arg_fail(6)) SWIG_fail;
15896 }
15897 }
15898 if (obj6) {
15899 {
15900 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15901 if (SWIG_arg_fail(7)) SWIG_fail;
15902 if (arg7 == NULL) {
15903 SWIG_null_ref("wxValidator");
15904 }
15905 if (SWIG_arg_fail(7)) SWIG_fail;
15906 }
15907 }
15908 if (obj7) {
15909 {
15910 arg8 = wxString_in_helper(obj7);
15911 if (arg8 == NULL) SWIG_fail;
15912 temp8 = true;
15913 }
15914 }
15915 {
15916 if (!wxPyCheckForApp()) SWIG_fail;
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15924 {
15925 if (temp3)
15926 delete arg3;
15927 }
15928 {
15929 if (temp8)
15930 delete arg8;
15931 }
15932 return resultobj;
15933 fail:
15934 {
15935 if (temp3)
15936 delete arg3;
15937 }
15938 {
15939 if (temp8)
15940 delete arg8;
15941 }
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj = NULL;
15948 wxToggleButton *result;
15949 char *kwnames[] = {
15950 NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15954 {
15955 if (!wxPyCheckForApp()) SWIG_fail;
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (wxToggleButton *)new wxToggleButton();
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15963 return resultobj;
15964 fail:
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj = NULL;
15971 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15972 wxWindow *arg2 = (wxWindow *) 0 ;
15973 int arg3 = (int) -1 ;
15974 wxString const &arg4_defvalue = wxPyEmptyString ;
15975 wxString *arg4 = (wxString *) &arg4_defvalue ;
15976 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15977 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15978 wxSize const &arg6_defvalue = wxDefaultSize ;
15979 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15980 long arg7 = (long) 0 ;
15981 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15982 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15983 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15984 wxString *arg9 = (wxString *) &arg9_defvalue ;
15985 bool result;
15986 bool temp4 = false ;
15987 wxPoint temp5 ;
15988 wxSize temp6 ;
15989 bool temp9 = false ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 PyObject * obj2 = 0 ;
15993 PyObject * obj3 = 0 ;
15994 PyObject * obj4 = 0 ;
15995 PyObject * obj5 = 0 ;
15996 PyObject * obj6 = 0 ;
15997 PyObject * obj7 = 0 ;
15998 PyObject * obj8 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self",(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 *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail;
16006 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16007 if (SWIG_arg_fail(2)) SWIG_fail;
16008 if (obj2) {
16009 {
16010 arg3 = static_cast<int >(SWIG_As_int(obj2));
16011 if (SWIG_arg_fail(3)) SWIG_fail;
16012 }
16013 }
16014 if (obj3) {
16015 {
16016 arg4 = wxString_in_helper(obj3);
16017 if (arg4 == NULL) SWIG_fail;
16018 temp4 = true;
16019 }
16020 }
16021 if (obj4) {
16022 {
16023 arg5 = &temp5;
16024 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16025 }
16026 }
16027 if (obj5) {
16028 {
16029 arg6 = &temp6;
16030 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16031 }
16032 }
16033 if (obj6) {
16034 {
16035 arg7 = static_cast<long >(SWIG_As_long(obj6));
16036 if (SWIG_arg_fail(7)) SWIG_fail;
16037 }
16038 }
16039 if (obj7) {
16040 {
16041 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16042 if (SWIG_arg_fail(8)) SWIG_fail;
16043 if (arg8 == NULL) {
16044 SWIG_null_ref("wxValidator");
16045 }
16046 if (SWIG_arg_fail(8)) SWIG_fail;
16047 }
16048 }
16049 if (obj8) {
16050 {
16051 arg9 = wxString_in_helper(obj8);
16052 if (arg9 == NULL) SWIG_fail;
16053 temp9 = true;
16054 }
16055 }
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 {
16064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16065 }
16066 {
16067 if (temp4)
16068 delete arg4;
16069 }
16070 {
16071 if (temp9)
16072 delete arg9;
16073 }
16074 return resultobj;
16075 fail:
16076 {
16077 if (temp4)
16078 delete arg4;
16079 }
16080 {
16081 if (temp9)
16082 delete arg9;
16083 }
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj = NULL;
16090 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16091 bool arg2 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 char *kwnames[] = {
16095 (char *) "self",(char *) "value", NULL
16096 };
16097
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail;
16101 {
16102 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16103 if (SWIG_arg_fail(2)) SWIG_fail;
16104 }
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 (arg1)->SetValue(arg2);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 Py_INCREF(Py_None); resultobj = Py_None;
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj = NULL;
16121 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16122 bool result;
16123 PyObject * obj0 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16130 if (SWIG_arg_fail(1)) SWIG_fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140 }
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj = NULL;
16149 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16150 wxString *arg2 = 0 ;
16151 bool temp2 = false ;
16152 PyObject * obj0 = 0 ;
16153 PyObject * obj1 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "label", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail;
16161 {
16162 arg2 = wxString_in_helper(obj1);
16163 if (arg2 == NULL) SWIG_fail;
16164 temp2 = true;
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 (arg1)->SetLabel((wxString const &)*arg2);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 Py_INCREF(Py_None); resultobj = Py_None;
16174 {
16175 if (temp2)
16176 delete arg2;
16177 }
16178 return resultobj;
16179 fail:
16180 {
16181 if (temp2)
16182 delete arg2;
16183 }
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj = NULL;
16190 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16191 wxVisualAttributes result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "variant", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16198 if (obj0) {
16199 {
16200 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16201 if (SWIG_arg_fail(1)) SWIG_fail;
16202 }
16203 }
16204 {
16205 if (!wxPyCheckForApp()) SWIG_fail;
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 result = wxToggleButton::GetClassDefaultAttributes(arg1);
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 {
16213 wxVisualAttributes * resultptr;
16214 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
16215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16216 }
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16224 PyObject *obj;
16225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16227 Py_INCREF(obj);
16228 return Py_BuildValue((char *)"");
16229 }
16230 static int _wrap_NotebookNameStr_set(PyObject *) {
16231 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16232 return 1;
16233 }
16234
16235
16236 static PyObject *_wrap_NotebookNameStr_get(void) {
16237 PyObject *pyobj = NULL;
16238
16239 {
16240 #if wxUSE_UNICODE
16241 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16242 #else
16243 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16244 #endif
16245 }
16246 return pyobj;
16247 }
16248
16249
16250 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj = NULL;
16252 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16253 size_t result;
16254 PyObject * obj0 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16261 if (SWIG_arg_fail(1)) SWIG_fail;
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 {
16270 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
16271 }
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj = NULL;
16280 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16281 size_t arg2 ;
16282 wxWindow *result;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "n", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail;
16292 {
16293 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16294 if (SWIG_arg_fail(2)) SWIG_fail;
16295 }
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 result = (wxWindow *)(arg1)->GetPage(arg2);
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 {
16304 resultobj = wxPyMake_wxObject(result, 0);
16305 }
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj = NULL;
16314 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16315 wxWindow *result;
16316 PyObject * obj0 = 0 ;
16317 char *kwnames[] = {
16318 (char *) "self", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail;
16324 {
16325 PyThreadState* __tstate = wxPyBeginAllowThreads();
16326 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16327
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 {
16332 resultobj = wxPyMake_wxObject(result, 0);
16333 }
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16341 PyObject *resultobj = NULL;
16342 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16343 int result;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail;
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
16360 resultobj = SWIG_From_int(static_cast<int >(result));
16361 }
16362 return resultobj;
16363 fail:
16364 return NULL;
16365 }
16366
16367
16368 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16369 PyObject *resultobj = NULL;
16370 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16371 size_t arg2 ;
16372 wxString *arg3 = 0 ;
16373 bool result;
16374 bool temp3 = false ;
16375 PyObject * obj0 = 0 ;
16376 PyObject * obj1 = 0 ;
16377 PyObject * obj2 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self",(char *) "n",(char *) "strText", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail;
16385 {
16386 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16387 if (SWIG_arg_fail(2)) SWIG_fail;
16388 }
16389 {
16390 arg3 = wxString_in_helper(obj2);
16391 if (arg3 == NULL) SWIG_fail;
16392 temp3 = true;
16393 }
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 {
16402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16403 }
16404 {
16405 if (temp3)
16406 delete arg3;
16407 }
16408 return resultobj;
16409 fail:
16410 {
16411 if (temp3)
16412 delete arg3;
16413 }
16414 return NULL;
16415 }
16416
16417
16418 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj = NULL;
16420 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16421 size_t arg2 ;
16422 wxString result;
16423 PyObject * obj0 = 0 ;
16424 PyObject * obj1 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self",(char *) "n", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16431 if (SWIG_arg_fail(1)) SWIG_fail;
16432 {
16433 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16434 if (SWIG_arg_fail(2)) SWIG_fail;
16435 }
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 {
16444 #if wxUSE_UNICODE
16445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16446 #else
16447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16448 #endif
16449 }
16450 return resultobj;
16451 fail:
16452 return NULL;
16453 }
16454
16455
16456 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj = NULL;
16458 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16459 wxImageList *arg2 = (wxImageList *) 0 ;
16460 PyObject * obj0 = 0 ;
16461 PyObject * obj1 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self",(char *) "imageList", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail;
16469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16470 if (SWIG_arg_fail(2)) SWIG_fail;
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 (arg1)->SetImageList(arg2);
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 Py_INCREF(Py_None); resultobj = Py_None;
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj = NULL;
16487 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16488 wxImageList *arg2 = (wxImageList *) 0 ;
16489 PyObject * obj0 = 0 ;
16490 PyObject * obj1 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self",(char *) "imageList", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16497 if (SWIG_arg_fail(1)) SWIG_fail;
16498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16499 if (SWIG_arg_fail(2)) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->AssignImageList(arg2);
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 Py_INCREF(Py_None); resultobj = Py_None;
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj = NULL;
16516 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16517 wxImageList *result;
16518 PyObject * obj0 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 resultobj = wxPyMake_wxObject(result, 0);
16535 }
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj = NULL;
16544 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16545 size_t arg2 ;
16546 int result;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "n", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail;
16556 {
16557 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16558 if (SWIG_arg_fail(2)) SWIG_fail;
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 resultobj = SWIG_From_int(static_cast<int >(result));
16569 }
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj = NULL;
16578 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16579 size_t arg2 ;
16580 int arg3 ;
16581 bool result;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 PyObject * obj2 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self",(char *) "n",(char *) "imageId", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail;
16592 {
16593 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16594 if (SWIG_arg_fail(2)) SWIG_fail;
16595 }
16596 {
16597 arg3 = static_cast<int >(SWIG_As_int(obj2));
16598 if (SWIG_arg_fail(3)) SWIG_fail;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj = NULL;
16618 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16619 wxSize *arg2 = 0 ;
16620 wxSize temp2 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "size", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail;
16630 {
16631 arg2 = &temp2;
16632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16633 }
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 (arg1)->SetPageSize((wxSize const &)*arg2);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj = NULL;
16650 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16651 wxSize *arg2 = 0 ;
16652 wxSize result;
16653 wxSize temp2 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "sizePage", NULL
16658 };
16659
16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail;
16663 {
16664 arg2 = &temp2;
16665 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16666 }
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 {
16675 wxSize * resultptr;
16676 resultptr = new wxSize(static_cast<wxSize & >(result));
16677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16678 }
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj = NULL;
16687 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16688 size_t arg2 ;
16689 bool result;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self",(char *) "n", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail;
16699 {
16700 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16701 if (SWIG_arg_fail(2)) SWIG_fail;
16702 }
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (bool)(arg1)->DeletePage(arg2);
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj = NULL;
16721 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16722 size_t arg2 ;
16723 bool result;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self",(char *) "n", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail;
16733 {
16734 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16735 if (SWIG_arg_fail(2)) SWIG_fail;
16736 }
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 result = (bool)(arg1)->RemovePage(arg2);
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 {
16745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16746 }
16747 return resultobj;
16748 fail:
16749 return NULL;
16750 }
16751
16752
16753 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj = NULL;
16755 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16756 bool result;
16757 PyObject * obj0 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail;
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 result = (bool)(arg1)->DeleteAllPages();
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16774 }
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj = NULL;
16783 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16784 wxWindow *arg2 = (wxWindow *) 0 ;
16785 wxString *arg3 = 0 ;
16786 bool arg4 = (bool) false ;
16787 int arg5 = (int) -1 ;
16788 bool result;
16789 bool temp3 = false ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 PyObject * obj2 = 0 ;
16793 PyObject * obj3 = 0 ;
16794 PyObject * obj4 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16803 if (SWIG_arg_fail(2)) SWIG_fail;
16804 {
16805 arg3 = wxString_in_helper(obj2);
16806 if (arg3 == NULL) SWIG_fail;
16807 temp3 = true;
16808 }
16809 if (obj3) {
16810 {
16811 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
16812 if (SWIG_arg_fail(4)) SWIG_fail;
16813 }
16814 }
16815 if (obj4) {
16816 {
16817 arg5 = static_cast<int >(SWIG_As_int(obj4));
16818 if (SWIG_arg_fail(5)) SWIG_fail;
16819 }
16820 }
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 {
16829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16830 }
16831 {
16832 if (temp3)
16833 delete arg3;
16834 }
16835 return resultobj;
16836 fail:
16837 {
16838 if (temp3)
16839 delete arg3;
16840 }
16841 return NULL;
16842 }
16843
16844
16845 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj = NULL;
16847 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16848 size_t arg2 ;
16849 wxWindow *arg3 = (wxWindow *) 0 ;
16850 wxString *arg4 = 0 ;
16851 bool arg5 = (bool) false ;
16852 int arg6 = (int) -1 ;
16853 bool result;
16854 bool temp4 = false ;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 PyObject * obj2 = 0 ;
16858 PyObject * obj3 = 0 ;
16859 PyObject * obj4 = 0 ;
16860 PyObject * obj5 = 0 ;
16861 char *kwnames[] = {
16862 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16863 };
16864
16865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16867 if (SWIG_arg_fail(1)) SWIG_fail;
16868 {
16869 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16870 if (SWIG_arg_fail(2)) SWIG_fail;
16871 }
16872 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16873 if (SWIG_arg_fail(3)) SWIG_fail;
16874 {
16875 arg4 = wxString_in_helper(obj3);
16876 if (arg4 == NULL) SWIG_fail;
16877 temp4 = true;
16878 }
16879 if (obj4) {
16880 {
16881 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
16882 if (SWIG_arg_fail(5)) SWIG_fail;
16883 }
16884 }
16885 if (obj5) {
16886 {
16887 arg6 = static_cast<int >(SWIG_As_int(obj5));
16888 if (SWIG_arg_fail(6)) SWIG_fail;
16889 }
16890 }
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16900 }
16901 {
16902 if (temp4)
16903 delete arg4;
16904 }
16905 return resultobj;
16906 fail:
16907 {
16908 if (temp4)
16909 delete arg4;
16910 }
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj = NULL;
16917 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16918 size_t arg2 ;
16919 int result;
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "n", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail;
16929 {
16930 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16931 if (SWIG_arg_fail(2)) SWIG_fail;
16932 }
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (int)(arg1)->SetSelection(arg2);
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 {
16941 resultobj = SWIG_From_int(static_cast<int >(result));
16942 }
16943 return resultobj;
16944 fail:
16945 return NULL;
16946 }
16947
16948
16949 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16950 PyObject *resultobj = NULL;
16951 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16952 bool arg2 = (bool) true ;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 char *kwnames[] = {
16956 (char *) "self",(char *) "forward", NULL
16957 };
16958
16959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail;
16962 if (obj1) {
16963 {
16964 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16965 if (SWIG_arg_fail(2)) SWIG_fail;
16966 }
16967 }
16968 {
16969 PyThreadState* __tstate = wxPyBeginAllowThreads();
16970 (arg1)->AdvanceSelection(arg2);
16971
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 Py_INCREF(Py_None); resultobj = Py_None;
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj = NULL;
16984 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16985 wxVisualAttributes result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "variant", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16992 if (obj0) {
16993 {
16994 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16995 if (SWIG_arg_fail(1)) SWIG_fail;
16996 }
16997 }
16998 {
16999 if (!wxPyCheckForApp()) SWIG_fail;
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 wxVisualAttributes * resultptr;
17008 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
17018 PyObject *obj;
17019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17020 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
17021 Py_INCREF(obj);
17022 return Py_BuildValue((char *)"");
17023 }
17024 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj = NULL;
17026 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17027 int arg2 = (int) 0 ;
17028 int arg3 = (int) -1 ;
17029 int arg4 = (int) -1 ;
17030 wxBookCtrlBaseEvent *result;
17031 PyObject * obj0 = 0 ;
17032 PyObject * obj1 = 0 ;
17033 PyObject * obj2 = 0 ;
17034 PyObject * obj3 = 0 ;
17035 char *kwnames[] = {
17036 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17040 if (obj0) {
17041 {
17042 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17043 if (SWIG_arg_fail(1)) SWIG_fail;
17044 }
17045 }
17046 if (obj1) {
17047 {
17048 arg2 = static_cast<int >(SWIG_As_int(obj1));
17049 if (SWIG_arg_fail(2)) SWIG_fail;
17050 }
17051 }
17052 if (obj2) {
17053 {
17054 arg3 = static_cast<int >(SWIG_As_int(obj2));
17055 if (SWIG_arg_fail(3)) SWIG_fail;
17056 }
17057 }
17058 if (obj3) {
17059 {
17060 arg4 = static_cast<int >(SWIG_As_int(obj3));
17061 if (SWIG_arg_fail(4)) SWIG_fail;
17062 }
17063 }
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
17072 return resultobj;
17073 fail:
17074 return NULL;
17075 }
17076
17077
17078 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj = NULL;
17080 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17081 int result;
17082 PyObject * obj0 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "self", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17089 if (SWIG_arg_fail(1)) SWIG_fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 {
17098 resultobj = SWIG_From_int(static_cast<int >(result));
17099 }
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj = NULL;
17108 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17109 int arg2 ;
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self",(char *) "nSel", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail;
17119 {
17120 arg2 = static_cast<int >(SWIG_As_int(obj1));
17121 if (SWIG_arg_fail(2)) SWIG_fail;
17122 }
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->SetSelection(arg2);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 Py_INCREF(Py_None); resultobj = Py_None;
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj = NULL;
17139 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17140 int result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 resultobj = SWIG_From_int(static_cast<int >(result));
17158 }
17159 return resultobj;
17160 fail:
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj = NULL;
17167 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17168 int arg2 ;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char *kwnames[] = {
17172 (char *) "self",(char *) "nOldSel", NULL
17173 };
17174
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17177 if (SWIG_arg_fail(1)) SWIG_fail;
17178 {
17179 arg2 = static_cast<int >(SWIG_As_int(obj1));
17180 if (SWIG_arg_fail(2)) SWIG_fail;
17181 }
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 (arg1)->SetOldSelection(arg2);
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 Py_INCREF(Py_None); resultobj = Py_None;
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17197 PyObject *obj;
17198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17199 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17200 Py_INCREF(obj);
17201 return Py_BuildValue((char *)"");
17202 }
17203 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj = NULL;
17205 wxWindow *arg1 = (wxWindow *) 0 ;
17206 int arg2 = (int) -1 ;
17207 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17208 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17209 wxSize const &arg4_defvalue = wxDefaultSize ;
17210 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17211 long arg5 = (long) 0 ;
17212 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17213 wxString *arg6 = (wxString *) &arg6_defvalue ;
17214 wxNotebook *result;
17215 wxPoint temp3 ;
17216 wxSize temp4 ;
17217 bool temp6 = false ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 PyObject * obj2 = 0 ;
17221 PyObject * obj3 = 0 ;
17222 PyObject * obj4 = 0 ;
17223 PyObject * obj5 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail;
17231 if (obj1) {
17232 {
17233 arg2 = static_cast<int >(SWIG_As_int(obj1));
17234 if (SWIG_arg_fail(2)) SWIG_fail;
17235 }
17236 }
17237 if (obj2) {
17238 {
17239 arg3 = &temp3;
17240 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17241 }
17242 }
17243 if (obj3) {
17244 {
17245 arg4 = &temp4;
17246 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17247 }
17248 }
17249 if (obj4) {
17250 {
17251 arg5 = static_cast<long >(SWIG_As_long(obj4));
17252 if (SWIG_arg_fail(5)) SWIG_fail;
17253 }
17254 }
17255 if (obj5) {
17256 {
17257 arg6 = wxString_in_helper(obj5);
17258 if (arg6 == NULL) SWIG_fail;
17259 temp6 = true;
17260 }
17261 }
17262 {
17263 if (!wxPyCheckForApp()) SWIG_fail;
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17271 {
17272 if (temp6)
17273 delete arg6;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (temp6)
17279 delete arg6;
17280 }
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = NULL;
17287 wxNotebook *result;
17288 char *kwnames[] = {
17289 NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17293 {
17294 if (!wxPyCheckForApp()) SWIG_fail;
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 result = (wxNotebook *)new wxNotebook();
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj = NULL;
17310 wxNotebook *arg1 = (wxNotebook *) 0 ;
17311 wxWindow *arg2 = (wxWindow *) 0 ;
17312 int arg3 = (int) -1 ;
17313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17315 wxSize const &arg5_defvalue = wxDefaultSize ;
17316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17317 long arg6 = (long) 0 ;
17318 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17319 wxString *arg7 = (wxString *) &arg7_defvalue ;
17320 bool result;
17321 wxPoint temp4 ;
17322 wxSize temp5 ;
17323 bool temp7 = false ;
17324 PyObject * obj0 = 0 ;
17325 PyObject * obj1 = 0 ;
17326 PyObject * obj2 = 0 ;
17327 PyObject * obj3 = 0 ;
17328 PyObject * obj4 = 0 ;
17329 PyObject * obj5 = 0 ;
17330 PyObject * obj6 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17337 if (SWIG_arg_fail(1)) SWIG_fail;
17338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17339 if (SWIG_arg_fail(2)) SWIG_fail;
17340 if (obj2) {
17341 {
17342 arg3 = static_cast<int >(SWIG_As_int(obj2));
17343 if (SWIG_arg_fail(3)) SWIG_fail;
17344 }
17345 }
17346 if (obj3) {
17347 {
17348 arg4 = &temp4;
17349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17350 }
17351 }
17352 if (obj4) {
17353 {
17354 arg5 = &temp5;
17355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17356 }
17357 }
17358 if (obj5) {
17359 {
17360 arg6 = static_cast<long >(SWIG_As_long(obj5));
17361 if (SWIG_arg_fail(6)) SWIG_fail;
17362 }
17363 }
17364 if (obj6) {
17365 {
17366 arg7 = wxString_in_helper(obj6);
17367 if (arg7 == NULL) SWIG_fail;
17368 temp7 = true;
17369 }
17370 }
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 {
17379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17380 }
17381 {
17382 if (temp7)
17383 delete arg7;
17384 }
17385 return resultobj;
17386 fail:
17387 {
17388 if (temp7)
17389 delete arg7;
17390 }
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj = NULL;
17397 wxNotebook *arg1 = (wxNotebook *) 0 ;
17398 int result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 {
17415 resultobj = SWIG_From_int(static_cast<int >(result));
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj = NULL;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 wxSize *arg2 = 0 ;
17427 wxSize temp2 ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self",(char *) "padding", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail;
17437 {
17438 arg2 = &temp2;
17439 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetPadding((wxSize const &)*arg2);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 Py_INCREF(Py_None); resultobj = Py_None;
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj = NULL;
17457 wxNotebook *arg1 = (wxNotebook *) 0 ;
17458 wxSize *arg2 = 0 ;
17459 wxSize temp2 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "sz", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail;
17469 {
17470 arg2 = &temp2;
17471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17472 }
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 (arg1)->SetTabSize((wxSize const &)*arg2);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 return resultobj;
17482 fail:
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj = NULL;
17489 wxNotebook *arg1 = (wxNotebook *) 0 ;
17490 wxPoint *arg2 = 0 ;
17491 long *arg3 = (long *) 0 ;
17492 int result;
17493 wxPoint temp2 ;
17494 long temp3 ;
17495 int res3 = 0 ;
17496 PyObject * obj0 = 0 ;
17497 PyObject * obj1 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self",(char *) "pt", NULL
17500 };
17501
17502 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail;
17506 {
17507 arg2 = &temp2;
17508 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17509 }
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 {
17518 resultobj = SWIG_From_int(static_cast<int >(result));
17519 }
17520 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17521 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17522 return resultobj;
17523 fail:
17524 return NULL;
17525 }
17526
17527
17528 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj = NULL;
17530 wxNotebook *arg1 = (wxNotebook *) 0 ;
17531 wxSize *arg2 = 0 ;
17532 wxSize result;
17533 wxSize temp2 ;
17534 PyObject * obj0 = 0 ;
17535 PyObject * obj1 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "self",(char *) "sizePage", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17542 if (SWIG_arg_fail(1)) SWIG_fail;
17543 {
17544 arg2 = &temp2;
17545 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 {
17555 wxSize * resultptr;
17556 resultptr = new wxSize(static_cast<wxSize & >(result));
17557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17558 }
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj = NULL;
17567 wxNotebook *arg1 = (wxNotebook *) 0 ;
17568 wxColour result;
17569 PyObject * obj0 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail;
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 {
17585 wxColour * resultptr;
17586 resultptr = new wxColour(static_cast<wxColour & >(result));
17587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17588 }
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj = NULL;
17597 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17598 wxVisualAttributes result;
17599 PyObject * obj0 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "variant", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17605 if (obj0) {
17606 {
17607 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17608 if (SWIG_arg_fail(1)) SWIG_fail;
17609 }
17610 }
17611 {
17612 if (!wxPyCheckForApp()) SWIG_fail;
17613 PyThreadState* __tstate = wxPyBeginAllowThreads();
17614 result = wxNotebook::GetClassDefaultAttributes(arg1);
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 {
17620 wxVisualAttributes * resultptr;
17621 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17623 }
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17631 PyObject *obj;
17632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17633 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17634 Py_INCREF(obj);
17635 return Py_BuildValue((char *)"");
17636 }
17637 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj = NULL;
17639 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17640 int arg2 = (int) 0 ;
17641 int arg3 = (int) -1 ;
17642 int arg4 = (int) -1 ;
17643 wxNotebookEvent *result;
17644 PyObject * obj0 = 0 ;
17645 PyObject * obj1 = 0 ;
17646 PyObject * obj2 = 0 ;
17647 PyObject * obj3 = 0 ;
17648 char *kwnames[] = {
17649 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17653 if (obj0) {
17654 {
17655 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17656 if (SWIG_arg_fail(1)) SWIG_fail;
17657 }
17658 }
17659 if (obj1) {
17660 {
17661 arg2 = static_cast<int >(SWIG_As_int(obj1));
17662 if (SWIG_arg_fail(2)) SWIG_fail;
17663 }
17664 }
17665 if (obj2) {
17666 {
17667 arg3 = static_cast<int >(SWIG_As_int(obj2));
17668 if (SWIG_arg_fail(3)) SWIG_fail;
17669 }
17670 }
17671 if (obj3) {
17672 {
17673 arg4 = static_cast<int >(SWIG_As_int(obj3));
17674 if (SWIG_arg_fail(4)) SWIG_fail;
17675 }
17676 }
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17692 PyObject *obj;
17693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17694 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17695 Py_INCREF(obj);
17696 return Py_BuildValue((char *)"");
17697 }
17698 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj = NULL;
17700 wxWindow *arg1 = (wxWindow *) 0 ;
17701 int arg2 = (int) -1 ;
17702 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17703 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17704 wxSize const &arg4_defvalue = wxDefaultSize ;
17705 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17706 long arg5 = (long) 0 ;
17707 wxString const &arg6_defvalue = wxPyEmptyString ;
17708 wxString *arg6 = (wxString *) &arg6_defvalue ;
17709 wxListbook *result;
17710 wxPoint temp3 ;
17711 wxSize temp4 ;
17712 bool temp6 = false ;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 PyObject * obj2 = 0 ;
17716 PyObject * obj3 = 0 ;
17717 PyObject * obj4 = 0 ;
17718 PyObject * obj5 = 0 ;
17719 char *kwnames[] = {
17720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17721 };
17722
17723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17725 if (SWIG_arg_fail(1)) SWIG_fail;
17726 if (obj1) {
17727 {
17728 arg2 = static_cast<int >(SWIG_As_int(obj1));
17729 if (SWIG_arg_fail(2)) SWIG_fail;
17730 }
17731 }
17732 if (obj2) {
17733 {
17734 arg3 = &temp3;
17735 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17736 }
17737 }
17738 if (obj3) {
17739 {
17740 arg4 = &temp4;
17741 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17742 }
17743 }
17744 if (obj4) {
17745 {
17746 arg5 = static_cast<long >(SWIG_As_long(obj4));
17747 if (SWIG_arg_fail(5)) SWIG_fail;
17748 }
17749 }
17750 if (obj5) {
17751 {
17752 arg6 = wxString_in_helper(obj5);
17753 if (arg6 == NULL) SWIG_fail;
17754 temp6 = true;
17755 }
17756 }
17757 {
17758 if (!wxPyCheckForApp()) SWIG_fail;
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17766 {
17767 if (temp6)
17768 delete arg6;
17769 }
17770 return resultobj;
17771 fail:
17772 {
17773 if (temp6)
17774 delete arg6;
17775 }
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj = NULL;
17782 wxListbook *result;
17783 char *kwnames[] = {
17784 NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17788 {
17789 if (!wxPyCheckForApp()) SWIG_fail;
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 result = (wxListbook *)new wxListbook();
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj = NULL;
17805 wxListbook *arg1 = (wxListbook *) 0 ;
17806 wxWindow *arg2 = (wxWindow *) 0 ;
17807 int arg3 = (int) -1 ;
17808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17810 wxSize const &arg5_defvalue = wxDefaultSize ;
17811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17812 long arg6 = (long) 0 ;
17813 wxString const &arg7_defvalue = wxPyEmptyString ;
17814 wxString *arg7 = (wxString *) &arg7_defvalue ;
17815 bool result;
17816 wxPoint temp4 ;
17817 wxSize temp5 ;
17818 bool temp7 = false ;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 PyObject * obj2 = 0 ;
17822 PyObject * obj3 = 0 ;
17823 PyObject * obj4 = 0 ;
17824 PyObject * obj5 = 0 ;
17825 PyObject * obj6 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail;
17833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17834 if (SWIG_arg_fail(2)) SWIG_fail;
17835 if (obj2) {
17836 {
17837 arg3 = static_cast<int >(SWIG_As_int(obj2));
17838 if (SWIG_arg_fail(3)) SWIG_fail;
17839 }
17840 }
17841 if (obj3) {
17842 {
17843 arg4 = &temp4;
17844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17845 }
17846 }
17847 if (obj4) {
17848 {
17849 arg5 = &temp5;
17850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17851 }
17852 }
17853 if (obj5) {
17854 {
17855 arg6 = static_cast<long >(SWIG_As_long(obj5));
17856 if (SWIG_arg_fail(6)) SWIG_fail;
17857 }
17858 }
17859 if (obj6) {
17860 {
17861 arg7 = wxString_in_helper(obj6);
17862 if (arg7 == NULL) SWIG_fail;
17863 temp7 = true;
17864 }
17865 }
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 {
17874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17875 }
17876 {
17877 if (temp7)
17878 delete arg7;
17879 }
17880 return resultobj;
17881 fail:
17882 {
17883 if (temp7)
17884 delete arg7;
17885 }
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj = NULL;
17892 wxListbook *arg1 = (wxListbook *) 0 ;
17893 bool result;
17894 PyObject * obj0 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail;
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 result = (bool)((wxListbook const *)arg1)->IsVertical();
17905
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 {
17910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17911 }
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj = NULL;
17920 wxListbook *arg1 = (wxListbook *) 0 ;
17921 wxListView *result;
17922 PyObject * obj0 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (wxListView *)(arg1)->GetListView();
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17938 return resultobj;
17939 fail:
17940 return NULL;
17941 }
17942
17943
17944 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17945 PyObject *obj;
17946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17947 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17948 Py_INCREF(obj);
17949 return Py_BuildValue((char *)"");
17950 }
17951 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj = NULL;
17953 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17954 int arg2 = (int) 0 ;
17955 int arg3 = (int) -1 ;
17956 int arg4 = (int) -1 ;
17957 wxListbookEvent *result;
17958 PyObject * obj0 = 0 ;
17959 PyObject * obj1 = 0 ;
17960 PyObject * obj2 = 0 ;
17961 PyObject * obj3 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17967 if (obj0) {
17968 {
17969 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17970 if (SWIG_arg_fail(1)) SWIG_fail;
17971 }
17972 }
17973 if (obj1) {
17974 {
17975 arg2 = static_cast<int >(SWIG_As_int(obj1));
17976 if (SWIG_arg_fail(2)) SWIG_fail;
17977 }
17978 }
17979 if (obj2) {
17980 {
17981 arg3 = static_cast<int >(SWIG_As_int(obj2));
17982 if (SWIG_arg_fail(3)) SWIG_fail;
17983 }
17984 }
17985 if (obj3) {
17986 {
17987 arg4 = static_cast<int >(SWIG_As_int(obj3));
17988 if (SWIG_arg_fail(4)) SWIG_fail;
17989 }
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18006 PyObject *obj;
18007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18008 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18009 Py_INCREF(obj);
18010 return Py_BuildValue((char *)"");
18011 }
18012 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18013 PyObject *resultobj = NULL;
18014 wxWindow *arg1 = (wxWindow *) 0 ;
18015 int arg2 ;
18016 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18017 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18018 wxSize const &arg4_defvalue = wxDefaultSize ;
18019 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18020 long arg5 = (long) 0 ;
18021 wxString const &arg6_defvalue = wxPyEmptyString ;
18022 wxString *arg6 = (wxString *) &arg6_defvalue ;
18023 wxChoicebook *result;
18024 wxPoint temp3 ;
18025 wxSize temp4 ;
18026 bool temp6 = false ;
18027 PyObject * obj0 = 0 ;
18028 PyObject * obj1 = 0 ;
18029 PyObject * obj2 = 0 ;
18030 PyObject * obj3 = 0 ;
18031 PyObject * obj4 = 0 ;
18032 PyObject * obj5 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail;
18040 {
18041 arg2 = static_cast<int >(SWIG_As_int(obj1));
18042 if (SWIG_arg_fail(2)) SWIG_fail;
18043 }
18044 if (obj2) {
18045 {
18046 arg3 = &temp3;
18047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18048 }
18049 }
18050 if (obj3) {
18051 {
18052 arg4 = &temp4;
18053 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18054 }
18055 }
18056 if (obj4) {
18057 {
18058 arg5 = static_cast<long >(SWIG_As_long(obj4));
18059 if (SWIG_arg_fail(5)) SWIG_fail;
18060 }
18061 }
18062 if (obj5) {
18063 {
18064 arg6 = wxString_in_helper(obj5);
18065 if (arg6 == NULL) SWIG_fail;
18066 temp6 = true;
18067 }
18068 }
18069 {
18070 if (!wxPyCheckForApp()) SWIG_fail;
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18078 {
18079 if (temp6)
18080 delete arg6;
18081 }
18082 return resultobj;
18083 fail:
18084 {
18085 if (temp6)
18086 delete arg6;
18087 }
18088 return NULL;
18089 }
18090
18091
18092 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj = NULL;
18094 wxChoicebook *result;
18095 char *kwnames[] = {
18096 NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18100 {
18101 if (!wxPyCheckForApp()) SWIG_fail;
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (wxChoicebook *)new wxChoicebook();
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18109 return resultobj;
18110 fail:
18111 return NULL;
18112 }
18113
18114
18115 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj = NULL;
18117 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18118 wxWindow *arg2 = (wxWindow *) 0 ;
18119 int arg3 ;
18120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18122 wxSize const &arg5_defvalue = wxDefaultSize ;
18123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18124 long arg6 = (long) 0 ;
18125 wxString const &arg7_defvalue = wxPyEmptyString ;
18126 wxString *arg7 = (wxString *) &arg7_defvalue ;
18127 bool result;
18128 wxPoint temp4 ;
18129 wxSize temp5 ;
18130 bool temp7 = false ;
18131 PyObject * obj0 = 0 ;
18132 PyObject * obj1 = 0 ;
18133 PyObject * obj2 = 0 ;
18134 PyObject * obj3 = 0 ;
18135 PyObject * obj4 = 0 ;
18136 PyObject * obj5 = 0 ;
18137 PyObject * obj6 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18144 if (SWIG_arg_fail(1)) SWIG_fail;
18145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18146 if (SWIG_arg_fail(2)) SWIG_fail;
18147 {
18148 arg3 = static_cast<int >(SWIG_As_int(obj2));
18149 if (SWIG_arg_fail(3)) SWIG_fail;
18150 }
18151 if (obj3) {
18152 {
18153 arg4 = &temp4;
18154 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18155 }
18156 }
18157 if (obj4) {
18158 {
18159 arg5 = &temp5;
18160 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18161 }
18162 }
18163 if (obj5) {
18164 {
18165 arg6 = static_cast<long >(SWIG_As_long(obj5));
18166 if (SWIG_arg_fail(6)) SWIG_fail;
18167 }
18168 }
18169 if (obj6) {
18170 {
18171 arg7 = wxString_in_helper(obj6);
18172 if (arg7 == NULL) SWIG_fail;
18173 temp7 = true;
18174 }
18175 }
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 {
18184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18185 }
18186 {
18187 if (temp7)
18188 delete arg7;
18189 }
18190 return resultobj;
18191 fail:
18192 {
18193 if (temp7)
18194 delete arg7;
18195 }
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj = NULL;
18202 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18203 bool result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18221 }
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj = NULL;
18230 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18231 wxChoice *result;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail;
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj = NULL;
18256 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18257 bool result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (bool)(arg1)->DeleteAllPages();
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 {
18274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18275 }
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18283 PyObject *obj;
18284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18285 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18286 Py_INCREF(obj);
18287 return Py_BuildValue((char *)"");
18288 }
18289 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj = NULL;
18291 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18292 int arg2 = (int) 0 ;
18293 int arg3 = (int) -1 ;
18294 int arg4 = (int) -1 ;
18295 wxChoicebookEvent *result;
18296 PyObject * obj0 = 0 ;
18297 PyObject * obj1 = 0 ;
18298 PyObject * obj2 = 0 ;
18299 PyObject * obj3 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18305 if (obj0) {
18306 {
18307 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18308 if (SWIG_arg_fail(1)) SWIG_fail;
18309 }
18310 }
18311 if (obj1) {
18312 {
18313 arg2 = static_cast<int >(SWIG_As_int(obj1));
18314 if (SWIG_arg_fail(2)) SWIG_fail;
18315 }
18316 }
18317 if (obj2) {
18318 {
18319 arg3 = static_cast<int >(SWIG_As_int(obj2));
18320 if (SWIG_arg_fail(3)) SWIG_fail;
18321 }
18322 }
18323 if (obj3) {
18324 {
18325 arg4 = static_cast<int >(SWIG_As_int(obj3));
18326 if (SWIG_arg_fail(4)) SWIG_fail;
18327 }
18328 }
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18344 PyObject *obj;
18345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18346 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18347 Py_INCREF(obj);
18348 return Py_BuildValue((char *)"");
18349 }
18350 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj = NULL;
18352 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18353 int result;
18354 PyObject * obj0 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18361 if (SWIG_arg_fail(1)) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 result = (int)(arg1)->GetId();
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 {
18370 resultobj = SWIG_From_int(static_cast<int >(result));
18371 }
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj = NULL;
18380 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18381 wxControl *result;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18389 if (SWIG_arg_fail(1)) SWIG_fail;
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (wxControl *)(arg1)->GetControl();
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 {
18398 resultobj = wxPyMake_wxObject(result, 0);
18399 }
18400 return resultobj;
18401 fail:
18402 return NULL;
18403 }
18404
18405
18406 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj = NULL;
18408 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18409 wxToolBarBase *result;
18410 PyObject * obj0 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail;
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (wxToolBarBase *)(arg1)->GetToolBar();
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 {
18426 resultobj = wxPyMake_wxObject(result, 0);
18427 }
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj = NULL;
18436 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18437 int result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail;
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (int)(arg1)->IsButton();
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 {
18454 resultobj = SWIG_From_int(static_cast<int >(result));
18455 }
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj = NULL;
18464 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18465 int result;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (int)(arg1)->IsControl();
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 resultobj = SWIG_From_int(static_cast<int >(result));
18483 }
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj = NULL;
18492 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18493 int result;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18501 if (SWIG_arg_fail(1)) SWIG_fail;
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (int)(arg1)->IsSeparator();
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 {
18510 resultobj = SWIG_From_int(static_cast<int >(result));
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj = NULL;
18520 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18521 int result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (int)(arg1)->GetStyle();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 {
18538 resultobj = SWIG_From_int(static_cast<int >(result));
18539 }
18540 return resultobj;
18541 fail:
18542 return NULL;
18543 }
18544
18545
18546 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18547 PyObject *resultobj = NULL;
18548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18549 wxItemKind result;
18550 PyObject * obj0 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail;
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (wxItemKind)(arg1)->GetKind();
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = SWIG_From_int((result));
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj = NULL;
18574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18575 bool result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail;
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (bool)(arg1)->IsEnabled();
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 {
18592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18593 }
18594 return resultobj;
18595 fail:
18596 return NULL;
18597 }
18598
18599
18600 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj = NULL;
18602 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18603 bool result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (bool)(arg1)->IsToggled();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 {
18620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18621 }
18622 return resultobj;
18623 fail:
18624 return NULL;
18625 }
18626
18627
18628 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj = NULL;
18630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18631 bool result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (bool)(arg1)->CanBeToggled();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18649 }
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj = NULL;
18658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18659 wxBitmap *result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 {
18671 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18672 result = (wxBitmap *) &_result_ref;
18673 }
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 {
18679 wxBitmap* resultptr = new wxBitmap(*result);
18680 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18681 }
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj = NULL;
18690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18691 wxBitmap *result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 {
18703 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18704 result = (wxBitmap *) &_result_ref;
18705 }
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 {
18711 wxBitmap* resultptr = new wxBitmap(*result);
18712 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18713 }
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj = NULL;
18722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18723 wxBitmap result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (arg1)->GetBitmap();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 {
18740 wxBitmap * resultptr;
18741 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
18742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj = NULL;
18752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18753 wxString result;
18754 PyObject * obj0 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 result = (arg1)->GetLabel();
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 {
18770 #if wxUSE_UNICODE
18771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18772 #else
18773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18774 #endif
18775 }
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj = NULL;
18784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18785 wxString result;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (arg1)->GetShortHelp();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 #if wxUSE_UNICODE
18803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18804 #else
18805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18806 #endif
18807 }
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj = NULL;
18816 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18817 wxString result;
18818 PyObject * obj0 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18825 if (SWIG_arg_fail(1)) SWIG_fail;
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 result = (arg1)->GetLongHelp();
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 {
18834 #if wxUSE_UNICODE
18835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18836 #else
18837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18838 #endif
18839 }
18840 return resultobj;
18841 fail:
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj = NULL;
18848 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18849 bool arg2 ;
18850 bool result;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj1 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "enable", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail;
18860 {
18861 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
18862 if (SWIG_arg_fail(2)) SWIG_fail;
18863 }
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (bool)(arg1)->Enable(arg2);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 {
18872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18873 }
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj = NULL;
18882 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18890 if (SWIG_arg_fail(1)) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 (arg1)->Toggle();
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 Py_INCREF(Py_None); resultobj = Py_None;
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj = NULL;
18907 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18908 bool arg2 ;
18909 bool result;
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "toggle", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18918 if (SWIG_arg_fail(1)) SWIG_fail;
18919 {
18920 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
18921 if (SWIG_arg_fail(2)) SWIG_fail;
18922 }
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (bool)(arg1)->SetToggle(arg2);
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 {
18931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18932 }
18933 return resultobj;
18934 fail:
18935 return NULL;
18936 }
18937
18938
18939 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj = NULL;
18941 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18942 wxString *arg2 = 0 ;
18943 bool result;
18944 bool temp2 = false ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "help", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
18952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18953 if (SWIG_arg_fail(1)) SWIG_fail;
18954 {
18955 arg2 = wxString_in_helper(obj1);
18956 if (arg2 == NULL) SWIG_fail;
18957 temp2 = true;
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 {
18967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18968 }
18969 {
18970 if (temp2)
18971 delete arg2;
18972 }
18973 return resultobj;
18974 fail:
18975 {
18976 if (temp2)
18977 delete arg2;
18978 }
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj = NULL;
18985 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18986 wxString *arg2 = 0 ;
18987 bool result;
18988 bool temp2 = false ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "help", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
18996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail;
18998 {
18999 arg2 = wxString_in_helper(obj1);
19000 if (arg2 == NULL) SWIG_fail;
19001 temp2 = true;
19002 }
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 {
19011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19012 }
19013 {
19014 if (temp2)
19015 delete arg2;
19016 }
19017 return resultobj;
19018 fail:
19019 {
19020 if (temp2)
19021 delete arg2;
19022 }
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj = NULL;
19029 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19030 wxBitmap *arg2 = 0 ;
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self",(char *) "bmp", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail;
19040 {
19041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19042 if (SWIG_arg_fail(2)) SWIG_fail;
19043 if (arg2 == NULL) {
19044 SWIG_null_ref("wxBitmap");
19045 }
19046 if (SWIG_arg_fail(2)) SWIG_fail;
19047 }
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj = NULL;
19064 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19065 wxBitmap *arg2 = 0 ;
19066 PyObject * obj0 = 0 ;
19067 PyObject * obj1 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self",(char *) "bmp", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19074 if (SWIG_arg_fail(1)) SWIG_fail;
19075 {
19076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19077 if (SWIG_arg_fail(2)) SWIG_fail;
19078 if (arg2 == NULL) {
19079 SWIG_null_ref("wxBitmap");
19080 }
19081 if (SWIG_arg_fail(2)) SWIG_fail;
19082 }
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 Py_INCREF(Py_None); resultobj = Py_None;
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj = NULL;
19099 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19100 wxString *arg2 = 0 ;
19101 bool temp2 = false ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self",(char *) "label", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19110 if (SWIG_arg_fail(1)) SWIG_fail;
19111 {
19112 arg2 = wxString_in_helper(obj1);
19113 if (arg2 == NULL) SWIG_fail;
19114 temp2 = true;
19115 }
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->SetLabel((wxString const &)*arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 {
19125 if (temp2)
19126 delete arg2;
19127 }
19128 return resultobj;
19129 fail:
19130 {
19131 if (temp2)
19132 delete arg2;
19133 }
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj = NULL;
19140 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19141 PyObject * obj0 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 (arg1)->Detach();
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 Py_INCREF(Py_None); resultobj = Py_None;
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj = NULL;
19165 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19166 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19167 PyObject * obj0 = 0 ;
19168 PyObject * obj1 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self",(char *) "tbar", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19175 if (SWIG_arg_fail(1)) SWIG_fail;
19176 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19177 if (SWIG_arg_fail(2)) SWIG_fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->Attach(arg2);
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj = NULL;
19194 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19195 PyObject *result;
19196 PyObject * obj0 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 resultobj = result;
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj = NULL;
19220 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19221 PyObject *arg2 = (PyObject *) 0 ;
19222 PyObject * obj0 = 0 ;
19223 PyObject * obj1 = 0 ;
19224 char *kwnames[] = {
19225 (char *) "self",(char *) "clientData", NULL
19226 };
19227
19228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19230 if (SWIG_arg_fail(1)) SWIG_fail;
19231 arg2 = obj1;
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 wxToolBarToolBase_SetClientData(arg1,arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19247 PyObject *obj;
19248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19249 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19250 Py_INCREF(obj);
19251 return Py_BuildValue((char *)"");
19252 }
19253 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj = NULL;
19255 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19256 int arg2 ;
19257 wxString *arg3 = 0 ;
19258 wxBitmap *arg4 = 0 ;
19259 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19260 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19261 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19262 wxString const &arg7_defvalue = wxPyEmptyString ;
19263 wxString *arg7 = (wxString *) &arg7_defvalue ;
19264 wxString const &arg8_defvalue = wxPyEmptyString ;
19265 wxString *arg8 = (wxString *) &arg8_defvalue ;
19266 PyObject *arg9 = (PyObject *) NULL ;
19267 wxToolBarToolBase *result;
19268 bool temp3 = false ;
19269 bool temp7 = false ;
19270 bool temp8 = false ;
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 PyObject * obj2 = 0 ;
19274 PyObject * obj3 = 0 ;
19275 PyObject * obj4 = 0 ;
19276 PyObject * obj5 = 0 ;
19277 PyObject * obj6 = 0 ;
19278 PyObject * obj7 = 0 ;
19279 PyObject * obj8 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail;
19287 {
19288 arg2 = static_cast<int >(SWIG_As_int(obj1));
19289 if (SWIG_arg_fail(2)) SWIG_fail;
19290 }
19291 {
19292 arg3 = wxString_in_helper(obj2);
19293 if (arg3 == NULL) SWIG_fail;
19294 temp3 = true;
19295 }
19296 {
19297 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19298 if (SWIG_arg_fail(4)) SWIG_fail;
19299 if (arg4 == NULL) {
19300 SWIG_null_ref("wxBitmap");
19301 }
19302 if (SWIG_arg_fail(4)) SWIG_fail;
19303 }
19304 if (obj4) {
19305 {
19306 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19307 if (SWIG_arg_fail(5)) SWIG_fail;
19308 if (arg5 == NULL) {
19309 SWIG_null_ref("wxBitmap");
19310 }
19311 if (SWIG_arg_fail(5)) SWIG_fail;
19312 }
19313 }
19314 if (obj5) {
19315 {
19316 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
19317 if (SWIG_arg_fail(6)) SWIG_fail;
19318 }
19319 }
19320 if (obj6) {
19321 {
19322 arg7 = wxString_in_helper(obj6);
19323 if (arg7 == NULL) SWIG_fail;
19324 temp7 = true;
19325 }
19326 }
19327 if (obj7) {
19328 {
19329 arg8 = wxString_in_helper(obj7);
19330 if (arg8 == NULL) SWIG_fail;
19331 temp8 = true;
19332 }
19333 }
19334 if (obj8) {
19335 arg9 = obj8;
19336 }
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 resultobj = wxPyMake_wxObject(result, 0);
19346 }
19347 {
19348 if (temp3)
19349 delete arg3;
19350 }
19351 {
19352 if (temp7)
19353 delete arg7;
19354 }
19355 {
19356 if (temp8)
19357 delete arg8;
19358 }
19359 return resultobj;
19360 fail:
19361 {
19362 if (temp3)
19363 delete arg3;
19364 }
19365 {
19366 if (temp7)
19367 delete arg7;
19368 }
19369 {
19370 if (temp8)
19371 delete arg8;
19372 }
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj = NULL;
19379 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19380 size_t arg2 ;
19381 int arg3 ;
19382 wxString *arg4 = 0 ;
19383 wxBitmap *arg5 = 0 ;
19384 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19385 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19386 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19387 wxString const &arg8_defvalue = wxPyEmptyString ;
19388 wxString *arg8 = (wxString *) &arg8_defvalue ;
19389 wxString const &arg9_defvalue = wxPyEmptyString ;
19390 wxString *arg9 = (wxString *) &arg9_defvalue ;
19391 PyObject *arg10 = (PyObject *) NULL ;
19392 wxToolBarToolBase *result;
19393 bool temp4 = false ;
19394 bool temp8 = false ;
19395 bool temp9 = false ;
19396 PyObject * obj0 = 0 ;
19397 PyObject * obj1 = 0 ;
19398 PyObject * obj2 = 0 ;
19399 PyObject * obj3 = 0 ;
19400 PyObject * obj4 = 0 ;
19401 PyObject * obj5 = 0 ;
19402 PyObject * obj6 = 0 ;
19403 PyObject * obj7 = 0 ;
19404 PyObject * obj8 = 0 ;
19405 PyObject * obj9 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19412 if (SWIG_arg_fail(1)) SWIG_fail;
19413 {
19414 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19415 if (SWIG_arg_fail(2)) SWIG_fail;
19416 }
19417 {
19418 arg3 = static_cast<int >(SWIG_As_int(obj2));
19419 if (SWIG_arg_fail(3)) SWIG_fail;
19420 }
19421 {
19422 arg4 = wxString_in_helper(obj3);
19423 if (arg4 == NULL) SWIG_fail;
19424 temp4 = true;
19425 }
19426 {
19427 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19428 if (SWIG_arg_fail(5)) SWIG_fail;
19429 if (arg5 == NULL) {
19430 SWIG_null_ref("wxBitmap");
19431 }
19432 if (SWIG_arg_fail(5)) SWIG_fail;
19433 }
19434 if (obj5) {
19435 {
19436 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19437 if (SWIG_arg_fail(6)) SWIG_fail;
19438 if (arg6 == NULL) {
19439 SWIG_null_ref("wxBitmap");
19440 }
19441 if (SWIG_arg_fail(6)) SWIG_fail;
19442 }
19443 }
19444 if (obj6) {
19445 {
19446 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
19447 if (SWIG_arg_fail(7)) SWIG_fail;
19448 }
19449 }
19450 if (obj7) {
19451 {
19452 arg8 = wxString_in_helper(obj7);
19453 if (arg8 == NULL) SWIG_fail;
19454 temp8 = true;
19455 }
19456 }
19457 if (obj8) {
19458 {
19459 arg9 = wxString_in_helper(obj8);
19460 if (arg9 == NULL) SWIG_fail;
19461 temp9 = true;
19462 }
19463 }
19464 if (obj9) {
19465 arg10 = obj9;
19466 }
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 {
19475 resultobj = wxPyMake_wxObject(result, 0);
19476 }
19477 {
19478 if (temp4)
19479 delete arg4;
19480 }
19481 {
19482 if (temp8)
19483 delete arg8;
19484 }
19485 {
19486 if (temp9)
19487 delete arg9;
19488 }
19489 return resultobj;
19490 fail:
19491 {
19492 if (temp4)
19493 delete arg4;
19494 }
19495 {
19496 if (temp8)
19497 delete arg8;
19498 }
19499 {
19500 if (temp9)
19501 delete arg9;
19502 }
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj = NULL;
19509 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19510 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19511 wxToolBarToolBase *result;
19512 PyObject * obj0 = 0 ;
19513 PyObject * obj1 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self",(char *) "tool", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail;
19521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19522 if (SWIG_arg_fail(2)) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 {
19531 resultobj = wxPyMake_wxObject(result, 0);
19532 }
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj = NULL;
19541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19542 size_t arg2 ;
19543 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19544 wxToolBarToolBase *result;
19545 PyObject * obj0 = 0 ;
19546 PyObject * obj1 = 0 ;
19547 PyObject * obj2 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self",(char *) "pos",(char *) "tool", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19554 if (SWIG_arg_fail(1)) SWIG_fail;
19555 {
19556 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19557 if (SWIG_arg_fail(2)) SWIG_fail;
19558 }
19559 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19560 if (SWIG_arg_fail(3)) SWIG_fail;
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 {
19569 resultobj = wxPyMake_wxObject(result, 0);
19570 }
19571 return resultobj;
19572 fail:
19573 return NULL;
19574 }
19575
19576
19577 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19578 PyObject *resultobj = NULL;
19579 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19580 wxControl *arg2 = (wxControl *) 0 ;
19581 wxToolBarToolBase *result;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "control", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19590 if (SWIG_arg_fail(1)) SWIG_fail;
19591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19592 if (SWIG_arg_fail(2)) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 {
19601 resultobj = wxPyMake_wxObject(result, 0);
19602 }
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj = NULL;
19611 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19612 size_t arg2 ;
19613 wxControl *arg3 = (wxControl *) 0 ;
19614 wxToolBarToolBase *result;
19615 PyObject * obj0 = 0 ;
19616 PyObject * obj1 = 0 ;
19617 PyObject * obj2 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self",(char *) "pos",(char *) "control", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19624 if (SWIG_arg_fail(1)) SWIG_fail;
19625 {
19626 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19627 if (SWIG_arg_fail(2)) SWIG_fail;
19628 }
19629 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(3)) SWIG_fail;
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 {
19639 resultobj = wxPyMake_wxObject(result, 0);
19640 }
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj = NULL;
19649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19650 int arg2 ;
19651 wxControl *result;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self",(char *) "id", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail;
19661 {
19662 arg2 = static_cast<int >(SWIG_As_int(obj1));
19663 if (SWIG_arg_fail(2)) SWIG_fail;
19664 }
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = (wxControl *)(arg1)->FindControl(arg2);
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 {
19673 resultobj = wxPyMake_wxObject(result, 0);
19674 }
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19682 PyObject *resultobj = NULL;
19683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19684 wxToolBarToolBase *result;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(1)) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = wxPyMake_wxObject(result, 0);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj = NULL;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 size_t arg2 ;
19713 wxToolBarToolBase *result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "pos", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 {
19724 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19725 if (SWIG_arg_fail(2)) SWIG_fail;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 resultobj = wxPyMake_wxObject(result, 0);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj = NULL;
19745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19746 int arg2 ;
19747 wxToolBarToolBase *result;
19748 PyObject * obj0 = 0 ;
19749 PyObject * obj1 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "id", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail;
19757 {
19758 arg2 = static_cast<int >(SWIG_As_int(obj1));
19759 if (SWIG_arg_fail(2)) SWIG_fail;
19760 }
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 {
19769 resultobj = wxPyMake_wxObject(result, 0);
19770 }
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj = NULL;
19779 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19780 size_t arg2 ;
19781 bool result;
19782 PyObject * obj0 = 0 ;
19783 PyObject * obj1 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "pos", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
19791 {
19792 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19793 if (SWIG_arg_fail(2)) SWIG_fail;
19794 }
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = (bool)(arg1)->DeleteToolByPos(arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 {
19803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19804 }
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj = NULL;
19813 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19814 int arg2 ;
19815 bool result;
19816 PyObject * obj0 = 0 ;
19817 PyObject * obj1 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self",(char *) "id", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail;
19825 {
19826 arg2 = static_cast<int >(SWIG_As_int(obj1));
19827 if (SWIG_arg_fail(2)) SWIG_fail;
19828 }
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (bool)(arg1)->DeleteTool(arg2);
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842 }
19843
19844
19845 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj = NULL;
19847 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19855 if (SWIG_arg_fail(1)) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 (arg1)->ClearTools();
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 Py_INCREF(Py_None); resultobj = Py_None;
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj = NULL;
19872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19873 bool result;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail;
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)(arg1)->Realize();
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
19890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj = NULL;
19900 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19901 int arg2 ;
19902 bool arg3 ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 PyObject * obj2 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "id",(char *) "enable", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19912 if (SWIG_arg_fail(1)) SWIG_fail;
19913 {
19914 arg2 = static_cast<int >(SWIG_As_int(obj1));
19915 if (SWIG_arg_fail(2)) SWIG_fail;
19916 }
19917 {
19918 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19919 if (SWIG_arg_fail(3)) SWIG_fail;
19920 }
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 (arg1)->EnableTool(arg2,arg3);
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 Py_INCREF(Py_None); resultobj = Py_None;
19929 return resultobj;
19930 fail:
19931 return NULL;
19932 }
19933
19934
19935 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj = NULL;
19937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19938 int arg2 ;
19939 bool arg3 ;
19940 PyObject * obj0 = 0 ;
19941 PyObject * obj1 = 0 ;
19942 PyObject * obj2 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self",(char *) "id",(char *) "toggle", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail;
19950 {
19951 arg2 = static_cast<int >(SWIG_As_int(obj1));
19952 if (SWIG_arg_fail(2)) SWIG_fail;
19953 }
19954 {
19955 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19956 if (SWIG_arg_fail(3)) SWIG_fail;
19957 }
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 (arg1)->ToggleTool(arg2,arg3);
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 Py_INCREF(Py_None); resultobj = Py_None;
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj = NULL;
19974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19975 int arg2 ;
19976 bool arg3 ;
19977 PyObject * obj0 = 0 ;
19978 PyObject * obj1 = 0 ;
19979 PyObject * obj2 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self",(char *) "id",(char *) "toggle", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
19985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19986 if (SWIG_arg_fail(1)) SWIG_fail;
19987 {
19988 arg2 = static_cast<int >(SWIG_As_int(obj1));
19989 if (SWIG_arg_fail(2)) SWIG_fail;
19990 }
19991 {
19992 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19993 if (SWIG_arg_fail(3)) SWIG_fail;
19994 }
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 (arg1)->SetToggle(arg2,arg3);
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 Py_INCREF(Py_None); resultobj = Py_None;
20003 return resultobj;
20004 fail:
20005 return NULL;
20006 }
20007
20008
20009 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj = NULL;
20011 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20012 int arg2 ;
20013 PyObject *result;
20014 PyObject * obj0 = 0 ;
20015 PyObject * obj1 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "id", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 arg2 = static_cast<int >(SWIG_As_int(obj1));
20025 if (SWIG_arg_fail(2)) SWIG_fail;
20026 }
20027 {
20028 PyThreadState* __tstate = wxPyBeginAllowThreads();
20029 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20030
20031 wxPyEndAllowThreads(__tstate);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 }
20034 resultobj = result;
20035 return resultobj;
20036 fail:
20037 return NULL;
20038 }
20039
20040
20041 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20042 PyObject *resultobj = NULL;
20043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20044 int arg2 ;
20045 PyObject *arg3 = (PyObject *) 0 ;
20046 PyObject * obj0 = 0 ;
20047 PyObject * obj1 = 0 ;
20048 PyObject * obj2 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self",(char *) "id",(char *) "clientData", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail;
20056 {
20057 arg2 = static_cast<int >(SWIG_As_int(obj1));
20058 if (SWIG_arg_fail(2)) SWIG_fail;
20059 }
20060 arg3 = obj2;
20061 {
20062 PyThreadState* __tstate = wxPyBeginAllowThreads();
20063 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20064
20065 wxPyEndAllowThreads(__tstate);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 }
20068 Py_INCREF(Py_None); resultobj = Py_None;
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj = NULL;
20077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20078 int arg2 ;
20079 int result;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 char *kwnames[] = {
20083 (char *) "self",(char *) "id", NULL
20084 };
20085
20086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20088 if (SWIG_arg_fail(1)) SWIG_fail;
20089 {
20090 arg2 = static_cast<int >(SWIG_As_int(obj1));
20091 if (SWIG_arg_fail(2)) SWIG_fail;
20092 }
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 {
20101 resultobj = SWIG_From_int(static_cast<int >(result));
20102 }
20103 return resultobj;
20104 fail:
20105 return NULL;
20106 }
20107
20108
20109 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20110 PyObject *resultobj = NULL;
20111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20112 int arg2 ;
20113 bool result;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 char *kwnames[] = {
20117 (char *) "self",(char *) "id", NULL
20118 };
20119
20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail;
20123 {
20124 arg2 = static_cast<int >(SWIG_As_int(obj1));
20125 if (SWIG_arg_fail(2)) SWIG_fail;
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (bool)(arg1)->GetToolState(arg2);
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 {
20135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20136 }
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj = NULL;
20145 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20146 int arg2 ;
20147 bool result;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self",(char *) "id", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20156 if (SWIG_arg_fail(1)) SWIG_fail;
20157 {
20158 arg2 = static_cast<int >(SWIG_As_int(obj1));
20159 if (SWIG_arg_fail(2)) SWIG_fail;
20160 }
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = (bool)(arg1)->GetToolEnabled(arg2);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 {
20169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20170 }
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj = NULL;
20179 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20180 int arg2 ;
20181 wxString *arg3 = 0 ;
20182 bool temp3 = false ;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 PyObject * obj2 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self",(char *) "id",(char *) "helpString", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20192 if (SWIG_arg_fail(1)) SWIG_fail;
20193 {
20194 arg2 = static_cast<int >(SWIG_As_int(obj1));
20195 if (SWIG_arg_fail(2)) SWIG_fail;
20196 }
20197 {
20198 arg3 = wxString_in_helper(obj2);
20199 if (arg3 == NULL) SWIG_fail;
20200 temp3 = true;
20201 }
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 Py_INCREF(Py_None); resultobj = Py_None;
20210 {
20211 if (temp3)
20212 delete arg3;
20213 }
20214 return resultobj;
20215 fail:
20216 {
20217 if (temp3)
20218 delete arg3;
20219 }
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj = NULL;
20226 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20227 int arg2 ;
20228 wxString result;
20229 PyObject * obj0 = 0 ;
20230 PyObject * obj1 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self",(char *) "id", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail;
20238 {
20239 arg2 = static_cast<int >(SWIG_As_int(obj1));
20240 if (SWIG_arg_fail(2)) SWIG_fail;
20241 }
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = (arg1)->GetToolShortHelp(arg2);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 {
20250 #if wxUSE_UNICODE
20251 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20252 #else
20253 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20254 #endif
20255 }
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj = NULL;
20264 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20265 int arg2 ;
20266 wxString *arg3 = 0 ;
20267 bool temp3 = false ;
20268 PyObject * obj0 = 0 ;
20269 PyObject * obj1 = 0 ;
20270 PyObject * obj2 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self",(char *) "id",(char *) "helpString", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20277 if (SWIG_arg_fail(1)) SWIG_fail;
20278 {
20279 arg2 = static_cast<int >(SWIG_As_int(obj1));
20280 if (SWIG_arg_fail(2)) SWIG_fail;
20281 }
20282 {
20283 arg3 = wxString_in_helper(obj2);
20284 if (arg3 == NULL) SWIG_fail;
20285 temp3 = true;
20286 }
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 Py_INCREF(Py_None); resultobj = Py_None;
20295 {
20296 if (temp3)
20297 delete arg3;
20298 }
20299 return resultobj;
20300 fail:
20301 {
20302 if (temp3)
20303 delete arg3;
20304 }
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj = NULL;
20311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20312 int arg2 ;
20313 wxString result;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "id", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail;
20323 {
20324 arg2 = static_cast<int >(SWIG_As_int(obj1));
20325 if (SWIG_arg_fail(2)) SWIG_fail;
20326 }
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 result = (arg1)->GetToolLongHelp(arg2);
20330
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 {
20335 #if wxUSE_UNICODE
20336 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20337 #else
20338 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20339 #endif
20340 }
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj = NULL;
20349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20350 int arg2 ;
20351 int arg3 ;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 PyObject * obj2 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "x",(char *) "y", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail;
20362 {
20363 arg2 = static_cast<int >(SWIG_As_int(obj1));
20364 if (SWIG_arg_fail(2)) SWIG_fail;
20365 }
20366 {
20367 arg3 = static_cast<int >(SWIG_As_int(obj2));
20368 if (SWIG_arg_fail(3)) SWIG_fail;
20369 }
20370 {
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 (arg1)->SetMargins(arg2,arg3);
20373
20374 wxPyEndAllowThreads(__tstate);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 Py_INCREF(Py_None); resultobj = Py_None;
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20385 PyObject *resultobj = NULL;
20386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20387 wxSize *arg2 = 0 ;
20388 wxSize temp2 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self",(char *) "size", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail;
20398 {
20399 arg2 = &temp2;
20400 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20401 }
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 (arg1)->SetMargins((wxSize const &)*arg2);
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 Py_INCREF(Py_None); resultobj = Py_None;
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj = NULL;
20418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20419 int arg2 ;
20420 PyObject * obj0 = 0 ;
20421 PyObject * obj1 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self",(char *) "packing", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail;
20429 {
20430 arg2 = static_cast<int >(SWIG_As_int(obj1));
20431 if (SWIG_arg_fail(2)) SWIG_fail;
20432 }
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 (arg1)->SetToolPacking(arg2);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 Py_INCREF(Py_None); resultobj = Py_None;
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj = NULL;
20449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20450 int arg2 ;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "separation", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail;
20460 {
20461 arg2 = static_cast<int >(SWIG_As_int(obj1));
20462 if (SWIG_arg_fail(2)) SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetToolSeparation(arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj = NULL;
20480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20481 wxSize result;
20482 PyObject * obj0 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20489 if (SWIG_arg_fail(1)) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 result = (arg1)->GetToolMargins();
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 {
20498 wxSize * resultptr;
20499 resultptr = new wxSize(static_cast<wxSize & >(result));
20500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20501 }
20502 return resultobj;
20503 fail:
20504 return NULL;
20505 }
20506
20507
20508 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20509 PyObject *resultobj = NULL;
20510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20511 wxSize result;
20512 PyObject * obj0 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20519 if (SWIG_arg_fail(1)) SWIG_fail;
20520 {
20521 PyThreadState* __tstate = wxPyBeginAllowThreads();
20522 result = (arg1)->GetMargins();
20523
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 {
20528 wxSize * resultptr;
20529 resultptr = new wxSize(static_cast<wxSize & >(result));
20530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20531 }
20532 return resultobj;
20533 fail:
20534 return NULL;
20535 }
20536
20537
20538 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20539 PyObject *resultobj = NULL;
20540 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20541 int result;
20542 PyObject * obj0 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20549 if (SWIG_arg_fail(1)) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 result = (int)(arg1)->GetToolPacking();
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 {
20558 resultobj = SWIG_From_int(static_cast<int >(result));
20559 }
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj = NULL;
20568 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20569 int result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20577 if (SWIG_arg_fail(1)) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (int)(arg1)->GetToolSeparation();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 resultobj = SWIG_From_int(static_cast<int >(result));
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591 }
20592
20593
20594 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj = NULL;
20596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20597 int arg2 ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self",(char *) "nRows", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail;
20607 {
20608 arg2 = static_cast<int >(SWIG_As_int(obj1));
20609 if (SWIG_arg_fail(2)) SWIG_fail;
20610 }
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->SetRows(arg2);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 return resultobj;
20620 fail:
20621 return NULL;
20622 }
20623
20624
20625 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj = NULL;
20627 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20628 int arg2 ;
20629 int arg3 ;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632 PyObject * obj2 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "rows",(char *) "cols", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail;
20640 {
20641 arg2 = static_cast<int >(SWIG_As_int(obj1));
20642 if (SWIG_arg_fail(2)) SWIG_fail;
20643 }
20644 {
20645 arg3 = static_cast<int >(SWIG_As_int(obj2));
20646 if (SWIG_arg_fail(3)) SWIG_fail;
20647 }
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->SetMaxRowsCols(arg2,arg3);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj = NULL;
20664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20665 int result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (int)(arg1)->GetMaxRows();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 {
20682 resultobj = SWIG_From_int(static_cast<int >(result));
20683 }
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj = NULL;
20692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20693 int result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (int)(arg1)->GetMaxCols();
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 resultobj = SWIG_From_int(static_cast<int >(result));
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj = NULL;
20720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20721 wxSize *arg2 = 0 ;
20722 wxSize temp2 ;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self",(char *) "size", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail;
20732 {
20733 arg2 = &temp2;
20734 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20735 }
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 Py_INCREF(Py_None); resultobj = Py_None;
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj = NULL;
20752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20753 wxSize result;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20761 if (SWIG_arg_fail(1)) SWIG_fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (arg1)->GetToolBitmapSize();
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 {
20770 wxSize * resultptr;
20771 resultptr = new wxSize(static_cast<wxSize & >(result));
20772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20773 }
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj = NULL;
20782 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20783 wxSize result;
20784 PyObject * obj0 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20791 if (SWIG_arg_fail(1)) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 result = (arg1)->GetToolSize();
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 {
20800 wxSize * resultptr;
20801 resultptr = new wxSize(static_cast<wxSize & >(result));
20802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20803 }
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj = NULL;
20812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20813 int arg2 ;
20814 int arg3 ;
20815 wxToolBarToolBase *result;
20816 PyObject * obj0 = 0 ;
20817 PyObject * obj1 = 0 ;
20818 PyObject * obj2 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self",(char *) "x",(char *) "y", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20825 if (SWIG_arg_fail(1)) SWIG_fail;
20826 {
20827 arg2 = static_cast<int >(SWIG_As_int(obj1));
20828 if (SWIG_arg_fail(2)) SWIG_fail;
20829 }
20830 {
20831 arg3 = static_cast<int >(SWIG_As_int(obj2));
20832 if (SWIG_arg_fail(3)) SWIG_fail;
20833 }
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20837
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 {
20842 resultobj = wxPyMake_wxObject(result, 0);
20843 }
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj = NULL;
20852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20853 int arg2 ;
20854 wxToolBarToolBase *result;
20855 PyObject * obj0 = 0 ;
20856 PyObject * obj1 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self",(char *) "toolid", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail;
20864 {
20865 arg2 = static_cast<int >(SWIG_As_int(obj1));
20866 if (SWIG_arg_fail(2)) SWIG_fail;
20867 }
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20871
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 {
20876 resultobj = wxPyMake_wxObject(result, 0);
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj = NULL;
20886 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20887 bool result;
20888 PyObject * obj0 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "self", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail;
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (bool)(arg1)->IsVertical();
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20913 PyObject *obj;
20914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20916 Py_INCREF(obj);
20917 return Py_BuildValue((char *)"");
20918 }
20919 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj = NULL;
20921 wxWindow *arg1 = (wxWindow *) 0 ;
20922 int arg2 = (int) -1 ;
20923 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20924 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20925 wxSize const &arg4_defvalue = wxDefaultSize ;
20926 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20927 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20928 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20929 wxString *arg6 = (wxString *) &arg6_defvalue ;
20930 wxToolBar *result;
20931 wxPoint temp3 ;
20932 wxSize temp4 ;
20933 bool temp6 = false ;
20934 PyObject * obj0 = 0 ;
20935 PyObject * obj1 = 0 ;
20936 PyObject * obj2 = 0 ;
20937 PyObject * obj3 = 0 ;
20938 PyObject * obj4 = 0 ;
20939 PyObject * obj5 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20946 if (SWIG_arg_fail(1)) SWIG_fail;
20947 if (obj1) {
20948 {
20949 arg2 = static_cast<int >(SWIG_As_int(obj1));
20950 if (SWIG_arg_fail(2)) SWIG_fail;
20951 }
20952 }
20953 if (obj2) {
20954 {
20955 arg3 = &temp3;
20956 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20957 }
20958 }
20959 if (obj3) {
20960 {
20961 arg4 = &temp4;
20962 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20963 }
20964 }
20965 if (obj4) {
20966 {
20967 arg5 = static_cast<long >(SWIG_As_long(obj4));
20968 if (SWIG_arg_fail(5)) SWIG_fail;
20969 }
20970 }
20971 if (obj5) {
20972 {
20973 arg6 = wxString_in_helper(obj5);
20974 if (arg6 == NULL) SWIG_fail;
20975 temp6 = true;
20976 }
20977 }
20978 {
20979 if (!wxPyCheckForApp()) SWIG_fail;
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
20987 {
20988 if (temp6)
20989 delete arg6;
20990 }
20991 return resultobj;
20992 fail:
20993 {
20994 if (temp6)
20995 delete arg6;
20996 }
20997 return NULL;
20998 }
20999
21000
21001 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21002 PyObject *resultobj = NULL;
21003 wxToolBar *result;
21004 char *kwnames[] = {
21005 NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21009 {
21010 if (!wxPyCheckForApp()) SWIG_fail;
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxToolBar *)new wxToolBar();
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21018 return resultobj;
21019 fail:
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj = NULL;
21026 wxToolBar *arg1 = (wxToolBar *) 0 ;
21027 wxWindow *arg2 = (wxWindow *) 0 ;
21028 int arg3 = (int) -1 ;
21029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21031 wxSize const &arg5_defvalue = wxDefaultSize ;
21032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21033 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21034 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21035 wxString *arg7 = (wxString *) &arg7_defvalue ;
21036 bool result;
21037 wxPoint temp4 ;
21038 wxSize temp5 ;
21039 bool temp7 = false ;
21040 PyObject * obj0 = 0 ;
21041 PyObject * obj1 = 0 ;
21042 PyObject * obj2 = 0 ;
21043 PyObject * obj3 = 0 ;
21044 PyObject * obj4 = 0 ;
21045 PyObject * obj5 = 0 ;
21046 PyObject * obj6 = 0 ;
21047 char *kwnames[] = {
21048 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail;
21054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21055 if (SWIG_arg_fail(2)) SWIG_fail;
21056 if (obj2) {
21057 {
21058 arg3 = static_cast<int >(SWIG_As_int(obj2));
21059 if (SWIG_arg_fail(3)) SWIG_fail;
21060 }
21061 }
21062 if (obj3) {
21063 {
21064 arg4 = &temp4;
21065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21066 }
21067 }
21068 if (obj4) {
21069 {
21070 arg5 = &temp5;
21071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21072 }
21073 }
21074 if (obj5) {
21075 {
21076 arg6 = static_cast<long >(SWIG_As_long(obj5));
21077 if (SWIG_arg_fail(6)) SWIG_fail;
21078 }
21079 }
21080 if (obj6) {
21081 {
21082 arg7 = wxString_in_helper(obj6);
21083 if (arg7 == NULL) SWIG_fail;
21084 temp7 = true;
21085 }
21086 }
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 {
21095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21096 }
21097 {
21098 if (temp7)
21099 delete arg7;
21100 }
21101 return resultobj;
21102 fail:
21103 {
21104 if (temp7)
21105 delete arg7;
21106 }
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj = NULL;
21113 wxToolBar *arg1 = (wxToolBar *) 0 ;
21114 int arg2 ;
21115 int arg3 ;
21116 wxToolBarToolBase *result;
21117 PyObject * obj0 = 0 ;
21118 PyObject * obj1 = 0 ;
21119 PyObject * obj2 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "x",(char *) "y", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail;
21127 {
21128 arg2 = static_cast<int >(SWIG_As_int(obj1));
21129 if (SWIG_arg_fail(2)) SWIG_fail;
21130 }
21131 {
21132 arg3 = static_cast<int >(SWIG_As_int(obj2));
21133 if (SWIG_arg_fail(3)) SWIG_fail;
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 {
21143 resultobj = wxPyMake_wxObject(result, 0);
21144 }
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj = NULL;
21153 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21154 wxVisualAttributes result;
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "variant", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21161 if (obj0) {
21162 {
21163 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
21164 if (SWIG_arg_fail(1)) SWIG_fail;
21165 }
21166 }
21167 {
21168 if (!wxPyCheckForApp()) SWIG_fail;
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = wxToolBar::GetClassDefaultAttributes(arg1);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 {
21176 wxVisualAttributes * resultptr;
21177 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
21178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21179 }
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21187 PyObject *obj;
21188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21189 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21190 Py_INCREF(obj);
21191 return Py_BuildValue((char *)"");
21192 }
21193 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21194 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21195 return 1;
21196 }
21197
21198
21199 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21200 PyObject *pyobj = NULL;
21201
21202 {
21203 #if wxUSE_UNICODE
21204 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21205 #else
21206 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21207 #endif
21208 }
21209 return pyobj;
21210 }
21211
21212
21213 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj = NULL;
21215 wxColour const &arg1_defvalue = wxNullColour ;
21216 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21217 wxColour const &arg2_defvalue = wxNullColour ;
21218 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21219 wxFont const &arg3_defvalue = wxNullFont ;
21220 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21221 wxListItemAttr *result;
21222 wxColour temp1 ;
21223 wxColour temp2 ;
21224 PyObject * obj0 = 0 ;
21225 PyObject * obj1 = 0 ;
21226 PyObject * obj2 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21232 if (obj0) {
21233 {
21234 arg1 = &temp1;
21235 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21236 }
21237 }
21238 if (obj1) {
21239 {
21240 arg2 = &temp2;
21241 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21242 }
21243 }
21244 if (obj2) {
21245 {
21246 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21247 if (SWIG_arg_fail(3)) SWIG_fail;
21248 if (arg3 == NULL) {
21249 SWIG_null_ref("wxFont");
21250 }
21251 if (SWIG_arg_fail(3)) SWIG_fail;
21252 }
21253 }
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21262 return resultobj;
21263 fail:
21264 return NULL;
21265 }
21266
21267
21268 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21269 PyObject *resultobj = NULL;
21270 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21271 wxColour *arg2 = 0 ;
21272 wxColour temp2 ;
21273 PyObject * obj0 = 0 ;
21274 PyObject * obj1 = 0 ;
21275 char *kwnames[] = {
21276 (char *) "self",(char *) "colText", NULL
21277 };
21278
21279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail;
21282 {
21283 arg2 = &temp2;
21284 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21285 }
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 (arg1)->SetTextColour((wxColour const &)*arg2);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj = NULL;
21302 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21303 wxColour *arg2 = 0 ;
21304 wxColour temp2 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "colBack", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail;
21314 {
21315 arg2 = &temp2;
21316 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj = NULL;
21334 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21335 wxFont *arg2 = 0 ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "font", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail;
21345 {
21346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(2)) SWIG_fail;
21348 if (arg2 == NULL) {
21349 SWIG_null_ref("wxFont");
21350 }
21351 if (SWIG_arg_fail(2)) SWIG_fail;
21352 }
21353 {
21354 PyThreadState* __tstate = wxPyBeginAllowThreads();
21355 (arg1)->SetFont((wxFont const &)*arg2);
21356
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 Py_INCREF(Py_None); resultobj = Py_None;
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj = NULL;
21369 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21378 if (SWIG_arg_fail(1)) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (bool)(arg1)->HasTextColour();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21388 }
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj = NULL;
21397 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21398 bool result;
21399 PyObject * obj0 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (bool)(arg1)->HasBackgroundColour();
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 {
21415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21416 }
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj = NULL;
21425 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21426 bool result;
21427 PyObject * obj0 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21434 if (SWIG_arg_fail(1)) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 result = (bool)(arg1)->HasFont();
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 }
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj = NULL;
21453 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21454 wxColour result;
21455 PyObject * obj0 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (arg1)->GetTextColour();
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 {
21471 wxColour * resultptr;
21472 resultptr = new wxColour(static_cast<wxColour & >(result));
21473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21474 }
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj = NULL;
21483 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21484 wxColour result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (arg1)->GetBackgroundColour();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 wxColour * resultptr;
21502 resultptr = new wxColour(static_cast<wxColour & >(result));
21503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21504 }
21505 return resultobj;
21506 fail:
21507 return NULL;
21508 }
21509
21510
21511 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj = NULL;
21513 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21514 wxFont result;
21515 PyObject * obj0 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21522 if (SWIG_arg_fail(1)) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (arg1)->GetFont();
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 {
21531 wxFont * resultptr;
21532 resultptr = new wxFont(static_cast<wxFont & >(result));
21533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj = NULL;
21543 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 wxListItemAttr_Destroy(arg1);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 Py_INCREF(Py_None); resultobj = Py_None;
21560 return resultobj;
21561 fail:
21562 return NULL;
21563 }
21564
21565
21566 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21567 PyObject *obj;
21568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21569 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21570 Py_INCREF(obj);
21571 return Py_BuildValue((char *)"");
21572 }
21573 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj = NULL;
21575 wxListItem *result;
21576 char *kwnames[] = {
21577 NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 result = (wxListItem *)new wxListItem();
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 {
21589 resultobj = wxPyMake_wxObject(result, 1);
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj = NULL;
21599 wxListItem *arg1 = (wxListItem *) 0 ;
21600 PyObject * obj0 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21607 if (SWIG_arg_fail(1)) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 delete arg1;
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 Py_INCREF(Py_None); resultobj = Py_None;
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj = NULL;
21624 wxListItem *arg1 = (wxListItem *) 0 ;
21625 PyObject * obj0 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->Clear();
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 Py_INCREF(Py_None); resultobj = Py_None;
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj = NULL;
21649 wxListItem *arg1 = (wxListItem *) 0 ;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21657 if (SWIG_arg_fail(1)) SWIG_fail;
21658 {
21659 PyThreadState* __tstate = wxPyBeginAllowThreads();
21660 (arg1)->ClearAttributes();
21661
21662 wxPyEndAllowThreads(__tstate);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 Py_INCREF(Py_None); resultobj = Py_None;
21666 return resultobj;
21667 fail:
21668 return NULL;
21669 }
21670
21671
21672 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21673 PyObject *resultobj = NULL;
21674 wxListItem *arg1 = (wxListItem *) 0 ;
21675 long arg2 ;
21676 PyObject * obj0 = 0 ;
21677 PyObject * obj1 = 0 ;
21678 char *kwnames[] = {
21679 (char *) "self",(char *) "mask", NULL
21680 };
21681
21682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail;
21685 {
21686 arg2 = static_cast<long >(SWIG_As_long(obj1));
21687 if (SWIG_arg_fail(2)) SWIG_fail;
21688 }
21689 {
21690 PyThreadState* __tstate = wxPyBeginAllowThreads();
21691 (arg1)->SetMask(arg2);
21692
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 Py_INCREF(Py_None); resultobj = Py_None;
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj = NULL;
21705 wxListItem *arg1 = (wxListItem *) 0 ;
21706 long arg2 ;
21707 PyObject * obj0 = 0 ;
21708 PyObject * obj1 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self",(char *) "id", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail;
21716 {
21717 arg2 = static_cast<long >(SWIG_As_long(obj1));
21718 if (SWIG_arg_fail(2)) SWIG_fail;
21719 }
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 (arg1)->SetId(arg2);
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj = NULL;
21736 wxListItem *arg1 = (wxListItem *) 0 ;
21737 int arg2 ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "col", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
21747 {
21748 arg2 = static_cast<int >(SWIG_As_int(obj1));
21749 if (SWIG_arg_fail(2)) SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->SetColumn(arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj = NULL;
21767 wxListItem *arg1 = (wxListItem *) 0 ;
21768 long arg2 ;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "state", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail;
21778 {
21779 arg2 = static_cast<long >(SWIG_As_long(obj1));
21780 if (SWIG_arg_fail(2)) SWIG_fail;
21781 }
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->SetState(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj = NULL;
21798 wxListItem *arg1 = (wxListItem *) 0 ;
21799 long arg2 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "stateMask", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail;
21809 {
21810 arg2 = static_cast<long >(SWIG_As_long(obj1));
21811 if (SWIG_arg_fail(2)) SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->SetStateMask(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj = NULL;
21829 wxListItem *arg1 = (wxListItem *) 0 ;
21830 wxString *arg2 = 0 ;
21831 bool temp2 = false ;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "text", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail;
21841 {
21842 arg2 = wxString_in_helper(obj1);
21843 if (arg2 == NULL) SWIG_fail;
21844 temp2 = true;
21845 }
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 (arg1)->SetText((wxString const &)*arg2);
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 Py_INCREF(Py_None); resultobj = Py_None;
21854 {
21855 if (temp2)
21856 delete arg2;
21857 }
21858 return resultobj;
21859 fail:
21860 {
21861 if (temp2)
21862 delete arg2;
21863 }
21864 return NULL;
21865 }
21866
21867
21868 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj = NULL;
21870 wxListItem *arg1 = (wxListItem *) 0 ;
21871 int arg2 ;
21872 PyObject * obj0 = 0 ;
21873 PyObject * obj1 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "image", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21880 if (SWIG_arg_fail(1)) SWIG_fail;
21881 {
21882 arg2 = static_cast<int >(SWIG_As_int(obj1));
21883 if (SWIG_arg_fail(2)) SWIG_fail;
21884 }
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 (arg1)->SetImage(arg2);
21888
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 Py_INCREF(Py_None); resultobj = Py_None;
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21900 PyObject *resultobj = NULL;
21901 wxListItem *arg1 = (wxListItem *) 0 ;
21902 long arg2 ;
21903 PyObject * obj0 = 0 ;
21904 PyObject * obj1 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self",(char *) "data", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail;
21912 {
21913 arg2 = static_cast<long >(SWIG_As_long(obj1));
21914 if (SWIG_arg_fail(2)) SWIG_fail;
21915 }
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 (arg1)->SetData(arg2);
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 Py_INCREF(Py_None); resultobj = Py_None;
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj = NULL;
21932 wxListItem *arg1 = (wxListItem *) 0 ;
21933 int arg2 ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "width", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
21941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail;
21943 {
21944 arg2 = static_cast<int >(SWIG_As_int(obj1));
21945 if (SWIG_arg_fail(2)) SWIG_fail;
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->SetWidth(arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj = NULL;
21963 wxListItem *arg1 = (wxListItem *) 0 ;
21964 wxListColumnFormat arg2 ;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "align", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
21972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail;
21974 {
21975 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
21976 if (SWIG_arg_fail(2)) SWIG_fail;
21977 }
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetAlign(arg2);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj = NULL;
21994 wxListItem *arg1 = (wxListItem *) 0 ;
21995 wxColour *arg2 = 0 ;
21996 wxColour temp2 ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "colText", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail;
22006 {
22007 arg2 = &temp2;
22008 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22009 }
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 (arg1)->SetTextColour((wxColour const &)*arg2);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 Py_INCREF(Py_None); resultobj = Py_None;
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = NULL;
22026 wxListItem *arg1 = (wxListItem *) 0 ;
22027 wxColour *arg2 = 0 ;
22028 wxColour temp2 ;
22029 PyObject * obj0 = 0 ;
22030 PyObject * obj1 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "colBack", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail;
22038 {
22039 arg2 = &temp2;
22040 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22041 }
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 Py_INCREF(Py_None); resultobj = Py_None;
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj = NULL;
22058 wxListItem *arg1 = (wxListItem *) 0 ;
22059 wxFont *arg2 = 0 ;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "font", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail;
22069 {
22070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(2)) SWIG_fail;
22072 if (arg2 == NULL) {
22073 SWIG_null_ref("wxFont");
22074 }
22075 if (SWIG_arg_fail(2)) SWIG_fail;
22076 }
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 (arg1)->SetFont((wxFont const &)*arg2);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 Py_INCREF(Py_None); resultobj = Py_None;
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj = NULL;
22093 wxListItem *arg1 = (wxListItem *) 0 ;
22094 long result;
22095 PyObject * obj0 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail;
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (long)(arg1)->GetMask();
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 resultobj = SWIG_From_long(static_cast<long >(result));
22112 }
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj = NULL;
22121 wxListItem *arg1 = (wxListItem *) 0 ;
22122 long result;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 result = (long)(arg1)->GetId();
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 {
22139 resultobj = SWIG_From_long(static_cast<long >(result));
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj = NULL;
22149 wxListItem *arg1 = (wxListItem *) 0 ;
22150 int result;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail;
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = (int)(arg1)->GetColumn();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
22167 resultobj = SWIG_From_int(static_cast<int >(result));
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj = NULL;
22177 wxListItem *arg1 = (wxListItem *) 0 ;
22178 long result;
22179 PyObject * obj0 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (long)(arg1)->GetState();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 {
22195 resultobj = SWIG_From_long(static_cast<long >(result));
22196 }
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj = NULL;
22205 wxListItem *arg1 = (wxListItem *) 0 ;
22206 wxString *result;
22207 PyObject * obj0 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail;
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 {
22218 wxString const &_result_ref = (arg1)->GetText();
22219 result = (wxString *) &_result_ref;
22220 }
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 {
22226 #if wxUSE_UNICODE
22227 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22228 #else
22229 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22230 #endif
22231 }
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj = NULL;
22240 wxListItem *arg1 = (wxListItem *) 0 ;
22241 int result;
22242 PyObject * obj0 = 0 ;
22243 char *kwnames[] = {
22244 (char *) "self", NULL
22245 };
22246
22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail;
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 result = (int)(arg1)->GetImage();
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 {
22258 resultobj = SWIG_From_int(static_cast<int >(result));
22259 }
22260 return resultobj;
22261 fail:
22262 return NULL;
22263 }
22264
22265
22266 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj = NULL;
22268 wxListItem *arg1 = (wxListItem *) 0 ;
22269 long result;
22270 PyObject * obj0 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail;
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 result = (long)(arg1)->GetData();
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 {
22286 resultobj = SWIG_From_long(static_cast<long >(result));
22287 }
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj = NULL;
22296 wxListItem *arg1 = (wxListItem *) 0 ;
22297 int result;
22298 PyObject * obj0 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22305 if (SWIG_arg_fail(1)) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (int)(arg1)->GetWidth();
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 {
22314 resultobj = SWIG_From_int(static_cast<int >(result));
22315 }
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj = NULL;
22324 wxListItem *arg1 = (wxListItem *) 0 ;
22325 wxListColumnFormat result;
22326 PyObject * obj0 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22333 if (SWIG_arg_fail(1)) SWIG_fail;
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 result = (wxListColumnFormat)(arg1)->GetAlign();
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 resultobj = SWIG_From_int((result));
22342 return resultobj;
22343 fail:
22344 return NULL;
22345 }
22346
22347
22348 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj = NULL;
22350 wxListItem *arg1 = (wxListItem *) 0 ;
22351 wxListItemAttr *result;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = (wxListItemAttr *)(arg1)->GetAttributes();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj = NULL;
22376 wxListItem *arg1 = (wxListItem *) 0 ;
22377 bool result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail;
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (bool)(arg1)->HasAttributes();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22395 }
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj = NULL;
22404 wxListItem *arg1 = (wxListItem *) 0 ;
22405 wxColour result;
22406 PyObject * obj0 = 0 ;
22407 char *kwnames[] = {
22408 (char *) "self", NULL
22409 };
22410
22411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22413 if (SWIG_arg_fail(1)) SWIG_fail;
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 result = ((wxListItem const *)arg1)->GetTextColour();
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 {
22422 wxColour * resultptr;
22423 resultptr = new wxColour(static_cast<wxColour & >(result));
22424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22425 }
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj = NULL;
22434 wxListItem *arg1 = (wxListItem *) 0 ;
22435 wxColour result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 {
22452 wxColour * resultptr;
22453 resultptr = new wxColour(static_cast<wxColour & >(result));
22454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22455 }
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj = NULL;
22464 wxListItem *arg1 = (wxListItem *) 0 ;
22465 wxFont result;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail;
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 result = ((wxListItem const *)arg1)->GetFont();
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 {
22482 wxFont * resultptr;
22483 resultptr = new wxFont(static_cast<wxFont & >(result));
22484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22485 }
22486 return resultobj;
22487 fail:
22488 return NULL;
22489 }
22490
22491
22492 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22493 PyObject *resultobj = NULL;
22494 wxListItem *arg1 = (wxListItem *) 0 ;
22495 long arg2 ;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "m_mask", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail;
22505 {
22506 arg2 = static_cast<long >(SWIG_As_long(obj1));
22507 if (SWIG_arg_fail(2)) SWIG_fail;
22508 }
22509 if (arg1) (arg1)->m_mask = arg2;
22510
22511 Py_INCREF(Py_None); resultobj = Py_None;
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj = NULL;
22520 wxListItem *arg1 = (wxListItem *) 0 ;
22521 long result;
22522 PyObject * obj0 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail;
22530 result = (long) ((arg1)->m_mask);
22531
22532 {
22533 resultobj = SWIG_From_long(static_cast<long >(result));
22534 }
22535 return resultobj;
22536 fail:
22537 return NULL;
22538 }
22539
22540
22541 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22542 PyObject *resultobj = NULL;
22543 wxListItem *arg1 = (wxListItem *) 0 ;
22544 long arg2 ;
22545 PyObject * obj0 = 0 ;
22546 PyObject * obj1 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self",(char *) "m_itemId", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail;
22554 {
22555 arg2 = static_cast<long >(SWIG_As_long(obj1));
22556 if (SWIG_arg_fail(2)) SWIG_fail;
22557 }
22558 if (arg1) (arg1)->m_itemId = arg2;
22559
22560 Py_INCREF(Py_None); resultobj = Py_None;
22561 return resultobj;
22562 fail:
22563 return NULL;
22564 }
22565
22566
22567 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj = NULL;
22569 wxListItem *arg1 = (wxListItem *) 0 ;
22570 long result;
22571 PyObject * obj0 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail;
22579 result = (long) ((arg1)->m_itemId);
22580
22581 {
22582 resultobj = SWIG_From_long(static_cast<long >(result));
22583 }
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22591 PyObject *resultobj = NULL;
22592 wxListItem *arg1 = (wxListItem *) 0 ;
22593 int arg2 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self",(char *) "m_col", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
22603 {
22604 arg2 = static_cast<int >(SWIG_As_int(obj1));
22605 if (SWIG_arg_fail(2)) SWIG_fail;
22606 }
22607 if (arg1) (arg1)->m_col = arg2;
22608
22609 Py_INCREF(Py_None); resultobj = Py_None;
22610 return resultobj;
22611 fail:
22612 return NULL;
22613 }
22614
22615
22616 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj = NULL;
22618 wxListItem *arg1 = (wxListItem *) 0 ;
22619 int result;
22620 PyObject * obj0 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail;
22628 result = (int) ((arg1)->m_col);
22629
22630 {
22631 resultobj = SWIG_From_int(static_cast<int >(result));
22632 }
22633 return resultobj;
22634 fail:
22635 return NULL;
22636 }
22637
22638
22639 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj = NULL;
22641 wxListItem *arg1 = (wxListItem *) 0 ;
22642 long arg2 ;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self",(char *) "m_state", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail;
22652 {
22653 arg2 = static_cast<long >(SWIG_As_long(obj1));
22654 if (SWIG_arg_fail(2)) SWIG_fail;
22655 }
22656 if (arg1) (arg1)->m_state = arg2;
22657
22658 Py_INCREF(Py_None); resultobj = Py_None;
22659 return resultobj;
22660 fail:
22661 return NULL;
22662 }
22663
22664
22665 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj = NULL;
22667 wxListItem *arg1 = (wxListItem *) 0 ;
22668 long result;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
22677 result = (long) ((arg1)->m_state);
22678
22679 {
22680 resultobj = SWIG_From_long(static_cast<long >(result));
22681 }
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj = NULL;
22690 wxListItem *arg1 = (wxListItem *) 0 ;
22691 long arg2 ;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self",(char *) "m_stateMask", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail;
22701 {
22702 arg2 = static_cast<long >(SWIG_As_long(obj1));
22703 if (SWIG_arg_fail(2)) SWIG_fail;
22704 }
22705 if (arg1) (arg1)->m_stateMask = arg2;
22706
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 return resultobj;
22709 fail:
22710 return NULL;
22711 }
22712
22713
22714 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj = NULL;
22716 wxListItem *arg1 = (wxListItem *) 0 ;
22717 long result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail;
22726 result = (long) ((arg1)->m_stateMask);
22727
22728 {
22729 resultobj = SWIG_From_long(static_cast<long >(result));
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj = NULL;
22739 wxListItem *arg1 = (wxListItem *) 0 ;
22740 wxString *arg2 = (wxString *) 0 ;
22741 bool temp2 = false ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "m_text", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail;
22751 {
22752 arg2 = wxString_in_helper(obj1);
22753 if (arg2 == NULL) SWIG_fail;
22754 temp2 = true;
22755 }
22756 if (arg1) (arg1)->m_text = *arg2;
22757
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 {
22760 if (temp2)
22761 delete arg2;
22762 }
22763 return resultobj;
22764 fail:
22765 {
22766 if (temp2)
22767 delete arg2;
22768 }
22769 return NULL;
22770 }
22771
22772
22773 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj = NULL;
22775 wxListItem *arg1 = (wxListItem *) 0 ;
22776 wxString *result;
22777 PyObject * obj0 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "self", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail;
22785 result = (wxString *)& ((arg1)->m_text);
22786
22787 {
22788 #if wxUSE_UNICODE
22789 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22790 #else
22791 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22792 #endif
22793 }
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj = NULL;
22802 wxListItem *arg1 = (wxListItem *) 0 ;
22803 int arg2 ;
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "m_image", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
22813 {
22814 arg2 = static_cast<int >(SWIG_As_int(obj1));
22815 if (SWIG_arg_fail(2)) SWIG_fail;
22816 }
22817 if (arg1) (arg1)->m_image = arg2;
22818
22819 Py_INCREF(Py_None); resultobj = Py_None;
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj = NULL;
22828 wxListItem *arg1 = (wxListItem *) 0 ;
22829 int result;
22830 PyObject * obj0 = 0 ;
22831 char *kwnames[] = {
22832 (char *) "self", NULL
22833 };
22834
22835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail;
22838 result = (int) ((arg1)->m_image);
22839
22840 {
22841 resultobj = SWIG_From_int(static_cast<int >(result));
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj = NULL;
22851 wxListItem *arg1 = (wxListItem *) 0 ;
22852 long arg2 ;
22853 PyObject * obj0 = 0 ;
22854 PyObject * obj1 = 0 ;
22855 char *kwnames[] = {
22856 (char *) "self",(char *) "m_data", NULL
22857 };
22858
22859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail;
22862 {
22863 arg2 = static_cast<long >(SWIG_As_long(obj1));
22864 if (SWIG_arg_fail(2)) SWIG_fail;
22865 }
22866 if (arg1) (arg1)->m_data = arg2;
22867
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj = NULL;
22877 wxListItem *arg1 = (wxListItem *) 0 ;
22878 long result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 result = (long) ((arg1)->m_data);
22888
22889 {
22890 resultobj = SWIG_From_long(static_cast<long >(result));
22891 }
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj = NULL;
22900 wxListItem *arg1 = (wxListItem *) 0 ;
22901 int arg2 ;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self",(char *) "m_format", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail;
22911 {
22912 arg2 = static_cast<int >(SWIG_As_int(obj1));
22913 if (SWIG_arg_fail(2)) SWIG_fail;
22914 }
22915 if (arg1) (arg1)->m_format = arg2;
22916
22917 Py_INCREF(Py_None); resultobj = Py_None;
22918 return resultobj;
22919 fail:
22920 return NULL;
22921 }
22922
22923
22924 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj = NULL;
22926 wxListItem *arg1 = (wxListItem *) 0 ;
22927 int result;
22928 PyObject * obj0 = 0 ;
22929 char *kwnames[] = {
22930 (char *) "self", NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail;
22936 result = (int) ((arg1)->m_format);
22937
22938 {
22939 resultobj = SWIG_From_int(static_cast<int >(result));
22940 }
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj = NULL;
22949 wxListItem *arg1 = (wxListItem *) 0 ;
22950 int arg2 ;
22951 PyObject * obj0 = 0 ;
22952 PyObject * obj1 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self",(char *) "m_width", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
22958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail;
22960 {
22961 arg2 = static_cast<int >(SWIG_As_int(obj1));
22962 if (SWIG_arg_fail(2)) SWIG_fail;
22963 }
22964 if (arg1) (arg1)->m_width = arg2;
22965
22966 Py_INCREF(Py_None); resultobj = Py_None;
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj = NULL;
22975 wxListItem *arg1 = (wxListItem *) 0 ;
22976 int result;
22977 PyObject * obj0 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
22983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail;
22985 result = (int) ((arg1)->m_width);
22986
22987 {
22988 resultobj = SWIG_From_int(static_cast<int >(result));
22989 }
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
22997 PyObject *obj;
22998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22999 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23000 Py_INCREF(obj);
23001 return Py_BuildValue((char *)"");
23002 }
23003 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj = NULL;
23005 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23006 int arg2 = (int) 0 ;
23007 wxListEvent *result;
23008 PyObject * obj0 = 0 ;
23009 PyObject * obj1 = 0 ;
23010 char *kwnames[] = {
23011 (char *) "commandType",(char *) "id", NULL
23012 };
23013
23014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23015 if (obj0) {
23016 {
23017 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
23018 if (SWIG_arg_fail(1)) SWIG_fail;
23019 }
23020 }
23021 if (obj1) {
23022 {
23023 arg2 = static_cast<int >(SWIG_As_int(obj1));
23024 if (SWIG_arg_fail(2)) SWIG_fail;
23025 }
23026 }
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23035 return resultobj;
23036 fail:
23037 return NULL;
23038 }
23039
23040
23041 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj = NULL;
23043 wxListEvent *arg1 = (wxListEvent *) 0 ;
23044 int arg2 ;
23045 PyObject * obj0 = 0 ;
23046 PyObject * obj1 = 0 ;
23047 char *kwnames[] = {
23048 (char *) "self",(char *) "m_code", NULL
23049 };
23050
23051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail;
23054 {
23055 arg2 = static_cast<int >(SWIG_As_int(obj1));
23056 if (SWIG_arg_fail(2)) SWIG_fail;
23057 }
23058 if (arg1) (arg1)->m_code = arg2;
23059
23060 Py_INCREF(Py_None); resultobj = Py_None;
23061 return resultobj;
23062 fail:
23063 return NULL;
23064 }
23065
23066
23067 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj = NULL;
23069 wxListEvent *arg1 = (wxListEvent *) 0 ;
23070 int result;
23071 PyObject * obj0 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail;
23079 result = (int) ((arg1)->m_code);
23080
23081 {
23082 resultobj = SWIG_From_int(static_cast<int >(result));
23083 }
23084 return resultobj;
23085 fail:
23086 return NULL;
23087 }
23088
23089
23090 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23091 PyObject *resultobj = NULL;
23092 wxListEvent *arg1 = (wxListEvent *) 0 ;
23093 long arg2 ;
23094 PyObject * obj0 = 0 ;
23095 PyObject * obj1 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self",(char *) "m_oldItemIndex", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail;
23103 {
23104 arg2 = static_cast<long >(SWIG_As_long(obj1));
23105 if (SWIG_arg_fail(2)) SWIG_fail;
23106 }
23107 if (arg1) (arg1)->m_oldItemIndex = arg2;
23108
23109 Py_INCREF(Py_None); resultobj = Py_None;
23110 return resultobj;
23111 fail:
23112 return NULL;
23113 }
23114
23115
23116 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23117 PyObject *resultobj = NULL;
23118 wxListEvent *arg1 = (wxListEvent *) 0 ;
23119 long result;
23120 PyObject * obj0 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "self", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail;
23128 result = (long) ((arg1)->m_oldItemIndex);
23129
23130 {
23131 resultobj = SWIG_From_long(static_cast<long >(result));
23132 }
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj = NULL;
23141 wxListEvent *arg1 = (wxListEvent *) 0 ;
23142 long arg2 ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "m_itemIndex", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail;
23152 {
23153 arg2 = static_cast<long >(SWIG_As_long(obj1));
23154 if (SWIG_arg_fail(2)) SWIG_fail;
23155 }
23156 if (arg1) (arg1)->m_itemIndex = arg2;
23157
23158 Py_INCREF(Py_None); resultobj = Py_None;
23159 return resultobj;
23160 fail:
23161 return NULL;
23162 }
23163
23164
23165 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj = NULL;
23167 wxListEvent *arg1 = (wxListEvent *) 0 ;
23168 long result;
23169 PyObject * obj0 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail;
23177 result = (long) ((arg1)->m_itemIndex);
23178
23179 {
23180 resultobj = SWIG_From_long(static_cast<long >(result));
23181 }
23182 return resultobj;
23183 fail:
23184 return NULL;
23185 }
23186
23187
23188 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj = NULL;
23190 wxListEvent *arg1 = (wxListEvent *) 0 ;
23191 int arg2 ;
23192 PyObject * obj0 = 0 ;
23193 PyObject * obj1 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self",(char *) "m_col", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail;
23201 {
23202 arg2 = static_cast<int >(SWIG_As_int(obj1));
23203 if (SWIG_arg_fail(2)) SWIG_fail;
23204 }
23205 if (arg1) (arg1)->m_col = arg2;
23206
23207 Py_INCREF(Py_None); resultobj = Py_None;
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj = NULL;
23216 wxListEvent *arg1 = (wxListEvent *) 0 ;
23217 int result;
23218 PyObject * obj0 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
23226 result = (int) ((arg1)->m_col);
23227
23228 {
23229 resultobj = SWIG_From_int(static_cast<int >(result));
23230 }
23231 return resultobj;
23232 fail:
23233 return NULL;
23234 }
23235
23236
23237 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23238 PyObject *resultobj = NULL;
23239 wxListEvent *arg1 = (wxListEvent *) 0 ;
23240 wxPoint *arg2 = (wxPoint *) 0 ;
23241 PyObject * obj0 = 0 ;
23242 PyObject * obj1 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self",(char *) "m_pointDrag", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail;
23250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23251 if (SWIG_arg_fail(2)) SWIG_fail;
23252 if (arg1) (arg1)->m_pointDrag = *arg2;
23253
23254 Py_INCREF(Py_None); resultobj = Py_None;
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj = NULL;
23263 wxListEvent *arg1 = (wxListEvent *) 0 ;
23264 wxPoint *result;
23265 PyObject * obj0 = 0 ;
23266 char *kwnames[] = {
23267 (char *) "self", NULL
23268 };
23269
23270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail;
23273 result = (wxPoint *)& ((arg1)->m_pointDrag);
23274
23275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj = NULL;
23284 wxListEvent *arg1 = (wxListEvent *) 0 ;
23285 wxListItem *result;
23286 PyObject * obj0 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail;
23294 result = (wxListItem *)& ((arg1)->m_item);
23295
23296 {
23297 resultobj = wxPyMake_wxObject(result, 0);
23298 }
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj = NULL;
23307 wxListEvent *arg1 = (wxListEvent *) 0 ;
23308 int result;
23309 PyObject * obj0 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23316 if (SWIG_arg_fail(1)) SWIG_fail;
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = (int)(arg1)->GetKeyCode();
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 {
23325 resultobj = SWIG_From_int(static_cast<int >(result));
23326 }
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj = NULL;
23335 wxListEvent *arg1 = (wxListEvent *) 0 ;
23336 long result;
23337 PyObject * obj0 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail;
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (long)(arg1)->GetIndex();
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 {
23353 resultobj = SWIG_From_long(static_cast<long >(result));
23354 }
23355 return resultobj;
23356 fail:
23357 return NULL;
23358 }
23359
23360
23361 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj = NULL;
23363 wxListEvent *arg1 = (wxListEvent *) 0 ;
23364 int result;
23365 PyObject * obj0 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = (int)(arg1)->GetColumn();
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 {
23381 resultobj = SWIG_From_int(static_cast<int >(result));
23382 }
23383 return resultobj;
23384 fail:
23385 return NULL;
23386 }
23387
23388
23389 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23390 PyObject *resultobj = NULL;
23391 wxListEvent *arg1 = (wxListEvent *) 0 ;
23392 wxPoint result;
23393 PyObject * obj0 = 0 ;
23394 char *kwnames[] = {
23395 (char *) "self", NULL
23396 };
23397
23398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail;
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (arg1)->GetPoint();
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 {
23409 wxPoint * resultptr;
23410 resultptr = new wxPoint(static_cast<wxPoint & >(result));
23411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23412 }
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj = NULL;
23421 wxListEvent *arg1 = (wxListEvent *) 0 ;
23422 wxString *result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 {
23434 wxString const &_result_ref = (arg1)->GetLabel();
23435 result = (wxString *) &_result_ref;
23436 }
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 {
23442 #if wxUSE_UNICODE
23443 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23444 #else
23445 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23446 #endif
23447 }
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj = NULL;
23456 wxListEvent *arg1 = (wxListEvent *) 0 ;
23457 wxString *result;
23458 PyObject * obj0 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail;
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 {
23469 wxString const &_result_ref = (arg1)->GetText();
23470 result = (wxString *) &_result_ref;
23471 }
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 {
23477 #if wxUSE_UNICODE
23478 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23479 #else
23480 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23481 #endif
23482 }
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj = NULL;
23491 wxListEvent *arg1 = (wxListEvent *) 0 ;
23492 int result;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (int)(arg1)->GetImage();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 {
23509 resultobj = SWIG_From_int(static_cast<int >(result));
23510 }
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23518 PyObject *resultobj = NULL;
23519 wxListEvent *arg1 = (wxListEvent *) 0 ;
23520 long result;
23521 PyObject * obj0 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail;
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (long)(arg1)->GetData();
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 {
23537 resultobj = SWIG_From_long(static_cast<long >(result));
23538 }
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj = NULL;
23547 wxListEvent *arg1 = (wxListEvent *) 0 ;
23548 long result;
23549 PyObject * obj0 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23556 if (SWIG_arg_fail(1)) SWIG_fail;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (long)(arg1)->GetMask();
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 {
23565 resultobj = SWIG_From_long(static_cast<long >(result));
23566 }
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj = NULL;
23575 wxListEvent *arg1 = (wxListEvent *) 0 ;
23576 wxListItem *result;
23577 PyObject * obj0 = 0 ;
23578 char *kwnames[] = {
23579 (char *) "self", NULL
23580 };
23581
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23584 if (SWIG_arg_fail(1)) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 {
23588 wxListItem const &_result_ref = (arg1)->GetItem();
23589 result = (wxListItem *) &_result_ref;
23590 }
23591
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj = NULL;
23604 wxListEvent *arg1 = (wxListEvent *) 0 ;
23605 long result;
23606 PyObject * obj0 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail;
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = (long)(arg1)->GetCacheFrom();
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 resultobj = SWIG_From_long(static_cast<long >(result));
23623 }
23624 return resultobj;
23625 fail:
23626 return NULL;
23627 }
23628
23629
23630 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23631 PyObject *resultobj = NULL;
23632 wxListEvent *arg1 = (wxListEvent *) 0 ;
23633 long result;
23634 PyObject * obj0 = 0 ;
23635 char *kwnames[] = {
23636 (char *) "self", NULL
23637 };
23638
23639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail;
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = (long)(arg1)->GetCacheTo();
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 {
23650 resultobj = SWIG_From_long(static_cast<long >(result));
23651 }
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj = NULL;
23660 wxListEvent *arg1 = (wxListEvent *) 0 ;
23661 bool result;
23662 PyObject * obj0 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "self", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail;
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 {
23678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23679 }
23680 return resultobj;
23681 fail:
23682 return NULL;
23683 }
23684
23685
23686 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23687 PyObject *resultobj = NULL;
23688 wxListEvent *arg1 = (wxListEvent *) 0 ;
23689 bool arg2 ;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self",(char *) "editCancelled", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail;
23699 {
23700 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23701 if (SWIG_arg_fail(2)) SWIG_fail;
23702 }
23703 {
23704 PyThreadState* __tstate = wxPyBeginAllowThreads();
23705 (arg1)->SetEditCanceled(arg2);
23706
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 Py_INCREF(Py_None); resultobj = Py_None;
23711 return resultobj;
23712 fail:
23713 return NULL;
23714 }
23715
23716
23717 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23718 PyObject *obj;
23719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23720 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23721 Py_INCREF(obj);
23722 return Py_BuildValue((char *)"");
23723 }
23724 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj = NULL;
23726 wxWindow *arg1 = (wxWindow *) 0 ;
23727 int arg2 = (int) -1 ;
23728 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23729 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23730 wxSize const &arg4_defvalue = wxDefaultSize ;
23731 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23732 long arg5 = (long) wxLC_ICON ;
23733 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23734 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23735 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23736 wxString *arg7 = (wxString *) &arg7_defvalue ;
23737 wxPyListCtrl *result;
23738 wxPoint temp3 ;
23739 wxSize temp4 ;
23740 bool temp7 = false ;
23741 PyObject * obj0 = 0 ;
23742 PyObject * obj1 = 0 ;
23743 PyObject * obj2 = 0 ;
23744 PyObject * obj3 = 0 ;
23745 PyObject * obj4 = 0 ;
23746 PyObject * obj5 = 0 ;
23747 PyObject * obj6 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail;
23755 if (obj1) {
23756 {
23757 arg2 = static_cast<int >(SWIG_As_int(obj1));
23758 if (SWIG_arg_fail(2)) SWIG_fail;
23759 }
23760 }
23761 if (obj2) {
23762 {
23763 arg3 = &temp3;
23764 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23765 }
23766 }
23767 if (obj3) {
23768 {
23769 arg4 = &temp4;
23770 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23771 }
23772 }
23773 if (obj4) {
23774 {
23775 arg5 = static_cast<long >(SWIG_As_long(obj4));
23776 if (SWIG_arg_fail(5)) SWIG_fail;
23777 }
23778 }
23779 if (obj5) {
23780 {
23781 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23782 if (SWIG_arg_fail(6)) SWIG_fail;
23783 if (arg6 == NULL) {
23784 SWIG_null_ref("wxValidator");
23785 }
23786 if (SWIG_arg_fail(6)) SWIG_fail;
23787 }
23788 }
23789 if (obj6) {
23790 {
23791 arg7 = wxString_in_helper(obj6);
23792 if (arg7 == NULL) SWIG_fail;
23793 temp7 = true;
23794 }
23795 }
23796 {
23797 if (!wxPyCheckForApp()) SWIG_fail;
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23800
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23805 {
23806 if (temp7)
23807 delete arg7;
23808 }
23809 return resultobj;
23810 fail:
23811 {
23812 if (temp7)
23813 delete arg7;
23814 }
23815 return NULL;
23816 }
23817
23818
23819 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj = NULL;
23821 wxPyListCtrl *result;
23822 char *kwnames[] = {
23823 NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23827 {
23828 if (!wxPyCheckForApp()) SWIG_fail;
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (wxPyListCtrl *)new wxPyListCtrl();
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23836 return resultobj;
23837 fail:
23838 return NULL;
23839 }
23840
23841
23842 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj = NULL;
23844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23845 wxWindow *arg2 = (wxWindow *) 0 ;
23846 int arg3 = (int) -1 ;
23847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23849 wxSize const &arg5_defvalue = wxDefaultSize ;
23850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23851 long arg6 = (long) wxLC_ICON ;
23852 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23853 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23854 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23855 wxString *arg8 = (wxString *) &arg8_defvalue ;
23856 bool result;
23857 wxPoint temp4 ;
23858 wxSize temp5 ;
23859 bool temp8 = false ;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj1 = 0 ;
23862 PyObject * obj2 = 0 ;
23863 PyObject * obj3 = 0 ;
23864 PyObject * obj4 = 0 ;
23865 PyObject * obj5 = 0 ;
23866 PyObject * obj6 = 0 ;
23867 PyObject * obj7 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail;
23875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23876 if (SWIG_arg_fail(2)) SWIG_fail;
23877 if (obj2) {
23878 {
23879 arg3 = static_cast<int >(SWIG_As_int(obj2));
23880 if (SWIG_arg_fail(3)) SWIG_fail;
23881 }
23882 }
23883 if (obj3) {
23884 {
23885 arg4 = &temp4;
23886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23887 }
23888 }
23889 if (obj4) {
23890 {
23891 arg5 = &temp5;
23892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23893 }
23894 }
23895 if (obj5) {
23896 {
23897 arg6 = static_cast<long >(SWIG_As_long(obj5));
23898 if (SWIG_arg_fail(6)) SWIG_fail;
23899 }
23900 }
23901 if (obj6) {
23902 {
23903 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23904 if (SWIG_arg_fail(7)) SWIG_fail;
23905 if (arg7 == NULL) {
23906 SWIG_null_ref("wxValidator");
23907 }
23908 if (SWIG_arg_fail(7)) SWIG_fail;
23909 }
23910 }
23911 if (obj7) {
23912 {
23913 arg8 = wxString_in_helper(obj7);
23914 if (arg8 == NULL) SWIG_fail;
23915 temp8 = true;
23916 }
23917 }
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 {
23926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23927 }
23928 {
23929 if (temp8)
23930 delete arg8;
23931 }
23932 return resultobj;
23933 fail:
23934 {
23935 if (temp8)
23936 delete arg8;
23937 }
23938 return NULL;
23939 }
23940
23941
23942 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23943 PyObject *resultobj = NULL;
23944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23945 PyObject *arg2 = (PyObject *) 0 ;
23946 PyObject *arg3 = (PyObject *) 0 ;
23947 PyObject * obj0 = 0 ;
23948 PyObject * obj1 = 0 ;
23949 PyObject * obj2 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "self",(char *) "self",(char *) "_class", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail;
23957 arg2 = obj1;
23958 arg3 = obj2;
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 (arg1)->_setCallbackInfo(arg2,arg3);
23962
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 Py_INCREF(Py_None); resultobj = Py_None;
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj = NULL;
23975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23976 wxColour *arg2 = 0 ;
23977 bool result;
23978 wxColour temp2 ;
23979 PyObject * obj0 = 0 ;
23980 PyObject * obj1 = 0 ;
23981 char *kwnames[] = {
23982 (char *) "self",(char *) "col", NULL
23983 };
23984
23985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
23986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail;
23988 {
23989 arg2 = &temp2;
23990 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23991 }
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 {
24000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24001 }
24002 return resultobj;
24003 fail:
24004 return NULL;
24005 }
24006
24007
24008 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj = NULL;
24010 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24011 wxColour *arg2 = 0 ;
24012 bool result;
24013 wxColour temp2 ;
24014 PyObject * obj0 = 0 ;
24015 PyObject * obj1 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self",(char *) "col", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24022 if (SWIG_arg_fail(1)) SWIG_fail;
24023 {
24024 arg2 = &temp2;
24025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 {
24035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24036 }
24037 return resultobj;
24038 fail:
24039 return NULL;
24040 }
24041
24042
24043 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj = NULL;
24045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24046 int arg2 ;
24047 wxListItem *result;
24048 PyObject * obj0 = 0 ;
24049 PyObject * obj1 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "col", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail;
24057 {
24058 arg2 = static_cast<int >(SWIG_As_int(obj1));
24059 if (SWIG_arg_fail(2)) SWIG_fail;
24060 }
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 {
24069 resultobj = wxPyMake_wxObject(result, 0);
24070 }
24071 return resultobj;
24072 fail:
24073 return NULL;
24074 }
24075
24076
24077 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj = NULL;
24079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24080 int arg2 ;
24081 wxListItem *arg3 = 0 ;
24082 bool result;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 PyObject * obj2 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self",(char *) "col",(char *) "item", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24092 if (SWIG_arg_fail(1)) SWIG_fail;
24093 {
24094 arg2 = static_cast<int >(SWIG_As_int(obj1));
24095 if (SWIG_arg_fail(2)) SWIG_fail;
24096 }
24097 {
24098 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24099 if (SWIG_arg_fail(3)) SWIG_fail;
24100 if (arg3 == NULL) {
24101 SWIG_null_ref("wxListItem");
24102 }
24103 if (SWIG_arg_fail(3)) SWIG_fail;
24104 }
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 {
24113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24114 }
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj = NULL;
24123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24124 int arg2 ;
24125 int result;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 char *kwnames[] = {
24129 (char *) "self",(char *) "col", NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24134 if (SWIG_arg_fail(1)) SWIG_fail;
24135 {
24136 arg2 = static_cast<int >(SWIG_As_int(obj1));
24137 if (SWIG_arg_fail(2)) SWIG_fail;
24138 }
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 {
24147 resultobj = SWIG_From_int(static_cast<int >(result));
24148 }
24149 return resultobj;
24150 fail:
24151 return NULL;
24152 }
24153
24154
24155 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj = NULL;
24157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24158 int arg2 ;
24159 int arg3 ;
24160 bool result;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 PyObject * obj2 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "col",(char *) "width", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail;
24171 {
24172 arg2 = static_cast<int >(SWIG_As_int(obj1));
24173 if (SWIG_arg_fail(2)) SWIG_fail;
24174 }
24175 {
24176 arg3 = static_cast<int >(SWIG_As_int(obj2));
24177 if (SWIG_arg_fail(3)) SWIG_fail;
24178 }
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24188 }
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj = NULL;
24197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24198 int result;
24199 PyObject * obj0 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 {
24215 resultobj = SWIG_From_int(static_cast<int >(result));
24216 }
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj = NULL;
24225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24226 wxRect result;
24227 PyObject * obj0 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 {
24236 PyThreadState* __tstate = wxPyBeginAllowThreads();
24237 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24238
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 {
24243 wxRect * resultptr;
24244 resultptr = new wxRect(static_cast<wxRect & >(result));
24245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24246 }
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj = NULL;
24255 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24256 long arg2 ;
24257 int arg3 = (int) 0 ;
24258 wxListItem *result;
24259 PyObject * obj0 = 0 ;
24260 PyObject * obj1 = 0 ;
24261 PyObject * obj2 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self",(char *) "itemId",(char *) "col", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
24269 {
24270 arg2 = static_cast<long >(SWIG_As_long(obj1));
24271 if (SWIG_arg_fail(2)) SWIG_fail;
24272 }
24273 if (obj2) {
24274 {
24275 arg3 = static_cast<int >(SWIG_As_int(obj2));
24276 if (SWIG_arg_fail(3)) SWIG_fail;
24277 }
24278 }
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 {
24287 resultobj = wxPyMake_wxObject(result, 0);
24288 }
24289 return resultobj;
24290 fail:
24291 return NULL;
24292 }
24293
24294
24295 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24296 PyObject *resultobj = NULL;
24297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24298 wxListItem *arg2 = 0 ;
24299 bool result;
24300 PyObject * obj0 = 0 ;
24301 PyObject * obj1 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self",(char *) "info", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24308 if (SWIG_arg_fail(1)) SWIG_fail;
24309 {
24310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24311 if (SWIG_arg_fail(2)) SWIG_fail;
24312 if (arg2 == NULL) {
24313 SWIG_null_ref("wxListItem");
24314 }
24315 if (SWIG_arg_fail(2)) SWIG_fail;
24316 }
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (bool)(arg1)->SetItem(*arg2);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 {
24325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24326 }
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj = NULL;
24335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24336 long arg2 ;
24337 int arg3 ;
24338 wxString *arg4 = 0 ;
24339 int arg5 = (int) -1 ;
24340 long result;
24341 bool temp4 = false ;
24342 PyObject * obj0 = 0 ;
24343 PyObject * obj1 = 0 ;
24344 PyObject * obj2 = 0 ;
24345 PyObject * obj3 = 0 ;
24346 PyObject * obj4 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24353 if (SWIG_arg_fail(1)) SWIG_fail;
24354 {
24355 arg2 = static_cast<long >(SWIG_As_long(obj1));
24356 if (SWIG_arg_fail(2)) SWIG_fail;
24357 }
24358 {
24359 arg3 = static_cast<int >(SWIG_As_int(obj2));
24360 if (SWIG_arg_fail(3)) SWIG_fail;
24361 }
24362 {
24363 arg4 = wxString_in_helper(obj3);
24364 if (arg4 == NULL) SWIG_fail;
24365 temp4 = true;
24366 }
24367 if (obj4) {
24368 {
24369 arg5 = static_cast<int >(SWIG_As_int(obj4));
24370 if (SWIG_arg_fail(5)) SWIG_fail;
24371 }
24372 }
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 {
24381 resultobj = SWIG_From_long(static_cast<long >(result));
24382 }
24383 {
24384 if (temp4)
24385 delete arg4;
24386 }
24387 return resultobj;
24388 fail:
24389 {
24390 if (temp4)
24391 delete arg4;
24392 }
24393 return NULL;
24394 }
24395
24396
24397 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj = NULL;
24399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24400 long arg2 ;
24401 long arg3 ;
24402 int result;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 PyObject * obj2 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail;
24413 {
24414 arg2 = static_cast<long >(SWIG_As_long(obj1));
24415 if (SWIG_arg_fail(2)) SWIG_fail;
24416 }
24417 {
24418 arg3 = static_cast<long >(SWIG_As_long(obj2));
24419 if (SWIG_arg_fail(3)) SWIG_fail;
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 {
24429 resultobj = SWIG_From_int(static_cast<int >(result));
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = NULL;
24439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24440 long arg2 ;
24441 long arg3 ;
24442 long arg4 ;
24443 bool result;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 PyObject * obj2 = 0 ;
24447 PyObject * obj3 = 0 ;
24448 char *kwnames[] = {
24449 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24450 };
24451
24452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail;
24455 {
24456 arg2 = static_cast<long >(SWIG_As_long(obj1));
24457 if (SWIG_arg_fail(2)) SWIG_fail;
24458 }
24459 {
24460 arg3 = static_cast<long >(SWIG_As_long(obj2));
24461 if (SWIG_arg_fail(3)) SWIG_fail;
24462 }
24463 {
24464 arg4 = static_cast<long >(SWIG_As_long(obj3));
24465 if (SWIG_arg_fail(4)) SWIG_fail;
24466 }
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24470
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 {
24475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24476 }
24477 return resultobj;
24478 fail:
24479 return NULL;
24480 }
24481
24482
24483 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj = NULL;
24485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24486 long arg2 ;
24487 int arg3 ;
24488 int arg4 = (int) -1 ;
24489 bool result;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 PyObject * obj2 = 0 ;
24493 PyObject * obj3 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail;
24501 {
24502 arg2 = static_cast<long >(SWIG_As_long(obj1));
24503 if (SWIG_arg_fail(2)) SWIG_fail;
24504 }
24505 {
24506 arg3 = static_cast<int >(SWIG_As_int(obj2));
24507 if (SWIG_arg_fail(3)) SWIG_fail;
24508 }
24509 if (obj3) {
24510 {
24511 arg4 = static_cast<int >(SWIG_As_int(obj3));
24512 if (SWIG_arg_fail(4)) SWIG_fail;
24513 }
24514 }
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24518
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 {
24523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24524 }
24525 return resultobj;
24526 fail:
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj = NULL;
24533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24534 long arg2 ;
24535 wxString result;
24536 PyObject * obj0 = 0 ;
24537 PyObject * obj1 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self",(char *) "item", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail;
24545 {
24546 arg2 = static_cast<long >(SWIG_As_long(obj1));
24547 if (SWIG_arg_fail(2)) SWIG_fail;
24548 }
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24552
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 {
24557 #if wxUSE_UNICODE
24558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24559 #else
24560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24561 #endif
24562 }
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj = NULL;
24571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24572 long arg2 ;
24573 wxString *arg3 = 0 ;
24574 bool temp3 = false ;
24575 PyObject * obj0 = 0 ;
24576 PyObject * obj1 = 0 ;
24577 PyObject * obj2 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self",(char *) "item",(char *) "str", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24584 if (SWIG_arg_fail(1)) SWIG_fail;
24585 {
24586 arg2 = static_cast<long >(SWIG_As_long(obj1));
24587 if (SWIG_arg_fail(2)) SWIG_fail;
24588 }
24589 {
24590 arg3 = wxString_in_helper(obj2);
24591 if (arg3 == NULL) SWIG_fail;
24592 temp3 = true;
24593 }
24594 {
24595 PyThreadState* __tstate = wxPyBeginAllowThreads();
24596 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24597
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 Py_INCREF(Py_None); resultobj = Py_None;
24602 {
24603 if (temp3)
24604 delete arg3;
24605 }
24606 return resultobj;
24607 fail:
24608 {
24609 if (temp3)
24610 delete arg3;
24611 }
24612 return NULL;
24613 }
24614
24615
24616 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj = NULL;
24618 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24619 long arg2 ;
24620 long result;
24621 PyObject * obj0 = 0 ;
24622 PyObject * obj1 = 0 ;
24623 char *kwnames[] = {
24624 (char *) "self",(char *) "item", NULL
24625 };
24626
24627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24629 if (SWIG_arg_fail(1)) SWIG_fail;
24630 {
24631 arg2 = static_cast<long >(SWIG_As_long(obj1));
24632 if (SWIG_arg_fail(2)) SWIG_fail;
24633 }
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 {
24642 resultobj = SWIG_From_long(static_cast<long >(result));
24643 }
24644 return resultobj;
24645 fail:
24646 return NULL;
24647 }
24648
24649
24650 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24651 PyObject *resultobj = NULL;
24652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24653 long arg2 ;
24654 long arg3 ;
24655 bool result;
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj1 = 0 ;
24658 PyObject * obj2 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self",(char *) "item",(char *) "data", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail;
24666 {
24667 arg2 = static_cast<long >(SWIG_As_long(obj1));
24668 if (SWIG_arg_fail(2)) SWIG_fail;
24669 }
24670 {
24671 arg3 = static_cast<long >(SWIG_As_long(obj2));
24672 if (SWIG_arg_fail(3)) SWIG_fail;
24673 }
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (bool)(arg1)->SetItemData(arg2,arg3);
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 {
24682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24683 }
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj = NULL;
24692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24693 long arg2 ;
24694 wxPoint result;
24695 PyObject * obj0 = 0 ;
24696 PyObject * obj1 = 0 ;
24697 char *kwnames[] = {
24698 (char *) "self",(char *) "item", NULL
24699 };
24700
24701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24703 if (SWIG_arg_fail(1)) SWIG_fail;
24704 {
24705 arg2 = static_cast<long >(SWIG_As_long(obj1));
24706 if (SWIG_arg_fail(2)) SWIG_fail;
24707 }
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 {
24716 wxPoint * resultptr;
24717 resultptr = new wxPoint(static_cast<wxPoint & >(result));
24718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24719 }
24720 return resultobj;
24721 fail:
24722 return NULL;
24723 }
24724
24725
24726 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj = NULL;
24728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24729 long arg2 ;
24730 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24731 wxRect result;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 PyObject * obj2 = 0 ;
24735 char *kwnames[] = {
24736 (char *) "self",(char *) "item",(char *) "code", NULL
24737 };
24738
24739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24741 if (SWIG_arg_fail(1)) SWIG_fail;
24742 {
24743 arg2 = static_cast<long >(SWIG_As_long(obj1));
24744 if (SWIG_arg_fail(2)) SWIG_fail;
24745 }
24746 if (obj2) {
24747 {
24748 arg3 = static_cast<int >(SWIG_As_int(obj2));
24749 if (SWIG_arg_fail(3)) SWIG_fail;
24750 }
24751 }
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24755
24756 wxPyEndAllowThreads(__tstate);
24757 if (PyErr_Occurred()) SWIG_fail;
24758 }
24759 {
24760 wxRect * resultptr;
24761 resultptr = new wxRect(static_cast<wxRect & >(result));
24762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767 }
24768
24769
24770 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj = NULL;
24772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24773 long arg2 ;
24774 wxPoint *arg3 = 0 ;
24775 bool result;
24776 wxPoint temp3 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 PyObject * obj2 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "item",(char *) "pos", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail;
24787 {
24788 arg2 = static_cast<long >(SWIG_As_long(obj1));
24789 if (SWIG_arg_fail(2)) SWIG_fail;
24790 }
24791 {
24792 arg3 = &temp3;
24793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24794 }
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 {
24803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24804 }
24805 return resultobj;
24806 fail:
24807 return NULL;
24808 }
24809
24810
24811 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24812 PyObject *resultobj = NULL;
24813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24814 int result;
24815 PyObject * obj0 = 0 ;
24816 char *kwnames[] = {
24817 (char *) "self", NULL
24818 };
24819
24820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail;
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 {
24831 resultobj = SWIG_From_int(static_cast<int >(result));
24832 }
24833 return resultobj;
24834 fail:
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj = NULL;
24841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24842 int result;
24843 PyObject * obj0 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail;
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 {
24859 resultobj = SWIG_From_int(static_cast<int >(result));
24860 }
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj = NULL;
24869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24870 wxSize result;
24871 PyObject * obj0 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail;
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 {
24887 wxSize * resultptr;
24888 resultptr = new wxSize(static_cast<wxSize & >(result));
24889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj = NULL;
24899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24900 int arg2 ;
24901 bool arg3 = (bool) false ;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 PyObject * obj2 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail;
24912 {
24913 arg2 = static_cast<int >(SWIG_As_int(obj1));
24914 if (SWIG_arg_fail(2)) SWIG_fail;
24915 }
24916 if (obj2) {
24917 {
24918 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
24919 if (SWIG_arg_fail(3)) SWIG_fail;
24920 }
24921 }
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 (arg1)->SetItemSpacing(arg2,arg3);
24925
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 Py_INCREF(Py_None); resultobj = Py_None;
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj = NULL;
24938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24939 int result;
24940 PyObject * obj0 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
24946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail;
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 {
24956 resultobj = SWIG_From_int(static_cast<int >(result));
24957 }
24958 return resultobj;
24959 fail:
24960 return NULL;
24961 }
24962
24963
24964 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj = NULL;
24966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24967 wxColour result;
24968 PyObject * obj0 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
24974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail;
24976 {
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24979
24980 wxPyEndAllowThreads(__tstate);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 }
24983 {
24984 wxColour * resultptr;
24985 resultptr = new wxColour(static_cast<wxColour & >(result));
24986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24987 }
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24995 PyObject *resultobj = NULL;
24996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24997 wxColour *arg2 = 0 ;
24998 wxColour temp2 ;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 char *kwnames[] = {
25002 (char *) "self",(char *) "col", NULL
25003 };
25004
25005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25007 if (SWIG_arg_fail(1)) SWIG_fail;
25008 {
25009 arg2 = &temp2;
25010 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25011 }
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 (arg1)->SetTextColour((wxColour const &)*arg2);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 Py_INCREF(Py_None); resultobj = Py_None;
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25027 PyObject *resultobj = NULL;
25028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25029 long result;
25030 PyObject * obj0 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "self", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail;
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25041
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046 resultobj = SWIG_From_long(static_cast<long >(result));
25047 }
25048 return resultobj;
25049 fail:
25050 return NULL;
25051 }
25052
25053
25054 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25055 PyObject *resultobj = NULL;
25056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25057 long arg2 ;
25058 bool arg3 = (bool) true ;
25059 PyObject * obj0 = 0 ;
25060 PyObject * obj1 = 0 ;
25061 PyObject * obj2 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "self",(char *) "style",(char *) "add", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail;
25069 {
25070 arg2 = static_cast<long >(SWIG_As_long(obj1));
25071 if (SWIG_arg_fail(2)) SWIG_fail;
25072 }
25073 if (obj2) {
25074 {
25075 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
25076 if (SWIG_arg_fail(3)) SWIG_fail;
25077 }
25078 }
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->SetSingleStyle(arg2,arg3);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 Py_INCREF(Py_None); resultobj = Py_None;
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj = NULL;
25095 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25096 long arg2 ;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self",(char *) "style", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25105 if (SWIG_arg_fail(1)) SWIG_fail;
25106 {
25107 arg2 = static_cast<long >(SWIG_As_long(obj1));
25108 if (SWIG_arg_fail(2)) SWIG_fail;
25109 }
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 (arg1)->SetWindowStyleFlag(arg2);
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 Py_INCREF(Py_None); resultobj = Py_None;
25118 return resultobj;
25119 fail:
25120 return NULL;
25121 }
25122
25123
25124 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25125 PyObject *resultobj = NULL;
25126 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25127 long arg2 ;
25128 int arg3 = (int) wxLIST_NEXT_ALL ;
25129 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25130 long result;
25131 PyObject * obj0 = 0 ;
25132 PyObject * obj1 = 0 ;
25133 PyObject * obj2 = 0 ;
25134 PyObject * obj3 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail;
25142 {
25143 arg2 = static_cast<long >(SWIG_As_long(obj1));
25144 if (SWIG_arg_fail(2)) SWIG_fail;
25145 }
25146 if (obj2) {
25147 {
25148 arg3 = static_cast<int >(SWIG_As_int(obj2));
25149 if (SWIG_arg_fail(3)) SWIG_fail;
25150 }
25151 }
25152 if (obj3) {
25153 {
25154 arg4 = static_cast<int >(SWIG_As_int(obj3));
25155 if (SWIG_arg_fail(4)) SWIG_fail;
25156 }
25157 }
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 {
25166 resultobj = SWIG_From_long(static_cast<long >(result));
25167 }
25168 return resultobj;
25169 fail:
25170 return NULL;
25171 }
25172
25173
25174 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25175 PyObject *resultobj = NULL;
25176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25177 int arg2 ;
25178 wxImageList *result;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 char *kwnames[] = {
25182 (char *) "self",(char *) "which", NULL
25183 };
25184
25185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25187 if (SWIG_arg_fail(1)) SWIG_fail;
25188 {
25189 arg2 = static_cast<int >(SWIG_As_int(obj1));
25190 if (SWIG_arg_fail(2)) SWIG_fail;
25191 }
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 {
25200 resultobj = wxPyMake_wxObject(result, 0);
25201 }
25202 return resultobj;
25203 fail:
25204 return NULL;
25205 }
25206
25207
25208 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25209 PyObject *resultobj = NULL;
25210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25211 wxImageList *arg2 = (wxImageList *) 0 ;
25212 int arg3 ;
25213 PyObject * obj0 = 0 ;
25214 PyObject * obj1 = 0 ;
25215 PyObject * obj2 = 0 ;
25216 char *kwnames[] = {
25217 (char *) "self",(char *) "imageList",(char *) "which", NULL
25218 };
25219
25220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25222 if (SWIG_arg_fail(1)) SWIG_fail;
25223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25224 if (SWIG_arg_fail(2)) SWIG_fail;
25225 {
25226 arg3 = static_cast<int >(SWIG_As_int(obj2));
25227 if (SWIG_arg_fail(3)) SWIG_fail;
25228 }
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 (arg1)->SetImageList(arg2,arg3);
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 Py_INCREF(Py_None); resultobj = Py_None;
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj = NULL;
25245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25246 wxImageList *arg2 = (wxImageList *) 0 ;
25247 int arg3 ;
25248 PyObject * obj0 = 0 ;
25249 PyObject * obj1 = 0 ;
25250 PyObject * obj2 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self",(char *) "imageList",(char *) "which", NULL
25253 };
25254
25255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25257 if (SWIG_arg_fail(1)) SWIG_fail;
25258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25259 if (SWIG_arg_fail(2)) SWIG_fail;
25260 {
25261 arg3 = static_cast<int >(SWIG_As_int(obj2));
25262 if (SWIG_arg_fail(3)) SWIG_fail;
25263 }
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 (arg1)->AssignImageList(arg2,arg3);
25267
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 Py_INCREF(Py_None); resultobj = Py_None;
25272 return resultobj;
25273 fail:
25274 return NULL;
25275 }
25276
25277
25278 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25279 PyObject *resultobj = NULL;
25280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25281 bool result;
25282 PyObject * obj0 = 0 ;
25283 char *kwnames[] = {
25284 (char *) "self", NULL
25285 };
25286
25287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25289 if (SWIG_arg_fail(1)) SWIG_fail;
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
25297 {
25298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25299 }
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj = NULL;
25308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25309 bool result;
25310 PyObject * obj0 = 0 ;
25311 char *kwnames[] = {
25312 (char *) "self", NULL
25313 };
25314
25315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail;
25318 {
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
25320 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25321
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 {
25326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25327 }
25328 return resultobj;
25329 fail:
25330 return NULL;
25331 }
25332
25333
25334 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25335 PyObject *resultobj = NULL;
25336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25337 long arg2 ;
25338 PyObject * obj0 = 0 ;
25339 PyObject * obj1 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self",(char *) "item", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",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 = static_cast<long >(SWIG_As_long(obj1));
25349 if (SWIG_arg_fail(2)) SWIG_fail;
25350 }
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 (arg1)->RefreshItem(arg2);
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 Py_INCREF(Py_None); resultobj = Py_None;
25359 return resultobj;
25360 fail:
25361 return NULL;
25362 }
25363
25364
25365 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25366 PyObject *resultobj = NULL;
25367 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25368 long arg2 ;
25369 long arg3 ;
25370 PyObject * obj0 = 0 ;
25371 PyObject * obj1 = 0 ;
25372 PyObject * obj2 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
25380 {
25381 arg2 = static_cast<long >(SWIG_As_long(obj1));
25382 if (SWIG_arg_fail(2)) SWIG_fail;
25383 }
25384 {
25385 arg3 = static_cast<long >(SWIG_As_long(obj2));
25386 if (SWIG_arg_fail(3)) SWIG_fail;
25387 }
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 (arg1)->RefreshItems(arg2,arg3);
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 Py_INCREF(Py_None); resultobj = Py_None;
25396 return resultobj;
25397 fail:
25398 return NULL;
25399 }
25400
25401
25402 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj = NULL;
25404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25405 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25406 bool result;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 char *kwnames[] = {
25410 (char *) "self",(char *) "flag", NULL
25411 };
25412
25413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail;
25416 if (obj1) {
25417 {
25418 arg2 = static_cast<int >(SWIG_As_int(obj1));
25419 if (SWIG_arg_fail(2)) SWIG_fail;
25420 }
25421 }
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (bool)(arg1)->Arrange(arg2);
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 {
25430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25431 }
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj = NULL;
25440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25441 long arg2 ;
25442 bool result;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self",(char *) "item", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail;
25452 {
25453 arg2 = static_cast<long >(SWIG_As_long(obj1));
25454 if (SWIG_arg_fail(2)) SWIG_fail;
25455 }
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = (bool)(arg1)->DeleteItem(arg2);
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 {
25464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25465 }
25466 return resultobj;
25467 fail:
25468 return NULL;
25469 }
25470
25471
25472 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25473 PyObject *resultobj = NULL;
25474 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25475 bool result;
25476 PyObject * obj0 = 0 ;
25477 char *kwnames[] = {
25478 (char *) "self", NULL
25479 };
25480
25481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25483 if (SWIG_arg_fail(1)) SWIG_fail;
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 result = (bool)(arg1)->DeleteAllItems();
25487
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 {
25492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25493 }
25494 return resultobj;
25495 fail:
25496 return NULL;
25497 }
25498
25499
25500 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj = NULL;
25502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25503 int arg2 ;
25504 bool result;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self",(char *) "col", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
25514 {
25515 arg2 = static_cast<int >(SWIG_As_int(obj1));
25516 if (SWIG_arg_fail(2)) SWIG_fail;
25517 }
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (bool)(arg1)->DeleteColumn(arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 {
25526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25527 }
25528 return resultobj;
25529 fail:
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj = NULL;
25536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25537 bool result;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (bool)(arg1)->DeleteAllColumns();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 {
25554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25555 }
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj = NULL;
25564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25565 PyObject * obj0 = 0 ;
25566 char *kwnames[] = {
25567 (char *) "self", NULL
25568 };
25569
25570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail;
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 (arg1)->ClearAll();
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 Py_INCREF(Py_None); resultobj = Py_None;
25581 return resultobj;
25582 fail:
25583 return NULL;
25584 }
25585
25586
25587 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj = NULL;
25589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25590 long arg2 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self",(char *) "item", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail;
25600 {
25601 arg2 = static_cast<long >(SWIG_As_long(obj1));
25602 if (SWIG_arg_fail(2)) SWIG_fail;
25603 }
25604 {
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 (arg1)->EditLabel(arg2);
25607
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 Py_INCREF(Py_None); resultobj = Py_None;
25612 return resultobj;
25613 fail:
25614 return NULL;
25615 }
25616
25617
25618 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25619 PyObject *resultobj = NULL;
25620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25621 long arg2 ;
25622 bool result;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "item", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail;
25632 {
25633 arg2 = static_cast<long >(SWIG_As_long(obj1));
25634 if (SWIG_arg_fail(2)) SWIG_fail;
25635 }
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 result = (bool)(arg1)->EnsureVisible(arg2);
25639
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 {
25644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25645 }
25646 return resultobj;
25647 fail:
25648 return NULL;
25649 }
25650
25651
25652 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25653 PyObject *resultobj = NULL;
25654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25655 long arg2 ;
25656 wxString *arg3 = 0 ;
25657 bool arg4 = (bool) false ;
25658 long result;
25659 bool temp3 = false ;
25660 PyObject * obj0 = 0 ;
25661 PyObject * obj1 = 0 ;
25662 PyObject * obj2 = 0 ;
25663 PyObject * obj3 = 0 ;
25664 char *kwnames[] = {
25665 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25666 };
25667
25668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25670 if (SWIG_arg_fail(1)) SWIG_fail;
25671 {
25672 arg2 = static_cast<long >(SWIG_As_long(obj1));
25673 if (SWIG_arg_fail(2)) SWIG_fail;
25674 }
25675 {
25676 arg3 = wxString_in_helper(obj2);
25677 if (arg3 == NULL) SWIG_fail;
25678 temp3 = true;
25679 }
25680 if (obj3) {
25681 {
25682 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
25683 if (SWIG_arg_fail(4)) SWIG_fail;
25684 }
25685 }
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25689
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 {
25694 resultobj = SWIG_From_long(static_cast<long >(result));
25695 }
25696 {
25697 if (temp3)
25698 delete arg3;
25699 }
25700 return resultobj;
25701 fail:
25702 {
25703 if (temp3)
25704 delete arg3;
25705 }
25706 return NULL;
25707 }
25708
25709
25710 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj = NULL;
25712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25713 long arg2 ;
25714 long arg3 ;
25715 long result;
25716 PyObject * obj0 = 0 ;
25717 PyObject * obj1 = 0 ;
25718 PyObject * obj2 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "start",(char *) "data", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail;
25726 {
25727 arg2 = static_cast<long >(SWIG_As_long(obj1));
25728 if (SWIG_arg_fail(2)) SWIG_fail;
25729 }
25730 {
25731 arg3 = static_cast<long >(SWIG_As_long(obj2));
25732 if (SWIG_arg_fail(3)) SWIG_fail;
25733 }
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (long)(arg1)->FindItem(arg2,arg3);
25737
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
25741 {
25742 resultobj = SWIG_From_long(static_cast<long >(result));
25743 }
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj = NULL;
25752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25753 long arg2 ;
25754 wxPoint *arg3 = 0 ;
25755 int arg4 ;
25756 long result;
25757 wxPoint temp3 ;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 PyObject * obj2 = 0 ;
25761 PyObject * obj3 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25768 if (SWIG_arg_fail(1)) SWIG_fail;
25769 {
25770 arg2 = static_cast<long >(SWIG_As_long(obj1));
25771 if (SWIG_arg_fail(2)) SWIG_fail;
25772 }
25773 {
25774 arg3 = &temp3;
25775 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25776 }
25777 {
25778 arg4 = static_cast<int >(SWIG_As_int(obj3));
25779 if (SWIG_arg_fail(4)) SWIG_fail;
25780 }
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 {
25789 resultobj = SWIG_From_long(static_cast<long >(result));
25790 }
25791 return resultobj;
25792 fail:
25793 return NULL;
25794 }
25795
25796
25797 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj = NULL;
25799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25800 wxPoint *arg2 = 0 ;
25801 int *arg3 = 0 ;
25802 long result;
25803 wxPoint temp2 ;
25804 int temp3 ;
25805 int res3 = 0 ;
25806 PyObject * obj0 = 0 ;
25807 PyObject * obj1 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "self",(char *) "point", NULL
25810 };
25811
25812 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25815 if (SWIG_arg_fail(1)) SWIG_fail;
25816 {
25817 arg2 = &temp2;
25818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25819 }
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 {
25828 resultobj = SWIG_From_long(static_cast<long >(result));
25829 }
25830 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25831 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj = NULL;
25840 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25841 wxListItem *arg2 = 0 ;
25842 long result;
25843 PyObject * obj0 = 0 ;
25844 PyObject * obj1 = 0 ;
25845 char *kwnames[] = {
25846 (char *) "self",(char *) "info", NULL
25847 };
25848
25849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25851 if (SWIG_arg_fail(1)) SWIG_fail;
25852 {
25853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25854 if (SWIG_arg_fail(2)) SWIG_fail;
25855 if (arg2 == NULL) {
25856 SWIG_null_ref("wxListItem");
25857 }
25858 if (SWIG_arg_fail(2)) SWIG_fail;
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (long)(arg1)->InsertItem(*arg2);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 {
25868 resultobj = SWIG_From_long(static_cast<long >(result));
25869 }
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25877 PyObject *resultobj = NULL;
25878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25879 long arg2 ;
25880 wxString *arg3 = 0 ;
25881 int arg4 = (int) -1 ;
25882 long result;
25883 bool temp3 = false ;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 PyObject * obj2 = 0 ;
25887 PyObject * obj3 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail;
25895 {
25896 arg2 = static_cast<long >(SWIG_As_long(obj1));
25897 if (SWIG_arg_fail(2)) SWIG_fail;
25898 }
25899 {
25900 arg3 = wxString_in_helper(obj2);
25901 if (arg3 == NULL) SWIG_fail;
25902 temp3 = true;
25903 }
25904 if (obj3) {
25905 {
25906 arg4 = static_cast<int >(SWIG_As_int(obj3));
25907 if (SWIG_arg_fail(4)) SWIG_fail;
25908 }
25909 }
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
25913
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 {
25918 resultobj = SWIG_From_long(static_cast<long >(result));
25919 }
25920 {
25921 if (temp3)
25922 delete arg3;
25923 }
25924 return resultobj;
25925 fail:
25926 {
25927 if (temp3)
25928 delete arg3;
25929 }
25930 return NULL;
25931 }
25932
25933
25934 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25935 PyObject *resultobj = NULL;
25936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25937 long arg2 ;
25938 int arg3 ;
25939 long result;
25940 PyObject * obj0 = 0 ;
25941 PyObject * obj1 = 0 ;
25942 PyObject * obj2 = 0 ;
25943 char *kwnames[] = {
25944 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25945 };
25946
25947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail;
25950 {
25951 arg2 = static_cast<long >(SWIG_As_long(obj1));
25952 if (SWIG_arg_fail(2)) SWIG_fail;
25953 }
25954 {
25955 arg3 = static_cast<int >(SWIG_As_int(obj2));
25956 if (SWIG_arg_fail(3)) SWIG_fail;
25957 }
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 result = (long)(arg1)->InsertItem(arg2,arg3);
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_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj = NULL;
25976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25977 long arg2 ;
25978 wxString *arg3 = 0 ;
25979 int arg4 ;
25980 long result;
25981 bool temp3 = false ;
25982 PyObject * obj0 = 0 ;
25983 PyObject * obj1 = 0 ;
25984 PyObject * obj2 = 0 ;
25985 PyObject * obj3 = 0 ;
25986 char *kwnames[] = {
25987 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25988 };
25989
25990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail;
25993 {
25994 arg2 = static_cast<long >(SWIG_As_long(obj1));
25995 if (SWIG_arg_fail(2)) SWIG_fail;
25996 }
25997 {
25998 arg3 = wxString_in_helper(obj2);
25999 if (arg3 == NULL) SWIG_fail;
26000 temp3 = true;
26001 }
26002 {
26003 arg4 = static_cast<int >(SWIG_As_int(obj3));
26004 if (SWIG_arg_fail(4)) SWIG_fail;
26005 }
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 {
26014 resultobj = SWIG_From_long(static_cast<long >(result));
26015 }
26016 {
26017 if (temp3)
26018 delete arg3;
26019 }
26020 return resultobj;
26021 fail:
26022 {
26023 if (temp3)
26024 delete arg3;
26025 }
26026 return NULL;
26027 }
26028
26029
26030 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26031 PyObject *resultobj = NULL;
26032 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26033 long arg2 ;
26034 wxListItem *arg3 = 0 ;
26035 long result;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 PyObject * obj2 = 0 ;
26039 char *kwnames[] = {
26040 (char *) "self",(char *) "col",(char *) "info", NULL
26041 };
26042
26043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail;
26046 {
26047 arg2 = static_cast<long >(SWIG_As_long(obj1));
26048 if (SWIG_arg_fail(2)) SWIG_fail;
26049 }
26050 {
26051 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26052 if (SWIG_arg_fail(3)) SWIG_fail;
26053 if (arg3 == NULL) {
26054 SWIG_null_ref("wxListItem");
26055 }
26056 if (SWIG_arg_fail(3)) SWIG_fail;
26057 }
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 {
26066 resultobj = SWIG_From_long(static_cast<long >(result));
26067 }
26068 return resultobj;
26069 fail:
26070 return NULL;
26071 }
26072
26073
26074 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26075 PyObject *resultobj = NULL;
26076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26077 long arg2 ;
26078 wxString *arg3 = 0 ;
26079 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26080 int arg5 = (int) -1 ;
26081 long result;
26082 bool temp3 = false ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 PyObject * obj3 = 0 ;
26087 PyObject * obj4 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26094 if (SWIG_arg_fail(1)) SWIG_fail;
26095 {
26096 arg2 = static_cast<long >(SWIG_As_long(obj1));
26097 if (SWIG_arg_fail(2)) SWIG_fail;
26098 }
26099 {
26100 arg3 = wxString_in_helper(obj2);
26101 if (arg3 == NULL) SWIG_fail;
26102 temp3 = true;
26103 }
26104 if (obj3) {
26105 {
26106 arg4 = static_cast<int >(SWIG_As_int(obj3));
26107 if (SWIG_arg_fail(4)) SWIG_fail;
26108 }
26109 }
26110 if (obj4) {
26111 {
26112 arg5 = static_cast<int >(SWIG_As_int(obj4));
26113 if (SWIG_arg_fail(5)) SWIG_fail;
26114 }
26115 }
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26119
26120 wxPyEndAllowThreads(__tstate);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
26123 {
26124 resultobj = SWIG_From_long(static_cast<long >(result));
26125 }
26126 {
26127 if (temp3)
26128 delete arg3;
26129 }
26130 return resultobj;
26131 fail:
26132 {
26133 if (temp3)
26134 delete arg3;
26135 }
26136 return NULL;
26137 }
26138
26139
26140 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj = NULL;
26142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26143 long arg2 ;
26144 PyObject * obj0 = 0 ;
26145 PyObject * obj1 = 0 ;
26146 char *kwnames[] = {
26147 (char *) "self",(char *) "count", NULL
26148 };
26149
26150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26152 if (SWIG_arg_fail(1)) SWIG_fail;
26153 {
26154 arg2 = static_cast<long >(SWIG_As_long(obj1));
26155 if (SWIG_arg_fail(2)) SWIG_fail;
26156 }
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 (arg1)->SetItemCount(arg2);
26160
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 Py_INCREF(Py_None); resultobj = Py_None;
26165 return resultobj;
26166 fail:
26167 return NULL;
26168 }
26169
26170
26171 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26172 PyObject *resultobj = NULL;
26173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26174 int arg2 ;
26175 int arg3 ;
26176 bool result;
26177 PyObject * obj0 = 0 ;
26178 PyObject * obj1 = 0 ;
26179 PyObject * obj2 = 0 ;
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "dx",(char *) "dy", NULL
26182 };
26183
26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail;
26187 {
26188 arg2 = static_cast<int >(SWIG_As_int(obj1));
26189 if (SWIG_arg_fail(2)) SWIG_fail;
26190 }
26191 {
26192 arg3 = static_cast<int >(SWIG_As_int(obj2));
26193 if (SWIG_arg_fail(3)) SWIG_fail;
26194 }
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 result = (bool)(arg1)->ScrollList(arg2,arg3);
26198
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 {
26203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26204 }
26205 return resultobj;
26206 fail:
26207 return NULL;
26208 }
26209
26210
26211 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj = NULL;
26213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26214 long arg2 ;
26215 wxColour *arg3 = 0 ;
26216 wxColour temp3 ;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 PyObject * obj2 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self",(char *) "item",(char *) "col", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail;
26227 {
26228 arg2 = static_cast<long >(SWIG_As_long(obj1));
26229 if (SWIG_arg_fail(2)) SWIG_fail;
26230 }
26231 {
26232 arg3 = &temp3;
26233 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26234 }
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26238
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 Py_INCREF(Py_None); resultobj = Py_None;
26243 return resultobj;
26244 fail:
26245 return NULL;
26246 }
26247
26248
26249 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26250 PyObject *resultobj = NULL;
26251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26252 long arg2 ;
26253 wxColour result;
26254 PyObject * obj0 = 0 ;
26255 PyObject * obj1 = 0 ;
26256 char *kwnames[] = {
26257 (char *) "self",(char *) "item", NULL
26258 };
26259
26260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail;
26263 {
26264 arg2 = static_cast<long >(SWIG_As_long(obj1));
26265 if (SWIG_arg_fail(2)) SWIG_fail;
26266 }
26267 {
26268 PyThreadState* __tstate = wxPyBeginAllowThreads();
26269 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26270
26271 wxPyEndAllowThreads(__tstate);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 {
26275 wxColour * resultptr;
26276 resultptr = new wxColour(static_cast<wxColour & >(result));
26277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26278 }
26279 return resultobj;
26280 fail:
26281 return NULL;
26282 }
26283
26284
26285 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26286 PyObject *resultobj = NULL;
26287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26288 long arg2 ;
26289 wxColour *arg3 = 0 ;
26290 wxColour temp3 ;
26291 PyObject * obj0 = 0 ;
26292 PyObject * obj1 = 0 ;
26293 PyObject * obj2 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self",(char *) "item",(char *) "col", NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26300 if (SWIG_arg_fail(1)) SWIG_fail;
26301 {
26302 arg2 = static_cast<long >(SWIG_As_long(obj1));
26303 if (SWIG_arg_fail(2)) SWIG_fail;
26304 }
26305 {
26306 arg3 = &temp3;
26307 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26308 }
26309 {
26310 PyThreadState* __tstate = wxPyBeginAllowThreads();
26311 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26312
26313 wxPyEndAllowThreads(__tstate);
26314 if (PyErr_Occurred()) SWIG_fail;
26315 }
26316 Py_INCREF(Py_None); resultobj = Py_None;
26317 return resultobj;
26318 fail:
26319 return NULL;
26320 }
26321
26322
26323 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26324 PyObject *resultobj = NULL;
26325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26326 long arg2 ;
26327 wxColour result;
26328 PyObject * obj0 = 0 ;
26329 PyObject * obj1 = 0 ;
26330 char *kwnames[] = {
26331 (char *) "self",(char *) "item", NULL
26332 };
26333
26334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26336 if (SWIG_arg_fail(1)) SWIG_fail;
26337 {
26338 arg2 = static_cast<long >(SWIG_As_long(obj1));
26339 if (SWIG_arg_fail(2)) SWIG_fail;
26340 }
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 {
26349 wxColour * resultptr;
26350 resultptr = new wxColour(static_cast<wxColour & >(result));
26351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26352 }
26353 return resultobj;
26354 fail:
26355 return NULL;
26356 }
26357
26358
26359 static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26360 PyObject *resultobj = NULL;
26361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26362 long arg2 ;
26363 wxFont *arg3 = 0 ;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 PyObject * obj2 = 0 ;
26367 char *kwnames[] = {
26368 (char *) "self",(char *) "item",(char *) "f", NULL
26369 };
26370
26371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail;
26374 {
26375 arg2 = static_cast<long >(SWIG_As_long(obj1));
26376 if (SWIG_arg_fail(2)) SWIG_fail;
26377 }
26378 {
26379 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
26380 if (SWIG_arg_fail(3)) SWIG_fail;
26381 if (arg3 == NULL) {
26382 SWIG_null_ref("wxFont");
26383 }
26384 if (SWIG_arg_fail(3)) SWIG_fail;
26385 }
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 Py_INCREF(Py_None); resultobj = Py_None;
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26401 PyObject *resultobj = NULL;
26402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26403 long arg2 ;
26404 wxFont result;
26405 PyObject * obj0 = 0 ;
26406 PyObject * obj1 = 0 ;
26407 char *kwnames[] = {
26408 (char *) "self",(char *) "item", NULL
26409 };
26410
26411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail;
26414 {
26415 arg2 = static_cast<long >(SWIG_As_long(obj1));
26416 if (SWIG_arg_fail(2)) SWIG_fail;
26417 }
26418 {
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
26421
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 {
26426 wxFont * resultptr;
26427 resultptr = new wxFont(static_cast<wxFont & >(result));
26428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26429 }
26430 return resultobj;
26431 fail:
26432 return NULL;
26433 }
26434
26435
26436 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26437 PyObject *resultobj = NULL;
26438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26439 PyObject *arg2 = (PyObject *) 0 ;
26440 bool result;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char *kwnames[] = {
26444 (char *) "self",(char *) "func", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail;
26450 arg2 = obj1;
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 {
26459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26460 }
26461 return resultobj;
26462 fail:
26463 return NULL;
26464 }
26465
26466
26467 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj = NULL;
26469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26470 wxWindow *result;
26471 PyObject * obj0 = 0 ;
26472 char *kwnames[] = {
26473 (char *) "self", NULL
26474 };
26475
26476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail;
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 {
26487 resultobj = wxPyMake_wxObject(result, 0);
26488 }
26489 return resultobj;
26490 fail:
26491 return NULL;
26492 }
26493
26494
26495 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26496 PyObject *resultobj = NULL;
26497 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26498 wxVisualAttributes result;
26499 PyObject * obj0 = 0 ;
26500 char *kwnames[] = {
26501 (char *) "variant", NULL
26502 };
26503
26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26505 if (obj0) {
26506 {
26507 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
26508 if (SWIG_arg_fail(1)) SWIG_fail;
26509 }
26510 }
26511 {
26512 if (!wxPyCheckForApp()) SWIG_fail;
26513 PyThreadState* __tstate = wxPyBeginAllowThreads();
26514 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
26515
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 {
26520 wxVisualAttributes * resultptr;
26521 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
26522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26523 }
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26531 PyObject *obj;
26532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26533 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26534 Py_INCREF(obj);
26535 return Py_BuildValue((char *)"");
26536 }
26537 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26538 PyObject *resultobj = NULL;
26539 wxWindow *arg1 = (wxWindow *) 0 ;
26540 int arg2 = (int) -1 ;
26541 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26542 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26543 wxSize const &arg4_defvalue = wxDefaultSize ;
26544 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26545 long arg5 = (long) wxLC_REPORT ;
26546 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26547 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26548 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26549 wxString *arg7 = (wxString *) &arg7_defvalue ;
26550 wxListView *result;
26551 wxPoint temp3 ;
26552 wxSize temp4 ;
26553 bool temp7 = false ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 PyObject * obj2 = 0 ;
26557 PyObject * obj3 = 0 ;
26558 PyObject * obj4 = 0 ;
26559 PyObject * obj5 = 0 ;
26560 PyObject * obj6 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail;
26568 if (obj1) {
26569 {
26570 arg2 = static_cast<int >(SWIG_As_int(obj1));
26571 if (SWIG_arg_fail(2)) SWIG_fail;
26572 }
26573 }
26574 if (obj2) {
26575 {
26576 arg3 = &temp3;
26577 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26578 }
26579 }
26580 if (obj3) {
26581 {
26582 arg4 = &temp4;
26583 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26584 }
26585 }
26586 if (obj4) {
26587 {
26588 arg5 = static_cast<long >(SWIG_As_long(obj4));
26589 if (SWIG_arg_fail(5)) SWIG_fail;
26590 }
26591 }
26592 if (obj5) {
26593 {
26594 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26595 if (SWIG_arg_fail(6)) SWIG_fail;
26596 if (arg6 == NULL) {
26597 SWIG_null_ref("wxValidator");
26598 }
26599 if (SWIG_arg_fail(6)) SWIG_fail;
26600 }
26601 }
26602 if (obj6) {
26603 {
26604 arg7 = wxString_in_helper(obj6);
26605 if (arg7 == NULL) SWIG_fail;
26606 temp7 = true;
26607 }
26608 }
26609 {
26610 if (!wxPyCheckForApp()) SWIG_fail;
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26613
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26618 {
26619 if (temp7)
26620 delete arg7;
26621 }
26622 return resultobj;
26623 fail:
26624 {
26625 if (temp7)
26626 delete arg7;
26627 }
26628 return NULL;
26629 }
26630
26631
26632 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj = NULL;
26634 wxListView *result;
26635 char *kwnames[] = {
26636 NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26640 {
26641 if (!wxPyCheckForApp()) SWIG_fail;
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 result = (wxListView *)new wxListView();
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26649 return resultobj;
26650 fail:
26651 return NULL;
26652 }
26653
26654
26655 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj = NULL;
26657 wxListView *arg1 = (wxListView *) 0 ;
26658 wxWindow *arg2 = (wxWindow *) 0 ;
26659 int arg3 = (int) -1 ;
26660 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26661 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26662 wxSize const &arg5_defvalue = wxDefaultSize ;
26663 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26664 long arg6 = (long) wxLC_REPORT ;
26665 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26666 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26667 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26668 wxString *arg8 = (wxString *) &arg8_defvalue ;
26669 bool result;
26670 wxPoint temp4 ;
26671 wxSize temp5 ;
26672 bool temp8 = false ;
26673 PyObject * obj0 = 0 ;
26674 PyObject * obj1 = 0 ;
26675 PyObject * obj2 = 0 ;
26676 PyObject * obj3 = 0 ;
26677 PyObject * obj4 = 0 ;
26678 PyObject * obj5 = 0 ;
26679 PyObject * obj6 = 0 ;
26680 PyObject * obj7 = 0 ;
26681 char *kwnames[] = {
26682 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26683 };
26684
26685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26687 if (SWIG_arg_fail(1)) SWIG_fail;
26688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26689 if (SWIG_arg_fail(2)) SWIG_fail;
26690 if (obj2) {
26691 {
26692 arg3 = static_cast<int >(SWIG_As_int(obj2));
26693 if (SWIG_arg_fail(3)) SWIG_fail;
26694 }
26695 }
26696 if (obj3) {
26697 {
26698 arg4 = &temp4;
26699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26700 }
26701 }
26702 if (obj4) {
26703 {
26704 arg5 = &temp5;
26705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26706 }
26707 }
26708 if (obj5) {
26709 {
26710 arg6 = static_cast<long >(SWIG_As_long(obj5));
26711 if (SWIG_arg_fail(6)) SWIG_fail;
26712 }
26713 }
26714 if (obj6) {
26715 {
26716 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26717 if (SWIG_arg_fail(7)) SWIG_fail;
26718 if (arg7 == NULL) {
26719 SWIG_null_ref("wxValidator");
26720 }
26721 if (SWIG_arg_fail(7)) SWIG_fail;
26722 }
26723 }
26724 if (obj7) {
26725 {
26726 arg8 = wxString_in_helper(obj7);
26727 if (arg8 == NULL) SWIG_fail;
26728 temp8 = true;
26729 }
26730 }
26731 {
26732 PyThreadState* __tstate = wxPyBeginAllowThreads();
26733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26734
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 {
26739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26740 }
26741 {
26742 if (temp8)
26743 delete arg8;
26744 }
26745 return resultobj;
26746 fail:
26747 {
26748 if (temp8)
26749 delete arg8;
26750 }
26751 return NULL;
26752 }
26753
26754
26755 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26756 PyObject *resultobj = NULL;
26757 wxListView *arg1 = (wxListView *) 0 ;
26758 long arg2 ;
26759 bool arg3 = (bool) true ;
26760 PyObject * obj0 = 0 ;
26761 PyObject * obj1 = 0 ;
26762 PyObject * obj2 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self",(char *) "n",(char *) "on", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail;
26770 {
26771 arg2 = static_cast<long >(SWIG_As_long(obj1));
26772 if (SWIG_arg_fail(2)) SWIG_fail;
26773 }
26774 if (obj2) {
26775 {
26776 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26777 if (SWIG_arg_fail(3)) SWIG_fail;
26778 }
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 (arg1)->Select(arg2,arg3);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 Py_INCREF(Py_None); resultobj = Py_None;
26788 return resultobj;
26789 fail:
26790 return NULL;
26791 }
26792
26793
26794 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj = NULL;
26796 wxListView *arg1 = (wxListView *) 0 ;
26797 long arg2 ;
26798 PyObject * obj0 = 0 ;
26799 PyObject * obj1 = 0 ;
26800 char *kwnames[] = {
26801 (char *) "self",(char *) "index", NULL
26802 };
26803
26804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail;
26807 {
26808 arg2 = static_cast<long >(SWIG_As_long(obj1));
26809 if (SWIG_arg_fail(2)) SWIG_fail;
26810 }
26811 {
26812 PyThreadState* __tstate = wxPyBeginAllowThreads();
26813 (arg1)->Focus(arg2);
26814
26815 wxPyEndAllowThreads(__tstate);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 }
26818 Py_INCREF(Py_None); resultobj = Py_None;
26819 return resultobj;
26820 fail:
26821 return NULL;
26822 }
26823
26824
26825 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26826 PyObject *resultobj = NULL;
26827 wxListView *arg1 = (wxListView *) 0 ;
26828 long result;
26829 PyObject * obj0 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "self", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail;
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26840
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 {
26845 resultobj = SWIG_From_long(static_cast<long >(result));
26846 }
26847 return resultobj;
26848 fail:
26849 return NULL;
26850 }
26851
26852
26853 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26854 PyObject *resultobj = NULL;
26855 wxListView *arg1 = (wxListView *) 0 ;
26856 long arg2 ;
26857 long result;
26858 PyObject * obj0 = 0 ;
26859 PyObject * obj1 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "self",(char *) "item", NULL
26862 };
26863
26864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail;
26867 {
26868 arg2 = static_cast<long >(SWIG_As_long(obj1));
26869 if (SWIG_arg_fail(2)) SWIG_fail;
26870 }
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879 resultobj = SWIG_From_long(static_cast<long >(result));
26880 }
26881 return resultobj;
26882 fail:
26883 return NULL;
26884 }
26885
26886
26887 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26888 PyObject *resultobj = NULL;
26889 wxListView *arg1 = (wxListView *) 0 ;
26890 long result;
26891 PyObject * obj0 = 0 ;
26892 char *kwnames[] = {
26893 (char *) "self", NULL
26894 };
26895
26896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail;
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 {
26907 resultobj = SWIG_From_long(static_cast<long >(result));
26908 }
26909 return resultobj;
26910 fail:
26911 return NULL;
26912 }
26913
26914
26915 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26916 PyObject *resultobj = NULL;
26917 wxListView *arg1 = (wxListView *) 0 ;
26918 long arg2 ;
26919 bool result;
26920 PyObject * obj0 = 0 ;
26921 PyObject * obj1 = 0 ;
26922 char *kwnames[] = {
26923 (char *) "self",(char *) "index", NULL
26924 };
26925
26926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail;
26929 {
26930 arg2 = static_cast<long >(SWIG_As_long(obj1));
26931 if (SWIG_arg_fail(2)) SWIG_fail;
26932 }
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (bool)(arg1)->IsSelected(arg2);
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 {
26941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26942 }
26943 return resultobj;
26944 fail:
26945 return NULL;
26946 }
26947
26948
26949 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj = NULL;
26951 wxListView *arg1 = (wxListView *) 0 ;
26952 int arg2 ;
26953 int arg3 ;
26954 PyObject * obj0 = 0 ;
26955 PyObject * obj1 = 0 ;
26956 PyObject * obj2 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self",(char *) "col",(char *) "image", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail;
26964 {
26965 arg2 = static_cast<int >(SWIG_As_int(obj1));
26966 if (SWIG_arg_fail(2)) SWIG_fail;
26967 }
26968 {
26969 arg3 = static_cast<int >(SWIG_As_int(obj2));
26970 if (SWIG_arg_fail(3)) SWIG_fail;
26971 }
26972 {
26973 PyThreadState* __tstate = wxPyBeginAllowThreads();
26974 (arg1)->SetColumnImage(arg2,arg3);
26975
26976 wxPyEndAllowThreads(__tstate);
26977 if (PyErr_Occurred()) SWIG_fail;
26978 }
26979 Py_INCREF(Py_None); resultobj = Py_None;
26980 return resultobj;
26981 fail:
26982 return NULL;
26983 }
26984
26985
26986 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26987 PyObject *resultobj = NULL;
26988 wxListView *arg1 = (wxListView *) 0 ;
26989 int arg2 ;
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self",(char *) "col", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail;
26999 {
27000 arg2 = static_cast<int >(SWIG_As_int(obj1));
27001 if (SWIG_arg_fail(2)) SWIG_fail;
27002 }
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 (arg1)->ClearColumnImage(arg2);
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 Py_INCREF(Py_None); resultobj = Py_None;
27011 return resultobj;
27012 fail:
27013 return NULL;
27014 }
27015
27016
27017 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27018 PyObject *obj;
27019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27020 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27021 Py_INCREF(obj);
27022 return Py_BuildValue((char *)"");
27023 }
27024 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27025 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27026 return 1;
27027 }
27028
27029
27030 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27031 PyObject *pyobj = NULL;
27032
27033 {
27034 #if wxUSE_UNICODE
27035 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27036 #else
27037 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27038 #endif
27039 }
27040 return pyobj;
27041 }
27042
27043
27044 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27045 PyObject *resultobj = NULL;
27046 wxTreeItemId *result;
27047 char *kwnames[] = {
27048 NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = (wxTreeItemId *)new wxTreeItemId();
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27060 return resultobj;
27061 fail:
27062 return NULL;
27063 }
27064
27065
27066 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj = NULL;
27068 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27069 PyObject * obj0 = 0 ;
27070 char *kwnames[] = {
27071 (char *) "self", NULL
27072 };
27073
27074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27076 if (SWIG_arg_fail(1)) SWIG_fail;
27077 {
27078 PyThreadState* __tstate = wxPyBeginAllowThreads();
27079 delete arg1;
27080
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 Py_INCREF(Py_None); resultobj = Py_None;
27085 return resultobj;
27086 fail:
27087 return NULL;
27088 }
27089
27090
27091 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj = NULL;
27093 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27094 bool result;
27095 PyObject * obj0 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail;
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 {
27111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27112 }
27113 return resultobj;
27114 fail:
27115 return NULL;
27116 }
27117
27118
27119 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27120 PyObject *resultobj = NULL;
27121 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27122 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27123 bool result;
27124 PyObject * obj0 = 0 ;
27125 PyObject * obj1 = 0 ;
27126 char *kwnames[] = {
27127 (char *) "self",(char *) "other", NULL
27128 };
27129
27130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail;
27133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27134 if (SWIG_arg_fail(2)) SWIG_fail;
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
27137 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27138
27139 wxPyEndAllowThreads(__tstate);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 {
27143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27144 }
27145 return resultobj;
27146 fail:
27147 return NULL;
27148 }
27149
27150
27151 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27152 PyObject *resultobj = NULL;
27153 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27154 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27155 bool result;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 char *kwnames[] = {
27159 (char *) "self",(char *) "other", NULL
27160 };
27161
27162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27164 if (SWIG_arg_fail(1)) SWIG_fail;
27165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27166 if (SWIG_arg_fail(2)) SWIG_fail;
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 {
27175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27176 }
27177 return resultobj;
27178 fail:
27179 return NULL;
27180 }
27181
27182
27183 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj = NULL;
27185 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27186 void *arg2 = (void *) 0 ;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 char *kwnames[] = {
27190 (char *) "self",(char *) "m_pItem", NULL
27191 };
27192
27193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27195 if (SWIG_arg_fail(1)) SWIG_fail;
27196 {
27197 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27198 SWIG_arg_fail(2);SWIG_fail;
27199 }
27200 }
27201 if (arg1) (arg1)->m_pItem = arg2;
27202
27203 Py_INCREF(Py_None); resultobj = Py_None;
27204 return resultobj;
27205 fail:
27206 return NULL;
27207 }
27208
27209
27210 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27211 PyObject *resultobj = NULL;
27212 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27213 void *result;
27214 PyObject * obj0 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self", NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 result = (void *) ((arg1)->m_pItem);
27223
27224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27232 PyObject *obj;
27233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27235 Py_INCREF(obj);
27236 return Py_BuildValue((char *)"");
27237 }
27238 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27239 PyObject *resultobj = NULL;
27240 PyObject *arg1 = (PyObject *) NULL ;
27241 wxPyTreeItemData *result;
27242 PyObject * obj0 = 0 ;
27243 char *kwnames[] = {
27244 (char *) "obj", NULL
27245 };
27246
27247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27248 if (obj0) {
27249 arg1 = obj0;
27250 }
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27254
27255 wxPyEndAllowThreads(__tstate);
27256 if (PyErr_Occurred()) SWIG_fail;
27257 }
27258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27259 return resultobj;
27260 fail:
27261 return NULL;
27262 }
27263
27264
27265 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27266 PyObject *resultobj = NULL;
27267 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27268 PyObject *result;
27269 PyObject * obj0 = 0 ;
27270 char *kwnames[] = {
27271 (char *) "self", NULL
27272 };
27273
27274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail;
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 result = (PyObject *)(arg1)->GetData();
27280
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 resultobj = result;
27285 return resultobj;
27286 fail:
27287 return NULL;
27288 }
27289
27290
27291 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27292 PyObject *resultobj = NULL;
27293 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27294 PyObject *arg2 = (PyObject *) 0 ;
27295 PyObject * obj0 = 0 ;
27296 PyObject * obj1 = 0 ;
27297 char *kwnames[] = {
27298 (char *) "self",(char *) "obj", NULL
27299 };
27300
27301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail;
27304 arg2 = obj1;
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 (arg1)->SetData(arg2);
27308
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 Py_INCREF(Py_None); resultobj = Py_None;
27313 return resultobj;
27314 fail:
27315 return NULL;
27316 }
27317
27318
27319 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27320 PyObject *resultobj = NULL;
27321 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27322 wxTreeItemId *result;
27323 PyObject * obj0 = 0 ;
27324 char *kwnames[] = {
27325 (char *) "self", NULL
27326 };
27327
27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail;
27331 {
27332 PyThreadState* __tstate = wxPyBeginAllowThreads();
27333 {
27334 wxTreeItemId const &_result_ref = (arg1)->GetId();
27335 result = (wxTreeItemId *) &_result_ref;
27336 }
27337
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27342 return resultobj;
27343 fail:
27344 return NULL;
27345 }
27346
27347
27348 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27349 PyObject *resultobj = NULL;
27350 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27351 wxTreeItemId *arg2 = 0 ;
27352 PyObject * obj0 = 0 ;
27353 PyObject * obj1 = 0 ;
27354 char *kwnames[] = {
27355 (char *) "self",(char *) "id", NULL
27356 };
27357
27358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail;
27361 {
27362 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27363 if (SWIG_arg_fail(2)) SWIG_fail;
27364 if (arg2 == NULL) {
27365 SWIG_null_ref("wxTreeItemId");
27366 }
27367 if (SWIG_arg_fail(2)) SWIG_fail;
27368 }
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->SetId((wxTreeItemId const &)*arg2);
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 Py_INCREF(Py_None); resultobj = Py_None;
27377 return resultobj;
27378 fail:
27379 return NULL;
27380 }
27381
27382
27383 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj = NULL;
27385 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27386 PyObject * obj0 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail;
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 wxPyTreeItemData_Destroy(arg1);
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 Py_INCREF(Py_None); resultobj = Py_None;
27402 return resultobj;
27403 fail:
27404 return NULL;
27405 }
27406
27407
27408 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27409 PyObject *obj;
27410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27411 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27412 Py_INCREF(obj);
27413 return Py_BuildValue((char *)"");
27414 }
27415 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj = NULL;
27417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27418 int arg2 = (int) 0 ;
27419 wxTreeEvent *result;
27420 PyObject * obj0 = 0 ;
27421 PyObject * obj1 = 0 ;
27422 char *kwnames[] = {
27423 (char *) "commandType",(char *) "id", NULL
27424 };
27425
27426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27427 if (obj0) {
27428 {
27429 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
27430 if (SWIG_arg_fail(1)) SWIG_fail;
27431 }
27432 }
27433 if (obj1) {
27434 {
27435 arg2 = static_cast<int >(SWIG_As_int(obj1));
27436 if (SWIG_arg_fail(2)) SWIG_fail;
27437 }
27438 }
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27447 return resultobj;
27448 fail:
27449 return NULL;
27450 }
27451
27452
27453 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj = NULL;
27455 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27456 wxTreeItemId result;
27457 PyObject * obj0 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail;
27465 {
27466 PyThreadState* __tstate = wxPyBeginAllowThreads();
27467 result = ((wxTreeEvent const *)arg1)->GetItem();
27468
27469 wxPyEndAllowThreads(__tstate);
27470 if (PyErr_Occurred()) SWIG_fail;
27471 }
27472 {
27473 wxTreeItemId * resultptr;
27474 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
27475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27476 }
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj = NULL;
27485 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27486 wxTreeItemId *arg2 = 0 ;
27487 PyObject * obj0 = 0 ;
27488 PyObject * obj1 = 0 ;
27489 char *kwnames[] = {
27490 (char *) "self",(char *) "item", NULL
27491 };
27492
27493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27495 if (SWIG_arg_fail(1)) SWIG_fail;
27496 {
27497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27498 if (SWIG_arg_fail(2)) SWIG_fail;
27499 if (arg2 == NULL) {
27500 SWIG_null_ref("wxTreeItemId");
27501 }
27502 if (SWIG_arg_fail(2)) SWIG_fail;
27503 }
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 Py_INCREF(Py_None); resultobj = Py_None;
27512 return resultobj;
27513 fail:
27514 return NULL;
27515 }
27516
27517
27518 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27519 PyObject *resultobj = NULL;
27520 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27521 wxTreeItemId result;
27522 PyObject * obj0 = 0 ;
27523 char *kwnames[] = {
27524 (char *) "self", NULL
27525 };
27526
27527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail;
27530 {
27531 PyThreadState* __tstate = wxPyBeginAllowThreads();
27532 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27533
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 {
27538 wxTreeItemId * resultptr;
27539 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
27540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27541 }
27542 return resultobj;
27543 fail:
27544 return NULL;
27545 }
27546
27547
27548 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj = NULL;
27550 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27551 wxTreeItemId *arg2 = 0 ;
27552 PyObject * obj0 = 0 ;
27553 PyObject * obj1 = 0 ;
27554 char *kwnames[] = {
27555 (char *) "self",(char *) "item", NULL
27556 };
27557
27558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail;
27561 {
27562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27563 if (SWIG_arg_fail(2)) SWIG_fail;
27564 if (arg2 == NULL) {
27565 SWIG_null_ref("wxTreeItemId");
27566 }
27567 if (SWIG_arg_fail(2)) SWIG_fail;
27568 }
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 Py_INCREF(Py_None); resultobj = Py_None;
27577 return resultobj;
27578 fail:
27579 return NULL;
27580 }
27581
27582
27583 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27584 PyObject *resultobj = NULL;
27585 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27586 wxPoint result;
27587 PyObject * obj0 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail;
27595 {
27596 PyThreadState* __tstate = wxPyBeginAllowThreads();
27597 result = ((wxTreeEvent const *)arg1)->GetPoint();
27598
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 {
27603 wxPoint * resultptr;
27604 resultptr = new wxPoint(static_cast<wxPoint & >(result));
27605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27606 }
27607 return resultobj;
27608 fail:
27609 return NULL;
27610 }
27611
27612
27613 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27614 PyObject *resultobj = NULL;
27615 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27616 wxPoint *arg2 = 0 ;
27617 wxPoint temp2 ;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char *kwnames[] = {
27621 (char *) "self",(char *) "pt", NULL
27622 };
27623
27624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail;
27627 {
27628 arg2 = &temp2;
27629 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27630 }
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 (arg1)->SetPoint((wxPoint const &)*arg2);
27634
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 Py_INCREF(Py_None); resultobj = Py_None;
27639 return resultobj;
27640 fail:
27641 return NULL;
27642 }
27643
27644
27645 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj = NULL;
27647 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27648 wxKeyEvent *result;
27649 PyObject * obj0 = 0 ;
27650 char *kwnames[] = {
27651 (char *) "self", NULL
27652 };
27653
27654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27656 if (SWIG_arg_fail(1)) SWIG_fail;
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 {
27660 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27661 result = (wxKeyEvent *) &_result_ref;
27662 }
27663
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
27667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27668 return resultobj;
27669 fail:
27670 return NULL;
27671 }
27672
27673
27674 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27675 PyObject *resultobj = NULL;
27676 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27677 int result;
27678 PyObject * obj0 = 0 ;
27679 char *kwnames[] = {
27680 (char *) "self", NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail;
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 {
27694 resultobj = SWIG_From_int(static_cast<int >(result));
27695 }
27696 return resultobj;
27697 fail:
27698 return NULL;
27699 }
27700
27701
27702 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27703 PyObject *resultobj = NULL;
27704 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27705 wxKeyEvent *arg2 = 0 ;
27706 PyObject * obj0 = 0 ;
27707 PyObject * obj1 = 0 ;
27708 char *kwnames[] = {
27709 (char *) "self",(char *) "evt", NULL
27710 };
27711
27712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27714 if (SWIG_arg_fail(1)) SWIG_fail;
27715 {
27716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27717 if (SWIG_arg_fail(2)) SWIG_fail;
27718 if (arg2 == NULL) {
27719 SWIG_null_ref("wxKeyEvent");
27720 }
27721 if (SWIG_arg_fail(2)) SWIG_fail;
27722 }
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 Py_INCREF(Py_None); resultobj = Py_None;
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27738 PyObject *resultobj = NULL;
27739 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27740 wxString *result;
27741 PyObject * obj0 = 0 ;
27742 char *kwnames[] = {
27743 (char *) "self", NULL
27744 };
27745
27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27748 if (SWIG_arg_fail(1)) SWIG_fail;
27749 {
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 {
27752 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27753 result = (wxString *) &_result_ref;
27754 }
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 {
27760 #if wxUSE_UNICODE
27761 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27762 #else
27763 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27764 #endif
27765 }
27766 return resultobj;
27767 fail:
27768 return NULL;
27769 }
27770
27771
27772 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27773 PyObject *resultobj = NULL;
27774 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27775 wxString *arg2 = 0 ;
27776 bool temp2 = false ;
27777 PyObject * obj0 = 0 ;
27778 PyObject * obj1 = 0 ;
27779 char *kwnames[] = {
27780 (char *) "self",(char *) "label", NULL
27781 };
27782
27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail;
27786 {
27787 arg2 = wxString_in_helper(obj1);
27788 if (arg2 == NULL) SWIG_fail;
27789 temp2 = true;
27790 }
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->SetLabel((wxString const &)*arg2);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 {
27800 if (temp2)
27801 delete arg2;
27802 }
27803 return resultobj;
27804 fail:
27805 {
27806 if (temp2)
27807 delete arg2;
27808 }
27809 return NULL;
27810 }
27811
27812
27813 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj = NULL;
27815 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27816 bool result;
27817 PyObject * obj0 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail;
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 {
27833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27834 }
27835 return resultobj;
27836 fail:
27837 return NULL;
27838 }
27839
27840
27841 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27842 PyObject *resultobj = NULL;
27843 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27844 bool arg2 ;
27845 PyObject * obj0 = 0 ;
27846 PyObject * obj1 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self",(char *) "editCancelled", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail;
27854 {
27855 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
27856 if (SWIG_arg_fail(2)) SWIG_fail;
27857 }
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 (arg1)->SetEditCanceled(arg2);
27861
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 Py_INCREF(Py_None); resultobj = Py_None;
27866 return resultobj;
27867 fail:
27868 return NULL;
27869 }
27870
27871
27872 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj = NULL;
27874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27875 wxString *arg2 = 0 ;
27876 bool temp2 = false ;
27877 PyObject * obj0 = 0 ;
27878 PyObject * obj1 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self",(char *) "toolTip", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27885 if (SWIG_arg_fail(1)) SWIG_fail;
27886 {
27887 arg2 = wxString_in_helper(obj1);
27888 if (arg2 == NULL) SWIG_fail;
27889 temp2 = true;
27890 }
27891 {
27892 PyThreadState* __tstate = wxPyBeginAllowThreads();
27893 (arg1)->SetToolTip((wxString const &)*arg2);
27894
27895 wxPyEndAllowThreads(__tstate);
27896 if (PyErr_Occurred()) SWIG_fail;
27897 }
27898 Py_INCREF(Py_None); resultobj = Py_None;
27899 {
27900 if (temp2)
27901 delete arg2;
27902 }
27903 return resultobj;
27904 fail:
27905 {
27906 if (temp2)
27907 delete arg2;
27908 }
27909 return NULL;
27910 }
27911
27912
27913 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj = NULL;
27915 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27916 wxString result;
27917 PyObject * obj0 = 0 ;
27918 char *kwnames[] = {
27919 (char *) "self", NULL
27920 };
27921
27922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail;
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 result = (arg1)->GetToolTip();
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 {
27933 #if wxUSE_UNICODE
27934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27935 #else
27936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27937 #endif
27938 }
27939 return resultobj;
27940 fail:
27941 return NULL;
27942 }
27943
27944
27945 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27946 PyObject *obj;
27947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27948 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27949 Py_INCREF(obj);
27950 return Py_BuildValue((char *)"");
27951 }
27952 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj = NULL;
27954 wxWindow *arg1 = (wxWindow *) 0 ;
27955 int arg2 = (int) -1 ;
27956 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27957 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27958 wxSize const &arg4_defvalue = wxDefaultSize ;
27959 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27960 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27961 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27962 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27963 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27964 wxString *arg7 = (wxString *) &arg7_defvalue ;
27965 wxPyTreeCtrl *result;
27966 wxPoint temp3 ;
27967 wxSize temp4 ;
27968 bool temp7 = false ;
27969 PyObject * obj0 = 0 ;
27970 PyObject * obj1 = 0 ;
27971 PyObject * obj2 = 0 ;
27972 PyObject * obj3 = 0 ;
27973 PyObject * obj4 = 0 ;
27974 PyObject * obj5 = 0 ;
27975 PyObject * obj6 = 0 ;
27976 char *kwnames[] = {
27977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27978 };
27979
27980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27982 if (SWIG_arg_fail(1)) SWIG_fail;
27983 if (obj1) {
27984 {
27985 arg2 = static_cast<int >(SWIG_As_int(obj1));
27986 if (SWIG_arg_fail(2)) SWIG_fail;
27987 }
27988 }
27989 if (obj2) {
27990 {
27991 arg3 = &temp3;
27992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27993 }
27994 }
27995 if (obj3) {
27996 {
27997 arg4 = &temp4;
27998 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27999 }
28000 }
28001 if (obj4) {
28002 {
28003 arg5 = static_cast<long >(SWIG_As_long(obj4));
28004 if (SWIG_arg_fail(5)) SWIG_fail;
28005 }
28006 }
28007 if (obj5) {
28008 {
28009 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28010 if (SWIG_arg_fail(6)) SWIG_fail;
28011 if (arg6 == NULL) {
28012 SWIG_null_ref("wxValidator");
28013 }
28014 if (SWIG_arg_fail(6)) SWIG_fail;
28015 }
28016 }
28017 if (obj6) {
28018 {
28019 arg7 = wxString_in_helper(obj6);
28020 if (arg7 == NULL) SWIG_fail;
28021 temp7 = true;
28022 }
28023 }
28024 {
28025 if (!wxPyCheckForApp()) SWIG_fail;
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28028
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
28032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28033 {
28034 if (temp7)
28035 delete arg7;
28036 }
28037 return resultobj;
28038 fail:
28039 {
28040 if (temp7)
28041 delete arg7;
28042 }
28043 return NULL;
28044 }
28045
28046
28047 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28048 PyObject *resultobj = NULL;
28049 wxPyTreeCtrl *result;
28050 char *kwnames[] = {
28051 NULL
28052 };
28053
28054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28055 {
28056 if (!wxPyCheckForApp()) SWIG_fail;
28057 PyThreadState* __tstate = wxPyBeginAllowThreads();
28058 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28059
28060 wxPyEndAllowThreads(__tstate);
28061 if (PyErr_Occurred()) SWIG_fail;
28062 }
28063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28064 return resultobj;
28065 fail:
28066 return NULL;
28067 }
28068
28069
28070 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28071 PyObject *resultobj = NULL;
28072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28073 wxWindow *arg2 = (wxWindow *) 0 ;
28074 int arg3 = (int) -1 ;
28075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28077 wxSize const &arg5_defvalue = wxDefaultSize ;
28078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28079 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28080 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28081 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28082 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28083 wxString *arg8 = (wxString *) &arg8_defvalue ;
28084 bool result;
28085 wxPoint temp4 ;
28086 wxSize temp5 ;
28087 bool temp8 = false ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 PyObject * obj2 = 0 ;
28091 PyObject * obj3 = 0 ;
28092 PyObject * obj4 = 0 ;
28093 PyObject * obj5 = 0 ;
28094 PyObject * obj6 = 0 ;
28095 PyObject * obj7 = 0 ;
28096 char *kwnames[] = {
28097 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28098 };
28099
28100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail;
28103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28104 if (SWIG_arg_fail(2)) SWIG_fail;
28105 if (obj2) {
28106 {
28107 arg3 = static_cast<int >(SWIG_As_int(obj2));
28108 if (SWIG_arg_fail(3)) SWIG_fail;
28109 }
28110 }
28111 if (obj3) {
28112 {
28113 arg4 = &temp4;
28114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28115 }
28116 }
28117 if (obj4) {
28118 {
28119 arg5 = &temp5;
28120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28121 }
28122 }
28123 if (obj5) {
28124 {
28125 arg6 = static_cast<long >(SWIG_As_long(obj5));
28126 if (SWIG_arg_fail(6)) SWIG_fail;
28127 }
28128 }
28129 if (obj6) {
28130 {
28131 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28132 if (SWIG_arg_fail(7)) SWIG_fail;
28133 if (arg7 == NULL) {
28134 SWIG_null_ref("wxValidator");
28135 }
28136 if (SWIG_arg_fail(7)) SWIG_fail;
28137 }
28138 }
28139 if (obj7) {
28140 {
28141 arg8 = wxString_in_helper(obj7);
28142 if (arg8 == NULL) SWIG_fail;
28143 temp8 = true;
28144 }
28145 }
28146 {
28147 PyThreadState* __tstate = wxPyBeginAllowThreads();
28148 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28149
28150 wxPyEndAllowThreads(__tstate);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 {
28154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28155 }
28156 {
28157 if (temp8)
28158 delete arg8;
28159 }
28160 return resultobj;
28161 fail:
28162 {
28163 if (temp8)
28164 delete arg8;
28165 }
28166 return NULL;
28167 }
28168
28169
28170 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28171 PyObject *resultobj = NULL;
28172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28173 PyObject *arg2 = (PyObject *) 0 ;
28174 PyObject *arg3 = (PyObject *) 0 ;
28175 PyObject * obj0 = 0 ;
28176 PyObject * obj1 = 0 ;
28177 PyObject * obj2 = 0 ;
28178 char *kwnames[] = {
28179 (char *) "self",(char *) "self",(char *) "_class", NULL
28180 };
28181
28182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28184 if (SWIG_arg_fail(1)) SWIG_fail;
28185 arg2 = obj1;
28186 arg3 = obj2;
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 (arg1)->_setCallbackInfo(arg2,arg3);
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 Py_INCREF(Py_None); resultobj = Py_None;
28195 return resultobj;
28196 fail:
28197 return NULL;
28198 }
28199
28200
28201 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28202 PyObject *resultobj = NULL;
28203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28204 size_t result;
28205 PyObject * obj0 = 0 ;
28206 char *kwnames[] = {
28207 (char *) "self", NULL
28208 };
28209
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28212 if (SWIG_arg_fail(1)) SWIG_fail;
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28216
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 {
28221 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
28222 }
28223 return resultobj;
28224 fail:
28225 return NULL;
28226 }
28227
28228
28229 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28230 PyObject *resultobj = NULL;
28231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28232 unsigned int result;
28233 PyObject * obj0 = 0 ;
28234 char *kwnames[] = {
28235 (char *) "self", NULL
28236 };
28237
28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28240 if (SWIG_arg_fail(1)) SWIG_fail;
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28244
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 {
28249 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
28250 }
28251 return resultobj;
28252 fail:
28253 return NULL;
28254 }
28255
28256
28257 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28258 PyObject *resultobj = NULL;
28259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28260 unsigned int arg2 ;
28261 PyObject * obj0 = 0 ;
28262 PyObject * obj1 = 0 ;
28263 char *kwnames[] = {
28264 (char *) "self",(char *) "indent", NULL
28265 };
28266
28267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail;
28270 {
28271 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
28272 if (SWIG_arg_fail(2)) SWIG_fail;
28273 }
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->SetIndent(arg2);
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 Py_INCREF(Py_None); resultobj = Py_None;
28282 return resultobj;
28283 fail:
28284 return NULL;
28285 }
28286
28287
28288 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj = NULL;
28290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28291 unsigned int result;
28292 PyObject * obj0 = 0 ;
28293 char *kwnames[] = {
28294 (char *) "self", NULL
28295 };
28296
28297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail;
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28303
28304 wxPyEndAllowThreads(__tstate);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 }
28307 {
28308 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
28309 }
28310 return resultobj;
28311 fail:
28312 return NULL;
28313 }
28314
28315
28316 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28317 PyObject *resultobj = NULL;
28318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28319 unsigned int arg2 ;
28320 PyObject * obj0 = 0 ;
28321 PyObject * obj1 = 0 ;
28322 char *kwnames[] = {
28323 (char *) "self",(char *) "spacing", NULL
28324 };
28325
28326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28328 if (SWIG_arg_fail(1)) SWIG_fail;
28329 {
28330 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
28331 if (SWIG_arg_fail(2)) SWIG_fail;
28332 }
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 (arg1)->SetSpacing(arg2);
28336
28337 wxPyEndAllowThreads(__tstate);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 }
28340 Py_INCREF(Py_None); resultobj = Py_None;
28341 return resultobj;
28342 fail:
28343 return NULL;
28344 }
28345
28346
28347 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28348 PyObject *resultobj = NULL;
28349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28350 wxImageList *result;
28351 PyObject * obj0 = 0 ;
28352 char *kwnames[] = {
28353 (char *) "self", NULL
28354 };
28355
28356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail;
28359 {
28360 PyThreadState* __tstate = wxPyBeginAllowThreads();
28361 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28362
28363 wxPyEndAllowThreads(__tstate);
28364 if (PyErr_Occurred()) SWIG_fail;
28365 }
28366 {
28367 resultobj = wxPyMake_wxObject(result, 0);
28368 }
28369 return resultobj;
28370 fail:
28371 return NULL;
28372 }
28373
28374
28375 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28376 PyObject *resultobj = NULL;
28377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28378 wxImageList *result;
28379 PyObject * obj0 = 0 ;
28380 char *kwnames[] = {
28381 (char *) "self", NULL
28382 };
28383
28384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28386 if (SWIG_arg_fail(1)) SWIG_fail;
28387 {
28388 PyThreadState* __tstate = wxPyBeginAllowThreads();
28389 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28390
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
28394 {
28395 resultobj = wxPyMake_wxObject(result, 0);
28396 }
28397 return resultobj;
28398 fail:
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj = NULL;
28405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28406 wxImageList *arg2 = (wxImageList *) 0 ;
28407 PyObject * obj0 = 0 ;
28408 PyObject * obj1 = 0 ;
28409 char *kwnames[] = {
28410 (char *) "self",(char *) "imageList", NULL
28411 };
28412
28413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28415 if (SWIG_arg_fail(1)) SWIG_fail;
28416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28417 if (SWIG_arg_fail(2)) SWIG_fail;
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 (arg1)->SetImageList(arg2);
28421
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
28425 Py_INCREF(Py_None); resultobj = Py_None;
28426 return resultobj;
28427 fail:
28428 return NULL;
28429 }
28430
28431
28432 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28433 PyObject *resultobj = NULL;
28434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28435 wxImageList *arg2 = (wxImageList *) 0 ;
28436 PyObject * obj0 = 0 ;
28437 PyObject * obj1 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self",(char *) "imageList", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28444 if (SWIG_arg_fail(1)) SWIG_fail;
28445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28446 if (SWIG_arg_fail(2)) SWIG_fail;
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 (arg1)->SetStateImageList(arg2);
28450
28451 wxPyEndAllowThreads(__tstate);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 Py_INCREF(Py_None); resultobj = Py_None;
28455 return resultobj;
28456 fail:
28457 return NULL;
28458 }
28459
28460
28461 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28462 PyObject *resultobj = NULL;
28463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28464 wxImageList *arg2 = (wxImageList *) 0 ;
28465 PyObject * obj0 = 0 ;
28466 PyObject * obj1 = 0 ;
28467 char *kwnames[] = {
28468 (char *) "self",(char *) "imageList", NULL
28469 };
28470
28471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28473 if (SWIG_arg_fail(1)) SWIG_fail;
28474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28475 if (SWIG_arg_fail(2)) SWIG_fail;
28476 {
28477 PyThreadState* __tstate = wxPyBeginAllowThreads();
28478 (arg1)->AssignImageList(arg2);
28479
28480 wxPyEndAllowThreads(__tstate);
28481 if (PyErr_Occurred()) SWIG_fail;
28482 }
28483 Py_INCREF(Py_None); resultobj = Py_None;
28484 return resultobj;
28485 fail:
28486 return NULL;
28487 }
28488
28489
28490 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28491 PyObject *resultobj = NULL;
28492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28493 wxImageList *arg2 = (wxImageList *) 0 ;
28494 PyObject * obj0 = 0 ;
28495 PyObject * obj1 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self",(char *) "imageList", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28502 if (SWIG_arg_fail(1)) SWIG_fail;
28503 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28504 if (SWIG_arg_fail(2)) SWIG_fail;
28505 {
28506 PyThreadState* __tstate = wxPyBeginAllowThreads();
28507 (arg1)->AssignStateImageList(arg2);
28508
28509 wxPyEndAllowThreads(__tstate);
28510 if (PyErr_Occurred()) SWIG_fail;
28511 }
28512 Py_INCREF(Py_None); resultobj = Py_None;
28513 return resultobj;
28514 fail:
28515 return NULL;
28516 }
28517
28518
28519 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28520 PyObject *resultobj = NULL;
28521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28522 wxTreeItemId *arg2 = 0 ;
28523 wxString result;
28524 PyObject * obj0 = 0 ;
28525 PyObject * obj1 = 0 ;
28526 char *kwnames[] = {
28527 (char *) "self",(char *) "item", NULL
28528 };
28529
28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28532 if (SWIG_arg_fail(1)) SWIG_fail;
28533 {
28534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 if (arg2 == NULL) {
28537 SWIG_null_ref("wxTreeItemId");
28538 }
28539 if (SWIG_arg_fail(2)) SWIG_fail;
28540 }
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 {
28549 #if wxUSE_UNICODE
28550 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28551 #else
28552 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28553 #endif
28554 }
28555 return resultobj;
28556 fail:
28557 return NULL;
28558 }
28559
28560
28561 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28562 PyObject *resultobj = NULL;
28563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28564 wxTreeItemId *arg2 = 0 ;
28565 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28566 int result;
28567 PyObject * obj0 = 0 ;
28568 PyObject * obj1 = 0 ;
28569 PyObject * obj2 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self",(char *) "item",(char *) "which", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail;
28577 {
28578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28579 if (SWIG_arg_fail(2)) SWIG_fail;
28580 if (arg2 == NULL) {
28581 SWIG_null_ref("wxTreeItemId");
28582 }
28583 if (SWIG_arg_fail(2)) SWIG_fail;
28584 }
28585 if (obj2) {
28586 {
28587 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
28588 if (SWIG_arg_fail(3)) SWIG_fail;
28589 }
28590 }
28591 {
28592 PyThreadState* __tstate = wxPyBeginAllowThreads();
28593 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
28594
28595 wxPyEndAllowThreads(__tstate);
28596 if (PyErr_Occurred()) SWIG_fail;
28597 }
28598 {
28599 resultobj = SWIG_From_int(static_cast<int >(result));
28600 }
28601 return resultobj;
28602 fail:
28603 return NULL;
28604 }
28605
28606
28607 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28608 PyObject *resultobj = NULL;
28609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28610 wxTreeItemId *arg2 = 0 ;
28611 wxPyTreeItemData *result;
28612 PyObject * obj0 = 0 ;
28613 PyObject * obj1 = 0 ;
28614 char *kwnames[] = {
28615 (char *) "self",(char *) "item", NULL
28616 };
28617
28618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail;
28621 {
28622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28623 if (SWIG_arg_fail(2)) SWIG_fail;
28624 if (arg2 == NULL) {
28625 SWIG_null_ref("wxTreeItemId");
28626 }
28627 if (SWIG_arg_fail(2)) SWIG_fail;
28628 }
28629 {
28630 PyThreadState* __tstate = wxPyBeginAllowThreads();
28631 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28632
28633 wxPyEndAllowThreads(__tstate);
28634 if (PyErr_Occurred()) SWIG_fail;
28635 }
28636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28637 return resultobj;
28638 fail:
28639 return NULL;
28640 }
28641
28642
28643 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28644 PyObject *resultobj = NULL;
28645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28646 wxTreeItemId *arg2 = 0 ;
28647 PyObject *result;
28648 PyObject * obj0 = 0 ;
28649 PyObject * obj1 = 0 ;
28650 char *kwnames[] = {
28651 (char *) "self",(char *) "item", NULL
28652 };
28653
28654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail;
28657 {
28658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28659 if (SWIG_arg_fail(2)) SWIG_fail;
28660 if (arg2 == NULL) {
28661 SWIG_null_ref("wxTreeItemId");
28662 }
28663 if (SWIG_arg_fail(2)) SWIG_fail;
28664 }
28665 {
28666 PyThreadState* __tstate = wxPyBeginAllowThreads();
28667 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28668
28669 wxPyEndAllowThreads(__tstate);
28670 if (PyErr_Occurred()) SWIG_fail;
28671 }
28672 resultobj = result;
28673 return resultobj;
28674 fail:
28675 return NULL;
28676 }
28677
28678
28679 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28680 PyObject *resultobj = NULL;
28681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28682 wxTreeItemId *arg2 = 0 ;
28683 wxColour result;
28684 PyObject * obj0 = 0 ;
28685 PyObject * obj1 = 0 ;
28686 char *kwnames[] = {
28687 (char *) "self",(char *) "item", NULL
28688 };
28689
28690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28692 if (SWIG_arg_fail(1)) SWIG_fail;
28693 {
28694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28695 if (SWIG_arg_fail(2)) SWIG_fail;
28696 if (arg2 == NULL) {
28697 SWIG_null_ref("wxTreeItemId");
28698 }
28699 if (SWIG_arg_fail(2)) SWIG_fail;
28700 }
28701 {
28702 PyThreadState* __tstate = wxPyBeginAllowThreads();
28703 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28704
28705 wxPyEndAllowThreads(__tstate);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 {
28709 wxColour * resultptr;
28710 resultptr = new wxColour(static_cast<wxColour & >(result));
28711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28712 }
28713 return resultobj;
28714 fail:
28715 return NULL;
28716 }
28717
28718
28719 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28720 PyObject *resultobj = NULL;
28721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28722 wxTreeItemId *arg2 = 0 ;
28723 wxColour result;
28724 PyObject * obj0 = 0 ;
28725 PyObject * obj1 = 0 ;
28726 char *kwnames[] = {
28727 (char *) "self",(char *) "item", NULL
28728 };
28729
28730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail;
28733 {
28734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail;
28736 if (arg2 == NULL) {
28737 SWIG_null_ref("wxTreeItemId");
28738 }
28739 if (SWIG_arg_fail(2)) SWIG_fail;
28740 }
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 {
28749 wxColour * resultptr;
28750 resultptr = new wxColour(static_cast<wxColour & >(result));
28751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28752 }
28753 return resultobj;
28754 fail:
28755 return NULL;
28756 }
28757
28758
28759 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28760 PyObject *resultobj = NULL;
28761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28762 wxTreeItemId *arg2 = 0 ;
28763 wxFont result;
28764 PyObject * obj0 = 0 ;
28765 PyObject * obj1 = 0 ;
28766 char *kwnames[] = {
28767 (char *) "self",(char *) "item", NULL
28768 };
28769
28770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28772 if (SWIG_arg_fail(1)) SWIG_fail;
28773 {
28774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28775 if (SWIG_arg_fail(2)) SWIG_fail;
28776 if (arg2 == NULL) {
28777 SWIG_null_ref("wxTreeItemId");
28778 }
28779 if (SWIG_arg_fail(2)) SWIG_fail;
28780 }
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 {
28789 wxFont * resultptr;
28790 resultptr = new wxFont(static_cast<wxFont & >(result));
28791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28792 }
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28800 PyObject *resultobj = NULL;
28801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28802 wxTreeItemId *arg2 = 0 ;
28803 wxString *arg3 = 0 ;
28804 bool temp3 = false ;
28805 PyObject * obj0 = 0 ;
28806 PyObject * obj1 = 0 ;
28807 PyObject * obj2 = 0 ;
28808 char *kwnames[] = {
28809 (char *) "self",(char *) "item",(char *) "text", NULL
28810 };
28811
28812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail;
28815 {
28816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28817 if (SWIG_arg_fail(2)) SWIG_fail;
28818 if (arg2 == NULL) {
28819 SWIG_null_ref("wxTreeItemId");
28820 }
28821 if (SWIG_arg_fail(2)) SWIG_fail;
28822 }
28823 {
28824 arg3 = wxString_in_helper(obj2);
28825 if (arg3 == NULL) SWIG_fail;
28826 temp3 = true;
28827 }
28828 {
28829 PyThreadState* __tstate = wxPyBeginAllowThreads();
28830 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28831
28832 wxPyEndAllowThreads(__tstate);
28833 if (PyErr_Occurred()) SWIG_fail;
28834 }
28835 Py_INCREF(Py_None); resultobj = Py_None;
28836 {
28837 if (temp3)
28838 delete arg3;
28839 }
28840 return resultobj;
28841 fail:
28842 {
28843 if (temp3)
28844 delete arg3;
28845 }
28846 return NULL;
28847 }
28848
28849
28850 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28851 PyObject *resultobj = NULL;
28852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28853 wxTreeItemId *arg2 = 0 ;
28854 int arg3 ;
28855 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 PyObject * obj2 = 0 ;
28859 PyObject * obj3 = 0 ;
28860 char *kwnames[] = {
28861 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28862 };
28863
28864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28866 if (SWIG_arg_fail(1)) SWIG_fail;
28867 {
28868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28869 if (SWIG_arg_fail(2)) SWIG_fail;
28870 if (arg2 == NULL) {
28871 SWIG_null_ref("wxTreeItemId");
28872 }
28873 if (SWIG_arg_fail(2)) SWIG_fail;
28874 }
28875 {
28876 arg3 = static_cast<int >(SWIG_As_int(obj2));
28877 if (SWIG_arg_fail(3)) SWIG_fail;
28878 }
28879 if (obj3) {
28880 {
28881 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
28882 if (SWIG_arg_fail(4)) SWIG_fail;
28883 }
28884 }
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
28888
28889 wxPyEndAllowThreads(__tstate);
28890 if (PyErr_Occurred()) SWIG_fail;
28891 }
28892 Py_INCREF(Py_None); resultobj = Py_None;
28893 return resultobj;
28894 fail:
28895 return NULL;
28896 }
28897
28898
28899 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28900 PyObject *resultobj = NULL;
28901 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28902 wxTreeItemId *arg2 = 0 ;
28903 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28904 PyObject * obj0 = 0 ;
28905 PyObject * obj1 = 0 ;
28906 PyObject * obj2 = 0 ;
28907 char *kwnames[] = {
28908 (char *) "self",(char *) "item",(char *) "data", NULL
28909 };
28910
28911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28913 if (SWIG_arg_fail(1)) SWIG_fail;
28914 {
28915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28916 if (SWIG_arg_fail(2)) SWIG_fail;
28917 if (arg2 == NULL) {
28918 SWIG_null_ref("wxTreeItemId");
28919 }
28920 if (SWIG_arg_fail(2)) SWIG_fail;
28921 }
28922 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28923 if (SWIG_arg_fail(3)) SWIG_fail;
28924 {
28925 PyThreadState* __tstate = wxPyBeginAllowThreads();
28926 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28927
28928 wxPyEndAllowThreads(__tstate);
28929 if (PyErr_Occurred()) SWIG_fail;
28930 }
28931 Py_INCREF(Py_None); resultobj = Py_None;
28932 return resultobj;
28933 fail:
28934 return NULL;
28935 }
28936
28937
28938 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28939 PyObject *resultobj = NULL;
28940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28941 wxTreeItemId *arg2 = 0 ;
28942 PyObject *arg3 = (PyObject *) 0 ;
28943 PyObject * obj0 = 0 ;
28944 PyObject * obj1 = 0 ;
28945 PyObject * obj2 = 0 ;
28946 char *kwnames[] = {
28947 (char *) "self",(char *) "item",(char *) "obj", NULL
28948 };
28949
28950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28952 if (SWIG_arg_fail(1)) SWIG_fail;
28953 {
28954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28955 if (SWIG_arg_fail(2)) SWIG_fail;
28956 if (arg2 == NULL) {
28957 SWIG_null_ref("wxTreeItemId");
28958 }
28959 if (SWIG_arg_fail(2)) SWIG_fail;
28960 }
28961 arg3 = obj2;
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28965
28966 wxPyEndAllowThreads(__tstate);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 Py_INCREF(Py_None); resultobj = Py_None;
28970 return resultobj;
28971 fail:
28972 return NULL;
28973 }
28974
28975
28976 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj = NULL;
28978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28979 wxTreeItemId *arg2 = 0 ;
28980 bool arg3 = (bool) true ;
28981 PyObject * obj0 = 0 ;
28982 PyObject * obj1 = 0 ;
28983 PyObject * obj2 = 0 ;
28984 char *kwnames[] = {
28985 (char *) "self",(char *) "item",(char *) "has", NULL
28986 };
28987
28988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail;
28991 {
28992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28993 if (SWIG_arg_fail(2)) SWIG_fail;
28994 if (arg2 == NULL) {
28995 SWIG_null_ref("wxTreeItemId");
28996 }
28997 if (SWIG_arg_fail(2)) SWIG_fail;
28998 }
28999 if (obj2) {
29000 {
29001 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29002 if (SWIG_arg_fail(3)) SWIG_fail;
29003 }
29004 }
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29008
29009 wxPyEndAllowThreads(__tstate);
29010 if (PyErr_Occurred()) SWIG_fail;
29011 }
29012 Py_INCREF(Py_None); resultobj = Py_None;
29013 return resultobj;
29014 fail:
29015 return NULL;
29016 }
29017
29018
29019 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
29020 PyObject *resultobj = NULL;
29021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29022 wxTreeItemId *arg2 = 0 ;
29023 bool arg3 = (bool) true ;
29024 PyObject * obj0 = 0 ;
29025 PyObject * obj1 = 0 ;
29026 PyObject * obj2 = 0 ;
29027 char *kwnames[] = {
29028 (char *) "self",(char *) "item",(char *) "bold", NULL
29029 };
29030
29031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29033 if (SWIG_arg_fail(1)) SWIG_fail;
29034 {
29035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29036 if (SWIG_arg_fail(2)) SWIG_fail;
29037 if (arg2 == NULL) {
29038 SWIG_null_ref("wxTreeItemId");
29039 }
29040 if (SWIG_arg_fail(2)) SWIG_fail;
29041 }
29042 if (obj2) {
29043 {
29044 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29045 if (SWIG_arg_fail(3)) SWIG_fail;
29046 }
29047 }
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29051
29052 wxPyEndAllowThreads(__tstate);
29053 if (PyErr_Occurred()) SWIG_fail;
29054 }
29055 Py_INCREF(Py_None); resultobj = Py_None;
29056 return resultobj;
29057 fail:
29058 return NULL;
29059 }
29060
29061
29062 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29063 PyObject *resultobj = NULL;
29064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29065 wxTreeItemId *arg2 = 0 ;
29066 bool arg3 = (bool) true ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 char *kwnames[] = {
29071 (char *) "self",(char *) "item",(char *) "highlight", NULL
29072 };
29073
29074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29076 if (SWIG_arg_fail(1)) SWIG_fail;
29077 {
29078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29079 if (SWIG_arg_fail(2)) SWIG_fail;
29080 if (arg2 == NULL) {
29081 SWIG_null_ref("wxTreeItemId");
29082 }
29083 if (SWIG_arg_fail(2)) SWIG_fail;
29084 }
29085 if (obj2) {
29086 {
29087 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29088 if (SWIG_arg_fail(3)) SWIG_fail;
29089 }
29090 }
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29094
29095 wxPyEndAllowThreads(__tstate);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
29098 Py_INCREF(Py_None); resultobj = Py_None;
29099 return resultobj;
29100 fail:
29101 return NULL;
29102 }
29103
29104
29105 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29106 PyObject *resultobj = NULL;
29107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29108 wxTreeItemId *arg2 = 0 ;
29109 wxColour *arg3 = 0 ;
29110 wxColour temp3 ;
29111 PyObject * obj0 = 0 ;
29112 PyObject * obj1 = 0 ;
29113 PyObject * obj2 = 0 ;
29114 char *kwnames[] = {
29115 (char *) "self",(char *) "item",(char *) "col", NULL
29116 };
29117
29118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail;
29121 {
29122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29123 if (SWIG_arg_fail(2)) SWIG_fail;
29124 if (arg2 == NULL) {
29125 SWIG_null_ref("wxTreeItemId");
29126 }
29127 if (SWIG_arg_fail(2)) SWIG_fail;
29128 }
29129 {
29130 arg3 = &temp3;
29131 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 Py_INCREF(Py_None); resultobj = Py_None;
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29148 PyObject *resultobj = NULL;
29149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29150 wxTreeItemId *arg2 = 0 ;
29151 wxColour *arg3 = 0 ;
29152 wxColour temp3 ;
29153 PyObject * obj0 = 0 ;
29154 PyObject * obj1 = 0 ;
29155 PyObject * obj2 = 0 ;
29156 char *kwnames[] = {
29157 (char *) "self",(char *) "item",(char *) "col", NULL
29158 };
29159
29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail;
29163 {
29164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29165 if (SWIG_arg_fail(2)) SWIG_fail;
29166 if (arg2 == NULL) {
29167 SWIG_null_ref("wxTreeItemId");
29168 }
29169 if (SWIG_arg_fail(2)) SWIG_fail;
29170 }
29171 {
29172 arg3 = &temp3;
29173 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29174 }
29175 {
29176 PyThreadState* __tstate = wxPyBeginAllowThreads();
29177 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29178
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 Py_INCREF(Py_None); resultobj = Py_None;
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29190 PyObject *resultobj = NULL;
29191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29192 wxTreeItemId *arg2 = 0 ;
29193 wxFont *arg3 = 0 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 PyObject * obj2 = 0 ;
29197 char *kwnames[] = {
29198 (char *) "self",(char *) "item",(char *) "font", NULL
29199 };
29200
29201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail;
29204 {
29205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29206 if (SWIG_arg_fail(2)) SWIG_fail;
29207 if (arg2 == NULL) {
29208 SWIG_null_ref("wxTreeItemId");
29209 }
29210 if (SWIG_arg_fail(2)) SWIG_fail;
29211 }
29212 {
29213 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29214 if (SWIG_arg_fail(3)) SWIG_fail;
29215 if (arg3 == NULL) {
29216 SWIG_null_ref("wxFont");
29217 }
29218 if (SWIG_arg_fail(3)) SWIG_fail;
29219 }
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29223
29224 wxPyEndAllowThreads(__tstate);
29225 if (PyErr_Occurred()) SWIG_fail;
29226 }
29227 Py_INCREF(Py_None); resultobj = Py_None;
29228 return resultobj;
29229 fail:
29230 return NULL;
29231 }
29232
29233
29234 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29235 PyObject *resultobj = NULL;
29236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29237 wxTreeItemId *arg2 = 0 ;
29238 bool result;
29239 PyObject * obj0 = 0 ;
29240 PyObject * obj1 = 0 ;
29241 char *kwnames[] = {
29242 (char *) "self",(char *) "item", NULL
29243 };
29244
29245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29247 if (SWIG_arg_fail(1)) SWIG_fail;
29248 {
29249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29250 if (SWIG_arg_fail(2)) SWIG_fail;
29251 if (arg2 == NULL) {
29252 SWIG_null_ref("wxTreeItemId");
29253 }
29254 if (SWIG_arg_fail(2)) SWIG_fail;
29255 }
29256 {
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29259
29260 wxPyEndAllowThreads(__tstate);
29261 if (PyErr_Occurred()) SWIG_fail;
29262 }
29263 {
29264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29265 }
29266 return resultobj;
29267 fail:
29268 return NULL;
29269 }
29270
29271
29272 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29273 PyObject *resultobj = NULL;
29274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29275 wxTreeItemId *arg2 = 0 ;
29276 bool result;
29277 PyObject * obj0 = 0 ;
29278 PyObject * obj1 = 0 ;
29279 char *kwnames[] = {
29280 (char *) "self",(char *) "item", NULL
29281 };
29282
29283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29285 if (SWIG_arg_fail(1)) SWIG_fail;
29286 {
29287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29288 if (SWIG_arg_fail(2)) SWIG_fail;
29289 if (arg2 == NULL) {
29290 SWIG_null_ref("wxTreeItemId");
29291 }
29292 if (SWIG_arg_fail(2)) SWIG_fail;
29293 }
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29297
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 {
29302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29303 }
29304 return resultobj;
29305 fail:
29306 return NULL;
29307 }
29308
29309
29310 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29311 PyObject *resultobj = NULL;
29312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29313 wxTreeItemId *arg2 = 0 ;
29314 bool result;
29315 PyObject * obj0 = 0 ;
29316 PyObject * obj1 = 0 ;
29317 char *kwnames[] = {
29318 (char *) "self",(char *) "item", NULL
29319 };
29320
29321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail;
29324 {
29325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29326 if (SWIG_arg_fail(2)) SWIG_fail;
29327 if (arg2 == NULL) {
29328 SWIG_null_ref("wxTreeItemId");
29329 }
29330 if (SWIG_arg_fail(2)) SWIG_fail;
29331 }
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29335
29336 wxPyEndAllowThreads(__tstate);
29337 if (PyErr_Occurred()) SWIG_fail;
29338 }
29339 {
29340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29341 }
29342 return resultobj;
29343 fail:
29344 return NULL;
29345 }
29346
29347
29348 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29349 PyObject *resultobj = NULL;
29350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29351 wxTreeItemId *arg2 = 0 ;
29352 bool result;
29353 PyObject * obj0 = 0 ;
29354 PyObject * obj1 = 0 ;
29355 char *kwnames[] = {
29356 (char *) "self",(char *) "item", NULL
29357 };
29358
29359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail;
29362 {
29363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29364 if (SWIG_arg_fail(2)) SWIG_fail;
29365 if (arg2 == NULL) {
29366 SWIG_null_ref("wxTreeItemId");
29367 }
29368 if (SWIG_arg_fail(2)) SWIG_fail;
29369 }
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29373
29374 wxPyEndAllowThreads(__tstate);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
29377 {
29378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29379 }
29380 return resultobj;
29381 fail:
29382 return NULL;
29383 }
29384
29385
29386 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29387 PyObject *resultobj = NULL;
29388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29389 wxTreeItemId *arg2 = 0 ;
29390 bool result;
29391 PyObject * obj0 = 0 ;
29392 PyObject * obj1 = 0 ;
29393 char *kwnames[] = {
29394 (char *) "self",(char *) "item", NULL
29395 };
29396
29397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29399 if (SWIG_arg_fail(1)) SWIG_fail;
29400 {
29401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29402 if (SWIG_arg_fail(2)) SWIG_fail;
29403 if (arg2 == NULL) {
29404 SWIG_null_ref("wxTreeItemId");
29405 }
29406 if (SWIG_arg_fail(2)) SWIG_fail;
29407 }
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29411
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 {
29416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29417 }
29418 return resultobj;
29419 fail:
29420 return NULL;
29421 }
29422
29423
29424 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29425 PyObject *resultobj = NULL;
29426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29427 wxTreeItemId *arg2 = 0 ;
29428 bool arg3 = (bool) true ;
29429 size_t result;
29430 PyObject * obj0 = 0 ;
29431 PyObject * obj1 = 0 ;
29432 PyObject * obj2 = 0 ;
29433 char *kwnames[] = {
29434 (char *) "self",(char *) "item",(char *) "recursively", NULL
29435 };
29436
29437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29439 if (SWIG_arg_fail(1)) SWIG_fail;
29440 {
29441 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29442 if (SWIG_arg_fail(2)) SWIG_fail;
29443 if (arg2 == NULL) {
29444 SWIG_null_ref("wxTreeItemId");
29445 }
29446 if (SWIG_arg_fail(2)) SWIG_fail;
29447 }
29448 if (obj2) {
29449 {
29450 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29451 if (SWIG_arg_fail(3)) SWIG_fail;
29452 }
29453 }
29454 {
29455 PyThreadState* __tstate = wxPyBeginAllowThreads();
29456 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29457
29458 wxPyEndAllowThreads(__tstate);
29459 if (PyErr_Occurred()) SWIG_fail;
29460 }
29461 {
29462 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
29463 }
29464 return resultobj;
29465 fail:
29466 return NULL;
29467 }
29468
29469
29470 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29471 PyObject *resultobj = NULL;
29472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29473 wxTreeItemId result;
29474 PyObject * obj0 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail;
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 {
29490 wxTreeItemId * resultptr;
29491 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29493 }
29494 return resultobj;
29495 fail:
29496 return NULL;
29497 }
29498
29499
29500 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29501 PyObject *resultobj = NULL;
29502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29503 wxTreeItemId result;
29504 PyObject * obj0 = 0 ;
29505 char *kwnames[] = {
29506 (char *) "self", NULL
29507 };
29508
29509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29511 if (SWIG_arg_fail(1)) SWIG_fail;
29512 {
29513 PyThreadState* __tstate = wxPyBeginAllowThreads();
29514 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29515
29516 wxPyEndAllowThreads(__tstate);
29517 if (PyErr_Occurred()) SWIG_fail;
29518 }
29519 {
29520 wxTreeItemId * resultptr;
29521 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29523 }
29524 return resultobj;
29525 fail:
29526 return NULL;
29527 }
29528
29529
29530 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29531 PyObject *resultobj = NULL;
29532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29533 PyObject *result;
29534 PyObject * obj0 = 0 ;
29535 char *kwnames[] = {
29536 (char *) "self", NULL
29537 };
29538
29539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail;
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29545
29546 wxPyEndAllowThreads(__tstate);
29547 if (PyErr_Occurred()) SWIG_fail;
29548 }
29549 resultobj = result;
29550 return resultobj;
29551 fail:
29552 return NULL;
29553 }
29554
29555
29556 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29557 PyObject *resultobj = NULL;
29558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29559 wxTreeItemId *arg2 = 0 ;
29560 wxTreeItemId result;
29561 PyObject * obj0 = 0 ;
29562 PyObject * obj1 = 0 ;
29563 char *kwnames[] = {
29564 (char *) "self",(char *) "item", NULL
29565 };
29566
29567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail;
29570 {
29571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29572 if (SWIG_arg_fail(2)) SWIG_fail;
29573 if (arg2 == NULL) {
29574 SWIG_null_ref("wxTreeItemId");
29575 }
29576 if (SWIG_arg_fail(2)) SWIG_fail;
29577 }
29578 {
29579 PyThreadState* __tstate = wxPyBeginAllowThreads();
29580 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29581
29582 wxPyEndAllowThreads(__tstate);
29583 if (PyErr_Occurred()) SWIG_fail;
29584 }
29585 {
29586 wxTreeItemId * resultptr;
29587 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29589 }
29590 return resultobj;
29591 fail:
29592 return NULL;
29593 }
29594
29595
29596 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29597 PyObject *resultobj = NULL;
29598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29599 wxTreeItemId *arg2 = 0 ;
29600 PyObject *result;
29601 PyObject * obj0 = 0 ;
29602 PyObject * obj1 = 0 ;
29603 char *kwnames[] = {
29604 (char *) "self",(char *) "item", NULL
29605 };
29606
29607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail;
29610 {
29611 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29612 if (SWIG_arg_fail(2)) SWIG_fail;
29613 if (arg2 == NULL) {
29614 SWIG_null_ref("wxTreeItemId");
29615 }
29616 if (SWIG_arg_fail(2)) SWIG_fail;
29617 }
29618 {
29619 PyThreadState* __tstate = wxPyBeginAllowThreads();
29620 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29621
29622 wxPyEndAllowThreads(__tstate);
29623 if (PyErr_Occurred()) SWIG_fail;
29624 }
29625 resultobj = result;
29626 return resultobj;
29627 fail:
29628 return NULL;
29629 }
29630
29631
29632 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj = NULL;
29634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29635 wxTreeItemId *arg2 = 0 ;
29636 void *arg3 = (void *) 0 ;
29637 PyObject *result;
29638 PyObject * obj0 = 0 ;
29639 PyObject * obj1 = 0 ;
29640 PyObject * obj2 = 0 ;
29641 char *kwnames[] = {
29642 (char *) "self",(char *) "item",(char *) "cookie", NULL
29643 };
29644
29645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29647 if (SWIG_arg_fail(1)) SWIG_fail;
29648 {
29649 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29650 if (SWIG_arg_fail(2)) SWIG_fail;
29651 if (arg2 == NULL) {
29652 SWIG_null_ref("wxTreeItemId");
29653 }
29654 if (SWIG_arg_fail(2)) SWIG_fail;
29655 }
29656 {
29657 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29658 SWIG_arg_fail(3);SWIG_fail;
29659 }
29660 }
29661 {
29662 PyThreadState* __tstate = wxPyBeginAllowThreads();
29663 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29664
29665 wxPyEndAllowThreads(__tstate);
29666 if (PyErr_Occurred()) SWIG_fail;
29667 }
29668 resultobj = result;
29669 return resultobj;
29670 fail:
29671 return NULL;
29672 }
29673
29674
29675 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29676 PyObject *resultobj = NULL;
29677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29678 wxTreeItemId *arg2 = 0 ;
29679 wxTreeItemId result;
29680 PyObject * obj0 = 0 ;
29681 PyObject * obj1 = 0 ;
29682 char *kwnames[] = {
29683 (char *) "self",(char *) "item", NULL
29684 };
29685
29686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29688 if (SWIG_arg_fail(1)) SWIG_fail;
29689 {
29690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29691 if (SWIG_arg_fail(2)) SWIG_fail;
29692 if (arg2 == NULL) {
29693 SWIG_null_ref("wxTreeItemId");
29694 }
29695 if (SWIG_arg_fail(2)) SWIG_fail;
29696 }
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 {
29705 wxTreeItemId * resultptr;
29706 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29708 }
29709 return resultobj;
29710 fail:
29711 return NULL;
29712 }
29713
29714
29715 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29716 PyObject *resultobj = NULL;
29717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29718 wxTreeItemId *arg2 = 0 ;
29719 wxTreeItemId result;
29720 PyObject * obj0 = 0 ;
29721 PyObject * obj1 = 0 ;
29722 char *kwnames[] = {
29723 (char *) "self",(char *) "item", NULL
29724 };
29725
29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail;
29729 {
29730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29731 if (SWIG_arg_fail(2)) SWIG_fail;
29732 if (arg2 == NULL) {
29733 SWIG_null_ref("wxTreeItemId");
29734 }
29735 if (SWIG_arg_fail(2)) SWIG_fail;
29736 }
29737 {
29738 PyThreadState* __tstate = wxPyBeginAllowThreads();
29739 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29740
29741 wxPyEndAllowThreads(__tstate);
29742 if (PyErr_Occurred()) SWIG_fail;
29743 }
29744 {
29745 wxTreeItemId * resultptr;
29746 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29748 }
29749 return resultobj;
29750 fail:
29751 return NULL;
29752 }
29753
29754
29755 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29756 PyObject *resultobj = NULL;
29757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29758 wxTreeItemId *arg2 = 0 ;
29759 wxTreeItemId result;
29760 PyObject * obj0 = 0 ;
29761 PyObject * obj1 = 0 ;
29762 char *kwnames[] = {
29763 (char *) "self",(char *) "item", NULL
29764 };
29765
29766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29768 if (SWIG_arg_fail(1)) SWIG_fail;
29769 {
29770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29771 if (SWIG_arg_fail(2)) SWIG_fail;
29772 if (arg2 == NULL) {
29773 SWIG_null_ref("wxTreeItemId");
29774 }
29775 if (SWIG_arg_fail(2)) SWIG_fail;
29776 }
29777 {
29778 PyThreadState* __tstate = wxPyBeginAllowThreads();
29779 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29780
29781 wxPyEndAllowThreads(__tstate);
29782 if (PyErr_Occurred()) SWIG_fail;
29783 }
29784 {
29785 wxTreeItemId * resultptr;
29786 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29788 }
29789 return resultobj;
29790 fail:
29791 return NULL;
29792 }
29793
29794
29795 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29796 PyObject *resultobj = NULL;
29797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29798 wxTreeItemId result;
29799 PyObject * obj0 = 0 ;
29800 char *kwnames[] = {
29801 (char *) "self", NULL
29802 };
29803
29804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29806 if (SWIG_arg_fail(1)) SWIG_fail;
29807 {
29808 PyThreadState* __tstate = wxPyBeginAllowThreads();
29809 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29810
29811 wxPyEndAllowThreads(__tstate);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 {
29815 wxTreeItemId * resultptr;
29816 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29818 }
29819 return resultobj;
29820 fail:
29821 return NULL;
29822 }
29823
29824
29825 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29826 PyObject *resultobj = NULL;
29827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29828 wxTreeItemId *arg2 = 0 ;
29829 wxTreeItemId result;
29830 PyObject * obj0 = 0 ;
29831 PyObject * obj1 = 0 ;
29832 char *kwnames[] = {
29833 (char *) "self",(char *) "item", NULL
29834 };
29835
29836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29838 if (SWIG_arg_fail(1)) SWIG_fail;
29839 {
29840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29841 if (SWIG_arg_fail(2)) SWIG_fail;
29842 if (arg2 == NULL) {
29843 SWIG_null_ref("wxTreeItemId");
29844 }
29845 if (SWIG_arg_fail(2)) SWIG_fail;
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 wxTreeItemId * resultptr;
29856 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29858 }
29859 return resultobj;
29860 fail:
29861 return NULL;
29862 }
29863
29864
29865 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29866 PyObject *resultobj = NULL;
29867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29868 wxTreeItemId *arg2 = 0 ;
29869 wxTreeItemId result;
29870 PyObject * obj0 = 0 ;
29871 PyObject * obj1 = 0 ;
29872 char *kwnames[] = {
29873 (char *) "self",(char *) "item", NULL
29874 };
29875
29876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29878 if (SWIG_arg_fail(1)) SWIG_fail;
29879 {
29880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29881 if (SWIG_arg_fail(2)) SWIG_fail;
29882 if (arg2 == NULL) {
29883 SWIG_null_ref("wxTreeItemId");
29884 }
29885 if (SWIG_arg_fail(2)) SWIG_fail;
29886 }
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29890
29891 wxPyEndAllowThreads(__tstate);
29892 if (PyErr_Occurred()) SWIG_fail;
29893 }
29894 {
29895 wxTreeItemId * resultptr;
29896 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29898 }
29899 return resultobj;
29900 fail:
29901 return NULL;
29902 }
29903
29904
29905 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29906 PyObject *resultobj = NULL;
29907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29908 wxString *arg2 = 0 ;
29909 int arg3 = (int) -1 ;
29910 int arg4 = (int) -1 ;
29911 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29912 wxTreeItemId result;
29913 bool temp2 = false ;
29914 PyObject * obj0 = 0 ;
29915 PyObject * obj1 = 0 ;
29916 PyObject * obj2 = 0 ;
29917 PyObject * obj3 = 0 ;
29918 PyObject * obj4 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 arg2 = wxString_in_helper(obj1);
29928 if (arg2 == NULL) SWIG_fail;
29929 temp2 = true;
29930 }
29931 if (obj2) {
29932 {
29933 arg3 = static_cast<int >(SWIG_As_int(obj2));
29934 if (SWIG_arg_fail(3)) SWIG_fail;
29935 }
29936 }
29937 if (obj3) {
29938 {
29939 arg4 = static_cast<int >(SWIG_As_int(obj3));
29940 if (SWIG_arg_fail(4)) SWIG_fail;
29941 }
29942 }
29943 if (obj4) {
29944 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29945 if (SWIG_arg_fail(5)) SWIG_fail;
29946 }
29947 {
29948 PyThreadState* __tstate = wxPyBeginAllowThreads();
29949 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29950
29951 wxPyEndAllowThreads(__tstate);
29952 if (PyErr_Occurred()) SWIG_fail;
29953 }
29954 {
29955 wxTreeItemId * resultptr;
29956 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29958 }
29959 {
29960 if (temp2)
29961 delete arg2;
29962 }
29963 return resultobj;
29964 fail:
29965 {
29966 if (temp2)
29967 delete arg2;
29968 }
29969 return NULL;
29970 }
29971
29972
29973 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29974 PyObject *resultobj = NULL;
29975 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29976 wxTreeItemId *arg2 = 0 ;
29977 wxString *arg3 = 0 ;
29978 int arg4 = (int) -1 ;
29979 int arg5 = (int) -1 ;
29980 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29981 wxTreeItemId result;
29982 bool temp3 = false ;
29983 PyObject * obj0 = 0 ;
29984 PyObject * obj1 = 0 ;
29985 PyObject * obj2 = 0 ;
29986 PyObject * obj3 = 0 ;
29987 PyObject * obj4 = 0 ;
29988 PyObject * obj5 = 0 ;
29989 char *kwnames[] = {
29990 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29991 };
29992
29993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29995 if (SWIG_arg_fail(1)) SWIG_fail;
29996 {
29997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29998 if (SWIG_arg_fail(2)) SWIG_fail;
29999 if (arg2 == NULL) {
30000 SWIG_null_ref("wxTreeItemId");
30001 }
30002 if (SWIG_arg_fail(2)) SWIG_fail;
30003 }
30004 {
30005 arg3 = wxString_in_helper(obj2);
30006 if (arg3 == NULL) SWIG_fail;
30007 temp3 = true;
30008 }
30009 if (obj3) {
30010 {
30011 arg4 = static_cast<int >(SWIG_As_int(obj3));
30012 if (SWIG_arg_fail(4)) SWIG_fail;
30013 }
30014 }
30015 if (obj4) {
30016 {
30017 arg5 = static_cast<int >(SWIG_As_int(obj4));
30018 if (SWIG_arg_fail(5)) SWIG_fail;
30019 }
30020 }
30021 if (obj5) {
30022 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30023 if (SWIG_arg_fail(6)) SWIG_fail;
30024 }
30025 {
30026 PyThreadState* __tstate = wxPyBeginAllowThreads();
30027 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30028
30029 wxPyEndAllowThreads(__tstate);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
30032 {
30033 wxTreeItemId * resultptr;
30034 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30036 }
30037 {
30038 if (temp3)
30039 delete arg3;
30040 }
30041 return resultobj;
30042 fail:
30043 {
30044 if (temp3)
30045 delete arg3;
30046 }
30047 return NULL;
30048 }
30049
30050
30051 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30052 PyObject *resultobj = NULL;
30053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30054 wxTreeItemId *arg2 = 0 ;
30055 wxTreeItemId *arg3 = 0 ;
30056 wxString *arg4 = 0 ;
30057 int arg5 = (int) -1 ;
30058 int arg6 = (int) -1 ;
30059 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30060 wxTreeItemId result;
30061 bool temp4 = false ;
30062 PyObject * obj0 = 0 ;
30063 PyObject * obj1 = 0 ;
30064 PyObject * obj2 = 0 ;
30065 PyObject * obj3 = 0 ;
30066 PyObject * obj4 = 0 ;
30067 PyObject * obj5 = 0 ;
30068 PyObject * obj6 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30075 if (SWIG_arg_fail(1)) SWIG_fail;
30076 {
30077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30078 if (SWIG_arg_fail(2)) SWIG_fail;
30079 if (arg2 == NULL) {
30080 SWIG_null_ref("wxTreeItemId");
30081 }
30082 if (SWIG_arg_fail(2)) SWIG_fail;
30083 }
30084 {
30085 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30086 if (SWIG_arg_fail(3)) SWIG_fail;
30087 if (arg3 == NULL) {
30088 SWIG_null_ref("wxTreeItemId");
30089 }
30090 if (SWIG_arg_fail(3)) SWIG_fail;
30091 }
30092 {
30093 arg4 = wxString_in_helper(obj3);
30094 if (arg4 == NULL) SWIG_fail;
30095 temp4 = true;
30096 }
30097 if (obj4) {
30098 {
30099 arg5 = static_cast<int >(SWIG_As_int(obj4));
30100 if (SWIG_arg_fail(5)) SWIG_fail;
30101 }
30102 }
30103 if (obj5) {
30104 {
30105 arg6 = static_cast<int >(SWIG_As_int(obj5));
30106 if (SWIG_arg_fail(6)) SWIG_fail;
30107 }
30108 }
30109 if (obj6) {
30110 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30111 if (SWIG_arg_fail(7)) SWIG_fail;
30112 }
30113 {
30114 PyThreadState* __tstate = wxPyBeginAllowThreads();
30115 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30116
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 {
30121 wxTreeItemId * resultptr;
30122 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30124 }
30125 {
30126 if (temp4)
30127 delete arg4;
30128 }
30129 return resultobj;
30130 fail:
30131 {
30132 if (temp4)
30133 delete arg4;
30134 }
30135 return NULL;
30136 }
30137
30138
30139 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj = NULL;
30141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30142 wxTreeItemId *arg2 = 0 ;
30143 size_t arg3 ;
30144 wxString *arg4 = 0 ;
30145 int arg5 = (int) -1 ;
30146 int arg6 = (int) -1 ;
30147 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30148 wxTreeItemId result;
30149 bool temp4 = false ;
30150 PyObject * obj0 = 0 ;
30151 PyObject * obj1 = 0 ;
30152 PyObject * obj2 = 0 ;
30153 PyObject * obj3 = 0 ;
30154 PyObject * obj4 = 0 ;
30155 PyObject * obj5 = 0 ;
30156 PyObject * obj6 = 0 ;
30157 char *kwnames[] = {
30158 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30159 };
30160
30161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
30174 if (SWIG_arg_fail(3)) SWIG_fail;
30175 }
30176 {
30177 arg4 = wxString_in_helper(obj3);
30178 if (arg4 == NULL) SWIG_fail;
30179 temp4 = true;
30180 }
30181 if (obj4) {
30182 {
30183 arg5 = static_cast<int >(SWIG_As_int(obj4));
30184 if (SWIG_arg_fail(5)) SWIG_fail;
30185 }
30186 }
30187 if (obj5) {
30188 {
30189 arg6 = static_cast<int >(SWIG_As_int(obj5));
30190 if (SWIG_arg_fail(6)) SWIG_fail;
30191 }
30192 }
30193 if (obj6) {
30194 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30195 if (SWIG_arg_fail(7)) SWIG_fail;
30196 }
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30200
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 {
30205 wxTreeItemId * resultptr;
30206 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30208 }
30209 {
30210 if (temp4)
30211 delete arg4;
30212 }
30213 return resultobj;
30214 fail:
30215 {
30216 if (temp4)
30217 delete arg4;
30218 }
30219 return NULL;
30220 }
30221
30222
30223 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30224 PyObject *resultobj = NULL;
30225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30226 wxTreeItemId *arg2 = 0 ;
30227 wxString *arg3 = 0 ;
30228 int arg4 = (int) -1 ;
30229 int arg5 = (int) -1 ;
30230 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30231 wxTreeItemId result;
30232 bool temp3 = false ;
30233 PyObject * obj0 = 0 ;
30234 PyObject * obj1 = 0 ;
30235 PyObject * obj2 = 0 ;
30236 PyObject * obj3 = 0 ;
30237 PyObject * obj4 = 0 ;
30238 PyObject * obj5 = 0 ;
30239 char *kwnames[] = {
30240 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30241 };
30242
30243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail;
30246 {
30247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30248 if (SWIG_arg_fail(2)) SWIG_fail;
30249 if (arg2 == NULL) {
30250 SWIG_null_ref("wxTreeItemId");
30251 }
30252 if (SWIG_arg_fail(2)) SWIG_fail;
30253 }
30254 {
30255 arg3 = wxString_in_helper(obj2);
30256 if (arg3 == NULL) SWIG_fail;
30257 temp3 = true;
30258 }
30259 if (obj3) {
30260 {
30261 arg4 = static_cast<int >(SWIG_As_int(obj3));
30262 if (SWIG_arg_fail(4)) SWIG_fail;
30263 }
30264 }
30265 if (obj4) {
30266 {
30267 arg5 = static_cast<int >(SWIG_As_int(obj4));
30268 if (SWIG_arg_fail(5)) SWIG_fail;
30269 }
30270 }
30271 if (obj5) {
30272 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30273 if (SWIG_arg_fail(6)) SWIG_fail;
30274 }
30275 {
30276 PyThreadState* __tstate = wxPyBeginAllowThreads();
30277 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30278
30279 wxPyEndAllowThreads(__tstate);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 }
30282 {
30283 wxTreeItemId * resultptr;
30284 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30286 }
30287 {
30288 if (temp3)
30289 delete arg3;
30290 }
30291 return resultobj;
30292 fail:
30293 {
30294 if (temp3)
30295 delete arg3;
30296 }
30297 return NULL;
30298 }
30299
30300
30301 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj = NULL;
30303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30304 wxTreeItemId *arg2 = 0 ;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 char *kwnames[] = {
30308 (char *) "self",(char *) "item", NULL
30309 };
30310
30311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30313 if (SWIG_arg_fail(1)) SWIG_fail;
30314 {
30315 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30316 if (SWIG_arg_fail(2)) SWIG_fail;
30317 if (arg2 == NULL) {
30318 SWIG_null_ref("wxTreeItemId");
30319 }
30320 if (SWIG_arg_fail(2)) SWIG_fail;
30321 }
30322 {
30323 PyThreadState* __tstate = wxPyBeginAllowThreads();
30324 (arg1)->Delete((wxTreeItemId const &)*arg2);
30325
30326 wxPyEndAllowThreads(__tstate);
30327 if (PyErr_Occurred()) SWIG_fail;
30328 }
30329 Py_INCREF(Py_None); resultobj = Py_None;
30330 return resultobj;
30331 fail:
30332 return NULL;
30333 }
30334
30335
30336 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30337 PyObject *resultobj = NULL;
30338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30339 wxTreeItemId *arg2 = 0 ;
30340 PyObject * obj0 = 0 ;
30341 PyObject * obj1 = 0 ;
30342 char *kwnames[] = {
30343 (char *) "self",(char *) "item", NULL
30344 };
30345
30346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail;
30349 {
30350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30351 if (SWIG_arg_fail(2)) SWIG_fail;
30352 if (arg2 == NULL) {
30353 SWIG_null_ref("wxTreeItemId");
30354 }
30355 if (SWIG_arg_fail(2)) SWIG_fail;
30356 }
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 Py_INCREF(Py_None); resultobj = Py_None;
30365 return resultobj;
30366 fail:
30367 return NULL;
30368 }
30369
30370
30371 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30372 PyObject *resultobj = NULL;
30373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30374 PyObject * obj0 = 0 ;
30375 char *kwnames[] = {
30376 (char *) "self", NULL
30377 };
30378
30379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30381 if (SWIG_arg_fail(1)) SWIG_fail;
30382 {
30383 PyThreadState* __tstate = wxPyBeginAllowThreads();
30384 (arg1)->DeleteAllItems();
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 Py_INCREF(Py_None); resultobj = Py_None;
30390 return resultobj;
30391 fail:
30392 return NULL;
30393 }
30394
30395
30396 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30397 PyObject *resultobj = NULL;
30398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30399 wxTreeItemId *arg2 = 0 ;
30400 PyObject * obj0 = 0 ;
30401 PyObject * obj1 = 0 ;
30402 char *kwnames[] = {
30403 (char *) "self",(char *) "item", NULL
30404 };
30405
30406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30408 if (SWIG_arg_fail(1)) SWIG_fail;
30409 {
30410 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30411 if (SWIG_arg_fail(2)) SWIG_fail;
30412 if (arg2 == NULL) {
30413 SWIG_null_ref("wxTreeItemId");
30414 }
30415 if (SWIG_arg_fail(2)) SWIG_fail;
30416 }
30417 {
30418 PyThreadState* __tstate = wxPyBeginAllowThreads();
30419 (arg1)->Expand((wxTreeItemId const &)*arg2);
30420
30421 wxPyEndAllowThreads(__tstate);
30422 if (PyErr_Occurred()) SWIG_fail;
30423 }
30424 Py_INCREF(Py_None); resultobj = Py_None;
30425 return resultobj;
30426 fail:
30427 return NULL;
30428 }
30429
30430
30431 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30432 PyObject *resultobj = NULL;
30433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30434 wxTreeItemId *arg2 = 0 ;
30435 PyObject * obj0 = 0 ;
30436 PyObject * obj1 = 0 ;
30437 char *kwnames[] = {
30438 (char *) "self",(char *) "item", NULL
30439 };
30440
30441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail;
30444 {
30445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30446 if (SWIG_arg_fail(2)) SWIG_fail;
30447 if (arg2 == NULL) {
30448 SWIG_null_ref("wxTreeItemId");
30449 }
30450 if (SWIG_arg_fail(2)) SWIG_fail;
30451 }
30452 {
30453 PyThreadState* __tstate = wxPyBeginAllowThreads();
30454 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30455
30456 wxPyEndAllowThreads(__tstate);
30457 if (PyErr_Occurred()) SWIG_fail;
30458 }
30459 Py_INCREF(Py_None); resultobj = Py_None;
30460 return resultobj;
30461 fail:
30462 return NULL;
30463 }
30464
30465
30466 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30467 PyObject *resultobj = NULL;
30468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30469 wxTreeItemId *arg2 = 0 ;
30470 PyObject * obj0 = 0 ;
30471 PyObject * obj1 = 0 ;
30472 char *kwnames[] = {
30473 (char *) "self",(char *) "item", NULL
30474 };
30475
30476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30478 if (SWIG_arg_fail(1)) SWIG_fail;
30479 {
30480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30481 if (SWIG_arg_fail(2)) SWIG_fail;
30482 if (arg2 == NULL) {
30483 SWIG_null_ref("wxTreeItemId");
30484 }
30485 if (SWIG_arg_fail(2)) SWIG_fail;
30486 }
30487 {
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
30489 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30490
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 Py_INCREF(Py_None); resultobj = Py_None;
30495 return resultobj;
30496 fail:
30497 return NULL;
30498 }
30499
30500
30501 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30502 PyObject *resultobj = NULL;
30503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30504 wxTreeItemId *arg2 = 0 ;
30505 PyObject * obj0 = 0 ;
30506 PyObject * obj1 = 0 ;
30507 char *kwnames[] = {
30508 (char *) "self",(char *) "item", NULL
30509 };
30510
30511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail;
30514 {
30515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30516 if (SWIG_arg_fail(2)) SWIG_fail;
30517 if (arg2 == NULL) {
30518 SWIG_null_ref("wxTreeItemId");
30519 }
30520 if (SWIG_arg_fail(2)) SWIG_fail;
30521 }
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30525
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 Py_INCREF(Py_None); resultobj = Py_None;
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30537 PyObject *resultobj = NULL;
30538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30539 PyObject * obj0 = 0 ;
30540 char *kwnames[] = {
30541 (char *) "self", NULL
30542 };
30543
30544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30546 if (SWIG_arg_fail(1)) SWIG_fail;
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 (arg1)->Unselect();
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 Py_INCREF(Py_None); resultobj = Py_None;
30555 return resultobj;
30556 fail:
30557 return NULL;
30558 }
30559
30560
30561 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj = NULL;
30563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30564 wxTreeItemId *arg2 = 0 ;
30565 PyObject * obj0 = 0 ;
30566 PyObject * obj1 = 0 ;
30567 char *kwnames[] = {
30568 (char *) "self",(char *) "item", NULL
30569 };
30570
30571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30573 if (SWIG_arg_fail(1)) SWIG_fail;
30574 {
30575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30576 if (SWIG_arg_fail(2)) SWIG_fail;
30577 if (arg2 == NULL) {
30578 SWIG_null_ref("wxTreeItemId");
30579 }
30580 if (SWIG_arg_fail(2)) SWIG_fail;
30581 }
30582 {
30583 PyThreadState* __tstate = wxPyBeginAllowThreads();
30584 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30585
30586 wxPyEndAllowThreads(__tstate);
30587 if (PyErr_Occurred()) SWIG_fail;
30588 }
30589 Py_INCREF(Py_None); resultobj = Py_None;
30590 return resultobj;
30591 fail:
30592 return NULL;
30593 }
30594
30595
30596 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30597 PyObject *resultobj = NULL;
30598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30599 PyObject * obj0 = 0 ;
30600 char *kwnames[] = {
30601 (char *) "self", NULL
30602 };
30603
30604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30606 if (SWIG_arg_fail(1)) SWIG_fail;
30607 {
30608 PyThreadState* __tstate = wxPyBeginAllowThreads();
30609 (arg1)->UnselectAll();
30610
30611 wxPyEndAllowThreads(__tstate);
30612 if (PyErr_Occurred()) SWIG_fail;
30613 }
30614 Py_INCREF(Py_None); resultobj = Py_None;
30615 return resultobj;
30616 fail:
30617 return NULL;
30618 }
30619
30620
30621 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj = NULL;
30623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30624 wxTreeItemId *arg2 = 0 ;
30625 bool arg3 = (bool) true ;
30626 PyObject * obj0 = 0 ;
30627 PyObject * obj1 = 0 ;
30628 PyObject * obj2 = 0 ;
30629 char *kwnames[] = {
30630 (char *) "self",(char *) "item",(char *) "select", NULL
30631 };
30632
30633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail;
30636 {
30637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30638 if (SWIG_arg_fail(2)) SWIG_fail;
30639 if (arg2 == NULL) {
30640 SWIG_null_ref("wxTreeItemId");
30641 }
30642 if (SWIG_arg_fail(2)) SWIG_fail;
30643 }
30644 if (obj2) {
30645 {
30646 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30647 if (SWIG_arg_fail(3)) SWIG_fail;
30648 }
30649 }
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30653
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 Py_INCREF(Py_None); resultobj = Py_None;
30658 return resultobj;
30659 fail:
30660 return NULL;
30661 }
30662
30663
30664 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30665 PyObject *resultobj = NULL;
30666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30667 wxTreeItemId *arg2 = 0 ;
30668 PyObject * obj0 = 0 ;
30669 PyObject * obj1 = 0 ;
30670 char *kwnames[] = {
30671 (char *) "self",(char *) "item", NULL
30672 };
30673
30674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30676 if (SWIG_arg_fail(1)) SWIG_fail;
30677 {
30678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30679 if (SWIG_arg_fail(2)) SWIG_fail;
30680 if (arg2 == NULL) {
30681 SWIG_null_ref("wxTreeItemId");
30682 }
30683 if (SWIG_arg_fail(2)) SWIG_fail;
30684 }
30685 {
30686 PyThreadState* __tstate = wxPyBeginAllowThreads();
30687 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30688
30689 wxPyEndAllowThreads(__tstate);
30690 if (PyErr_Occurred()) SWIG_fail;
30691 }
30692 Py_INCREF(Py_None); resultobj = Py_None;
30693 return resultobj;
30694 fail:
30695 return NULL;
30696 }
30697
30698
30699 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30700 PyObject *resultobj = NULL;
30701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30702 wxTreeItemId *arg2 = 0 ;
30703 PyObject * obj0 = 0 ;
30704 PyObject * obj1 = 0 ;
30705 char *kwnames[] = {
30706 (char *) "self",(char *) "item", NULL
30707 };
30708
30709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail;
30712 {
30713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30714 if (SWIG_arg_fail(2)) SWIG_fail;
30715 if (arg2 == NULL) {
30716 SWIG_null_ref("wxTreeItemId");
30717 }
30718 if (SWIG_arg_fail(2)) SWIG_fail;
30719 }
30720 {
30721 PyThreadState* __tstate = wxPyBeginAllowThreads();
30722 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30723
30724 wxPyEndAllowThreads(__tstate);
30725 if (PyErr_Occurred()) SWIG_fail;
30726 }
30727 Py_INCREF(Py_None); resultobj = Py_None;
30728 return resultobj;
30729 fail:
30730 return NULL;
30731 }
30732
30733
30734 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30735 PyObject *resultobj = NULL;
30736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30737 wxTreeItemId *arg2 = 0 ;
30738 PyObject * obj0 = 0 ;
30739 PyObject * obj1 = 0 ;
30740 char *kwnames[] = {
30741 (char *) "self",(char *) "item", NULL
30742 };
30743
30744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30746 if (SWIG_arg_fail(1)) SWIG_fail;
30747 {
30748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30749 if (SWIG_arg_fail(2)) SWIG_fail;
30750 if (arg2 == NULL) {
30751 SWIG_null_ref("wxTreeItemId");
30752 }
30753 if (SWIG_arg_fail(2)) SWIG_fail;
30754 }
30755 {
30756 PyThreadState* __tstate = wxPyBeginAllowThreads();
30757 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30758
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
30762 Py_INCREF(Py_None); resultobj = Py_None;
30763 return resultobj;
30764 fail:
30765 return NULL;
30766 }
30767
30768
30769 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30770 PyObject *resultobj = NULL;
30771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30772 wxTreeItemId *arg2 = 0 ;
30773 PyObject * obj0 = 0 ;
30774 PyObject * obj1 = 0 ;
30775 char *kwnames[] = {
30776 (char *) "self",(char *) "item", NULL
30777 };
30778
30779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30781 if (SWIG_arg_fail(1)) SWIG_fail;
30782 {
30783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30784 if (SWIG_arg_fail(2)) SWIG_fail;
30785 if (arg2 == NULL) {
30786 SWIG_null_ref("wxTreeItemId");
30787 }
30788 if (SWIG_arg_fail(2)) SWIG_fail;
30789 }
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30793
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 Py_INCREF(Py_None); resultobj = Py_None;
30798 return resultobj;
30799 fail:
30800 return NULL;
30801 }
30802
30803
30804 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30805 PyObject *resultobj = NULL;
30806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30807 wxTextCtrl *result;
30808 PyObject * obj0 = 0 ;
30809 char *kwnames[] = {
30810 (char *) "self", NULL
30811 };
30812
30813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail;
30816 {
30817 PyThreadState* __tstate = wxPyBeginAllowThreads();
30818 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30819
30820 wxPyEndAllowThreads(__tstate);
30821 if (PyErr_Occurred()) SWIG_fail;
30822 }
30823 {
30824 resultobj = wxPyMake_wxObject(result, 0);
30825 }
30826 return resultobj;
30827 fail:
30828 return NULL;
30829 }
30830
30831
30832 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30833 PyObject *resultobj = NULL;
30834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30835 wxTreeItemId *arg2 = 0 ;
30836 PyObject * obj0 = 0 ;
30837 PyObject * obj1 = 0 ;
30838 char *kwnames[] = {
30839 (char *) "self",(char *) "item", NULL
30840 };
30841
30842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30844 if (SWIG_arg_fail(1)) SWIG_fail;
30845 {
30846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30847 if (SWIG_arg_fail(2)) SWIG_fail;
30848 if (arg2 == NULL) {
30849 SWIG_null_ref("wxTreeItemId");
30850 }
30851 if (SWIG_arg_fail(2)) SWIG_fail;
30852 }
30853 {
30854 PyThreadState* __tstate = wxPyBeginAllowThreads();
30855 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30856
30857 wxPyEndAllowThreads(__tstate);
30858 if (PyErr_Occurred()) SWIG_fail;
30859 }
30860 Py_INCREF(Py_None); resultobj = Py_None;
30861 return resultobj;
30862 fail:
30863 return NULL;
30864 }
30865
30866
30867 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30868 PyObject *resultobj = NULL;
30869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30870 wxPoint *arg2 = 0 ;
30871 int *arg3 = 0 ;
30872 wxTreeItemId result;
30873 wxPoint temp2 ;
30874 int temp3 ;
30875 int res3 = 0 ;
30876 PyObject * obj0 = 0 ;
30877 PyObject * obj1 = 0 ;
30878 char *kwnames[] = {
30879 (char *) "self",(char *) "point", NULL
30880 };
30881
30882 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30885 if (SWIG_arg_fail(1)) SWIG_fail;
30886 {
30887 arg2 = &temp2;
30888 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30889 }
30890 {
30891 PyThreadState* __tstate = wxPyBeginAllowThreads();
30892 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30893
30894 wxPyEndAllowThreads(__tstate);
30895 if (PyErr_Occurred()) SWIG_fail;
30896 }
30897 {
30898 wxTreeItemId * resultptr;
30899 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30901 }
30902 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30903 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30904 return resultobj;
30905 fail:
30906 return NULL;
30907 }
30908
30909
30910 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30911 PyObject *resultobj = NULL;
30912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30913 wxTreeItemId *arg2 = 0 ;
30914 bool arg3 = (bool) false ;
30915 PyObject *result;
30916 PyObject * obj0 = 0 ;
30917 PyObject * obj1 = 0 ;
30918 PyObject * obj2 = 0 ;
30919 char *kwnames[] = {
30920 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30921 };
30922
30923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail;
30926 {
30927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30928 if (SWIG_arg_fail(2)) SWIG_fail;
30929 if (arg2 == NULL) {
30930 SWIG_null_ref("wxTreeItemId");
30931 }
30932 if (SWIG_arg_fail(2)) SWIG_fail;
30933 }
30934 if (obj2) {
30935 {
30936 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30937 if (SWIG_arg_fail(3)) SWIG_fail;
30938 }
30939 }
30940 {
30941 PyThreadState* __tstate = wxPyBeginAllowThreads();
30942 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30943
30944 wxPyEndAllowThreads(__tstate);
30945 if (PyErr_Occurred()) SWIG_fail;
30946 }
30947 resultobj = result;
30948 return resultobj;
30949 fail:
30950 return NULL;
30951 }
30952
30953
30954 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30955 PyObject *resultobj = NULL;
30956 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30957 wxVisualAttributes result;
30958 PyObject * obj0 = 0 ;
30959 char *kwnames[] = {
30960 (char *) "variant", NULL
30961 };
30962
30963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30964 if (obj0) {
30965 {
30966 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
30967 if (SWIG_arg_fail(1)) SWIG_fail;
30968 }
30969 }
30970 {
30971 if (!wxPyCheckForApp()) SWIG_fail;
30972 PyThreadState* __tstate = wxPyBeginAllowThreads();
30973 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
30974
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 {
30979 wxVisualAttributes * resultptr;
30980 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
30981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30982 }
30983 return resultobj;
30984 fail:
30985 return NULL;
30986 }
30987
30988
30989 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30990 PyObject *obj;
30991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30992 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30993 Py_INCREF(obj);
30994 return Py_BuildValue((char *)"");
30995 }
30996 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30997 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30998 return 1;
30999 }
31000
31001
31002 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
31003 PyObject *pyobj = NULL;
31004
31005 {
31006 #if wxUSE_UNICODE
31007 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31008 #else
31009 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31010 #endif
31011 }
31012 return pyobj;
31013 }
31014
31015
31016 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31017 PyObject *resultobj = NULL;
31018 wxWindow *arg1 = (wxWindow *) 0 ;
31019 int arg2 = (int) (int)-1 ;
31020 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31021 wxString *arg3 = (wxString *) &arg3_defvalue ;
31022 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31023 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31024 wxSize const &arg5_defvalue = wxDefaultSize ;
31025 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31026 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31027 wxString const &arg7_defvalue = wxPyEmptyString ;
31028 wxString *arg7 = (wxString *) &arg7_defvalue ;
31029 int arg8 = (int) 0 ;
31030 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31031 wxString *arg9 = (wxString *) &arg9_defvalue ;
31032 wxGenericDirCtrl *result;
31033 bool temp3 = false ;
31034 wxPoint temp4 ;
31035 wxSize temp5 ;
31036 bool temp7 = false ;
31037 bool temp9 = false ;
31038 PyObject * obj0 = 0 ;
31039 PyObject * obj1 = 0 ;
31040 PyObject * obj2 = 0 ;
31041 PyObject * obj3 = 0 ;
31042 PyObject * obj4 = 0 ;
31043 PyObject * obj5 = 0 ;
31044 PyObject * obj6 = 0 ;
31045 PyObject * obj7 = 0 ;
31046 PyObject * obj8 = 0 ;
31047 char *kwnames[] = {
31048 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31049 };
31050
31051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31053 if (SWIG_arg_fail(1)) SWIG_fail;
31054 if (obj1) {
31055 {
31056 arg2 = static_cast<int const >(SWIG_As_int(obj1));
31057 if (SWIG_arg_fail(2)) SWIG_fail;
31058 }
31059 }
31060 if (obj2) {
31061 {
31062 arg3 = wxString_in_helper(obj2);
31063 if (arg3 == NULL) SWIG_fail;
31064 temp3 = true;
31065 }
31066 }
31067 if (obj3) {
31068 {
31069 arg4 = &temp4;
31070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31071 }
31072 }
31073 if (obj4) {
31074 {
31075 arg5 = &temp5;
31076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31077 }
31078 }
31079 if (obj5) {
31080 {
31081 arg6 = static_cast<long >(SWIG_As_long(obj5));
31082 if (SWIG_arg_fail(6)) SWIG_fail;
31083 }
31084 }
31085 if (obj6) {
31086 {
31087 arg7 = wxString_in_helper(obj6);
31088 if (arg7 == NULL) SWIG_fail;
31089 temp7 = true;
31090 }
31091 }
31092 if (obj7) {
31093 {
31094 arg8 = static_cast<int >(SWIG_As_int(obj7));
31095 if (SWIG_arg_fail(8)) SWIG_fail;
31096 }
31097 }
31098 if (obj8) {
31099 {
31100 arg9 = wxString_in_helper(obj8);
31101 if (arg9 == NULL) SWIG_fail;
31102 temp9 = true;
31103 }
31104 }
31105 {
31106 if (!wxPyCheckForApp()) SWIG_fail;
31107 PyThreadState* __tstate = wxPyBeginAllowThreads();
31108 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31109
31110 wxPyEndAllowThreads(__tstate);
31111 if (PyErr_Occurred()) SWIG_fail;
31112 }
31113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31114 {
31115 if (temp3)
31116 delete arg3;
31117 }
31118 {
31119 if (temp7)
31120 delete arg7;
31121 }
31122 {
31123 if (temp9)
31124 delete arg9;
31125 }
31126 return resultobj;
31127 fail:
31128 {
31129 if (temp3)
31130 delete arg3;
31131 }
31132 {
31133 if (temp7)
31134 delete arg7;
31135 }
31136 {
31137 if (temp9)
31138 delete arg9;
31139 }
31140 return NULL;
31141 }
31142
31143
31144 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31145 PyObject *resultobj = NULL;
31146 wxGenericDirCtrl *result;
31147 char *kwnames[] = {
31148 NULL
31149 };
31150
31151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31152 {
31153 if (!wxPyCheckForApp()) SWIG_fail;
31154 PyThreadState* __tstate = wxPyBeginAllowThreads();
31155 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31156
31157 wxPyEndAllowThreads(__tstate);
31158 if (PyErr_Occurred()) SWIG_fail;
31159 }
31160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31161 return resultobj;
31162 fail:
31163 return NULL;
31164 }
31165
31166
31167 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31168 PyObject *resultobj = NULL;
31169 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31170 wxWindow *arg2 = (wxWindow *) 0 ;
31171 int arg3 = (int) (int)-1 ;
31172 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31173 wxString *arg4 = (wxString *) &arg4_defvalue ;
31174 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31175 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31176 wxSize const &arg6_defvalue = wxDefaultSize ;
31177 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31178 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31179 wxString const &arg8_defvalue = wxPyEmptyString ;
31180 wxString *arg8 = (wxString *) &arg8_defvalue ;
31181 int arg9 = (int) 0 ;
31182 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31183 wxString *arg10 = (wxString *) &arg10_defvalue ;
31184 bool result;
31185 bool temp4 = false ;
31186 wxPoint temp5 ;
31187 wxSize temp6 ;
31188 bool temp8 = false ;
31189 bool temp10 = false ;
31190 PyObject * obj0 = 0 ;
31191 PyObject * obj1 = 0 ;
31192 PyObject * obj2 = 0 ;
31193 PyObject * obj3 = 0 ;
31194 PyObject * obj4 = 0 ;
31195 PyObject * obj5 = 0 ;
31196 PyObject * obj6 = 0 ;
31197 PyObject * obj7 = 0 ;
31198 PyObject * obj8 = 0 ;
31199 PyObject * obj9 = 0 ;
31200 char *kwnames[] = {
31201 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31202 };
31203
31204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail;
31207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31208 if (SWIG_arg_fail(2)) SWIG_fail;
31209 if (obj2) {
31210 {
31211 arg3 = static_cast<int const >(SWIG_As_int(obj2));
31212 if (SWIG_arg_fail(3)) SWIG_fail;
31213 }
31214 }
31215 if (obj3) {
31216 {
31217 arg4 = wxString_in_helper(obj3);
31218 if (arg4 == NULL) SWIG_fail;
31219 temp4 = true;
31220 }
31221 }
31222 if (obj4) {
31223 {
31224 arg5 = &temp5;
31225 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31226 }
31227 }
31228 if (obj5) {
31229 {
31230 arg6 = &temp6;
31231 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31232 }
31233 }
31234 if (obj6) {
31235 {
31236 arg7 = static_cast<long >(SWIG_As_long(obj6));
31237 if (SWIG_arg_fail(7)) SWIG_fail;
31238 }
31239 }
31240 if (obj7) {
31241 {
31242 arg8 = wxString_in_helper(obj7);
31243 if (arg8 == NULL) SWIG_fail;
31244 temp8 = true;
31245 }
31246 }
31247 if (obj8) {
31248 {
31249 arg9 = static_cast<int >(SWIG_As_int(obj8));
31250 if (SWIG_arg_fail(9)) SWIG_fail;
31251 }
31252 }
31253 if (obj9) {
31254 {
31255 arg10 = wxString_in_helper(obj9);
31256 if (arg10 == NULL) SWIG_fail;
31257 temp10 = true;
31258 }
31259 }
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31263
31264 wxPyEndAllowThreads(__tstate);
31265 if (PyErr_Occurred()) SWIG_fail;
31266 }
31267 {
31268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31269 }
31270 {
31271 if (temp4)
31272 delete arg4;
31273 }
31274 {
31275 if (temp8)
31276 delete arg8;
31277 }
31278 {
31279 if (temp10)
31280 delete arg10;
31281 }
31282 return resultobj;
31283 fail:
31284 {
31285 if (temp4)
31286 delete arg4;
31287 }
31288 {
31289 if (temp8)
31290 delete arg8;
31291 }
31292 {
31293 if (temp10)
31294 delete arg10;
31295 }
31296 return NULL;
31297 }
31298
31299
31300 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31301 PyObject *resultobj = NULL;
31302 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31303 wxString *arg2 = 0 ;
31304 bool result;
31305 bool temp2 = false ;
31306 PyObject * obj0 = 0 ;
31307 PyObject * obj1 = 0 ;
31308 char *kwnames[] = {
31309 (char *) "self",(char *) "path", NULL
31310 };
31311
31312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail;
31315 {
31316 arg2 = wxString_in_helper(obj1);
31317 if (arg2 == NULL) SWIG_fail;
31318 temp2 = true;
31319 }
31320 {
31321 PyThreadState* __tstate = wxPyBeginAllowThreads();
31322 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31323
31324 wxPyEndAllowThreads(__tstate);
31325 if (PyErr_Occurred()) SWIG_fail;
31326 }
31327 {
31328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31329 }
31330 {
31331 if (temp2)
31332 delete arg2;
31333 }
31334 return resultobj;
31335 fail:
31336 {
31337 if (temp2)
31338 delete arg2;
31339 }
31340 return NULL;
31341 }
31342
31343
31344 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31345 PyObject *resultobj = NULL;
31346 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31347 wxString result;
31348 PyObject * obj0 = 0 ;
31349 char *kwnames[] = {
31350 (char *) "self", NULL
31351 };
31352
31353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31355 if (SWIG_arg_fail(1)) SWIG_fail;
31356 {
31357 PyThreadState* __tstate = wxPyBeginAllowThreads();
31358 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31359
31360 wxPyEndAllowThreads(__tstate);
31361 if (PyErr_Occurred()) SWIG_fail;
31362 }
31363 {
31364 #if wxUSE_UNICODE
31365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31366 #else
31367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31368 #endif
31369 }
31370 return resultobj;
31371 fail:
31372 return NULL;
31373 }
31374
31375
31376 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31377 PyObject *resultobj = NULL;
31378 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31379 wxString *arg2 = 0 ;
31380 bool temp2 = false ;
31381 PyObject * obj0 = 0 ;
31382 PyObject * obj1 = 0 ;
31383 char *kwnames[] = {
31384 (char *) "self",(char *) "path", NULL
31385 };
31386
31387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail;
31390 {
31391 arg2 = wxString_in_helper(obj1);
31392 if (arg2 == NULL) SWIG_fail;
31393 temp2 = true;
31394 }
31395 {
31396 PyThreadState* __tstate = wxPyBeginAllowThreads();
31397 (arg1)->SetDefaultPath((wxString const &)*arg2);
31398
31399 wxPyEndAllowThreads(__tstate);
31400 if (PyErr_Occurred()) SWIG_fail;
31401 }
31402 Py_INCREF(Py_None); resultobj = Py_None;
31403 {
31404 if (temp2)
31405 delete arg2;
31406 }
31407 return resultobj;
31408 fail:
31409 {
31410 if (temp2)
31411 delete arg2;
31412 }
31413 return NULL;
31414 }
31415
31416
31417 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31418 PyObject *resultobj = NULL;
31419 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31420 wxString result;
31421 PyObject * obj0 = 0 ;
31422 char *kwnames[] = {
31423 (char *) "self", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail;
31429 {
31430 PyThreadState* __tstate = wxPyBeginAllowThreads();
31431 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31432
31433 wxPyEndAllowThreads(__tstate);
31434 if (PyErr_Occurred()) SWIG_fail;
31435 }
31436 {
31437 #if wxUSE_UNICODE
31438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31439 #else
31440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31441 #endif
31442 }
31443 return resultobj;
31444 fail:
31445 return NULL;
31446 }
31447
31448
31449 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31450 PyObject *resultobj = NULL;
31451 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31452 wxString result;
31453 PyObject * obj0 = 0 ;
31454 char *kwnames[] = {
31455 (char *) "self", NULL
31456 };
31457
31458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail;
31461 {
31462 PyThreadState* __tstate = wxPyBeginAllowThreads();
31463 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31464
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 {
31469 #if wxUSE_UNICODE
31470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31471 #else
31472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31473 #endif
31474 }
31475 return resultobj;
31476 fail:
31477 return NULL;
31478 }
31479
31480
31481 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31482 PyObject *resultobj = NULL;
31483 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31484 wxString *arg2 = 0 ;
31485 bool temp2 = false ;
31486 PyObject * obj0 = 0 ;
31487 PyObject * obj1 = 0 ;
31488 char *kwnames[] = {
31489 (char *) "self",(char *) "path", NULL
31490 };
31491
31492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31494 if (SWIG_arg_fail(1)) SWIG_fail;
31495 {
31496 arg2 = wxString_in_helper(obj1);
31497 if (arg2 == NULL) SWIG_fail;
31498 temp2 = true;
31499 }
31500 {
31501 PyThreadState* __tstate = wxPyBeginAllowThreads();
31502 (arg1)->SetPath((wxString const &)*arg2);
31503
31504 wxPyEndAllowThreads(__tstate);
31505 if (PyErr_Occurred()) SWIG_fail;
31506 }
31507 Py_INCREF(Py_None); resultobj = Py_None;
31508 {
31509 if (temp2)
31510 delete arg2;
31511 }
31512 return resultobj;
31513 fail:
31514 {
31515 if (temp2)
31516 delete arg2;
31517 }
31518 return NULL;
31519 }
31520
31521
31522 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31523 PyObject *resultobj = NULL;
31524 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31525 bool arg2 ;
31526 PyObject * obj0 = 0 ;
31527 PyObject * obj1 = 0 ;
31528 char *kwnames[] = {
31529 (char *) "self",(char *) "show", NULL
31530 };
31531
31532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31534 if (SWIG_arg_fail(1)) SWIG_fail;
31535 {
31536 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
31537 if (SWIG_arg_fail(2)) SWIG_fail;
31538 }
31539 {
31540 PyThreadState* __tstate = wxPyBeginAllowThreads();
31541 (arg1)->ShowHidden(arg2);
31542
31543 wxPyEndAllowThreads(__tstate);
31544 if (PyErr_Occurred()) SWIG_fail;
31545 }
31546 Py_INCREF(Py_None); resultobj = Py_None;
31547 return resultobj;
31548 fail:
31549 return NULL;
31550 }
31551
31552
31553 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj = NULL;
31555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31556 bool result;
31557 PyObject * obj0 = 0 ;
31558 char *kwnames[] = {
31559 (char *) "self", NULL
31560 };
31561
31562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail;
31565 {
31566 PyThreadState* __tstate = wxPyBeginAllowThreads();
31567 result = (bool)(arg1)->GetShowHidden();
31568
31569 wxPyEndAllowThreads(__tstate);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
31572 {
31573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31574 }
31575 return resultobj;
31576 fail:
31577 return NULL;
31578 }
31579
31580
31581 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31582 PyObject *resultobj = NULL;
31583 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31584 wxString result;
31585 PyObject * obj0 = 0 ;
31586 char *kwnames[] = {
31587 (char *) "self", NULL
31588 };
31589
31590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31592 if (SWIG_arg_fail(1)) SWIG_fail;
31593 {
31594 PyThreadState* __tstate = wxPyBeginAllowThreads();
31595 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31596
31597 wxPyEndAllowThreads(__tstate);
31598 if (PyErr_Occurred()) SWIG_fail;
31599 }
31600 {
31601 #if wxUSE_UNICODE
31602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31603 #else
31604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31605 #endif
31606 }
31607 return resultobj;
31608 fail:
31609 return NULL;
31610 }
31611
31612
31613 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31614 PyObject *resultobj = NULL;
31615 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31616 wxString *arg2 = 0 ;
31617 bool temp2 = false ;
31618 PyObject * obj0 = 0 ;
31619 PyObject * obj1 = 0 ;
31620 char *kwnames[] = {
31621 (char *) "self",(char *) "filter", NULL
31622 };
31623
31624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31626 if (SWIG_arg_fail(1)) SWIG_fail;
31627 {
31628 arg2 = wxString_in_helper(obj1);
31629 if (arg2 == NULL) SWIG_fail;
31630 temp2 = true;
31631 }
31632 {
31633 PyThreadState* __tstate = wxPyBeginAllowThreads();
31634 (arg1)->SetFilter((wxString const &)*arg2);
31635
31636 wxPyEndAllowThreads(__tstate);
31637 if (PyErr_Occurred()) SWIG_fail;
31638 }
31639 Py_INCREF(Py_None); resultobj = Py_None;
31640 {
31641 if (temp2)
31642 delete arg2;
31643 }
31644 return resultobj;
31645 fail:
31646 {
31647 if (temp2)
31648 delete arg2;
31649 }
31650 return NULL;
31651 }
31652
31653
31654 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31655 PyObject *resultobj = NULL;
31656 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31657 int result;
31658 PyObject * obj0 = 0 ;
31659 char *kwnames[] = {
31660 (char *) "self", NULL
31661 };
31662
31663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31665 if (SWIG_arg_fail(1)) SWIG_fail;
31666 {
31667 PyThreadState* __tstate = wxPyBeginAllowThreads();
31668 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31669
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 {
31674 resultobj = SWIG_From_int(static_cast<int >(result));
31675 }
31676 return resultobj;
31677 fail:
31678 return NULL;
31679 }
31680
31681
31682 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31683 PyObject *resultobj = NULL;
31684 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31685 int arg2 ;
31686 PyObject * obj0 = 0 ;
31687 PyObject * obj1 = 0 ;
31688 char *kwnames[] = {
31689 (char *) "self",(char *) "n", NULL
31690 };
31691
31692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail;
31695 {
31696 arg2 = static_cast<int >(SWIG_As_int(obj1));
31697 if (SWIG_arg_fail(2)) SWIG_fail;
31698 }
31699 {
31700 PyThreadState* __tstate = wxPyBeginAllowThreads();
31701 (arg1)->SetFilterIndex(arg2);
31702
31703 wxPyEndAllowThreads(__tstate);
31704 if (PyErr_Occurred()) SWIG_fail;
31705 }
31706 Py_INCREF(Py_None); resultobj = Py_None;
31707 return resultobj;
31708 fail:
31709 return NULL;
31710 }
31711
31712
31713 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31714 PyObject *resultobj = NULL;
31715 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31716 wxTreeItemId result;
31717 PyObject * obj0 = 0 ;
31718 char *kwnames[] = {
31719 (char *) "self", NULL
31720 };
31721
31722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail;
31725 {
31726 PyThreadState* __tstate = wxPyBeginAllowThreads();
31727 result = (arg1)->GetRootId();
31728
31729 wxPyEndAllowThreads(__tstate);
31730 if (PyErr_Occurred()) SWIG_fail;
31731 }
31732 {
31733 wxTreeItemId * resultptr;
31734 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31736 }
31737 return resultobj;
31738 fail:
31739 return NULL;
31740 }
31741
31742
31743 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31744 PyObject *resultobj = NULL;
31745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31746 wxPyTreeCtrl *result;
31747 PyObject * obj0 = 0 ;
31748 char *kwnames[] = {
31749 (char *) "self", NULL
31750 };
31751
31752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31754 if (SWIG_arg_fail(1)) SWIG_fail;
31755 {
31756 PyThreadState* __tstate = wxPyBeginAllowThreads();
31757 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31758
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
31762 {
31763 resultobj = wxPyMake_wxObject(result, 0);
31764 }
31765 return resultobj;
31766 fail:
31767 return NULL;
31768 }
31769
31770
31771 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31772 PyObject *resultobj = NULL;
31773 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31774 wxDirFilterListCtrl *result;
31775 PyObject * obj0 = 0 ;
31776 char *kwnames[] = {
31777 (char *) "self", NULL
31778 };
31779
31780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31782 if (SWIG_arg_fail(1)) SWIG_fail;
31783 {
31784 PyThreadState* __tstate = wxPyBeginAllowThreads();
31785 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31786
31787 wxPyEndAllowThreads(__tstate);
31788 if (PyErr_Occurred()) SWIG_fail;
31789 }
31790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31791 return resultobj;
31792 fail:
31793 return NULL;
31794 }
31795
31796
31797 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31798 PyObject *resultobj = NULL;
31799 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31800 wxTreeItemId arg2 ;
31801 wxString *arg3 = 0 ;
31802 bool *arg4 = 0 ;
31803 wxTreeItemId result;
31804 bool temp3 = false ;
31805 bool temp4 ;
31806 int res4 = 0 ;
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 PyObject * obj2 = 0 ;
31810 char *kwnames[] = {
31811 (char *) "self",(char *) "parentId",(char *) "path", NULL
31812 };
31813
31814 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31817 if (SWIG_arg_fail(1)) SWIG_fail;
31818 {
31819 wxTreeItemId * argp;
31820 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31821 if (SWIG_arg_fail(2)) SWIG_fail;
31822 if (argp == NULL) {
31823 SWIG_null_ref("wxTreeItemId");
31824 }
31825 if (SWIG_arg_fail(2)) SWIG_fail;
31826 arg2 = *argp;
31827 }
31828 {
31829 arg3 = wxString_in_helper(obj2);
31830 if (arg3 == NULL) SWIG_fail;
31831 temp3 = true;
31832 }
31833 {
31834 PyThreadState* __tstate = wxPyBeginAllowThreads();
31835 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31836
31837 wxPyEndAllowThreads(__tstate);
31838 if (PyErr_Occurred()) SWIG_fail;
31839 }
31840 {
31841 wxTreeItemId * resultptr;
31842 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31844 }
31845 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31846 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31847 {
31848 if (temp3)
31849 delete arg3;
31850 }
31851 return resultobj;
31852 fail:
31853 {
31854 if (temp3)
31855 delete arg3;
31856 }
31857 return NULL;
31858 }
31859
31860
31861 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31862 PyObject *resultobj = NULL;
31863 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31864 PyObject * obj0 = 0 ;
31865 char *kwnames[] = {
31866 (char *) "self", NULL
31867 };
31868
31869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail;
31872 {
31873 PyThreadState* __tstate = wxPyBeginAllowThreads();
31874 (arg1)->DoResize();
31875
31876 wxPyEndAllowThreads(__tstate);
31877 if (PyErr_Occurred()) SWIG_fail;
31878 }
31879 Py_INCREF(Py_None); resultobj = Py_None;
31880 return resultobj;
31881 fail:
31882 return NULL;
31883 }
31884
31885
31886 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31887 PyObject *resultobj = NULL;
31888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31889 PyObject * obj0 = 0 ;
31890 char *kwnames[] = {
31891 (char *) "self", NULL
31892 };
31893
31894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31896 if (SWIG_arg_fail(1)) SWIG_fail;
31897 {
31898 PyThreadState* __tstate = wxPyBeginAllowThreads();
31899 (arg1)->ReCreateTree();
31900
31901 wxPyEndAllowThreads(__tstate);
31902 if (PyErr_Occurred()) SWIG_fail;
31903 }
31904 Py_INCREF(Py_None); resultobj = Py_None;
31905 return resultobj;
31906 fail:
31907 return NULL;
31908 }
31909
31910
31911 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31912 PyObject *obj;
31913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31914 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31915 Py_INCREF(obj);
31916 return Py_BuildValue((char *)"");
31917 }
31918 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31919 PyObject *resultobj = NULL;
31920 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31921 int arg2 = (int) (int)-1 ;
31922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31924 wxSize const &arg4_defvalue = wxDefaultSize ;
31925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31926 long arg5 = (long) 0 ;
31927 wxDirFilterListCtrl *result;
31928 wxPoint temp3 ;
31929 wxSize temp4 ;
31930 PyObject * obj0 = 0 ;
31931 PyObject * obj1 = 0 ;
31932 PyObject * obj2 = 0 ;
31933 PyObject * obj3 = 0 ;
31934 PyObject * obj4 = 0 ;
31935 char *kwnames[] = {
31936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31937 };
31938
31939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31941 if (SWIG_arg_fail(1)) SWIG_fail;
31942 if (obj1) {
31943 {
31944 arg2 = static_cast<int const >(SWIG_As_int(obj1));
31945 if (SWIG_arg_fail(2)) SWIG_fail;
31946 }
31947 }
31948 if (obj2) {
31949 {
31950 arg3 = &temp3;
31951 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31952 }
31953 }
31954 if (obj3) {
31955 {
31956 arg4 = &temp4;
31957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31958 }
31959 }
31960 if (obj4) {
31961 {
31962 arg5 = static_cast<long >(SWIG_As_long(obj4));
31963 if (SWIG_arg_fail(5)) SWIG_fail;
31964 }
31965 }
31966 {
31967 if (!wxPyCheckForApp()) SWIG_fail;
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31970
31971 wxPyEndAllowThreads(__tstate);
31972 if (PyErr_Occurred()) SWIG_fail;
31973 }
31974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31975 return resultobj;
31976 fail:
31977 return NULL;
31978 }
31979
31980
31981 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31982 PyObject *resultobj = NULL;
31983 wxDirFilterListCtrl *result;
31984 char *kwnames[] = {
31985 NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31989 {
31990 if (!wxPyCheckForApp()) SWIG_fail;
31991 PyThreadState* __tstate = wxPyBeginAllowThreads();
31992 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31993
31994 wxPyEndAllowThreads(__tstate);
31995 if (PyErr_Occurred()) SWIG_fail;
31996 }
31997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31998 return resultobj;
31999 fail:
32000 return NULL;
32001 }
32002
32003
32004 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32005 PyObject *resultobj = NULL;
32006 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32007 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32008 int arg3 = (int) (int)-1 ;
32009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32011 wxSize const &arg5_defvalue = wxDefaultSize ;
32012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32013 long arg6 = (long) 0 ;
32014 bool result;
32015 wxPoint temp4 ;
32016 wxSize temp5 ;
32017 PyObject * obj0 = 0 ;
32018 PyObject * obj1 = 0 ;
32019 PyObject * obj2 = 0 ;
32020 PyObject * obj3 = 0 ;
32021 PyObject * obj4 = 0 ;
32022 PyObject * obj5 = 0 ;
32023 char *kwnames[] = {
32024 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32025 };
32026
32027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32029 if (SWIG_arg_fail(1)) SWIG_fail;
32030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32031 if (SWIG_arg_fail(2)) SWIG_fail;
32032 if (obj2) {
32033 {
32034 arg3 = static_cast<int const >(SWIG_As_int(obj2));
32035 if (SWIG_arg_fail(3)) SWIG_fail;
32036 }
32037 }
32038 if (obj3) {
32039 {
32040 arg4 = &temp4;
32041 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32042 }
32043 }
32044 if (obj4) {
32045 {
32046 arg5 = &temp5;
32047 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32048 }
32049 }
32050 if (obj5) {
32051 {
32052 arg6 = static_cast<long >(SWIG_As_long(obj5));
32053 if (SWIG_arg_fail(6)) SWIG_fail;
32054 }
32055 }
32056 {
32057 PyThreadState* __tstate = wxPyBeginAllowThreads();
32058 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32059
32060 wxPyEndAllowThreads(__tstate);
32061 if (PyErr_Occurred()) SWIG_fail;
32062 }
32063 {
32064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32065 }
32066 return resultobj;
32067 fail:
32068 return NULL;
32069 }
32070
32071
32072 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32073 PyObject *resultobj = NULL;
32074 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32075 wxString *arg2 = 0 ;
32076 int arg3 ;
32077 bool temp2 = false ;
32078 PyObject * obj0 = 0 ;
32079 PyObject * obj1 = 0 ;
32080 PyObject * obj2 = 0 ;
32081 char *kwnames[] = {
32082 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32083 };
32084
32085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32087 if (SWIG_arg_fail(1)) SWIG_fail;
32088 {
32089 arg2 = wxString_in_helper(obj1);
32090 if (arg2 == NULL) SWIG_fail;
32091 temp2 = true;
32092 }
32093 {
32094 arg3 = static_cast<int >(SWIG_As_int(obj2));
32095 if (SWIG_arg_fail(3)) SWIG_fail;
32096 }
32097 {
32098 PyThreadState* __tstate = wxPyBeginAllowThreads();
32099 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32100
32101 wxPyEndAllowThreads(__tstate);
32102 if (PyErr_Occurred()) SWIG_fail;
32103 }
32104 Py_INCREF(Py_None); resultobj = Py_None;
32105 {
32106 if (temp2)
32107 delete arg2;
32108 }
32109 return resultobj;
32110 fail:
32111 {
32112 if (temp2)
32113 delete arg2;
32114 }
32115 return NULL;
32116 }
32117
32118
32119 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32120 PyObject *obj;
32121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32122 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32123 Py_INCREF(obj);
32124 return Py_BuildValue((char *)"");
32125 }
32126 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32127 PyObject *resultobj = NULL;
32128 wxWindow *arg1 = (wxWindow *) 0 ;
32129 int arg2 = (int) (int)-1 ;
32130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32132 wxSize const &arg4_defvalue = wxDefaultSize ;
32133 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32134 long arg5 = (long) 0 ;
32135 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32136 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32137 wxString const &arg7_defvalue = wxPyControlNameStr ;
32138 wxString *arg7 = (wxString *) &arg7_defvalue ;
32139 wxPyControl *result;
32140 wxPoint temp3 ;
32141 wxSize temp4 ;
32142 bool temp7 = false ;
32143 PyObject * obj0 = 0 ;
32144 PyObject * obj1 = 0 ;
32145 PyObject * obj2 = 0 ;
32146 PyObject * obj3 = 0 ;
32147 PyObject * obj4 = 0 ;
32148 PyObject * obj5 = 0 ;
32149 PyObject * obj6 = 0 ;
32150 char *kwnames[] = {
32151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32152 };
32153
32154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32156 if (SWIG_arg_fail(1)) SWIG_fail;
32157 if (obj1) {
32158 {
32159 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32160 if (SWIG_arg_fail(2)) SWIG_fail;
32161 }
32162 }
32163 if (obj2) {
32164 {
32165 arg3 = &temp3;
32166 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32167 }
32168 }
32169 if (obj3) {
32170 {
32171 arg4 = &temp4;
32172 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32173 }
32174 }
32175 if (obj4) {
32176 {
32177 arg5 = static_cast<long >(SWIG_As_long(obj4));
32178 if (SWIG_arg_fail(5)) SWIG_fail;
32179 }
32180 }
32181 if (obj5) {
32182 {
32183 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32184 if (SWIG_arg_fail(6)) SWIG_fail;
32185 if (arg6 == NULL) {
32186 SWIG_null_ref("wxValidator");
32187 }
32188 if (SWIG_arg_fail(6)) SWIG_fail;
32189 }
32190 }
32191 if (obj6) {
32192 {
32193 arg7 = wxString_in_helper(obj6);
32194 if (arg7 == NULL) SWIG_fail;
32195 temp7 = true;
32196 }
32197 }
32198 {
32199 if (!wxPyCheckForApp()) SWIG_fail;
32200 PyThreadState* __tstate = wxPyBeginAllowThreads();
32201 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32202
32203 wxPyEndAllowThreads(__tstate);
32204 if (PyErr_Occurred()) SWIG_fail;
32205 }
32206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32207 {
32208 if (temp7)
32209 delete arg7;
32210 }
32211 return resultobj;
32212 fail:
32213 {
32214 if (temp7)
32215 delete arg7;
32216 }
32217 return NULL;
32218 }
32219
32220
32221 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32222 PyObject *resultobj = NULL;
32223 wxPyControl *result;
32224 char *kwnames[] = {
32225 NULL
32226 };
32227
32228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32229 {
32230 if (!wxPyCheckForApp()) SWIG_fail;
32231 PyThreadState* __tstate = wxPyBeginAllowThreads();
32232 result = (wxPyControl *)new wxPyControl();
32233
32234 wxPyEndAllowThreads(__tstate);
32235 if (PyErr_Occurred()) SWIG_fail;
32236 }
32237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32238 return resultobj;
32239 fail:
32240 return NULL;
32241 }
32242
32243
32244 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32245 PyObject *resultobj = NULL;
32246 wxPyControl *arg1 = (wxPyControl *) 0 ;
32247 PyObject *arg2 = (PyObject *) 0 ;
32248 PyObject *arg3 = (PyObject *) 0 ;
32249 PyObject * obj0 = 0 ;
32250 PyObject * obj1 = 0 ;
32251 PyObject * obj2 = 0 ;
32252 char *kwnames[] = {
32253 (char *) "self",(char *) "self",(char *) "_class", NULL
32254 };
32255
32256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32258 if (SWIG_arg_fail(1)) SWIG_fail;
32259 arg2 = obj1;
32260 arg3 = obj2;
32261 {
32262 PyThreadState* __tstate = wxPyBeginAllowThreads();
32263 (arg1)->_setCallbackInfo(arg2,arg3);
32264
32265 wxPyEndAllowThreads(__tstate);
32266 if (PyErr_Occurred()) SWIG_fail;
32267 }
32268 Py_INCREF(Py_None); resultobj = Py_None;
32269 return resultobj;
32270 fail:
32271 return NULL;
32272 }
32273
32274
32275 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32276 PyObject *resultobj = NULL;
32277 wxPyControl *arg1 = (wxPyControl *) 0 ;
32278 wxSize *arg2 = 0 ;
32279 wxSize temp2 ;
32280 PyObject * obj0 = 0 ;
32281 PyObject * obj1 = 0 ;
32282 char *kwnames[] = {
32283 (char *) "self",(char *) "size", NULL
32284 };
32285
32286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32288 if (SWIG_arg_fail(1)) SWIG_fail;
32289 {
32290 arg2 = &temp2;
32291 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32292 }
32293 {
32294 PyThreadState* __tstate = wxPyBeginAllowThreads();
32295 (arg1)->SetBestSize((wxSize const &)*arg2);
32296
32297 wxPyEndAllowThreads(__tstate);
32298 if (PyErr_Occurred()) SWIG_fail;
32299 }
32300 Py_INCREF(Py_None); resultobj = Py_None;
32301 return resultobj;
32302 fail:
32303 return NULL;
32304 }
32305
32306
32307 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32308 PyObject *resultobj = NULL;
32309 wxPyControl *arg1 = (wxPyControl *) 0 ;
32310 wxDC *arg2 = (wxDC *) 0 ;
32311 bool result;
32312 PyObject * obj0 = 0 ;
32313 PyObject * obj1 = 0 ;
32314 char *kwnames[] = {
32315 (char *) "self",(char *) "dc", NULL
32316 };
32317
32318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail;
32321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32322 if (SWIG_arg_fail(2)) SWIG_fail;
32323 {
32324 PyThreadState* __tstate = wxPyBeginAllowThreads();
32325 result = (bool)(arg1)->DoEraseBackground(arg2);
32326
32327 wxPyEndAllowThreads(__tstate);
32328 if (PyErr_Occurred()) SWIG_fail;
32329 }
32330 {
32331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32332 }
32333 return resultobj;
32334 fail:
32335 return NULL;
32336 }
32337
32338
32339 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32340 PyObject *resultobj = NULL;
32341 wxPyControl *arg1 = (wxPyControl *) 0 ;
32342 int arg2 ;
32343 int arg3 ;
32344 int arg4 ;
32345 int arg5 ;
32346 PyObject * obj0 = 0 ;
32347 PyObject * obj1 = 0 ;
32348 PyObject * obj2 = 0 ;
32349 PyObject * obj3 = 0 ;
32350 PyObject * obj4 = 0 ;
32351 char *kwnames[] = {
32352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32353 };
32354
32355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32357 if (SWIG_arg_fail(1)) SWIG_fail;
32358 {
32359 arg2 = static_cast<int >(SWIG_As_int(obj1));
32360 if (SWIG_arg_fail(2)) SWIG_fail;
32361 }
32362 {
32363 arg3 = static_cast<int >(SWIG_As_int(obj2));
32364 if (SWIG_arg_fail(3)) SWIG_fail;
32365 }
32366 {
32367 arg4 = static_cast<int >(SWIG_As_int(obj3));
32368 if (SWIG_arg_fail(4)) SWIG_fail;
32369 }
32370 {
32371 arg5 = static_cast<int >(SWIG_As_int(obj4));
32372 if (SWIG_arg_fail(5)) SWIG_fail;
32373 }
32374 {
32375 PyThreadState* __tstate = wxPyBeginAllowThreads();
32376 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32377
32378 wxPyEndAllowThreads(__tstate);
32379 if (PyErr_Occurred()) SWIG_fail;
32380 }
32381 Py_INCREF(Py_None); resultobj = Py_None;
32382 return resultobj;
32383 fail:
32384 return NULL;
32385 }
32386
32387
32388 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32389 PyObject *resultobj = NULL;
32390 wxPyControl *arg1 = (wxPyControl *) 0 ;
32391 int arg2 ;
32392 int arg3 ;
32393 int arg4 ;
32394 int arg5 ;
32395 int arg6 = (int) wxSIZE_AUTO ;
32396 PyObject * obj0 = 0 ;
32397 PyObject * obj1 = 0 ;
32398 PyObject * obj2 = 0 ;
32399 PyObject * obj3 = 0 ;
32400 PyObject * obj4 = 0 ;
32401 PyObject * obj5 = 0 ;
32402 char *kwnames[] = {
32403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32404 };
32405
32406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32408 if (SWIG_arg_fail(1)) SWIG_fail;
32409 {
32410 arg2 = static_cast<int >(SWIG_As_int(obj1));
32411 if (SWIG_arg_fail(2)) SWIG_fail;
32412 }
32413 {
32414 arg3 = static_cast<int >(SWIG_As_int(obj2));
32415 if (SWIG_arg_fail(3)) SWIG_fail;
32416 }
32417 {
32418 arg4 = static_cast<int >(SWIG_As_int(obj3));
32419 if (SWIG_arg_fail(4)) SWIG_fail;
32420 }
32421 {
32422 arg5 = static_cast<int >(SWIG_As_int(obj4));
32423 if (SWIG_arg_fail(5)) SWIG_fail;
32424 }
32425 if (obj5) {
32426 {
32427 arg6 = static_cast<int >(SWIG_As_int(obj5));
32428 if (SWIG_arg_fail(6)) SWIG_fail;
32429 }
32430 }
32431 {
32432 PyThreadState* __tstate = wxPyBeginAllowThreads();
32433 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32434
32435 wxPyEndAllowThreads(__tstate);
32436 if (PyErr_Occurred()) SWIG_fail;
32437 }
32438 Py_INCREF(Py_None); resultobj = Py_None;
32439 return resultobj;
32440 fail:
32441 return NULL;
32442 }
32443
32444
32445 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32446 PyObject *resultobj = NULL;
32447 wxPyControl *arg1 = (wxPyControl *) 0 ;
32448 int arg2 ;
32449 int arg3 ;
32450 PyObject * obj0 = 0 ;
32451 PyObject * obj1 = 0 ;
32452 PyObject * obj2 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "self",(char *) "width",(char *) "height", NULL
32455 };
32456
32457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail;
32460 {
32461 arg2 = static_cast<int >(SWIG_As_int(obj1));
32462 if (SWIG_arg_fail(2)) SWIG_fail;
32463 }
32464 {
32465 arg3 = static_cast<int >(SWIG_As_int(obj2));
32466 if (SWIG_arg_fail(3)) SWIG_fail;
32467 }
32468 {
32469 PyThreadState* __tstate = wxPyBeginAllowThreads();
32470 (arg1)->base_DoSetClientSize(arg2,arg3);
32471
32472 wxPyEndAllowThreads(__tstate);
32473 if (PyErr_Occurred()) SWIG_fail;
32474 }
32475 Py_INCREF(Py_None); resultobj = Py_None;
32476 return resultobj;
32477 fail:
32478 return NULL;
32479 }
32480
32481
32482 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32483 PyObject *resultobj = NULL;
32484 wxPyControl *arg1 = (wxPyControl *) 0 ;
32485 int arg2 ;
32486 int arg3 ;
32487 PyObject * obj0 = 0 ;
32488 PyObject * obj1 = 0 ;
32489 PyObject * obj2 = 0 ;
32490 char *kwnames[] = {
32491 (char *) "self",(char *) "x",(char *) "y", NULL
32492 };
32493
32494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32496 if (SWIG_arg_fail(1)) SWIG_fail;
32497 {
32498 arg2 = static_cast<int >(SWIG_As_int(obj1));
32499 if (SWIG_arg_fail(2)) SWIG_fail;
32500 }
32501 {
32502 arg3 = static_cast<int >(SWIG_As_int(obj2));
32503 if (SWIG_arg_fail(3)) SWIG_fail;
32504 }
32505 {
32506 PyThreadState* __tstate = wxPyBeginAllowThreads();
32507 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32508
32509 wxPyEndAllowThreads(__tstate);
32510 if (PyErr_Occurred()) SWIG_fail;
32511 }
32512 Py_INCREF(Py_None); resultobj = Py_None;
32513 return resultobj;
32514 fail:
32515 return NULL;
32516 }
32517
32518
32519 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32520 PyObject *resultobj = NULL;
32521 wxPyControl *arg1 = (wxPyControl *) 0 ;
32522 int *arg2 = (int *) 0 ;
32523 int *arg3 = (int *) 0 ;
32524 int temp2 ;
32525 int res2 = 0 ;
32526 int temp3 ;
32527 int res3 = 0 ;
32528 PyObject * obj0 = 0 ;
32529 char *kwnames[] = {
32530 (char *) "self", NULL
32531 };
32532
32533 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32534 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32537 if (SWIG_arg_fail(1)) SWIG_fail;
32538 {
32539 PyThreadState* __tstate = wxPyBeginAllowThreads();
32540 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32541
32542 wxPyEndAllowThreads(__tstate);
32543 if (PyErr_Occurred()) SWIG_fail;
32544 }
32545 Py_INCREF(Py_None); resultobj = Py_None;
32546 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32547 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32548 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32549 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32550 return resultobj;
32551 fail:
32552 return NULL;
32553 }
32554
32555
32556 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32557 PyObject *resultobj = NULL;
32558 wxPyControl *arg1 = (wxPyControl *) 0 ;
32559 int *arg2 = (int *) 0 ;
32560 int *arg3 = (int *) 0 ;
32561 int temp2 ;
32562 int res2 = 0 ;
32563 int temp3 ;
32564 int res3 = 0 ;
32565 PyObject * obj0 = 0 ;
32566 char *kwnames[] = {
32567 (char *) "self", NULL
32568 };
32569
32570 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32571 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32574 if (SWIG_arg_fail(1)) SWIG_fail;
32575 {
32576 PyThreadState* __tstate = wxPyBeginAllowThreads();
32577 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32578
32579 wxPyEndAllowThreads(__tstate);
32580 if (PyErr_Occurred()) SWIG_fail;
32581 }
32582 Py_INCREF(Py_None); resultobj = Py_None;
32583 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32584 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32585 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32586 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32587 return resultobj;
32588 fail:
32589 return NULL;
32590 }
32591
32592
32593 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32594 PyObject *resultobj = NULL;
32595 wxPyControl *arg1 = (wxPyControl *) 0 ;
32596 int *arg2 = (int *) 0 ;
32597 int *arg3 = (int *) 0 ;
32598 int temp2 ;
32599 int res2 = 0 ;
32600 int temp3 ;
32601 int res3 = 0 ;
32602 PyObject * obj0 = 0 ;
32603 char *kwnames[] = {
32604 (char *) "self", NULL
32605 };
32606
32607 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32608 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail;
32612 {
32613 PyThreadState* __tstate = wxPyBeginAllowThreads();
32614 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32615
32616 wxPyEndAllowThreads(__tstate);
32617 if (PyErr_Occurred()) SWIG_fail;
32618 }
32619 Py_INCREF(Py_None); resultobj = Py_None;
32620 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32621 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32622 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32623 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32624 return resultobj;
32625 fail:
32626 return NULL;
32627 }
32628
32629
32630 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32631 PyObject *resultobj = NULL;
32632 wxPyControl *arg1 = (wxPyControl *) 0 ;
32633 wxSize result;
32634 PyObject * obj0 = 0 ;
32635 char *kwnames[] = {
32636 (char *) "self", NULL
32637 };
32638
32639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32641 if (SWIG_arg_fail(1)) SWIG_fail;
32642 {
32643 PyThreadState* __tstate = wxPyBeginAllowThreads();
32644 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32645
32646 wxPyEndAllowThreads(__tstate);
32647 if (PyErr_Occurred()) SWIG_fail;
32648 }
32649 {
32650 wxSize * resultptr;
32651 resultptr = new wxSize(static_cast<wxSize & >(result));
32652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32653 }
32654 return resultobj;
32655 fail:
32656 return NULL;
32657 }
32658
32659
32660 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32661 PyObject *resultobj = NULL;
32662 wxPyControl *arg1 = (wxPyControl *) 0 ;
32663 wxSize result;
32664 PyObject * obj0 = 0 ;
32665 char *kwnames[] = {
32666 (char *) "self", NULL
32667 };
32668
32669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail;
32672 {
32673 PyThreadState* __tstate = wxPyBeginAllowThreads();
32674 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32675
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 {
32680 wxSize * resultptr;
32681 resultptr = new wxSize(static_cast<wxSize & >(result));
32682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32683 }
32684 return resultobj;
32685 fail:
32686 return NULL;
32687 }
32688
32689
32690 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32691 PyObject *resultobj = NULL;
32692 wxPyControl *arg1 = (wxPyControl *) 0 ;
32693 PyObject * obj0 = 0 ;
32694 char *kwnames[] = {
32695 (char *) "self", NULL
32696 };
32697
32698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32700 if (SWIG_arg_fail(1)) SWIG_fail;
32701 {
32702 PyThreadState* __tstate = wxPyBeginAllowThreads();
32703 (arg1)->base_InitDialog();
32704
32705 wxPyEndAllowThreads(__tstate);
32706 if (PyErr_Occurred()) SWIG_fail;
32707 }
32708 Py_INCREF(Py_None); resultobj = Py_None;
32709 return resultobj;
32710 fail:
32711 return NULL;
32712 }
32713
32714
32715 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32716 PyObject *resultobj = NULL;
32717 wxPyControl *arg1 = (wxPyControl *) 0 ;
32718 bool result;
32719 PyObject * obj0 = 0 ;
32720 char *kwnames[] = {
32721 (char *) "self", NULL
32722 };
32723
32724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32726 if (SWIG_arg_fail(1)) SWIG_fail;
32727 {
32728 PyThreadState* __tstate = wxPyBeginAllowThreads();
32729 result = (bool)(arg1)->base_TransferDataToWindow();
32730
32731 wxPyEndAllowThreads(__tstate);
32732 if (PyErr_Occurred()) SWIG_fail;
32733 }
32734 {
32735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32736 }
32737 return resultobj;
32738 fail:
32739 return NULL;
32740 }
32741
32742
32743 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32744 PyObject *resultobj = NULL;
32745 wxPyControl *arg1 = (wxPyControl *) 0 ;
32746 bool result;
32747 PyObject * obj0 = 0 ;
32748 char *kwnames[] = {
32749 (char *) "self", NULL
32750 };
32751
32752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32754 if (SWIG_arg_fail(1)) SWIG_fail;
32755 {
32756 PyThreadState* __tstate = wxPyBeginAllowThreads();
32757 result = (bool)(arg1)->base_TransferDataFromWindow();
32758
32759 wxPyEndAllowThreads(__tstate);
32760 if (PyErr_Occurred()) SWIG_fail;
32761 }
32762 {
32763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32764 }
32765 return resultobj;
32766 fail:
32767 return NULL;
32768 }
32769
32770
32771 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32772 PyObject *resultobj = NULL;
32773 wxPyControl *arg1 = (wxPyControl *) 0 ;
32774 bool result;
32775 PyObject * obj0 = 0 ;
32776 char *kwnames[] = {
32777 (char *) "self", NULL
32778 };
32779
32780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32782 if (SWIG_arg_fail(1)) SWIG_fail;
32783 {
32784 PyThreadState* __tstate = wxPyBeginAllowThreads();
32785 result = (bool)(arg1)->base_Validate();
32786
32787 wxPyEndAllowThreads(__tstate);
32788 if (PyErr_Occurred()) SWIG_fail;
32789 }
32790 {
32791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32792 }
32793 return resultobj;
32794 fail:
32795 return NULL;
32796 }
32797
32798
32799 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32800 PyObject *resultobj = NULL;
32801 wxPyControl *arg1 = (wxPyControl *) 0 ;
32802 bool result;
32803 PyObject * obj0 = 0 ;
32804 char *kwnames[] = {
32805 (char *) "self", NULL
32806 };
32807
32808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32810 if (SWIG_arg_fail(1)) SWIG_fail;
32811 {
32812 PyThreadState* __tstate = wxPyBeginAllowThreads();
32813 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32814
32815 wxPyEndAllowThreads(__tstate);
32816 if (PyErr_Occurred()) SWIG_fail;
32817 }
32818 {
32819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32820 }
32821 return resultobj;
32822 fail:
32823 return NULL;
32824 }
32825
32826
32827 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32828 PyObject *resultobj = NULL;
32829 wxPyControl *arg1 = (wxPyControl *) 0 ;
32830 bool result;
32831 PyObject * obj0 = 0 ;
32832 char *kwnames[] = {
32833 (char *) "self", NULL
32834 };
32835
32836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail;
32839 {
32840 PyThreadState* __tstate = wxPyBeginAllowThreads();
32841 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32842
32843 wxPyEndAllowThreads(__tstate);
32844 if (PyErr_Occurred()) SWIG_fail;
32845 }
32846 {
32847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32848 }
32849 return resultobj;
32850 fail:
32851 return NULL;
32852 }
32853
32854
32855 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32856 PyObject *resultobj = NULL;
32857 wxPyControl *arg1 = (wxPyControl *) 0 ;
32858 wxSize result;
32859 PyObject * obj0 = 0 ;
32860 char *kwnames[] = {
32861 (char *) "self", NULL
32862 };
32863
32864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32866 if (SWIG_arg_fail(1)) SWIG_fail;
32867 {
32868 PyThreadState* __tstate = wxPyBeginAllowThreads();
32869 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32870
32871 wxPyEndAllowThreads(__tstate);
32872 if (PyErr_Occurred()) SWIG_fail;
32873 }
32874 {
32875 wxSize * resultptr;
32876 resultptr = new wxSize(static_cast<wxSize & >(result));
32877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32878 }
32879 return resultobj;
32880 fail:
32881 return NULL;
32882 }
32883
32884
32885 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32886 PyObject *resultobj = NULL;
32887 wxPyControl *arg1 = (wxPyControl *) 0 ;
32888 wxWindow *arg2 = (wxWindow *) 0 ;
32889 PyObject * obj0 = 0 ;
32890 PyObject * obj1 = 0 ;
32891 char *kwnames[] = {
32892 (char *) "self",(char *) "child", NULL
32893 };
32894
32895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32897 if (SWIG_arg_fail(1)) SWIG_fail;
32898 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32899 if (SWIG_arg_fail(2)) SWIG_fail;
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
32902 (arg1)->base_AddChild(arg2);
32903
32904 wxPyEndAllowThreads(__tstate);
32905 if (PyErr_Occurred()) SWIG_fail;
32906 }
32907 Py_INCREF(Py_None); resultobj = Py_None;
32908 return resultobj;
32909 fail:
32910 return NULL;
32911 }
32912
32913
32914 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32915 PyObject *resultobj = NULL;
32916 wxPyControl *arg1 = (wxPyControl *) 0 ;
32917 wxWindow *arg2 = (wxWindow *) 0 ;
32918 PyObject * obj0 = 0 ;
32919 PyObject * obj1 = 0 ;
32920 char *kwnames[] = {
32921 (char *) "self",(char *) "child", NULL
32922 };
32923
32924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32926 if (SWIG_arg_fail(1)) SWIG_fail;
32927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32928 if (SWIG_arg_fail(2)) SWIG_fail;
32929 {
32930 PyThreadState* __tstate = wxPyBeginAllowThreads();
32931 (arg1)->base_RemoveChild(arg2);
32932
32933 wxPyEndAllowThreads(__tstate);
32934 if (PyErr_Occurred()) SWIG_fail;
32935 }
32936 Py_INCREF(Py_None); resultobj = Py_None;
32937 return resultobj;
32938 fail:
32939 return NULL;
32940 }
32941
32942
32943 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32944 PyObject *resultobj = NULL;
32945 wxPyControl *arg1 = (wxPyControl *) 0 ;
32946 bool result;
32947 PyObject * obj0 = 0 ;
32948 char *kwnames[] = {
32949 (char *) "self", NULL
32950 };
32951
32952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32954 if (SWIG_arg_fail(1)) SWIG_fail;
32955 {
32956 PyThreadState* __tstate = wxPyBeginAllowThreads();
32957 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32958
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
32962 {
32963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32964 }
32965 return resultobj;
32966 fail:
32967 return NULL;
32968 }
32969
32970
32971 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32972 PyObject *resultobj = NULL;
32973 wxPyControl *arg1 = (wxPyControl *) 0 ;
32974 wxVisualAttributes result;
32975 PyObject * obj0 = 0 ;
32976 char *kwnames[] = {
32977 (char *) "self", NULL
32978 };
32979
32980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32982 if (SWIG_arg_fail(1)) SWIG_fail;
32983 {
32984 PyThreadState* __tstate = wxPyBeginAllowThreads();
32985 result = (arg1)->base_GetDefaultAttributes();
32986
32987 wxPyEndAllowThreads(__tstate);
32988 if (PyErr_Occurred()) SWIG_fail;
32989 }
32990 {
32991 wxVisualAttributes * resultptr;
32992 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
32993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32994 }
32995 return resultobj;
32996 fail:
32997 return NULL;
32998 }
32999
33000
33001 static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj = NULL;
33003 wxPyControl *arg1 = (wxPyControl *) 0 ;
33004 PyObject * obj0 = 0 ;
33005 char *kwnames[] = {
33006 (char *) "self", NULL
33007 };
33008
33009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
33010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail;
33012 {
33013 PyThreadState* __tstate = wxPyBeginAllowThreads();
33014 (arg1)->base_OnInternalIdle();
33015
33016 wxPyEndAllowThreads(__tstate);
33017 if (PyErr_Occurred()) SWIG_fail;
33018 }
33019 Py_INCREF(Py_None); resultobj = Py_None;
33020 return resultobj;
33021 fail:
33022 return NULL;
33023 }
33024
33025
33026 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
33027 PyObject *obj;
33028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33029 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33030 Py_INCREF(obj);
33031 return Py_BuildValue((char *)"");
33032 }
33033 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33034 PyObject *resultobj = NULL;
33035 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33036 int arg2 = (int) 0 ;
33037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33039 wxHelpEvent *result;
33040 wxPoint temp3 ;
33041 PyObject * obj0 = 0 ;
33042 PyObject * obj1 = 0 ;
33043 PyObject * obj2 = 0 ;
33044 char *kwnames[] = {
33045 (char *) "type",(char *) "winid",(char *) "pt", NULL
33046 };
33047
33048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33049 if (obj0) {
33050 {
33051 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
33052 if (SWIG_arg_fail(1)) SWIG_fail;
33053 }
33054 }
33055 if (obj1) {
33056 {
33057 arg2 = static_cast<int >(SWIG_As_int(obj1));
33058 if (SWIG_arg_fail(2)) SWIG_fail;
33059 }
33060 }
33061 if (obj2) {
33062 {
33063 arg3 = &temp3;
33064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33065 }
33066 }
33067 {
33068 PyThreadState* __tstate = wxPyBeginAllowThreads();
33069 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33070
33071 wxPyEndAllowThreads(__tstate);
33072 if (PyErr_Occurred()) SWIG_fail;
33073 }
33074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33075 return resultobj;
33076 fail:
33077 return NULL;
33078 }
33079
33080
33081 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33082 PyObject *resultobj = NULL;
33083 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33084 wxPoint result;
33085 PyObject * obj0 = 0 ;
33086 char *kwnames[] = {
33087 (char *) "self", NULL
33088 };
33089
33090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail;
33093 {
33094 PyThreadState* __tstate = wxPyBeginAllowThreads();
33095 result = ((wxHelpEvent const *)arg1)->GetPosition();
33096
33097 wxPyEndAllowThreads(__tstate);
33098 if (PyErr_Occurred()) SWIG_fail;
33099 }
33100 {
33101 wxPoint * resultptr;
33102 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
33103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33104 }
33105 return resultobj;
33106 fail:
33107 return NULL;
33108 }
33109
33110
33111 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33112 PyObject *resultobj = NULL;
33113 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33114 wxPoint *arg2 = 0 ;
33115 wxPoint temp2 ;
33116 PyObject * obj0 = 0 ;
33117 PyObject * obj1 = 0 ;
33118 char *kwnames[] = {
33119 (char *) "self",(char *) "pos", NULL
33120 };
33121
33122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33124 if (SWIG_arg_fail(1)) SWIG_fail;
33125 {
33126 arg2 = &temp2;
33127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33128 }
33129 {
33130 PyThreadState* __tstate = wxPyBeginAllowThreads();
33131 (arg1)->SetPosition((wxPoint const &)*arg2);
33132
33133 wxPyEndAllowThreads(__tstate);
33134 if (PyErr_Occurred()) SWIG_fail;
33135 }
33136 Py_INCREF(Py_None); resultobj = Py_None;
33137 return resultobj;
33138 fail:
33139 return NULL;
33140 }
33141
33142
33143 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33144 PyObject *resultobj = NULL;
33145 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33146 wxString *result;
33147 PyObject * obj0 = 0 ;
33148 char *kwnames[] = {
33149 (char *) "self", NULL
33150 };
33151
33152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33154 if (SWIG_arg_fail(1)) SWIG_fail;
33155 {
33156 PyThreadState* __tstate = wxPyBeginAllowThreads();
33157 {
33158 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33159 result = (wxString *) &_result_ref;
33160 }
33161
33162 wxPyEndAllowThreads(__tstate);
33163 if (PyErr_Occurred()) SWIG_fail;
33164 }
33165 {
33166 #if wxUSE_UNICODE
33167 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33168 #else
33169 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33170 #endif
33171 }
33172 return resultobj;
33173 fail:
33174 return NULL;
33175 }
33176
33177
33178 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33179 PyObject *resultobj = NULL;
33180 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33181 wxString *arg2 = 0 ;
33182 bool temp2 = false ;
33183 PyObject * obj0 = 0 ;
33184 PyObject * obj1 = 0 ;
33185 char *kwnames[] = {
33186 (char *) "self",(char *) "link", NULL
33187 };
33188
33189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33191 if (SWIG_arg_fail(1)) SWIG_fail;
33192 {
33193 arg2 = wxString_in_helper(obj1);
33194 if (arg2 == NULL) SWIG_fail;
33195 temp2 = true;
33196 }
33197 {
33198 PyThreadState* __tstate = wxPyBeginAllowThreads();
33199 (arg1)->SetLink((wxString const &)*arg2);
33200
33201 wxPyEndAllowThreads(__tstate);
33202 if (PyErr_Occurred()) SWIG_fail;
33203 }
33204 Py_INCREF(Py_None); resultobj = Py_None;
33205 {
33206 if (temp2)
33207 delete arg2;
33208 }
33209 return resultobj;
33210 fail:
33211 {
33212 if (temp2)
33213 delete arg2;
33214 }
33215 return NULL;
33216 }
33217
33218
33219 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33220 PyObject *resultobj = NULL;
33221 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33222 wxString *result;
33223 PyObject * obj0 = 0 ;
33224 char *kwnames[] = {
33225 (char *) "self", NULL
33226 };
33227
33228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33230 if (SWIG_arg_fail(1)) SWIG_fail;
33231 {
33232 PyThreadState* __tstate = wxPyBeginAllowThreads();
33233 {
33234 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33235 result = (wxString *) &_result_ref;
33236 }
33237
33238 wxPyEndAllowThreads(__tstate);
33239 if (PyErr_Occurred()) SWIG_fail;
33240 }
33241 {
33242 #if wxUSE_UNICODE
33243 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33244 #else
33245 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33246 #endif
33247 }
33248 return resultobj;
33249 fail:
33250 return NULL;
33251 }
33252
33253
33254 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33255 PyObject *resultobj = NULL;
33256 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33257 wxString *arg2 = 0 ;
33258 bool temp2 = false ;
33259 PyObject * obj0 = 0 ;
33260 PyObject * obj1 = 0 ;
33261 char *kwnames[] = {
33262 (char *) "self",(char *) "target", NULL
33263 };
33264
33265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33267 if (SWIG_arg_fail(1)) SWIG_fail;
33268 {
33269 arg2 = wxString_in_helper(obj1);
33270 if (arg2 == NULL) SWIG_fail;
33271 temp2 = true;
33272 }
33273 {
33274 PyThreadState* __tstate = wxPyBeginAllowThreads();
33275 (arg1)->SetTarget((wxString const &)*arg2);
33276
33277 wxPyEndAllowThreads(__tstate);
33278 if (PyErr_Occurred()) SWIG_fail;
33279 }
33280 Py_INCREF(Py_None); resultobj = Py_None;
33281 {
33282 if (temp2)
33283 delete arg2;
33284 }
33285 return resultobj;
33286 fail:
33287 {
33288 if (temp2)
33289 delete arg2;
33290 }
33291 return NULL;
33292 }
33293
33294
33295 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33296 PyObject *obj;
33297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33298 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33299 Py_INCREF(obj);
33300 return Py_BuildValue((char *)"");
33301 }
33302 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33303 PyObject *resultobj = NULL;
33304 wxWindow *arg1 = (wxWindow *) NULL ;
33305 bool arg2 = (bool) true ;
33306 wxContextHelp *result;
33307 PyObject * obj0 = 0 ;
33308 PyObject * obj1 = 0 ;
33309 char *kwnames[] = {
33310 (char *) "window",(char *) "doNow", NULL
33311 };
33312
33313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33314 if (obj0) {
33315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33316 if (SWIG_arg_fail(1)) SWIG_fail;
33317 }
33318 if (obj1) {
33319 {
33320 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
33321 if (SWIG_arg_fail(2)) SWIG_fail;
33322 }
33323 }
33324 {
33325 if (!wxPyCheckForApp()) SWIG_fail;
33326 PyThreadState* __tstate = wxPyBeginAllowThreads();
33327 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33328
33329 wxPyEndAllowThreads(__tstate);
33330 if (PyErr_Occurred()) SWIG_fail;
33331 }
33332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33333 return resultobj;
33334 fail:
33335 return NULL;
33336 }
33337
33338
33339 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33340 PyObject *resultobj = NULL;
33341 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33342 PyObject * obj0 = 0 ;
33343 char *kwnames[] = {
33344 (char *) "self", NULL
33345 };
33346
33347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33349 if (SWIG_arg_fail(1)) SWIG_fail;
33350 {
33351 PyThreadState* __tstate = wxPyBeginAllowThreads();
33352 delete arg1;
33353
33354 wxPyEndAllowThreads(__tstate);
33355 if (PyErr_Occurred()) SWIG_fail;
33356 }
33357 Py_INCREF(Py_None); resultobj = Py_None;
33358 return resultobj;
33359 fail:
33360 return NULL;
33361 }
33362
33363
33364 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33365 PyObject *resultobj = NULL;
33366 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33367 wxWindow *arg2 = (wxWindow *) NULL ;
33368 bool result;
33369 PyObject * obj0 = 0 ;
33370 PyObject * obj1 = 0 ;
33371 char *kwnames[] = {
33372 (char *) "self",(char *) "window", NULL
33373 };
33374
33375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33377 if (SWIG_arg_fail(1)) SWIG_fail;
33378 if (obj1) {
33379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33380 if (SWIG_arg_fail(2)) SWIG_fail;
33381 }
33382 {
33383 PyThreadState* __tstate = wxPyBeginAllowThreads();
33384 result = (bool)(arg1)->BeginContextHelp(arg2);
33385
33386 wxPyEndAllowThreads(__tstate);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 }
33389 {
33390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33391 }
33392 return resultobj;
33393 fail:
33394 return NULL;
33395 }
33396
33397
33398 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33399 PyObject *resultobj = NULL;
33400 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33401 bool result;
33402 PyObject * obj0 = 0 ;
33403 char *kwnames[] = {
33404 (char *) "self", NULL
33405 };
33406
33407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33409 if (SWIG_arg_fail(1)) SWIG_fail;
33410 {
33411 PyThreadState* __tstate = wxPyBeginAllowThreads();
33412 result = (bool)(arg1)->EndContextHelp();
33413
33414 wxPyEndAllowThreads(__tstate);
33415 if (PyErr_Occurred()) SWIG_fail;
33416 }
33417 {
33418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33419 }
33420 return resultobj;
33421 fail:
33422 return NULL;
33423 }
33424
33425
33426 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33427 PyObject *obj;
33428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33429 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33430 Py_INCREF(obj);
33431 return Py_BuildValue((char *)"");
33432 }
33433 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33434 PyObject *resultobj = NULL;
33435 wxWindow *arg1 = (wxWindow *) 0 ;
33436 int arg2 = (int) wxID_CONTEXT_HELP ;
33437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33439 wxSize const &arg4_defvalue = wxDefaultSize ;
33440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33441 long arg5 = (long) wxBU_AUTODRAW ;
33442 wxContextHelpButton *result;
33443 wxPoint temp3 ;
33444 wxSize temp4 ;
33445 PyObject * obj0 = 0 ;
33446 PyObject * obj1 = 0 ;
33447 PyObject * obj2 = 0 ;
33448 PyObject * obj3 = 0 ;
33449 PyObject * obj4 = 0 ;
33450 char *kwnames[] = {
33451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33452 };
33453
33454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33456 if (SWIG_arg_fail(1)) SWIG_fail;
33457 if (obj1) {
33458 {
33459 arg2 = static_cast<int >(SWIG_As_int(obj1));
33460 if (SWIG_arg_fail(2)) SWIG_fail;
33461 }
33462 }
33463 if (obj2) {
33464 {
33465 arg3 = &temp3;
33466 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33467 }
33468 }
33469 if (obj3) {
33470 {
33471 arg4 = &temp4;
33472 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33473 }
33474 }
33475 if (obj4) {
33476 {
33477 arg5 = static_cast<long >(SWIG_As_long(obj4));
33478 if (SWIG_arg_fail(5)) SWIG_fail;
33479 }
33480 }
33481 {
33482 if (!wxPyCheckForApp()) SWIG_fail;
33483 PyThreadState* __tstate = wxPyBeginAllowThreads();
33484 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33485
33486 wxPyEndAllowThreads(__tstate);
33487 if (PyErr_Occurred()) SWIG_fail;
33488 }
33489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33490 return resultobj;
33491 fail:
33492 return NULL;
33493 }
33494
33495
33496 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33497 PyObject *obj;
33498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33499 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33500 Py_INCREF(obj);
33501 return Py_BuildValue((char *)"");
33502 }
33503 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33504 PyObject *resultobj = NULL;
33505 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33506 wxHelpProvider *result;
33507 PyObject * obj0 = 0 ;
33508 char *kwnames[] = {
33509 (char *) "helpProvider", NULL
33510 };
33511
33512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33514 if (SWIG_arg_fail(1)) SWIG_fail;
33515 {
33516 PyThreadState* __tstate = wxPyBeginAllowThreads();
33517 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33518
33519 wxPyEndAllowThreads(__tstate);
33520 if (PyErr_Occurred()) SWIG_fail;
33521 }
33522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33523 return resultobj;
33524 fail:
33525 return NULL;
33526 }
33527
33528
33529 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33530 PyObject *resultobj = NULL;
33531 wxHelpProvider *result;
33532 char *kwnames[] = {
33533 NULL
33534 };
33535
33536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33537 {
33538 PyThreadState* __tstate = wxPyBeginAllowThreads();
33539 result = (wxHelpProvider *)wxHelpProvider::Get();
33540
33541 wxPyEndAllowThreads(__tstate);
33542 if (PyErr_Occurred()) SWIG_fail;
33543 }
33544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33545 return resultobj;
33546 fail:
33547 return NULL;
33548 }
33549
33550
33551 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33552 PyObject *resultobj = NULL;
33553 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33554 wxWindow *arg2 = (wxWindow *) 0 ;
33555 wxString result;
33556 PyObject * obj0 = 0 ;
33557 PyObject * obj1 = 0 ;
33558 char *kwnames[] = {
33559 (char *) "self",(char *) "window", NULL
33560 };
33561
33562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33564 if (SWIG_arg_fail(1)) SWIG_fail;
33565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33566 if (SWIG_arg_fail(2)) SWIG_fail;
33567 {
33568 PyThreadState* __tstate = wxPyBeginAllowThreads();
33569 result = (arg1)->GetHelp((wxWindow const *)arg2);
33570
33571 wxPyEndAllowThreads(__tstate);
33572 if (PyErr_Occurred()) SWIG_fail;
33573 }
33574 {
33575 #if wxUSE_UNICODE
33576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33577 #else
33578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33579 #endif
33580 }
33581 return resultobj;
33582 fail:
33583 return NULL;
33584 }
33585
33586
33587 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33588 PyObject *resultobj = NULL;
33589 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33590 wxWindow *arg2 = (wxWindow *) 0 ;
33591 bool result;
33592 PyObject * obj0 = 0 ;
33593 PyObject * obj1 = 0 ;
33594 char *kwnames[] = {
33595 (char *) "self",(char *) "window", NULL
33596 };
33597
33598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33600 if (SWIG_arg_fail(1)) SWIG_fail;
33601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33602 if (SWIG_arg_fail(2)) SWIG_fail;
33603 {
33604 PyThreadState* __tstate = wxPyBeginAllowThreads();
33605 result = (bool)(arg1)->ShowHelp(arg2);
33606
33607 wxPyEndAllowThreads(__tstate);
33608 if (PyErr_Occurred()) SWIG_fail;
33609 }
33610 {
33611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33612 }
33613 return resultobj;
33614 fail:
33615 return NULL;
33616 }
33617
33618
33619 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33620 PyObject *resultobj = NULL;
33621 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33622 wxWindow *arg2 = (wxWindow *) 0 ;
33623 wxString *arg3 = 0 ;
33624 bool temp3 = false ;
33625 PyObject * obj0 = 0 ;
33626 PyObject * obj1 = 0 ;
33627 PyObject * obj2 = 0 ;
33628 char *kwnames[] = {
33629 (char *) "self",(char *) "window",(char *) "text", NULL
33630 };
33631
33632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail;
33635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33636 if (SWIG_arg_fail(2)) SWIG_fail;
33637 {
33638 arg3 = wxString_in_helper(obj2);
33639 if (arg3 == NULL) SWIG_fail;
33640 temp3 = true;
33641 }
33642 {
33643 PyThreadState* __tstate = wxPyBeginAllowThreads();
33644 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33645
33646 wxPyEndAllowThreads(__tstate);
33647 if (PyErr_Occurred()) SWIG_fail;
33648 }
33649 Py_INCREF(Py_None); resultobj = Py_None;
33650 {
33651 if (temp3)
33652 delete arg3;
33653 }
33654 return resultobj;
33655 fail:
33656 {
33657 if (temp3)
33658 delete arg3;
33659 }
33660 return NULL;
33661 }
33662
33663
33664 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33665 PyObject *resultobj = NULL;
33666 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33667 int arg2 ;
33668 wxString *arg3 = 0 ;
33669 bool temp3 = false ;
33670 PyObject * obj0 = 0 ;
33671 PyObject * obj1 = 0 ;
33672 PyObject * obj2 = 0 ;
33673 char *kwnames[] = {
33674 (char *) "self",(char *) "id",(char *) "text", NULL
33675 };
33676
33677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33679 if (SWIG_arg_fail(1)) SWIG_fail;
33680 {
33681 arg2 = static_cast<int >(SWIG_As_int(obj1));
33682 if (SWIG_arg_fail(2)) SWIG_fail;
33683 }
33684 {
33685 arg3 = wxString_in_helper(obj2);
33686 if (arg3 == NULL) SWIG_fail;
33687 temp3 = true;
33688 }
33689 {
33690 PyThreadState* __tstate = wxPyBeginAllowThreads();
33691 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33692
33693 wxPyEndAllowThreads(__tstate);
33694 if (PyErr_Occurred()) SWIG_fail;
33695 }
33696 Py_INCREF(Py_None); resultobj = Py_None;
33697 {
33698 if (temp3)
33699 delete arg3;
33700 }
33701 return resultobj;
33702 fail:
33703 {
33704 if (temp3)
33705 delete arg3;
33706 }
33707 return NULL;
33708 }
33709
33710
33711 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33712 PyObject *resultobj = NULL;
33713 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33714 wxWindow *arg2 = (wxWindow *) 0 ;
33715 PyObject * obj0 = 0 ;
33716 PyObject * obj1 = 0 ;
33717 char *kwnames[] = {
33718 (char *) "self",(char *) "window", NULL
33719 };
33720
33721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33723 if (SWIG_arg_fail(1)) SWIG_fail;
33724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail;
33726 {
33727 PyThreadState* __tstate = wxPyBeginAllowThreads();
33728 (arg1)->RemoveHelp(arg2);
33729
33730 wxPyEndAllowThreads(__tstate);
33731 if (PyErr_Occurred()) SWIG_fail;
33732 }
33733 Py_INCREF(Py_None); resultobj = Py_None;
33734 return resultobj;
33735 fail:
33736 return NULL;
33737 }
33738
33739
33740 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33741 PyObject *resultobj = NULL;
33742 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33743 PyObject * obj0 = 0 ;
33744 char *kwnames[] = {
33745 (char *) "self", NULL
33746 };
33747
33748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33750 if (SWIG_arg_fail(1)) SWIG_fail;
33751 {
33752 PyThreadState* __tstate = wxPyBeginAllowThreads();
33753 wxHelpProvider_Destroy(arg1);
33754
33755 wxPyEndAllowThreads(__tstate);
33756 if (PyErr_Occurred()) SWIG_fail;
33757 }
33758 Py_INCREF(Py_None); resultobj = Py_None;
33759 return resultobj;
33760 fail:
33761 return NULL;
33762 }
33763
33764
33765 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33766 PyObject *obj;
33767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33768 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33769 Py_INCREF(obj);
33770 return Py_BuildValue((char *)"");
33771 }
33772 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33773 PyObject *resultobj = NULL;
33774 wxSimpleHelpProvider *result;
33775 char *kwnames[] = {
33776 NULL
33777 };
33778
33779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33780 {
33781 PyThreadState* __tstate = wxPyBeginAllowThreads();
33782 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33783
33784 wxPyEndAllowThreads(__tstate);
33785 if (PyErr_Occurred()) SWIG_fail;
33786 }
33787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33788 return resultobj;
33789 fail:
33790 return NULL;
33791 }
33792
33793
33794 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33795 PyObject *obj;
33796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33797 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33798 Py_INCREF(obj);
33799 return Py_BuildValue((char *)"");
33800 }
33801 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33802 PyObject *resultobj = NULL;
33803 wxBitmap *arg1 = 0 ;
33804 wxCursor const &arg2_defvalue = wxNullCursor ;
33805 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33806 wxGenericDragImage *result;
33807 PyObject * obj0 = 0 ;
33808 PyObject * obj1 = 0 ;
33809 char *kwnames[] = {
33810 (char *) "image",(char *) "cursor", NULL
33811 };
33812
33813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33814 {
33815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33816 if (SWIG_arg_fail(1)) SWIG_fail;
33817 if (arg1 == NULL) {
33818 SWIG_null_ref("wxBitmap");
33819 }
33820 if (SWIG_arg_fail(1)) SWIG_fail;
33821 }
33822 if (obj1) {
33823 {
33824 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33825 if (SWIG_arg_fail(2)) SWIG_fail;
33826 if (arg2 == NULL) {
33827 SWIG_null_ref("wxCursor");
33828 }
33829 if (SWIG_arg_fail(2)) SWIG_fail;
33830 }
33831 }
33832 {
33833 if (!wxPyCheckForApp()) SWIG_fail;
33834 PyThreadState* __tstate = wxPyBeginAllowThreads();
33835 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33836
33837 wxPyEndAllowThreads(__tstate);
33838 if (PyErr_Occurred()) SWIG_fail;
33839 }
33840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33841 return resultobj;
33842 fail:
33843 return NULL;
33844 }
33845
33846
33847 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33848 PyObject *resultobj = NULL;
33849 wxIcon *arg1 = 0 ;
33850 wxCursor const &arg2_defvalue = wxNullCursor ;
33851 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33852 wxGenericDragImage *result;
33853 PyObject * obj0 = 0 ;
33854 PyObject * obj1 = 0 ;
33855 char *kwnames[] = {
33856 (char *) "image",(char *) "cursor", NULL
33857 };
33858
33859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33860 {
33861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33862 if (SWIG_arg_fail(1)) SWIG_fail;
33863 if (arg1 == NULL) {
33864 SWIG_null_ref("wxIcon");
33865 }
33866 if (SWIG_arg_fail(1)) SWIG_fail;
33867 }
33868 if (obj1) {
33869 {
33870 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33871 if (SWIG_arg_fail(2)) SWIG_fail;
33872 if (arg2 == NULL) {
33873 SWIG_null_ref("wxCursor");
33874 }
33875 if (SWIG_arg_fail(2)) SWIG_fail;
33876 }
33877 }
33878 {
33879 if (!wxPyCheckForApp()) SWIG_fail;
33880 PyThreadState* __tstate = wxPyBeginAllowThreads();
33881 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33882
33883 wxPyEndAllowThreads(__tstate);
33884 if (PyErr_Occurred()) SWIG_fail;
33885 }
33886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33887 return resultobj;
33888 fail:
33889 return NULL;
33890 }
33891
33892
33893 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33894 PyObject *resultobj = NULL;
33895 wxString *arg1 = 0 ;
33896 wxCursor const &arg2_defvalue = wxNullCursor ;
33897 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33898 wxGenericDragImage *result;
33899 bool temp1 = false ;
33900 PyObject * obj0 = 0 ;
33901 PyObject * obj1 = 0 ;
33902 char *kwnames[] = {
33903 (char *) "str",(char *) "cursor", NULL
33904 };
33905
33906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33907 {
33908 arg1 = wxString_in_helper(obj0);
33909 if (arg1 == NULL) SWIG_fail;
33910 temp1 = true;
33911 }
33912 if (obj1) {
33913 {
33914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33915 if (SWIG_arg_fail(2)) SWIG_fail;
33916 if (arg2 == NULL) {
33917 SWIG_null_ref("wxCursor");
33918 }
33919 if (SWIG_arg_fail(2)) SWIG_fail;
33920 }
33921 }
33922 {
33923 if (!wxPyCheckForApp()) SWIG_fail;
33924 PyThreadState* __tstate = wxPyBeginAllowThreads();
33925 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33926
33927 wxPyEndAllowThreads(__tstate);
33928 if (PyErr_Occurred()) SWIG_fail;
33929 }
33930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33931 {
33932 if (temp1)
33933 delete arg1;
33934 }
33935 return resultobj;
33936 fail:
33937 {
33938 if (temp1)
33939 delete arg1;
33940 }
33941 return NULL;
33942 }
33943
33944
33945 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33946 PyObject *resultobj = NULL;
33947 wxPyTreeCtrl *arg1 = 0 ;
33948 wxTreeItemId *arg2 = 0 ;
33949 wxGenericDragImage *result;
33950 PyObject * obj0 = 0 ;
33951 PyObject * obj1 = 0 ;
33952 char *kwnames[] = {
33953 (char *) "treeCtrl",(char *) "id", NULL
33954 };
33955
33956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33957 {
33958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33959 if (SWIG_arg_fail(1)) SWIG_fail;
33960 if (arg1 == NULL) {
33961 SWIG_null_ref("wxPyTreeCtrl");
33962 }
33963 if (SWIG_arg_fail(1)) SWIG_fail;
33964 }
33965 {
33966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33967 if (SWIG_arg_fail(2)) SWIG_fail;
33968 if (arg2 == NULL) {
33969 SWIG_null_ref("wxTreeItemId");
33970 }
33971 if (SWIG_arg_fail(2)) SWIG_fail;
33972 }
33973 {
33974 if (!wxPyCheckForApp()) SWIG_fail;
33975 PyThreadState* __tstate = wxPyBeginAllowThreads();
33976 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33977
33978 wxPyEndAllowThreads(__tstate);
33979 if (PyErr_Occurred()) SWIG_fail;
33980 }
33981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33982 return resultobj;
33983 fail:
33984 return NULL;
33985 }
33986
33987
33988 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33989 PyObject *resultobj = NULL;
33990 wxPyListCtrl *arg1 = 0 ;
33991 long arg2 ;
33992 wxGenericDragImage *result;
33993 PyObject * obj0 = 0 ;
33994 PyObject * obj1 = 0 ;
33995 char *kwnames[] = {
33996 (char *) "listCtrl",(char *) "id", NULL
33997 };
33998
33999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
34000 {
34001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34002 if (SWIG_arg_fail(1)) SWIG_fail;
34003 if (arg1 == NULL) {
34004 SWIG_null_ref("wxPyListCtrl");
34005 }
34006 if (SWIG_arg_fail(1)) SWIG_fail;
34007 }
34008 {
34009 arg2 = static_cast<long >(SWIG_As_long(obj1));
34010 if (SWIG_arg_fail(2)) SWIG_fail;
34011 }
34012 {
34013 if (!wxPyCheckForApp()) SWIG_fail;
34014 PyThreadState* __tstate = wxPyBeginAllowThreads();
34015 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34016
34017 wxPyEndAllowThreads(__tstate);
34018 if (PyErr_Occurred()) SWIG_fail;
34019 }
34020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34021 return resultobj;
34022 fail:
34023 return NULL;
34024 }
34025
34026
34027 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34028 PyObject *resultobj = NULL;
34029 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34030 PyObject * obj0 = 0 ;
34031 char *kwnames[] = {
34032 (char *) "self", NULL
34033 };
34034
34035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34037 if (SWIG_arg_fail(1)) SWIG_fail;
34038 {
34039 PyThreadState* __tstate = wxPyBeginAllowThreads();
34040 delete arg1;
34041
34042 wxPyEndAllowThreads(__tstate);
34043 if (PyErr_Occurred()) SWIG_fail;
34044 }
34045 Py_INCREF(Py_None); resultobj = Py_None;
34046 return resultobj;
34047 fail:
34048 return NULL;
34049 }
34050
34051
34052 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34053 PyObject *resultobj = NULL;
34054 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34055 wxBitmap *arg2 = (wxBitmap *) 0 ;
34056 PyObject * obj0 = 0 ;
34057 PyObject * obj1 = 0 ;
34058 char *kwnames[] = {
34059 (char *) "self",(char *) "bitmap", NULL
34060 };
34061
34062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34064 if (SWIG_arg_fail(1)) SWIG_fail;
34065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34066 if (SWIG_arg_fail(2)) SWIG_fail;
34067 {
34068 PyThreadState* __tstate = wxPyBeginAllowThreads();
34069 (arg1)->SetBackingBitmap(arg2);
34070
34071 wxPyEndAllowThreads(__tstate);
34072 if (PyErr_Occurred()) SWIG_fail;
34073 }
34074 Py_INCREF(Py_None); resultobj = Py_None;
34075 return resultobj;
34076 fail:
34077 return NULL;
34078 }
34079
34080
34081 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34082 PyObject *resultobj = NULL;
34083 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34084 wxPoint *arg2 = 0 ;
34085 wxWindow *arg3 = (wxWindow *) 0 ;
34086 bool arg4 = (bool) false ;
34087 wxRect *arg5 = (wxRect *) NULL ;
34088 bool result;
34089 wxPoint temp2 ;
34090 PyObject * obj0 = 0 ;
34091 PyObject * obj1 = 0 ;
34092 PyObject * obj2 = 0 ;
34093 PyObject * obj3 = 0 ;
34094 PyObject * obj4 = 0 ;
34095 char *kwnames[] = {
34096 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34097 };
34098
34099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34101 if (SWIG_arg_fail(1)) SWIG_fail;
34102 {
34103 arg2 = &temp2;
34104 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34105 }
34106 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34107 if (SWIG_arg_fail(3)) SWIG_fail;
34108 if (obj3) {
34109 {
34110 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
34111 if (SWIG_arg_fail(4)) SWIG_fail;
34112 }
34113 }
34114 if (obj4) {
34115 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34116 if (SWIG_arg_fail(5)) SWIG_fail;
34117 }
34118 {
34119 PyThreadState* __tstate = wxPyBeginAllowThreads();
34120 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34121
34122 wxPyEndAllowThreads(__tstate);
34123 if (PyErr_Occurred()) SWIG_fail;
34124 }
34125 {
34126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34127 }
34128 return resultobj;
34129 fail:
34130 return NULL;
34131 }
34132
34133
34134 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34135 PyObject *resultobj = NULL;
34136 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34137 wxPoint *arg2 = 0 ;
34138 wxWindow *arg3 = (wxWindow *) 0 ;
34139 wxWindow *arg4 = (wxWindow *) 0 ;
34140 bool result;
34141 wxPoint temp2 ;
34142 PyObject * obj0 = 0 ;
34143 PyObject * obj1 = 0 ;
34144 PyObject * obj2 = 0 ;
34145 PyObject * obj3 = 0 ;
34146 char *kwnames[] = {
34147 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34148 };
34149
34150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34152 if (SWIG_arg_fail(1)) SWIG_fail;
34153 {
34154 arg2 = &temp2;
34155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34156 }
34157 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34158 if (SWIG_arg_fail(3)) SWIG_fail;
34159 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34160 if (SWIG_arg_fail(4)) SWIG_fail;
34161 {
34162 PyThreadState* __tstate = wxPyBeginAllowThreads();
34163 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34164
34165 wxPyEndAllowThreads(__tstate);
34166 if (PyErr_Occurred()) SWIG_fail;
34167 }
34168 {
34169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34170 }
34171 return resultobj;
34172 fail:
34173 return NULL;
34174 }
34175
34176
34177 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34178 PyObject *resultobj = NULL;
34179 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34180 bool result;
34181 PyObject * obj0 = 0 ;
34182 char *kwnames[] = {
34183 (char *) "self", NULL
34184 };
34185
34186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34188 if (SWIG_arg_fail(1)) SWIG_fail;
34189 {
34190 PyThreadState* __tstate = wxPyBeginAllowThreads();
34191 result = (bool)(arg1)->EndDrag();
34192
34193 wxPyEndAllowThreads(__tstate);
34194 if (PyErr_Occurred()) SWIG_fail;
34195 }
34196 {
34197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34198 }
34199 return resultobj;
34200 fail:
34201 return NULL;
34202 }
34203
34204
34205 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34206 PyObject *resultobj = NULL;
34207 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34208 wxPoint *arg2 = 0 ;
34209 bool result;
34210 wxPoint temp2 ;
34211 PyObject * obj0 = 0 ;
34212 PyObject * obj1 = 0 ;
34213 char *kwnames[] = {
34214 (char *) "self",(char *) "pt", NULL
34215 };
34216
34217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail;
34220 {
34221 arg2 = &temp2;
34222 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34223 }
34224 {
34225 PyThreadState* __tstate = wxPyBeginAllowThreads();
34226 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34227
34228 wxPyEndAllowThreads(__tstate);
34229 if (PyErr_Occurred()) SWIG_fail;
34230 }
34231 {
34232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34233 }
34234 return resultobj;
34235 fail:
34236 return NULL;
34237 }
34238
34239
34240 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34241 PyObject *resultobj = NULL;
34242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34243 bool result;
34244 PyObject * obj0 = 0 ;
34245 char *kwnames[] = {
34246 (char *) "self", NULL
34247 };
34248
34249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34251 if (SWIG_arg_fail(1)) SWIG_fail;
34252 {
34253 PyThreadState* __tstate = wxPyBeginAllowThreads();
34254 result = (bool)(arg1)->Show();
34255
34256 wxPyEndAllowThreads(__tstate);
34257 if (PyErr_Occurred()) SWIG_fail;
34258 }
34259 {
34260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34261 }
34262 return resultobj;
34263 fail:
34264 return NULL;
34265 }
34266
34267
34268 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34269 PyObject *resultobj = NULL;
34270 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34271 bool result;
34272 PyObject * obj0 = 0 ;
34273 char *kwnames[] = {
34274 (char *) "self", NULL
34275 };
34276
34277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34279 if (SWIG_arg_fail(1)) SWIG_fail;
34280 {
34281 PyThreadState* __tstate = wxPyBeginAllowThreads();
34282 result = (bool)(arg1)->Hide();
34283
34284 wxPyEndAllowThreads(__tstate);
34285 if (PyErr_Occurred()) SWIG_fail;
34286 }
34287 {
34288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34289 }
34290 return resultobj;
34291 fail:
34292 return NULL;
34293 }
34294
34295
34296 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34297 PyObject *resultobj = NULL;
34298 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34299 wxPoint *arg2 = 0 ;
34300 wxRect result;
34301 wxPoint temp2 ;
34302 PyObject * obj0 = 0 ;
34303 PyObject * obj1 = 0 ;
34304 char *kwnames[] = {
34305 (char *) "self",(char *) "pos", NULL
34306 };
34307
34308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34310 if (SWIG_arg_fail(1)) SWIG_fail;
34311 {
34312 arg2 = &temp2;
34313 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34314 }
34315 {
34316 PyThreadState* __tstate = wxPyBeginAllowThreads();
34317 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34318
34319 wxPyEndAllowThreads(__tstate);
34320 if (PyErr_Occurred()) SWIG_fail;
34321 }
34322 {
34323 wxRect * resultptr;
34324 resultptr = new wxRect(static_cast<wxRect & >(result));
34325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34326 }
34327 return resultobj;
34328 fail:
34329 return NULL;
34330 }
34331
34332
34333 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34334 PyObject *resultobj = NULL;
34335 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34336 wxDC *arg2 = 0 ;
34337 wxPoint *arg3 = 0 ;
34338 bool result;
34339 wxPoint temp3 ;
34340 PyObject * obj0 = 0 ;
34341 PyObject * obj1 = 0 ;
34342 PyObject * obj2 = 0 ;
34343 char *kwnames[] = {
34344 (char *) "self",(char *) "dc",(char *) "pos", NULL
34345 };
34346
34347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34349 if (SWIG_arg_fail(1)) SWIG_fail;
34350 {
34351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34352 if (SWIG_arg_fail(2)) SWIG_fail;
34353 if (arg2 == NULL) {
34354 SWIG_null_ref("wxDC");
34355 }
34356 if (SWIG_arg_fail(2)) SWIG_fail;
34357 }
34358 {
34359 arg3 = &temp3;
34360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34361 }
34362 {
34363 PyThreadState* __tstate = wxPyBeginAllowThreads();
34364 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34365
34366 wxPyEndAllowThreads(__tstate);
34367 if (PyErr_Occurred()) SWIG_fail;
34368 }
34369 {
34370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34371 }
34372 return resultobj;
34373 fail:
34374 return NULL;
34375 }
34376
34377
34378 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34379 PyObject *resultobj = NULL;
34380 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34381 wxDC *arg2 = 0 ;
34382 wxMemoryDC *arg3 = 0 ;
34383 wxRect *arg4 = 0 ;
34384 wxRect *arg5 = 0 ;
34385 bool result;
34386 wxRect temp4 ;
34387 wxRect temp5 ;
34388 PyObject * obj0 = 0 ;
34389 PyObject * obj1 = 0 ;
34390 PyObject * obj2 = 0 ;
34391 PyObject * obj3 = 0 ;
34392 PyObject * obj4 = 0 ;
34393 char *kwnames[] = {
34394 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34395 };
34396
34397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34399 if (SWIG_arg_fail(1)) SWIG_fail;
34400 {
34401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34402 if (SWIG_arg_fail(2)) SWIG_fail;
34403 if (arg2 == NULL) {
34404 SWIG_null_ref("wxDC");
34405 }
34406 if (SWIG_arg_fail(2)) SWIG_fail;
34407 }
34408 {
34409 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34410 if (SWIG_arg_fail(3)) SWIG_fail;
34411 if (arg3 == NULL) {
34412 SWIG_null_ref("wxMemoryDC");
34413 }
34414 if (SWIG_arg_fail(3)) SWIG_fail;
34415 }
34416 {
34417 arg4 = &temp4;
34418 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34419 }
34420 {
34421 arg5 = &temp5;
34422 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34423 }
34424 {
34425 PyThreadState* __tstate = wxPyBeginAllowThreads();
34426 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34427
34428 wxPyEndAllowThreads(__tstate);
34429 if (PyErr_Occurred()) SWIG_fail;
34430 }
34431 {
34432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34433 }
34434 return resultobj;
34435 fail:
34436 return NULL;
34437 }
34438
34439
34440 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34441 PyObject *resultobj = NULL;
34442 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34443 wxPoint *arg2 = 0 ;
34444 wxPoint *arg3 = 0 ;
34445 bool arg4 ;
34446 bool arg5 ;
34447 bool result;
34448 wxPoint temp2 ;
34449 wxPoint temp3 ;
34450 PyObject * obj0 = 0 ;
34451 PyObject * obj1 = 0 ;
34452 PyObject * obj2 = 0 ;
34453 PyObject * obj3 = 0 ;
34454 PyObject * obj4 = 0 ;
34455 char *kwnames[] = {
34456 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34457 };
34458
34459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34461 if (SWIG_arg_fail(1)) SWIG_fail;
34462 {
34463 arg2 = &temp2;
34464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34465 }
34466 {
34467 arg3 = &temp3;
34468 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34469 }
34470 {
34471 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
34472 if (SWIG_arg_fail(4)) SWIG_fail;
34473 }
34474 {
34475 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
34476 if (SWIG_arg_fail(5)) SWIG_fail;
34477 }
34478 {
34479 PyThreadState* __tstate = wxPyBeginAllowThreads();
34480 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34481
34482 wxPyEndAllowThreads(__tstate);
34483 if (PyErr_Occurred()) SWIG_fail;
34484 }
34485 {
34486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34487 }
34488 return resultobj;
34489 fail:
34490 return NULL;
34491 }
34492
34493
34494 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34495 PyObject *obj;
34496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34497 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34498 Py_INCREF(obj);
34499 return Py_BuildValue((char *)"");
34500 }
34501 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34502 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34503 return 1;
34504 }
34505
34506
34507 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34508 PyObject *pyobj = NULL;
34509
34510 {
34511 #if wxUSE_UNICODE
34512 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34513 #else
34514 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34515 #endif
34516 }
34517 return pyobj;
34518 }
34519
34520
34521 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34522 PyObject *resultobj = NULL;
34523 wxWindow *arg1 = (wxWindow *) 0 ;
34524 int arg2 = (int) -1 ;
34525 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34526 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34529 wxSize const &arg5_defvalue = wxDefaultSize ;
34530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34531 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34532 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34533 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34534 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34535 wxString *arg8 = (wxString *) &arg8_defvalue ;
34536 wxDatePickerCtrl *result;
34537 wxPoint temp4 ;
34538 wxSize temp5 ;
34539 bool temp8 = false ;
34540 PyObject * obj0 = 0 ;
34541 PyObject * obj1 = 0 ;
34542 PyObject * obj2 = 0 ;
34543 PyObject * obj3 = 0 ;
34544 PyObject * obj4 = 0 ;
34545 PyObject * obj5 = 0 ;
34546 PyObject * obj6 = 0 ;
34547 PyObject * obj7 = 0 ;
34548 char *kwnames[] = {
34549 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34550 };
34551
34552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34554 if (SWIG_arg_fail(1)) SWIG_fail;
34555 if (obj1) {
34556 {
34557 arg2 = static_cast<int >(SWIG_As_int(obj1));
34558 if (SWIG_arg_fail(2)) SWIG_fail;
34559 }
34560 }
34561 if (obj2) {
34562 {
34563 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34564 if (SWIG_arg_fail(3)) SWIG_fail;
34565 if (arg3 == NULL) {
34566 SWIG_null_ref("wxDateTime");
34567 }
34568 if (SWIG_arg_fail(3)) SWIG_fail;
34569 }
34570 }
34571 if (obj3) {
34572 {
34573 arg4 = &temp4;
34574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34575 }
34576 }
34577 if (obj4) {
34578 {
34579 arg5 = &temp5;
34580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34581 }
34582 }
34583 if (obj5) {
34584 {
34585 arg6 = static_cast<long >(SWIG_As_long(obj5));
34586 if (SWIG_arg_fail(6)) SWIG_fail;
34587 }
34588 }
34589 if (obj6) {
34590 {
34591 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34592 if (SWIG_arg_fail(7)) SWIG_fail;
34593 if (arg7 == NULL) {
34594 SWIG_null_ref("wxValidator");
34595 }
34596 if (SWIG_arg_fail(7)) SWIG_fail;
34597 }
34598 }
34599 if (obj7) {
34600 {
34601 arg8 = wxString_in_helper(obj7);
34602 if (arg8 == NULL) SWIG_fail;
34603 temp8 = true;
34604 }
34605 }
34606 {
34607 if (!wxPyCheckForApp()) SWIG_fail;
34608 PyThreadState* __tstate = wxPyBeginAllowThreads();
34609 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34610
34611 wxPyEndAllowThreads(__tstate);
34612 if (PyErr_Occurred()) SWIG_fail;
34613 }
34614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34615 {
34616 if (temp8)
34617 delete arg8;
34618 }
34619 return resultobj;
34620 fail:
34621 {
34622 if (temp8)
34623 delete arg8;
34624 }
34625 return NULL;
34626 }
34627
34628
34629 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34630 PyObject *resultobj = NULL;
34631 wxDatePickerCtrl *result;
34632 char *kwnames[] = {
34633 NULL
34634 };
34635
34636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34637 {
34638 if (!wxPyCheckForApp()) SWIG_fail;
34639 PyThreadState* __tstate = wxPyBeginAllowThreads();
34640 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34641
34642 wxPyEndAllowThreads(__tstate);
34643 if (PyErr_Occurred()) SWIG_fail;
34644 }
34645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34646 return resultobj;
34647 fail:
34648 return NULL;
34649 }
34650
34651
34652 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34653 PyObject *resultobj = NULL;
34654 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34655 wxWindow *arg2 = (wxWindow *) 0 ;
34656 int arg3 = (int) -1 ;
34657 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34658 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34659 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34660 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34661 wxSize const &arg6_defvalue = wxDefaultSize ;
34662 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34663 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34664 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34665 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34666 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34667 wxString *arg9 = (wxString *) &arg9_defvalue ;
34668 bool result;
34669 wxPoint temp5 ;
34670 wxSize temp6 ;
34671 bool temp9 = false ;
34672 PyObject * obj0 = 0 ;
34673 PyObject * obj1 = 0 ;
34674 PyObject * obj2 = 0 ;
34675 PyObject * obj3 = 0 ;
34676 PyObject * obj4 = 0 ;
34677 PyObject * obj5 = 0 ;
34678 PyObject * obj6 = 0 ;
34679 PyObject * obj7 = 0 ;
34680 PyObject * obj8 = 0 ;
34681 char *kwnames[] = {
34682 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34683 };
34684
34685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34687 if (SWIG_arg_fail(1)) SWIG_fail;
34688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34689 if (SWIG_arg_fail(2)) SWIG_fail;
34690 if (obj2) {
34691 {
34692 arg3 = static_cast<int >(SWIG_As_int(obj2));
34693 if (SWIG_arg_fail(3)) SWIG_fail;
34694 }
34695 }
34696 if (obj3) {
34697 {
34698 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34699 if (SWIG_arg_fail(4)) SWIG_fail;
34700 if (arg4 == NULL) {
34701 SWIG_null_ref("wxDateTime");
34702 }
34703 if (SWIG_arg_fail(4)) SWIG_fail;
34704 }
34705 }
34706 if (obj4) {
34707 {
34708 arg5 = &temp5;
34709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34710 }
34711 }
34712 if (obj5) {
34713 {
34714 arg6 = &temp6;
34715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34716 }
34717 }
34718 if (obj6) {
34719 {
34720 arg7 = static_cast<long >(SWIG_As_long(obj6));
34721 if (SWIG_arg_fail(7)) SWIG_fail;
34722 }
34723 }
34724 if (obj7) {
34725 {
34726 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34727 if (SWIG_arg_fail(8)) SWIG_fail;
34728 if (arg8 == NULL) {
34729 SWIG_null_ref("wxValidator");
34730 }
34731 if (SWIG_arg_fail(8)) SWIG_fail;
34732 }
34733 }
34734 if (obj8) {
34735 {
34736 arg9 = wxString_in_helper(obj8);
34737 if (arg9 == NULL) SWIG_fail;
34738 temp9 = true;
34739 }
34740 }
34741 {
34742 PyThreadState* __tstate = wxPyBeginAllowThreads();
34743 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34744
34745 wxPyEndAllowThreads(__tstate);
34746 if (PyErr_Occurred()) SWIG_fail;
34747 }
34748 {
34749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34750 }
34751 {
34752 if (temp9)
34753 delete arg9;
34754 }
34755 return resultobj;
34756 fail:
34757 {
34758 if (temp9)
34759 delete arg9;
34760 }
34761 return NULL;
34762 }
34763
34764
34765 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34766 PyObject *resultobj = NULL;
34767 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34768 wxDateTime *arg2 = 0 ;
34769 PyObject * obj0 = 0 ;
34770 PyObject * obj1 = 0 ;
34771 char *kwnames[] = {
34772 (char *) "self",(char *) "dt", NULL
34773 };
34774
34775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34777 if (SWIG_arg_fail(1)) SWIG_fail;
34778 {
34779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34780 if (SWIG_arg_fail(2)) SWIG_fail;
34781 if (arg2 == NULL) {
34782 SWIG_null_ref("wxDateTime");
34783 }
34784 if (SWIG_arg_fail(2)) SWIG_fail;
34785 }
34786 {
34787 PyThreadState* __tstate = wxPyBeginAllowThreads();
34788 (arg1)->SetValue((wxDateTime const &)*arg2);
34789
34790 wxPyEndAllowThreads(__tstate);
34791 if (PyErr_Occurred()) SWIG_fail;
34792 }
34793 Py_INCREF(Py_None); resultobj = Py_None;
34794 return resultobj;
34795 fail:
34796 return NULL;
34797 }
34798
34799
34800 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34801 PyObject *resultobj = NULL;
34802 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34803 wxDateTime result;
34804 PyObject * obj0 = 0 ;
34805 char *kwnames[] = {
34806 (char *) "self", NULL
34807 };
34808
34809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34811 if (SWIG_arg_fail(1)) SWIG_fail;
34812 {
34813 PyThreadState* __tstate = wxPyBeginAllowThreads();
34814 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34815
34816 wxPyEndAllowThreads(__tstate);
34817 if (PyErr_Occurred()) SWIG_fail;
34818 }
34819 {
34820 wxDateTime * resultptr;
34821 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
34822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34823 }
34824 return resultobj;
34825 fail:
34826 return NULL;
34827 }
34828
34829
34830 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34831 PyObject *resultobj = NULL;
34832 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34833 wxDateTime *arg2 = 0 ;
34834 wxDateTime *arg3 = 0 ;
34835 PyObject * obj0 = 0 ;
34836 PyObject * obj1 = 0 ;
34837 PyObject * obj2 = 0 ;
34838 char *kwnames[] = {
34839 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34840 };
34841
34842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34844 if (SWIG_arg_fail(1)) SWIG_fail;
34845 {
34846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34847 if (SWIG_arg_fail(2)) SWIG_fail;
34848 if (arg2 == NULL) {
34849 SWIG_null_ref("wxDateTime");
34850 }
34851 if (SWIG_arg_fail(2)) SWIG_fail;
34852 }
34853 {
34854 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34855 if (SWIG_arg_fail(3)) SWIG_fail;
34856 if (arg3 == NULL) {
34857 SWIG_null_ref("wxDateTime");
34858 }
34859 if (SWIG_arg_fail(3)) SWIG_fail;
34860 }
34861 {
34862 PyThreadState* __tstate = wxPyBeginAllowThreads();
34863 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34864
34865 wxPyEndAllowThreads(__tstate);
34866 if (PyErr_Occurred()) SWIG_fail;
34867 }
34868 Py_INCREF(Py_None); resultobj = Py_None;
34869 return resultobj;
34870 fail:
34871 return NULL;
34872 }
34873
34874
34875 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34876 PyObject *resultobj = NULL;
34877 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34878 wxDateTime result;
34879 PyObject * obj0 = 0 ;
34880 char *kwnames[] = {
34881 (char *) "self", NULL
34882 };
34883
34884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34886 if (SWIG_arg_fail(1)) SWIG_fail;
34887 {
34888 PyThreadState* __tstate = wxPyBeginAllowThreads();
34889 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34890
34891 wxPyEndAllowThreads(__tstate);
34892 if (PyErr_Occurred()) SWIG_fail;
34893 }
34894 {
34895 wxDateTime * resultptr;
34896 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
34897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34898 }
34899 return resultobj;
34900 fail:
34901 return NULL;
34902 }
34903
34904
34905 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34906 PyObject *resultobj = NULL;
34907 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34908 wxDateTime result;
34909 PyObject * obj0 = 0 ;
34910 char *kwnames[] = {
34911 (char *) "self", NULL
34912 };
34913
34914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34916 if (SWIG_arg_fail(1)) SWIG_fail;
34917 {
34918 PyThreadState* __tstate = wxPyBeginAllowThreads();
34919 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34920
34921 wxPyEndAllowThreads(__tstate);
34922 if (PyErr_Occurred()) SWIG_fail;
34923 }
34924 {
34925 wxDateTime * resultptr;
34926 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
34927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34928 }
34929 return resultobj;
34930 fail:
34931 return NULL;
34932 }
34933
34934
34935 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34936 PyObject *obj;
34937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34938 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34939 Py_INCREF(obj);
34940 return Py_BuildValue((char *)"");
34941 }
34942 static PyMethodDef SwigMethods[] = {
34943 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34950 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34965 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34977 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34983 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35014 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35028 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35033 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35040 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35046 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35054 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35077 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35085 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35116 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35172 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35177 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35189 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35202 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35214 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35218 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35236 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35243 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35277 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35299 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35305 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35316 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35318 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35324 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35326 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35333 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35335 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35365 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35410 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35416 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35428 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35480 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35507 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35580 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35592 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35600 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35607 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35624 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35700 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35722 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35727 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35754 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35762 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35767 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35769 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35778 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35780 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35788 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35794 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35798 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35807 { NULL, NULL, 0, NULL }
35808 };
35809
35810
35811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35812
35813 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35814 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35815 }
35816 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35817 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35818 }
35819 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35820 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35821 }
35822 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35823 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35824 }
35825 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35826 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35827 }
35828 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35829 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35830 }
35831 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35832 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35833 }
35834 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35835 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35836 }
35837 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35838 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35839 }
35840 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35842 }
35843 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35845 }
35846 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35847 return (void *)((wxEvent *) ((wxPyEvent *) x));
35848 }
35849 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35850 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35851 }
35852 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35853 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35854 }
35855 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35856 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35857 }
35858 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35859 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35860 }
35861 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35862 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35863 }
35864 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35865 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35866 }
35867 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35868 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35869 }
35870 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35872 }
35873 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35874 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35875 }
35876 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35877 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35878 }
35879 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35880 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35881 }
35882 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35883 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35884 }
35885 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35886 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35887 }
35888 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35889 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35890 }
35891 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35892 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35893 }
35894 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35895 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35896 }
35897 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35898 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35899 }
35900 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35901 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35902 }
35903 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35904 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35905 }
35906 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35907 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35908 }
35909 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35910 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35911 }
35912 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35913 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35914 }
35915 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35916 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35917 }
35918 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35919 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35920 }
35921 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35922 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35923 }
35924 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35925 return (void *)((wxEvent *) ((wxShowEvent *) x));
35926 }
35927 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35928 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35929 }
35930 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35931 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35932 }
35933 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35934 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35935 }
35936 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35937 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35938 }
35939 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35940 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35941 }
35942 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35943 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35944 }
35945 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35946 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35947 }
35948 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35949 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35950 }
35951 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35952 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35953 }
35954 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35955 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35956 }
35957 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35958 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35959 }
35960 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35961 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35962 }
35963 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35964 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35965 }
35966 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35967 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35968 }
35969 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35970 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35971 }
35972 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35973 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35974 }
35975 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35976 return (void *)((wxControl *) ((wxToggleButton *) x));
35977 }
35978 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35979 return (void *)((wxControl *) ((wxRadioButton *) x));
35980 }
35981 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35982 return (void *)((wxControl *) ((wxPyControl *) x));
35983 }
35984 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35985 return (void *)((wxControl *) ((wxToolBarBase *) x));
35986 }
35987 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35988 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35989 }
35990 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35991 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35992 }
35993 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35994 return (void *)((wxControl *) ((wxComboBox *) x));
35995 }
35996 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35997 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35998 }
35999 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36000 return (void *)((wxControl *) ((wxScrollBar *) x));
36001 }
36002 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36003 return (void *)((wxControl *) ((wxControlWithItems *) x));
36004 }
36005 static void *_p_wxGaugeTo_p_wxControl(void *x) {
36006 return (void *)((wxControl *) ((wxGauge *) x));
36007 }
36008 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36009 return (void *)((wxControl *) ((wxStaticLine *) x));
36010 }
36011 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36012 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36013 }
36014 static void *_p_wxListbookTo_p_wxControl(void *x) {
36015 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36016 }
36017 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36018 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36019 }
36020 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36021 return (void *)((wxControl *) ((wxCheckBox *) x));
36022 }
36023 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36024 return (void *)((wxControl *) ((wxRadioBox *) x));
36025 }
36026 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36027 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36028 }
36029 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36030 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36031 }
36032 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36033 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36034 }
36035 static void *_p_wxListViewTo_p_wxControl(void *x) {
36036 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36037 }
36038 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36039 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36040 }
36041 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36042 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36043 }
36044 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36045 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36046 }
36047 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36048 return (void *)((wxControl *) ((wxStaticText *) x));
36049 }
36050 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36051 return (void *)((wxControl *) ((wxStaticBox *) x));
36052 }
36053 static void *_p_wxSliderTo_p_wxControl(void *x) {
36054 return (void *)((wxControl *) ((wxSlider *) x));
36055 }
36056 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36057 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36058 }
36059 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36060 return (void *)((wxControl *) ((wxSpinButton *) x));
36061 }
36062 static void *_p_wxButtonTo_p_wxControl(void *x) {
36063 return (void *)((wxControl *) ((wxButton *) x));
36064 }
36065 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36066 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36067 }
36068 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36069 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36070 }
36071 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36072 return (void *)((wxControl *) ((wxTextCtrl *) x));
36073 }
36074 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36075 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36076 }
36077 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36078 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36079 }
36080 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36081 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36082 }
36083 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36084 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36085 }
36086 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36087 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36088 }
36089 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36090 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36091 }
36092 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36093 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36094 }
36095 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36096 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36097 }
36098 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36099 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36100 }
36101 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36102 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36103 }
36104 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36105 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36106 }
36107 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36108 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36109 }
36110 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36112 }
36113 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36115 }
36116 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36117 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36118 }
36119 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36120 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36121 }
36122 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36124 }
36125 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36126 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36127 }
36128 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36130 }
36131 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36133 }
36134 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36135 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36136 }
36137 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36139 }
36140 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36141 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36142 }
36143 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36145 }
36146 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36148 }
36149 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36150 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36151 }
36152 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36154 }
36155 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36156 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36157 }
36158 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36159 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36160 }
36161 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36163 }
36164 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36166 }
36167 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36169 }
36170 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36171 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36172 }
36173 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36174 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36175 }
36176 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36178 }
36179 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36181 }
36182 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36184 }
36185 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36187 }
36188 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36190 }
36191 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36193 }
36194 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36196 }
36197 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36199 }
36200 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36202 }
36203 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36205 }
36206 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36208 }
36209 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36211 }
36212 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36214 }
36215 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36217 }
36218 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36220 }
36221 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36222 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36223 }
36224 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36225 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36226 }
36227 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36228 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36229 }
36230 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36231 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36232 }
36233 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36235 }
36236 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36237 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36238 }
36239 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36240 return (void *)((wxButton *) ((wxBitmapButton *) x));
36241 }
36242 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36243 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36244 }
36245 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36246 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36247 }
36248 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36249 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36250 }
36251 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36252 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36253 }
36254 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36255 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36256 }
36257 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36258 return (void *)((wxObject *) ((wxSizerItem *) x));
36259 }
36260 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36262 }
36263 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36264 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36265 }
36266 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36268 }
36269 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36270 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36271 }
36272 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36273 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36274 }
36275 static void *_p_wxSizerTo_p_wxObject(void *x) {
36276 return (void *)((wxObject *) ((wxSizer *) x));
36277 }
36278 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36279 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36280 }
36281 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36283 }
36284 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36286 }
36287 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36288 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36289 }
36290 static void *_p_wxEventTo_p_wxObject(void *x) {
36291 return (void *)((wxObject *) ((wxEvent *) x));
36292 }
36293 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36294 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36295 }
36296 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36297 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36298 }
36299 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36300 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36301 }
36302 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36304 }
36305 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36307 }
36308 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36310 }
36311 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36312 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36313 }
36314 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36315 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36316 }
36317 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36318 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36319 }
36320 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36321 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36322 }
36323 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36324 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36325 }
36326 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36327 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36328 }
36329 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36331 }
36332 static void *_p_wxControlTo_p_wxObject(void *x) {
36333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36334 }
36335 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36337 }
36338 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36340 }
36341 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36343 }
36344 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36346 }
36347 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36349 }
36350 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36351 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36352 }
36353 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36355 }
36356 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36357 return (void *)((wxObject *) ((wxFSFile *) x));
36358 }
36359 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36360 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36361 }
36362 static void *_p_wxListViewTo_p_wxObject(void *x) {
36363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36364 }
36365 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36367 }
36368 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36370 }
36371 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36372 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36373 }
36374 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36376 }
36377 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36379 }
36380 static void *_p_wxListbookTo_p_wxObject(void *x) {
36381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36382 }
36383 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36384 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36385 }
36386 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36388 }
36389 static void *_p_wxSliderTo_p_wxObject(void *x) {
36390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36391 }
36392 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36393 return (void *)((wxObject *) ((wxMenuItem *) x));
36394 }
36395 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36397 }
36398 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36399 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36400 }
36401 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36403 }
36404 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36405 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36406 }
36407 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36408 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36409 }
36410 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36411 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36412 }
36413 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36414 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36415 }
36416 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36418 }
36419 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36421 }
36422 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36424 }
36425 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) ((wxContextHelp *) x));
36427 }
36428 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36430 }
36431 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36433 }
36434 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36436 }
36437 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36439 }
36440 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36442 }
36443 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36445 }
36446 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36448 }
36449 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36451 }
36452 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36454 }
36455 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36457 }
36458 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
36460 }
36461 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) ((wxImageHandler *) x));
36463 }
36464 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36466 }
36467 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36469 }
36470 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) ((wxEvtHandler *) x));
36472 }
36473 static void *_p_wxListEventTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36475 }
36476 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36478 }
36479 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36481 }
36482 static void *_p_wxButtonTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36484 }
36485 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36487 }
36488 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36490 }
36491 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36493 }
36494 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36496 }
36497 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36499 }
36500 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36502 }
36503 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36505 }
36506 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36508 }
36509 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36511 }
36512 static void *_p_wxListItemTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) ((wxListItem *) x));
36514 }
36515 static void *_p_wxImageTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) ((wxImage *) x));
36517 }
36518 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36520 }
36521 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36523 }
36524 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36526 }
36527 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36529 }
36530 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36532 }
36533 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36535 }
36536 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36538 }
36539 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36541 }
36542 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36544 }
36545 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36547 }
36548 static void *_p_wxWindowTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36550 }
36551 static void *_p_wxMenuTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36553 }
36554 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36556 }
36557 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) ((wxFileSystem *) x));
36559 }
36560 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36562 }
36563 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36565 }
36566 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36568 }
36569 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36571 }
36572 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36574 }
36575 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36577 }
36578 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36580 }
36581 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36583 }
36584 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36586 }
36587 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36589 }
36590 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36592 }
36593 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36595 }
36596 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36598 }
36599 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36601 }
36602 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36604 }
36605 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36607 }
36608 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36610 }
36611 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36613 }
36614 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36616 }
36617 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36619 }
36620 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36621 return (void *)((wxWindow *) ((wxMenuBar *) x));
36622 }
36623 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36624 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36625 }
36626 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36627 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36628 }
36629 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36630 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36631 }
36632 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36633 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36634 }
36635 static void *_p_wxControlTo_p_wxWindow(void *x) {
36636 return (void *)((wxWindow *) ((wxControl *) x));
36637 }
36638 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36640 }
36641 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36642 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36643 }
36644 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36645 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36646 }
36647 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36648 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36649 }
36650 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36651 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36652 }
36653 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36654 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36655 }
36656 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36657 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36658 }
36659 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36660 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36661 }
36662 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36663 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36664 }
36665 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36666 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36667 }
36668 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36669 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36670 }
36671 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36672 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36673 }
36674 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36675 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36676 }
36677 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36678 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36679 }
36680 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36681 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36682 }
36683 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36684 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36685 }
36686 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36687 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36688 }
36689 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36690 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36691 }
36692 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36693 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36694 }
36695 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36696 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36697 }
36698 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36699 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36700 }
36701 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36702 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36703 }
36704 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36705 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36706 }
36707 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36708 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36709 }
36710 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36711 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36712 }
36713 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36714 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36715 }
36716 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36717 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36718 }
36719 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36720 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36721 }
36722 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36723 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36724 }
36725 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36726 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36727 }
36728 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36729 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36730 }
36731 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36732 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36733 }
36734 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36735 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36736 }
36737 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36738 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36739 }
36740 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36741 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36742 }
36743 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36744 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36745 }
36746 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36747 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36748 }
36749 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36750 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36751 }
36752 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36753 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36754 }
36755 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36756 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36757 }
36758 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36759 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36760 }
36761 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36762 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36763 }
36764 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36765 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36766 }
36767 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36768 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36769 }
36770 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36771 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36772 }
36773 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36774 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36775 }
36776 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36777 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36778 }
36779 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36780 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36781 }
36782 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36783 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36784 }
36785 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36786 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36787 }
36788 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36789 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36790 }
36791 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36792 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36793 }
36794 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36795 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36796 }
36797 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36798 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36799 }
36800 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36801 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36802 }
36803 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36804 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36805 }
36806 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36807 return (void *)((wxValidator *) ((wxPyValidator *) x));
36808 }
36809 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
36810 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
36811 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
36812 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
36813 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
36814 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
36815 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
36816 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
36817 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
36818 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
36819 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
36820 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
36821 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
36822 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
36823 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
36824 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
36825 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
36826 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
36827 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
36828 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
36829 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
36830 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
36831 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
36832 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
36833 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
36834 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
36835 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
36836 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
36837 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
36838 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
36839 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
36840 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
36841 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
36842 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
36843 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
36844 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
36845 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
36846 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
36847 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
36848 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
36849 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
36850 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
36851 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
36852 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
36853 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
36854 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
36855 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
36856 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
36857 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
36858 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
36859 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
36860 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
36861 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
36862 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
36863 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
36864 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
36865 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
36866 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
36867 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
36868 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
36869 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
36870 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
36871 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
36872 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
36873 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
36874 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
36875 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
36876 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
36877 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
36878 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
36879 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
36880 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
36881 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
36882 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
36883 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
36884 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
36885 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
36886 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
36887 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
36888 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
36889 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
36890 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
36891 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
36892 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
36893 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
36894 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
36895 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
36896 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
36897 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
36898 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
36899 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
36900 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
36901 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
36902 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
36903 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
36904 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
36905 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
36906 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
36907 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
36908 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
36909 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
36910 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
36911 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
36912 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
36913 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
36914 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
36915 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
36916 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
36917 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
36918 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
36919 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
36920 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
36921 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
36922 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
36923 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
36924 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
36925 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
36926 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
36927 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
36928 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
36929 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
36930 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
36931 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
36932 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
36933 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
36934 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
36935 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
36936 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
36937 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
36938 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
36939 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
36940 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
36941 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
36942 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
36943 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
36944 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
36945 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
36946 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
36947 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
36948 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
36949 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
36950 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
36951 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
36952 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
36953 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
36954 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
36955 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
36956 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
36957 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
36958 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
36959 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
36960 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
36961 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
36962 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
36963 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
36964 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
36965 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
36966 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
36967 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
36968 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
36969 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
36970
36971 static swig_type_info *swig_type_initial[] = {
36972 &_swigt__p_bool,
36973 &_swigt__p_char,
36974 &_swigt__p_form_ops_t,
36975 &_swigt__p_int,
36976 &_swigt__p_long,
36977 &_swigt__p_unsigned_char,
36978 &_swigt__p_unsigned_int,
36979 &_swigt__p_unsigned_long,
36980 &_swigt__p_void,
36981 &_swigt__p_wxANIHandler,
36982 &_swigt__p_wxAcceleratorTable,
36983 &_swigt__p_wxActivateEvent,
36984 &_swigt__p_wxArrayInt,
36985 &_swigt__p_wxArrayString,
36986 &_swigt__p_wxBMPHandler,
36987 &_swigt__p_wxBitmap,
36988 &_swigt__p_wxBitmapButton,
36989 &_swigt__p_wxBookCtrlBase,
36990 &_swigt__p_wxBookCtrlBaseEvent,
36991 &_swigt__p_wxBoxSizer,
36992 &_swigt__p_wxButton,
36993 &_swigt__p_wxCURHandler,
36994 &_swigt__p_wxCheckBox,
36995 &_swigt__p_wxCheckListBox,
36996 &_swigt__p_wxChildFocusEvent,
36997 &_swigt__p_wxChoice,
36998 &_swigt__p_wxChoicebook,
36999 &_swigt__p_wxChoicebookEvent,
37000 &_swigt__p_wxCloseEvent,
37001 &_swigt__p_wxColour,
37002 &_swigt__p_wxComboBox,
37003 &_swigt__p_wxCommandEvent,
37004 &_swigt__p_wxContextHelp,
37005 &_swigt__p_wxContextHelpButton,
37006 &_swigt__p_wxContextMenuEvent,
37007 &_swigt__p_wxControl,
37008 &_swigt__p_wxControlWithItems,
37009 &_swigt__p_wxCursor,
37010 &_swigt__p_wxDC,
37011 &_swigt__p_wxDateEvent,
37012 &_swigt__p_wxDatePickerCtrl,
37013 &_swigt__p_wxDateTime,
37014 &_swigt__p_wxDirFilterListCtrl,
37015 &_swigt__p_wxDisplayChangedEvent,
37016 &_swigt__p_wxDropFilesEvent,
37017 &_swigt__p_wxDuplexMode,
37018 &_swigt__p_wxEraseEvent,
37019 &_swigt__p_wxEvent,
37020 &_swigt__p_wxEvtHandler,
37021 &_swigt__p_wxFSFile,
37022 &_swigt__p_wxFileSystem,
37023 &_swigt__p_wxFlexGridSizer,
37024 &_swigt__p_wxFocusEvent,
37025 &_swigt__p_wxFont,
37026 &_swigt__p_wxGBSizerItem,
37027 &_swigt__p_wxGIFHandler,
37028 &_swigt__p_wxGauge,
37029 &_swigt__p_wxGenericDirCtrl,
37030 &_swigt__p_wxGenericDragImage,
37031 &_swigt__p_wxGridBagSizer,
37032 &_swigt__p_wxGridSizer,
37033 &_swigt__p_wxHelpEvent,
37034 &_swigt__p_wxHelpProvider,
37035 &_swigt__p_wxICOHandler,
37036 &_swigt__p_wxIcon,
37037 &_swigt__p_wxIconizeEvent,
37038 &_swigt__p_wxIdleEvent,
37039 &_swigt__p_wxImage,
37040 &_swigt__p_wxImageHandler,
37041 &_swigt__p_wxImageList,
37042 &_swigt__p_wxIndividualLayoutConstraint,
37043 &_swigt__p_wxInitDialogEvent,
37044 &_swigt__p_wxItemContainer,
37045 &_swigt__p_wxJPEGHandler,
37046 &_swigt__p_wxKeyEvent,
37047 &_swigt__p_wxLayoutConstraints,
37048 &_swigt__p_wxListBox,
37049 &_swigt__p_wxListEvent,
37050 &_swigt__p_wxListItem,
37051 &_swigt__p_wxListItemAttr,
37052 &_swigt__p_wxListView,
37053 &_swigt__p_wxListbook,
37054 &_swigt__p_wxListbookEvent,
37055 &_swigt__p_wxMaximizeEvent,
37056 &_swigt__p_wxMemoryDC,
37057 &_swigt__p_wxMenu,
37058 &_swigt__p_wxMenuBar,
37059 &_swigt__p_wxMenuEvent,
37060 &_swigt__p_wxMenuItem,
37061 &_swigt__p_wxMouseCaptureChangedEvent,
37062 &_swigt__p_wxMouseEvent,
37063 &_swigt__p_wxMoveEvent,
37064 &_swigt__p_wxNavigationKeyEvent,
37065 &_swigt__p_wxNcPaintEvent,
37066 &_swigt__p_wxNotebook,
37067 &_swigt__p_wxNotebookEvent,
37068 &_swigt__p_wxNotifyEvent,
37069 &_swigt__p_wxObject,
37070 &_swigt__p_wxPCXHandler,
37071 &_swigt__p_wxPNGHandler,
37072 &_swigt__p_wxPNMHandler,
37073 &_swigt__p_wxPaintEvent,
37074 &_swigt__p_wxPaletteChangedEvent,
37075 &_swigt__p_wxPaperSize,
37076 &_swigt__p_wxPoint,
37077 &_swigt__p_wxPyApp,
37078 &_swigt__p_wxPyCommandEvent,
37079 &_swigt__p_wxPyControl,
37080 &_swigt__p_wxPyEvent,
37081 &_swigt__p_wxPyImageHandler,
37082 &_swigt__p_wxPyListCtrl,
37083 &_swigt__p_wxPySizer,
37084 &_swigt__p_wxPyTreeCtrl,
37085 &_swigt__p_wxPyTreeItemData,
37086 &_swigt__p_wxPyValidator,
37087 &_swigt__p_wxQueryNewPaletteEvent,
37088 &_swigt__p_wxRadioBox,
37089 &_swigt__p_wxRadioButton,
37090 &_swigt__p_wxRect,
37091 &_swigt__p_wxScrollBar,
37092 &_swigt__p_wxScrollEvent,
37093 &_swigt__p_wxScrollWinEvent,
37094 &_swigt__p_wxSetCursorEvent,
37095 &_swigt__p_wxShowEvent,
37096 &_swigt__p_wxSimpleHelpProvider,
37097 &_swigt__p_wxSize,
37098 &_swigt__p_wxSizeEvent,
37099 &_swigt__p_wxSizer,
37100 &_swigt__p_wxSizerItem,
37101 &_swigt__p_wxSlider,
37102 &_swigt__p_wxSpinButton,
37103 &_swigt__p_wxSpinCtrl,
37104 &_swigt__p_wxSpinEvent,
37105 &_swigt__p_wxStaticBitmap,
37106 &_swigt__p_wxStaticBox,
37107 &_swigt__p_wxStaticBoxSizer,
37108 &_swigt__p_wxStaticLine,
37109 &_swigt__p_wxStaticText,
37110 &_swigt__p_wxStdDialogButtonSizer,
37111 &_swigt__p_wxString,
37112 &_swigt__p_wxSysColourChangedEvent,
37113 &_swigt__p_wxTIFFHandler,
37114 &_swigt__p_wxTextAttr,
37115 &_swigt__p_wxTextCtrl,
37116 &_swigt__p_wxTextUrlEvent,
37117 &_swigt__p_wxToggleButton,
37118 &_swigt__p_wxToolBar,
37119 &_swigt__p_wxToolBarBase,
37120 &_swigt__p_wxToolBarToolBase,
37121 &_swigt__p_wxTreeEvent,
37122 &_swigt__p_wxTreeItemId,
37123 &_swigt__p_wxUpdateUIEvent,
37124 &_swigt__p_wxValidator,
37125 &_swigt__p_wxVisualAttributes,
37126 &_swigt__p_wxWindow,
37127 &_swigt__p_wxWindowCreateEvent,
37128 &_swigt__p_wxWindowDestroyEvent,
37129 &_swigt__p_wxXPMHandler,
37130 &_swigt__ptrdiff_t,
37131 &_swigt__std__ptrdiff_t,
37132 &_swigt__unsigned_int,
37133 };
37134
37135 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
37138 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
37139 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
37140 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
37141 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
37142 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
37143 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
37144 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
37145 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
37146 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
37147 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}};
37148 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_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
37149 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},{0, 0, 0, 0}};
37150 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}};
37151 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
37152 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
37153 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}};
37154 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
37155 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
37156 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
37157 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
37158 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
37159 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
37160 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
37161 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
37162 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
37163 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
37164 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
37165 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
37166 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_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_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}};
37167 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
37168 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
37169 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_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_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_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}};
37170 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}};
37171 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
37172 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
37173 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
37174 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
37175 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
37176 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
37177 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
37178 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
37179 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
37180 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
37181 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
37182 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
37183 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
37184 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
37185 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37186 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37187 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
37188 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37189 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
37190 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
37191 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
37192 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37193 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37194 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37195 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37196 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
37197 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
37198 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
37199 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
37200 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
37201 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_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_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_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}};
37202 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
37203 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
37204 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
37205 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
37206 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_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_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_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_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}};
37207 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
37208 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
37209 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
37210 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
37211 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
37212 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}};
37213 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
37214 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
37215 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}};
37216 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
37217 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}};
37218 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
37219 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
37220 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
37221 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
37222 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
37223 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
37224 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
37225 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
37226 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
37227 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
37228 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_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
37229 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
37230 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
37231 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
37232 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
37233 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
37234 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
37235 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
37236 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
37237 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
37238 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
37239 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
37240 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
37241 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
37242 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
37243 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
37244 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
37245 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
37246 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
37247 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
37248 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
37249 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
37250 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
37251 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
37252 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
37253 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
37254 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
37255 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
37256 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
37257 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
37258 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
37259 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_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_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_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_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_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_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_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_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_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_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_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_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}};
37260 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
37261 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
37262 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
37263 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}};
37264 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
37265 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
37266 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
37267 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
37268 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
37269 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
37270 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
37271 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
37272 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
37273 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
37274 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
37275 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
37276 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
37277 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
37278 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
37279 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
37280 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
37281 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
37282 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
37283 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
37284 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
37285 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
37286 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}};
37287 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
37288 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
37289 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
37290 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}};
37291 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
37292 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_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_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_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_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_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}};
37293 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
37294 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
37295 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
37296
37297 static swig_cast_info *swig_cast_initial[] = {
37298 _swigc__p_bool,
37299 _swigc__p_char,
37300 _swigc__p_form_ops_t,
37301 _swigc__p_int,
37302 _swigc__p_long,
37303 _swigc__p_unsigned_char,
37304 _swigc__p_unsigned_int,
37305 _swigc__p_unsigned_long,
37306 _swigc__p_void,
37307 _swigc__p_wxANIHandler,
37308 _swigc__p_wxAcceleratorTable,
37309 _swigc__p_wxActivateEvent,
37310 _swigc__p_wxArrayInt,
37311 _swigc__p_wxArrayString,
37312 _swigc__p_wxBMPHandler,
37313 _swigc__p_wxBitmap,
37314 _swigc__p_wxBitmapButton,
37315 _swigc__p_wxBookCtrlBase,
37316 _swigc__p_wxBookCtrlBaseEvent,
37317 _swigc__p_wxBoxSizer,
37318 _swigc__p_wxButton,
37319 _swigc__p_wxCURHandler,
37320 _swigc__p_wxCheckBox,
37321 _swigc__p_wxCheckListBox,
37322 _swigc__p_wxChildFocusEvent,
37323 _swigc__p_wxChoice,
37324 _swigc__p_wxChoicebook,
37325 _swigc__p_wxChoicebookEvent,
37326 _swigc__p_wxCloseEvent,
37327 _swigc__p_wxColour,
37328 _swigc__p_wxComboBox,
37329 _swigc__p_wxCommandEvent,
37330 _swigc__p_wxContextHelp,
37331 _swigc__p_wxContextHelpButton,
37332 _swigc__p_wxContextMenuEvent,
37333 _swigc__p_wxControl,
37334 _swigc__p_wxControlWithItems,
37335 _swigc__p_wxCursor,
37336 _swigc__p_wxDC,
37337 _swigc__p_wxDateEvent,
37338 _swigc__p_wxDatePickerCtrl,
37339 _swigc__p_wxDateTime,
37340 _swigc__p_wxDirFilterListCtrl,
37341 _swigc__p_wxDisplayChangedEvent,
37342 _swigc__p_wxDropFilesEvent,
37343 _swigc__p_wxDuplexMode,
37344 _swigc__p_wxEraseEvent,
37345 _swigc__p_wxEvent,
37346 _swigc__p_wxEvtHandler,
37347 _swigc__p_wxFSFile,
37348 _swigc__p_wxFileSystem,
37349 _swigc__p_wxFlexGridSizer,
37350 _swigc__p_wxFocusEvent,
37351 _swigc__p_wxFont,
37352 _swigc__p_wxGBSizerItem,
37353 _swigc__p_wxGIFHandler,
37354 _swigc__p_wxGauge,
37355 _swigc__p_wxGenericDirCtrl,
37356 _swigc__p_wxGenericDragImage,
37357 _swigc__p_wxGridBagSizer,
37358 _swigc__p_wxGridSizer,
37359 _swigc__p_wxHelpEvent,
37360 _swigc__p_wxHelpProvider,
37361 _swigc__p_wxICOHandler,
37362 _swigc__p_wxIcon,
37363 _swigc__p_wxIconizeEvent,
37364 _swigc__p_wxIdleEvent,
37365 _swigc__p_wxImage,
37366 _swigc__p_wxImageHandler,
37367 _swigc__p_wxImageList,
37368 _swigc__p_wxIndividualLayoutConstraint,
37369 _swigc__p_wxInitDialogEvent,
37370 _swigc__p_wxItemContainer,
37371 _swigc__p_wxJPEGHandler,
37372 _swigc__p_wxKeyEvent,
37373 _swigc__p_wxLayoutConstraints,
37374 _swigc__p_wxListBox,
37375 _swigc__p_wxListEvent,
37376 _swigc__p_wxListItem,
37377 _swigc__p_wxListItemAttr,
37378 _swigc__p_wxListView,
37379 _swigc__p_wxListbook,
37380 _swigc__p_wxListbookEvent,
37381 _swigc__p_wxMaximizeEvent,
37382 _swigc__p_wxMemoryDC,
37383 _swigc__p_wxMenu,
37384 _swigc__p_wxMenuBar,
37385 _swigc__p_wxMenuEvent,
37386 _swigc__p_wxMenuItem,
37387 _swigc__p_wxMouseCaptureChangedEvent,
37388 _swigc__p_wxMouseEvent,
37389 _swigc__p_wxMoveEvent,
37390 _swigc__p_wxNavigationKeyEvent,
37391 _swigc__p_wxNcPaintEvent,
37392 _swigc__p_wxNotebook,
37393 _swigc__p_wxNotebookEvent,
37394 _swigc__p_wxNotifyEvent,
37395 _swigc__p_wxObject,
37396 _swigc__p_wxPCXHandler,
37397 _swigc__p_wxPNGHandler,
37398 _swigc__p_wxPNMHandler,
37399 _swigc__p_wxPaintEvent,
37400 _swigc__p_wxPaletteChangedEvent,
37401 _swigc__p_wxPaperSize,
37402 _swigc__p_wxPoint,
37403 _swigc__p_wxPyApp,
37404 _swigc__p_wxPyCommandEvent,
37405 _swigc__p_wxPyControl,
37406 _swigc__p_wxPyEvent,
37407 _swigc__p_wxPyImageHandler,
37408 _swigc__p_wxPyListCtrl,
37409 _swigc__p_wxPySizer,
37410 _swigc__p_wxPyTreeCtrl,
37411 _swigc__p_wxPyTreeItemData,
37412 _swigc__p_wxPyValidator,
37413 _swigc__p_wxQueryNewPaletteEvent,
37414 _swigc__p_wxRadioBox,
37415 _swigc__p_wxRadioButton,
37416 _swigc__p_wxRect,
37417 _swigc__p_wxScrollBar,
37418 _swigc__p_wxScrollEvent,
37419 _swigc__p_wxScrollWinEvent,
37420 _swigc__p_wxSetCursorEvent,
37421 _swigc__p_wxShowEvent,
37422 _swigc__p_wxSimpleHelpProvider,
37423 _swigc__p_wxSize,
37424 _swigc__p_wxSizeEvent,
37425 _swigc__p_wxSizer,
37426 _swigc__p_wxSizerItem,
37427 _swigc__p_wxSlider,
37428 _swigc__p_wxSpinButton,
37429 _swigc__p_wxSpinCtrl,
37430 _swigc__p_wxSpinEvent,
37431 _swigc__p_wxStaticBitmap,
37432 _swigc__p_wxStaticBox,
37433 _swigc__p_wxStaticBoxSizer,
37434 _swigc__p_wxStaticLine,
37435 _swigc__p_wxStaticText,
37436 _swigc__p_wxStdDialogButtonSizer,
37437 _swigc__p_wxString,
37438 _swigc__p_wxSysColourChangedEvent,
37439 _swigc__p_wxTIFFHandler,
37440 _swigc__p_wxTextAttr,
37441 _swigc__p_wxTextCtrl,
37442 _swigc__p_wxTextUrlEvent,
37443 _swigc__p_wxToggleButton,
37444 _swigc__p_wxToolBar,
37445 _swigc__p_wxToolBarBase,
37446 _swigc__p_wxToolBarToolBase,
37447 _swigc__p_wxTreeEvent,
37448 _swigc__p_wxTreeItemId,
37449 _swigc__p_wxUpdateUIEvent,
37450 _swigc__p_wxValidator,
37451 _swigc__p_wxVisualAttributes,
37452 _swigc__p_wxWindow,
37453 _swigc__p_wxWindowCreateEvent,
37454 _swigc__p_wxWindowDestroyEvent,
37455 _swigc__p_wxXPMHandler,
37456 _swigc__ptrdiff_t,
37457 _swigc__std__ptrdiff_t,
37458 _swigc__unsigned_int,
37459 };
37460
37461
37462 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37463
37464 static swig_const_info swig_const_table[] = {
37465 {0, 0, 0, 0.0, 0, 0}};
37466
37467 #ifdef __cplusplus
37468 }
37469 #endif
37470 /*************************************************************************
37471 * Type initialization:
37472 * This problem is tough by the requirement that no dynamic
37473 * memory is used. Also, since swig_type_info structures store pointers to
37474 * swig_cast_info structures and swig_cast_info structures store pointers back
37475 * to swig_type_info structures, we need some lookup code at initialization.
37476 * The idea is that swig generates all the structures that are needed.
37477 * The runtime then collects these partially filled structures.
37478 * The SWIG_InitializeModule function takes these initial arrays out of
37479 * swig_module, and does all the lookup, filling in the swig_module.types
37480 * array with the correct data and linking the correct swig_cast_info
37481 * structures together.
37482
37483 * The generated swig_type_info structures are assigned staticly to an initial
37484 * array. We just loop though that array, and handle each type individually.
37485 * First we lookup if this type has been already loaded, and if so, use the
37486 * loaded structure instead of the generated one. Then we have to fill in the
37487 * cast linked list. The cast data is initially stored in something like a
37488 * two-dimensional array. Each row corresponds to a type (there are the same
37489 * number of rows as there are in the swig_type_initial array). Each entry in
37490 * a column is one of the swig_cast_info structures for that type.
37491 * The cast_initial array is actually an array of arrays, because each row has
37492 * a variable number of columns. So to actually build the cast linked list,
37493 * we find the array of casts associated with the type, and loop through it
37494 * adding the casts to the list. The one last trick we need to do is making
37495 * sure the type pointer in the swig_cast_info struct is correct.
37496
37497 * First off, we lookup the cast->type name to see if it is already loaded.
37498 * There are three cases to handle:
37499 * 1) If the cast->type has already been loaded AND the type we are adding
37500 * casting info to has not been loaded (it is in this module), THEN we
37501 * replace the cast->type pointer with the type pointer that has already
37502 * been loaded.
37503 * 2) If BOTH types (the one we are adding casting info to, and the
37504 * cast->type) are loaded, THEN the cast info has already been loaded by
37505 * the previous module so we just ignore it.
37506 * 3) Finally, if cast->type has not already been loaded, then we add that
37507 * swig_cast_info to the linked list (because the cast->type) pointer will
37508 * be correct.
37509 **/
37510
37511 #ifdef __cplusplus
37512 extern "C" {
37513 #if 0
37514 } /* c-mode */
37515 #endif
37516 #endif
37517
37518 #if 0
37519 #define SWIGRUNTIME_DEBUG
37520 #endif
37521
37522 SWIGRUNTIME void
37523 SWIG_InitializeModule(void *clientdata) {
37524 size_t i;
37525 swig_module_info *module_head;
37526 static int init_run = 0;
37527
37528 clientdata = clientdata;
37529
37530 if (init_run) return;
37531 init_run = 1;
37532
37533 /* Initialize the swig_module */
37534 swig_module.type_initial = swig_type_initial;
37535 swig_module.cast_initial = swig_cast_initial;
37536
37537 /* Try and load any already created modules */
37538 module_head = SWIG_GetModule(clientdata);
37539 if (module_head) {
37540 swig_module.next = module_head->next;
37541 module_head->next = &swig_module;
37542 } else {
37543 /* This is the first module loaded */
37544 swig_module.next = &swig_module;
37545 SWIG_SetModule(clientdata, &swig_module);
37546 }
37547
37548 /* Now work on filling in swig_module.types */
37549 #ifdef SWIGRUNTIME_DEBUG
37550 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
37551 #endif
37552 for (i = 0; i < swig_module.size; ++i) {
37553 swig_type_info *type = 0;
37554 swig_type_info *ret;
37555 swig_cast_info *cast;
37556
37557 #ifdef SWIGRUNTIME_DEBUG
37558 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37559 #endif
37560
37561 /* if there is another module already loaded */
37562 if (swig_module.next != &swig_module) {
37563 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
37564 }
37565 if (type) {
37566 /* Overwrite clientdata field */
37567 #ifdef SWIGRUNTIME_DEBUG
37568 printf("SWIG_InitializeModule: found type %s\n", type->name);
37569 #endif
37570 if (swig_module.type_initial[i]->clientdata) {
37571 type->clientdata = swig_module.type_initial[i]->clientdata;
37572 #ifdef SWIGRUNTIME_DEBUG
37573 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
37574 #endif
37575 }
37576 } else {
37577 type = swig_module.type_initial[i];
37578 }
37579
37580 /* Insert casting types */
37581 cast = swig_module.cast_initial[i];
37582 while (cast->type) {
37583 /* Don't need to add information already in the list */
37584 ret = 0;
37585 #ifdef SWIGRUNTIME_DEBUG
37586 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
37587 #endif
37588 if (swig_module.next != &swig_module) {
37589 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
37590 #ifdef SWIGRUNTIME_DEBUG
37591 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
37592 #endif
37593 }
37594 if (ret) {
37595 if (type == swig_module.type_initial[i]) {
37596 #ifdef SWIGRUNTIME_DEBUG
37597 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
37598 #endif
37599 cast->type = ret;
37600 ret = 0;
37601 } else {
37602 /* Check for casting already in the list */
37603 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
37604 #ifdef SWIGRUNTIME_DEBUG
37605 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
37606 #endif
37607 if (!ocast) ret = 0;
37608 }
37609 }
37610
37611 if (!ret) {
37612 #ifdef SWIGRUNTIME_DEBUG
37613 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
37614 #endif
37615 if (type->cast) {
37616 type->cast->prev = cast;
37617 cast->next = type->cast;
37618 }
37619 type->cast = cast;
37620 }
37621 cast++;
37622 }
37623 /* Set entry in modules->types array equal to the type */
37624 swig_module.types[i] = type;
37625 }
37626 swig_module.types[i] = 0;
37627
37628 #ifdef SWIGRUNTIME_DEBUG
37629 printf("**** SWIG_InitializeModule: Cast List ******\n");
37630 for (i = 0; i < swig_module.size; ++i) {
37631 int j = 0;
37632 swig_cast_info *cast = swig_module.cast_initial[i];
37633 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37634 while (cast->type) {
37635 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
37636 cast++;
37637 ++j;
37638 }
37639 printf("---- Total casts: %d\n",j);
37640 }
37641 printf("**** SWIG_InitializeModule: Cast List ******\n");
37642 #endif
37643 }
37644
37645 /* This function will propagate the clientdata field of type to
37646 * any new swig_type_info structures that have been added into the list
37647 * of equivalent types. It is like calling
37648 * SWIG_TypeClientData(type, clientdata) a second time.
37649 */
37650 SWIGRUNTIME void
37651 SWIG_PropagateClientData(void) {
37652 size_t i;
37653 swig_cast_info *equiv;
37654 static int init_run = 0;
37655
37656 if (init_run) return;
37657 init_run = 1;
37658
37659 for (i = 0; i < swig_module.size; i++) {
37660 if (swig_module.types[i]->clientdata) {
37661 equiv = swig_module.types[i]->cast;
37662 while (equiv) {
37663 if (!equiv->converter) {
37664 if (equiv->type && !equiv->type->clientdata)
37665 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
37666 }
37667 equiv = equiv->next;
37668 }
37669 }
37670 }
37671 }
37672
37673 #ifdef __cplusplus
37674 #if 0
37675 {
37676 /* c-mode */
37677 #endif
37678 }
37679 #endif
37680
37681
37682
37683 #ifdef __cplusplus
37684 extern "C" {
37685 #endif
37686
37687 /* Python-specific SWIG API */
37688 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37689 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37690 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37691
37692 /* -----------------------------------------------------------------------------
37693 * global variable support code.
37694 * ----------------------------------------------------------------------------- */
37695
37696 typedef struct swig_globalvar {
37697 char *name; /* Name of global variable */
37698 PyObject *(*get_attr)(void); /* Return the current value */
37699 int (*set_attr)(PyObject *); /* Set the value */
37700 struct swig_globalvar *next;
37701 } swig_globalvar;
37702
37703 typedef struct swig_varlinkobject {
37704 PyObject_HEAD
37705 swig_globalvar *vars;
37706 } swig_varlinkobject;
37707
37708 SWIGINTERN PyObject *
37709 swig_varlink_repr(swig_varlinkobject *v) {
37710 v = v;
37711 return PyString_FromString("<Swig global variables>");
37712 }
37713
37714 SWIGINTERN int
37715 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37716 swig_globalvar *var;
37717 flags = flags;
37718 fprintf(fp,"Swig global variables { ");
37719 for (var = v->vars; var; var=var->next) {
37720 fprintf(fp,"%s", var->name);
37721 if (var->next) fprintf(fp,", ");
37722 }
37723 fprintf(fp," }\n");
37724 return 0;
37725 }
37726
37727 SWIGINTERN PyObject *
37728 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37729 swig_globalvar *var = v->vars;
37730 while (var) {
37731 if (strcmp(var->name,n) == 0) {
37732 return (*var->get_attr)();
37733 }
37734 var = var->next;
37735 }
37736 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37737 return NULL;
37738 }
37739
37740 SWIGINTERN int
37741 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37742 swig_globalvar *var = v->vars;
37743 while (var) {
37744 if (strcmp(var->name,n) == 0) {
37745 return (*var->set_attr)(p);
37746 }
37747 var = var->next;
37748 }
37749 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37750 return 1;
37751 }
37752
37753 SWIGINTERN PyTypeObject*
37754 swig_varlink_type(void) {
37755 static char varlink__doc__[] = "Swig var link object";
37756 static PyTypeObject varlink_type
37757 #if !defined(__cplusplus)
37758 ;
37759 static int type_init = 0;
37760 if (!type_init) {
37761 PyTypeObject tmp
37762 #endif
37763 = {
37764 PyObject_HEAD_INIT(&PyType_Type)
37765 0, /* Number of items in variable part (ob_size) */
37766 (char *)"swigvarlink", /* Type name (tp_name) */
37767 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37768 0, /* Itemsize (tp_itemsize) */
37769 0, /* Deallocator (tp_dealloc) */
37770 (printfunc) swig_varlink_print, /* Print (tp_print) */
37771 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37772 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37773 0, /* tp_compare */
37774 (reprfunc) swig_varlink_repr, /* tp_repr */
37775 0, /* tp_as_number */
37776 0, /* tp_as_sequence */
37777 0, /* tp_as_mapping */
37778 0, /* tp_hash */
37779 0, /* tp_call */
37780 0, /* tp_str */
37781 0, /* tp_getattro */
37782 0, /* tp_setattro */
37783 0, /* tp_as_buffer */
37784 0, /* tp_flags */
37785 varlink__doc__, /* tp_doc */
37786 #if PY_VERSION_HEX >= 0x02000000
37787 0, /* tp_traverse */
37788 0, /* tp_clear */
37789 #endif
37790 #if PY_VERSION_HEX >= 0x02010000
37791 0, /* tp_richcompare */
37792 0, /* tp_weaklistoffset */
37793 #endif
37794 #if PY_VERSION_HEX >= 0x02020000
37795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37796 #endif
37797 #if PY_VERSION_HEX >= 0x02030000
37798 0, /* tp_del */
37799 #endif
37800 #ifdef COUNT_ALLOCS
37801 0,0,0,0 /* tp_alloc -> tp_next */
37802 #endif
37803 };
37804 #if !defined(__cplusplus)
37805 varlink_type = tmp;
37806 type_init = 1;
37807 }
37808 #endif
37809 return &varlink_type;
37810 }
37811
37812 /* Create a variable linking object for use later */
37813 SWIGINTERN PyObject *
37814 SWIG_Python_newvarlink(void) {
37815 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
37816 if (result) {
37817 result->vars = 0;
37818 }
37819 return ((PyObject*) result);
37820 }
37821
37822 SWIGINTERN void
37823 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37824 swig_varlinkobject *v = (swig_varlinkobject *) p;
37825 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37826 if (gv) {
37827 size_t size = strlen(name)+1;
37828 gv->name = (char *)malloc(size);
37829 if (gv->name) {
37830 strncpy(gv->name,name,size);
37831 gv->get_attr = get_attr;
37832 gv->set_attr = set_attr;
37833 gv->next = v->vars;
37834 }
37835 }
37836 v->vars = gv;
37837 }
37838
37839 /* -----------------------------------------------------------------------------
37840 * constants/methods manipulation
37841 * ----------------------------------------------------------------------------- */
37842
37843 /* Install Constants */
37844 SWIGINTERN void
37845 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37846 PyObject *obj = 0;
37847 size_t i;
37848 for (i = 0; constants[i].type; ++i) {
37849 switch(constants[i].type) {
37850 case SWIG_PY_INT:
37851 obj = PyInt_FromLong(constants[i].lvalue);
37852 break;
37853 case SWIG_PY_FLOAT:
37854 obj = PyFloat_FromDouble(constants[i].dvalue);
37855 break;
37856 case SWIG_PY_STRING:
37857 if (constants[i].pvalue) {
37858 obj = PyString_FromString((char *) constants[i].pvalue);
37859 } else {
37860 Py_INCREF(Py_None);
37861 obj = Py_None;
37862 }
37863 break;
37864 case SWIG_PY_POINTER:
37865 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37866 break;
37867 case SWIG_PY_BINARY:
37868 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37869 break;
37870 default:
37871 obj = 0;
37872 break;
37873 }
37874 if (obj) {
37875 PyDict_SetItemString(d,constants[i].name,obj);
37876 Py_DECREF(obj);
37877 }
37878 }
37879 }
37880
37881 /* -----------------------------------------------------------------------------*/
37882 /* Fix SwigMethods to carry the callback ptrs when needed */
37883 /* -----------------------------------------------------------------------------*/
37884
37885 SWIGINTERN void
37886 SWIG_Python_FixMethods(PyMethodDef *methods,
37887 swig_const_info *const_table,
37888 swig_type_info **types,
37889 swig_type_info **types_initial) {
37890 size_t i;
37891 for (i = 0; methods[i].ml_name; ++i) {
37892 char *c = methods[i].ml_doc;
37893 if (c && (c = strstr(c, "swig_ptr: "))) {
37894 int j;
37895 swig_const_info *ci = 0;
37896 char *name = c + 10;
37897 for (j = 0; const_table[j].type; ++j) {
37898 if (strncmp(const_table[j].name, name,
37899 strlen(const_table[j].name)) == 0) {
37900 ci = &(const_table[j]);
37901 break;
37902 }
37903 }
37904 if (ci) {
37905 size_t shift = (ci->ptype) - types;
37906 swig_type_info *ty = types_initial[shift];
37907 size_t ldoc = (c - methods[i].ml_doc);
37908 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37909 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37910 if (ndoc) {
37911 char *buff = ndoc;
37912 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
37913 if (ptr) {
37914 strncpy(buff, methods[i].ml_doc, ldoc);
37915 buff += ldoc;
37916 strncpy(buff, "swig_ptr: ", 10);
37917 buff += 10;
37918 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37919 methods[i].ml_doc = ndoc;
37920 }
37921 }
37922 }
37923 }
37924 }
37925 }
37926
37927 /* -----------------------------------------------------------------------------*
37928 * Initialize type list
37929 * -----------------------------------------------------------------------------*/
37930
37931 #ifdef __cplusplus
37932 }
37933 #endif
37934
37935 /* -----------------------------------------------------------------------------*
37936 * Partial Init method
37937 * -----------------------------------------------------------------------------*/
37938
37939 #ifdef __cplusplus
37940 extern "C"
37941 #endif
37942 SWIGEXPORT void SWIG_init(void) {
37943 static PyObject *SWIG_globals = 0;
37944 PyObject *m, *d;
37945 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37946
37947 /* Fix SwigMethods to carry the callback ptrs when needed */
37948 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
37949
37950 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37951 d = PyModule_GetDict(m);
37952
37953 SWIG_InitializeModule(0);
37954 SWIG_InstallConstants(d,swig_const_table);
37955
37956 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37957 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37958 {
37959 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
37960 }
37961 {
37962 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
37963 }
37964 {
37965 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
37966 }
37967 {
37968 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
37969 }
37970 {
37971 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
37972 }
37973 {
37974 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
37978 }
37979 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37980 {
37981 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
37982 }
37983 {
37984 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
37985 }
37986 {
37987 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37988 }
37989 {
37990 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
37991 }
37992 {
37993 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
37994 }
37995 {
37996 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
37997 }
37998 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37999 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
38000 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
38001 {
38002 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
38003 }
38004 {
38005 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
38006 }
38007 {
38008 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
38009 }
38010 {
38011 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
38012 }
38013 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
38014 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
38015 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
38016 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
38017 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
38018 {
38019 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
38020 }
38021 {
38022 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
38023 }
38024 {
38025 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
38026 }
38027 {
38028 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
38029 }
38030 {
38031 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
38032 }
38033 {
38034 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
38035 }
38036 {
38037 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
38038 }
38039 {
38040 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
38041 }
38042 {
38043 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
38056 }
38057 {
38058 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
38059 }
38060 {
38061 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
38062 }
38063 {
38064 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
38065 }
38066 {
38067 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
38068 }
38069 {
38070 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
38071 }
38072 {
38073 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
38074 }
38075 {
38076 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
38077 }
38078 {
38079 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
38080 }
38081 {
38082 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
38083 }
38084 {
38085 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
38086 }
38087 {
38088 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
38089 }
38090 {
38091 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
38092 }
38093 {
38094 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
38095 }
38096 {
38097 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
38098 }
38099 {
38100 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
38101 }
38102 {
38103 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
38104 }
38105 {
38106 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
38107 }
38108 {
38109 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
38110 }
38111 {
38112 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
38113 }
38114 {
38115 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
38116 }
38117 {
38118 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
38119 }
38120 {
38121 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
38122 }
38123 {
38124 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
38125 }
38126 {
38127 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
38128 }
38129 {
38130 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
38131 }
38132 {
38133 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
38134 }
38135 {
38136 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
38137 }
38138 {
38139 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
38140 }
38141 {
38142 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
38143 }
38144 {
38145 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
38146 }
38147 {
38148 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
38149 }
38150 {
38151 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
38152 }
38153 {
38154 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
38155 }
38156 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
38157 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
38158 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
38159 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
38160 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
38161 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
38162 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
38163 {
38164 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
38165 }
38166 {
38167 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
38168 }
38169 {
38170 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
38171 }
38172 {
38173 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
38174 }
38175 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
38176 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
38177 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
38178 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
38179 {
38180 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
38181 }
38182 {
38183 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
38184 }
38185 {
38186 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
38187 }
38188 {
38189 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
38190 }
38191 {
38192 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
38193 }
38194 {
38195 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
38196 }
38197 {
38198 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
38199 }
38200 {
38201 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
38202 }
38203 {
38204 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
38205 }
38206 {
38207 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
38208 }
38209 {
38210 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
38211 }
38212 {
38213 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
38214 }
38215 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
38216 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
38217 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
38218 {
38219 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
38220 }
38221 {
38222 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
38223 }
38224 {
38225 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
38226 }
38227 {
38228 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
38229 }
38230 {
38231 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
38232 }
38233 {
38234 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
38235 }
38236 {
38237 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
38238 }
38239 {
38240 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
38241 }
38242 {
38243 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
38244 }
38245 {
38246 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
38247 }
38248 {
38249 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
38250 }
38251 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
38252 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
38253 {
38254 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
38255 }
38256 {
38257 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
38258 }
38259 {
38260 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
38261 }
38262 {
38263 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
38264 }
38265 {
38266 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
38267 }
38268 {
38269 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
38270 }
38271 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
38272 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
38273 {
38274 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
38275 }
38276 {
38277 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
38278 }
38279 {
38280 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
38281 }
38282 {
38283 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
38284 }
38285 {
38286 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
38287 }
38288 {
38289 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
38290 }
38291 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
38292 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
38293 {
38294 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
38295 }
38296 {
38297 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
38298 }
38299 {
38300 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
38301 }
38302 {
38303 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
38304 }
38305 {
38306 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
38307 }
38308 {
38309 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
38310 }
38311 {
38312 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
38313 }
38314 {
38315 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
38316 }
38317 {
38318 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
38319 }
38320 {
38321 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
38322 }
38323 {
38324 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
38325 }
38326 {
38327 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
38328 }
38329 {
38330 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
38331 }
38332 {
38333 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
38334 }
38335 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
38336 {
38337 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
38338 }
38339 {
38340 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
38341 }
38342 {
38343 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
38344 }
38345 {
38346 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
38347 }
38348 {
38349 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
38350 }
38351 {
38352 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
38353 }
38354 {
38355 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
38356 }
38357 {
38358 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
38359 }
38360 {
38361 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
38362 }
38363 {
38364 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
38365 }
38366 {
38367 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
38368 }
38369 {
38370 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
38371 }
38372 {
38373 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
38374 }
38375 {
38376 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
38377 }
38378 {
38379 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
38380 }
38381 {
38382 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
38383 }
38384 {
38385 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
38386 }
38387 {
38388 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
38389 }
38390 {
38391 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
38392 }
38393 {
38394 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
38395 }
38396 {
38397 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
38398 }
38399 {
38400 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
38401 }
38402 {
38403 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
38404 }
38405 {
38406 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
38407 }
38408 {
38409 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
38410 }
38411 {
38412 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
38413 }
38414 {
38415 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
38416 }
38417 {
38418 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
38419 }
38420 {
38421 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
38422 }
38423 {
38424 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
38425 }
38426 {
38427 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
38428 }
38429 {
38430 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
38431 }
38432 {
38433 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
38434 }
38435 {
38436 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
38437 }
38438 {
38439 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
38440 }
38441 {
38442 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
38443 }
38444 {
38445 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
38446 }
38447 {
38448 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
38449 }
38450 {
38451 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
38452 }
38453 {
38454 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
38455 }
38456 {
38457 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
38458 }
38459 {
38460 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
38461 }
38462 {
38463 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
38464 }
38465 {
38466 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
38467 }
38468 {
38469 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
38470 }
38471 {
38472 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
38473 }
38474 {
38475 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
38476 }
38477 {
38478 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
38479 }
38480 {
38481 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
38482 }
38483 {
38484 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
38485 }
38486 {
38487 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
38488 }
38489 {
38490 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
38491 }
38492 {
38493 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
38494 }
38495 {
38496 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
38497 }
38498 {
38499 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
38500 }
38501 {
38502 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
38503 }
38504 {
38505 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
38506 }
38507 {
38508 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
38509 }
38510 {
38511 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
38512 }
38513 {
38514 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
38515 }
38516 {
38517 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
38518 }
38519 {
38520 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
38521 }
38522 {
38523 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
38524 }
38525 {
38526 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
38527 }
38528 {
38529 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
38530 }
38531 {
38532 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
38533 }
38534 {
38535 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
38536 }
38537 {
38538 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
38539 }
38540 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38541 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38542 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38543 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38544 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38545 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
38546 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38547 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38548 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38549 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38550 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38551 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38552 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38553 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38554 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38555 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38556 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38557 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38558 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38559 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
38560
38561 // Map renamed classes back to their common name for OOR
38562 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38563
38564 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
38565 {
38566 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
38567 }
38568 {
38569 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
38570 }
38571 {
38572 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
38573 }
38574 {
38575 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
38576 }
38577 {
38578 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
38579 }
38580 {
38581 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
38582 }
38583 {
38584 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
38585 }
38586 {
38587 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38588 }
38589 {
38590 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
38591 }
38592 {
38593 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
38594 }
38595 {
38596 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
38597 }
38598 {
38599 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
38600 }
38601 {
38602 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
38603 }
38604 {
38605 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
38606 }
38607 {
38608 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
38609 }
38610 {
38611 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
38612 }
38613 {
38614 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
38615 }
38616 {
38617 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
38618 }
38619 {
38620 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
38621 }
38622 {
38623 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
38624 }
38625 {
38626 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
38627 }
38628 {
38629 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
38630 }
38631 {
38632 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
38633 }
38634 {
38635 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
38636 }
38637 {
38638 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
38639 }
38640 {
38641 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
38642 }
38643 {
38644 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
38645 }
38646 {
38647 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
38648 }
38649 {
38650 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
38651 }
38652 {
38653 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
38654 }
38655 {
38656 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
38657 }
38658 {
38659 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
38660 }
38661 {
38662 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
38663 }
38664 {
38665 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
38666 }
38667 {
38668 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
38669 }
38670 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38671 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38672 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38673 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38674 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38675 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38676 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38677 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38678 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38679 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38680 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38681 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38682 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38683 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38684 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38685 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38686 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38687 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38688 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38689 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38690 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38691
38692 // Map renamed classes back to their common name for OOR
38693 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38694 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38695
38696 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38697 {
38698 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
38699 }
38700 {
38701 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
38702 }
38703 {
38704 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
38705 }
38706 {
38707 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
38708 }
38709 {
38710 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
38711 }
38712 {
38713 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
38714 }
38715 {
38716 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
38717 }
38718 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38719 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38720
38721 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38722
38723 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38724 {
38725 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
38726 }
38727 {
38728 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
38729 }
38730 {
38731 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
38732 }
38733 {
38734 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
38735 }
38736 {
38737 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
38738 }
38739 }
38740