]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
[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 #define SWIG_VERSION 0x010327
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
36
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # else
42 # define SWIGTEMPLATEDISAMBIGUATOR
43 # endif
44 #endif
45
46 /* inline attribute */
47 #ifndef SWIGINLINE
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
50 # else
51 # define SWIGINLINE
52 # endif
53 #endif
54
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 #ifndef SWIGUNUSED
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
59 # else
60 # define SWIGUNUSED
61 # endif
62 #endif
63
64 /* internal SWIG method */
65 #ifndef SWIGINTERN
66 # define SWIGINTERN static SWIGUNUSED
67 #endif
68
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72 #endif
73
74 /* exporting methods for Windows DLLs */
75 #ifndef SWIGEXPORT
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
78 # define SWIGEXPORT
79 # else
80 # define SWIGEXPORT __declspec(dllexport)
81 # endif
82 # else
83 # define SWIGEXPORT
84 # endif
85 #endif
86
87 /* calling conventions for Windows */
88 #ifndef SWIGSTDCALL
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
91 # else
92 # define SWIGSTDCALL
93 # endif
94 #endif
95
96
97
98 #include <Python.h>
99
100 /***********************************************************************
101 * swigrun.swg
102 *
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
105 *
106 ************************************************************************/
107
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
111
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 #else
118 # define SWIG_TYPE_TABLE_NAME
119 #endif
120
121 /*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128 */
129
130 #ifndef SWIGRUNTIME
131 # define SWIGRUNTIME SWIGINTERN
132 #endif
133
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
136 #endif
137
138 #include <string.h>
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 typedef void *(*swig_converter_func)(void *);
145 typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info {
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
154 } swig_type_info;
155
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162 } swig_cast_info;
163
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174 } swig_module_info;
175
176
177 /*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183 */
184 SWIGRUNTIME int
185 SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
190 if (*f1 != *f2) return (int)(*f1 - *f2);
191 }
192 return (l1 - f1) - (l2 - f2);
193 }
194
195 /*
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
198 */
199 SWIGRUNTIME int
200 SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
209 if (*ne) ++ne;
210 }
211 return equiv;
212 }
213
214 /*
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
217 */
218 SWIGRUNTIME int
219 SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
226 }
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
229 }
230 return equiv;
231 }
232
233
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
256 /*
257 Check the typename
258 */
259 SWIGRUNTIME swig_cast_info *
260 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262 }
263
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info *
266 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
268 }
269
270 /*
271 Cast a pointer up an inheritance hierarchy
272 */
273 SWIGRUNTIMEINLINE void *
274 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276 }
277
278 /*
279 Dynamic pointer casting. Down an inheritance hierarchy
280 */
281 SWIGRUNTIME swig_type_info *
282 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290 }
291
292 /*
293 Return the name associated with this type
294 */
295 SWIGRUNTIMEINLINE const char *
296 SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298 }
299
300 /*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303 */
304 SWIGRUNTIME const char *
305 SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319 }
320
321 /*
322 Set the clientdata field for a type
323 */
324 SWIGRUNTIME void
325 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
335 }
336 }
337 cast = cast->next;
338 }
339 }
340
341 /*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348 */
349 SWIGRUNTIME swig_type_info *
350 SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
379 }
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383 }
384
385 /*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393 */
394 SWIGRUNTIME swig_type_info *
395 SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
414 }
415
416 /* neither found a match */
417 return 0;
418 }
419
420
421 /*
422 Pack binary data into a string
423 */
424 SWIGRUNTIME char *
425 SWIG_PackData(char *c, void *ptr, size_t sz) {
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
429 for (; u != eu; ++u) {
430 register unsigned char uu = *u;
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435 }
436
437 /*
438 Unpack binary data from a string
439 */
440 SWIGRUNTIME const char *
441 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
443 register const unsigned char *eu = u + sz;
444 for (; u != eu; ++u) {
445 register char d = *(c++);
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463 }
464
465 /*
466 Pack 'void *' into a string buffer.
467 */
468 SWIGRUNTIME char *
469 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477 }
478
479 SWIGRUNTIME const char *
480 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490 }
491
492 SWIGRUNTIME char *
493 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505 }
506
507 SWIGRUNTIME const char *
508 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518 }
519
520 #ifdef __cplusplus
521 }
522 #endif
523
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528 #ifdef __cplusplus
529 extern "C" {
530 #endif
531
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536 #ifndef SWIGINTERN
537 # define SWIGINTERN static SWIGUNUSED
538 #endif
539
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
542 #endif
543
544 /*
545 Exception handling in wrappers
546 */
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554 /*
555 Contract support
556 */
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
563
564 /* Constant Types */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
570
571 /* Constant information structure */
572 typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579 } swig_const_info;
580
581
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589 #ifdef __cplusplus
590 }
591 #endif
592
593
594 /***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
603
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
608
609
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
613
614 /* Runtime API */
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621 /*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625 */
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
628 #endif
629
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
633
634
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
638 #endif
639
640 #ifdef __cplusplus
641 extern "C" {
642 #endif
643
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
649 #endif
650
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
653 static PyObject *
654 PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662 }
663 #endif
664
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
667 #endif
668
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
674
675 typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679 } PySwigObject;
680
681 /* Declarations for objects of type PySwigObject */
682
683 SWIGRUNTIME int
684 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685 {
686 char result[SWIG_BUFFER_SIZE];
687 flags = flags;
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
693 }
694 }
695
696 SWIGRUNTIME PyObject *
697 PySwigObject_repr(PySwigObject *v)
698 {
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
702 }
703
704 SWIGRUNTIME PyObject *
705 PySwigObject_str(PySwigObject *v)
706 {
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710 }
711
712 SWIGRUNTIME PyObject *
713 PySwigObject_long(PySwigObject *v)
714 {
715 return PyLong_FromVoidPtr(v->ptr);
716 }
717
718 SWIGRUNTIME PyObject *
719 PySwigObject_format(const char* fmt, PySwigObject *v)
720 {
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
732 }
733
734 SWIGRUNTIME PyObject *
735 PySwigObject_oct(PySwigObject *v)
736 {
737 return PySwigObject_format("%o",v);
738 }
739
740 SWIGRUNTIME PyObject *
741 PySwigObject_hex(PySwigObject *v)
742 {
743 return PySwigObject_format("%x",v);
744 }
745
746 SWIGRUNTIME int
747 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748 {
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
751 return (c > 0) ? 1 : -1;
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
756 }
757 }
758
759 SWIGRUNTIME void
760 PySwigObject_dealloc(PySwigObject *self)
761 {
762 PyObject_Del(self);
763 }
764
765 SWIGRUNTIME PyTypeObject*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
798 #endif
799 };
800
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
805 if (!type_init) {
806 PyTypeObject tmp
807 #endif
808 = {
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833 #endif
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837 #endif
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #endif
841 #if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843 #endif
844 #ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846 #endif
847 };
848 #if !defined(__cplusplus)
849 pyswigobject_type = tmp;
850 type_init = 1;
851 }
852 #endif
853 return &pyswigobject_type;
854 }
855
856 SWIGRUNTIME PyObject *
857 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858 {
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
864 return (PyObject *)self;
865 }
866
867 SWIGRUNTIMEINLINE void *
868 PySwigObject_AsVoidPtr(PyObject *self)
869 {
870 return ((PySwigObject *)self)->ptr;
871 }
872
873 SWIGRUNTIMEINLINE const char *
874 PySwigObject_GetDesc(PyObject *self)
875 {
876 return ((PySwigObject *)self)->desc;
877 }
878
879 SWIGRUNTIMEINLINE int
880 PySwigObject_Check(PyObject *op) {
881 return ((op)->ob_type == PySwigObject_type())
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883 }
884
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889 typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894 } PySwigPacked;
895
896 SWIGRUNTIME int
897 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898 {
899 char result[SWIG_BUFFER_SIZE];
900 flags = flags;
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909 }
910
911 SWIGRUNTIME PyObject *
912 PySwigPacked_repr(PySwigPacked *v)
913 {
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920 }
921
922 SWIGRUNTIME PyObject *
923 PySwigPacked_str(PySwigPacked *v)
924 {
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
929 return PyString_FromString(v->desc);
930 }
931 }
932
933 SWIGRUNTIME int
934 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935 {
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
938 return (c > 0) ? 1 : -1;
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945 }
946
947 SWIGRUNTIME void
948 PySwigPacked_dealloc(PySwigPacked *self)
949 {
950 free(self->pack);
951 PyObject_Del(self);
952 }
953
954 SWIGRUNTIME PyTypeObject*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
962 if (!type_init) {
963 PyTypeObject tmp
964 #endif
965 = {
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990 #endif
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994 #endif
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #endif
998 #if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000 #endif
1001 #ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003 #endif
1004 };
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
1007 type_init = 1;
1008 }
1009 #endif
1010 return &pyswigpacked_type;
1011 }
1012
1013 SWIGRUNTIME PyObject *
1014 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015 {
1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
1029 }
1030 }
1031
1032 SWIGRUNTIMEINLINE const char *
1033 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034 {
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039 }
1040
1041 SWIGRUNTIMEINLINE const char *
1042 PySwigPacked_GetDesc(PyObject *self)
1043 {
1044 return ((PySwigPacked *)self)->desc;
1045 }
1046
1047 SWIGRUNTIMEINLINE int
1048 PySwigPacked_Check(PyObject *op) {
1049 return ((op)->ob_type == PySwigPacked_type())
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051 }
1052
1053 #else
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063 #endif
1064
1065 #endif
1066
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071 SWIGRUNTIME void
1072 SWIG_Python_TypeError(const char *type, PyObject *obj)
1073 {
1074 if (type) {
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj && PySwigObject_Check(obj)) {
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084 #endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
1097 Py_XDECREF(str);
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105 }
1106
1107 SWIGRUNTIMEINLINE void
1108 SWIG_Python_NullRef(const char *type)
1109 {
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115 }
1116
1117 SWIGRUNTIME int
1118 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119 {
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140 }
1141
1142 SWIGRUNTIME int
1143 SWIG_Python_ArgFail(int argnum)
1144 {
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153 }
1154
1155
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160 /* Convert a pointer value */
1161 SWIGRUNTIME int
1162 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1163 swig_cast_info *tc;
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193 #else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
1206 c = PyString_AsString(obj);
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211 #endif
1212
1213 type_check:
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226 type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249 }
1250
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIGRUNTIME void *
1253 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263 }
1264
1265 /* Convert a packed value value */
1266 SWIGRUNTIME int
1267 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1268 swig_cast_info *tc;
1269 const char *c = 0;
1270
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273 #else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1275 c = PyString_AsString(obj);
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278 #endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286 type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296 }
1297
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject *
1300 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314 #else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320 #endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336 }
1337
1338 SWIGRUNTIME PyObject *
1339 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347 #else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353 #endif
1354 return robj;
1355 }
1356
1357 /* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1363 #endif
1364
1365 SWIGRUNTIME swig_module_info *
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372 #else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
1379 #endif
1380 }
1381 return (swig_module_info *) type_pointer;
1382 }
1383
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 SWIGINTERN int
1388 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389 {
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
1413 }
1414 #endif
1415
1416 SWIGRUNTIME void
1417 SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426 }
1427
1428 #ifdef __cplusplus
1429 }
1430 #endif
1431
1432
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1434
1435 #define SWIGTYPE_p_bool swig_types[0]
1436 #define SWIGTYPE_p_char swig_types[1]
1437 #define SWIGTYPE_p_form_ops_t swig_types[2]
1438 #define SWIGTYPE_p_int swig_types[3]
1439 #define SWIGTYPE_p_long swig_types[4]
1440 #define SWIGTYPE_p_unsigned_char swig_types[5]
1441 #define SWIGTYPE_p_unsigned_int swig_types[6]
1442 #define SWIGTYPE_p_unsigned_long swig_types[7]
1443 #define SWIGTYPE_p_void swig_types[8]
1444 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1445 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1446 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1447 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1448 #define SWIGTYPE_p_wxArrayString swig_types[13]
1449 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1450 #define SWIGTYPE_p_wxBitmap swig_types[15]
1451 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1452 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1453 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1454 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1455 #define SWIGTYPE_p_wxButton swig_types[20]
1456 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1457 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1458 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1459 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1460 #define SWIGTYPE_p_wxChoice swig_types[25]
1461 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1462 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1463 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1464 #define SWIGTYPE_p_wxColour swig_types[29]
1465 #define SWIGTYPE_p_wxComboBox swig_types[30]
1466 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1467 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1468 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1469 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1470 #define SWIGTYPE_p_wxControl swig_types[35]
1471 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1472 #define SWIGTYPE_p_wxCursor swig_types[37]
1473 #define SWIGTYPE_p_wxDC swig_types[38]
1474 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1475 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1476 #define SWIGTYPE_p_wxDateTime swig_types[41]
1477 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1478 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1479 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1480 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1481 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1482 #define SWIGTYPE_p_wxEvent swig_types[47]
1483 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1484 #define SWIGTYPE_p_wxFSFile swig_types[49]
1485 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1486 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1487 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1488 #define SWIGTYPE_p_wxFont swig_types[53]
1489 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1490 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1491 #define SWIGTYPE_p_wxGauge swig_types[56]
1492 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1493 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1494 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1495 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1496 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1497 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1498 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1499 #define SWIGTYPE_p_wxIcon swig_types[64]
1500 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1501 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1502 #define SWIGTYPE_p_wxImage swig_types[67]
1503 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1504 #define SWIGTYPE_p_wxImageList swig_types[69]
1505 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1506 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1507 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1508 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1510 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1511 #define SWIGTYPE_p_wxListBox swig_types[76]
1512 #define SWIGTYPE_p_wxListEvent swig_types[77]
1513 #define SWIGTYPE_p_wxListItem swig_types[78]
1514 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1515 #define SWIGTYPE_p_wxListView swig_types[80]
1516 #define SWIGTYPE_p_wxListbook swig_types[81]
1517 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1518 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1519 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1520 #define SWIGTYPE_p_wxMenu swig_types[85]
1521 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1522 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1523 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1524 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1525 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1526 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1527 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1528 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1529 #define SWIGTYPE_p_wxNotebook swig_types[94]
1530 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1531 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1532 #define SWIGTYPE_p_wxObject swig_types[97]
1533 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1534 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1535 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1536 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1537 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1538 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1539 #define SWIGTYPE_p_wxPoint swig_types[104]
1540 #define SWIGTYPE_p_wxPyApp swig_types[105]
1541 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1542 #define SWIGTYPE_p_wxPyControl swig_types[107]
1543 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1544 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1545 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1546 #define SWIGTYPE_p_wxPySizer swig_types[111]
1547 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1548 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1549 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1550 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1551 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1552 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1553 #define SWIGTYPE_p_wxRect swig_types[118]
1554 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1555 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1556 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1557 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1558 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1559 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1560 #define SWIGTYPE_p_wxSize swig_types[125]
1561 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1562 #define SWIGTYPE_p_wxSizer swig_types[127]
1563 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1564 #define SWIGTYPE_p_wxSlider swig_types[129]
1565 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1566 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1567 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1568 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1569 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1570 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1572 #define SWIGTYPE_p_wxStaticText swig_types[137]
1573 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1574 #define SWIGTYPE_p_wxString swig_types[139]
1575 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1576 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1577 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1578 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1579 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1580 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1581 #define SWIGTYPE_p_wxToolBar swig_types[146]
1582 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1583 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1584 #define SWIGTYPE_p_wxToolbook swig_types[149]
1585 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1586 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1587 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
1588 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
1589 #define SWIGTYPE_p_wxTreebook swig_types[154]
1590 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1591 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1592 #define SWIGTYPE_p_wxValidator swig_types[157]
1593 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1594 #define SWIGTYPE_p_wxWindow swig_types[159]
1595 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1596 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1597 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
1598 #define SWIGTYPE_ptrdiff_t swig_types[163]
1599 #define SWIGTYPE_std__ptrdiff_t swig_types[164]
1600 #define SWIGTYPE_unsigned_int swig_types[165]
1601 static swig_type_info *swig_types[167];
1602 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
1603 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1604 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1605
1606 /* -------- TYPES TABLE (END) -------- */
1607
1608
1609 /*-----------------------------------------------
1610 @(target):= _controls_.so
1611 ------------------------------------------------*/
1612 #define SWIG_init init_controls_
1613
1614 #define SWIG_name "_controls_"
1615
1616 #include "wx/wxPython/wxPython.h"
1617 #include "wx/wxPython/pyclasses.h"
1618
1619 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1620 static const wxString wxPyEmptyString(wxEmptyString);
1621 static const wxString wxPyControlNameStr(wxControlNameStr);
1622
1623 const wxArrayString wxPyEmptyStringArray;
1624
1625 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1626
1627 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1628 #define SWIG_From_int PyInt_FromLong
1629 /*@@*/
1630
1631
1632 #include <limits.h>
1633
1634
1635 SWIGINTERN int
1636 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1637 const char *errmsg)
1638 {
1639 if (value < min_value) {
1640 if (errmsg) {
1641 PyErr_Format(PyExc_OverflowError,
1642 "value %ld is less than '%s' minimum %ld",
1643 value, errmsg, min_value);
1644 }
1645 return 0;
1646 } else if (value > max_value) {
1647 if (errmsg) {
1648 PyErr_Format(PyExc_OverflowError,
1649 "value %ld is greater than '%s' maximum %ld",
1650 value, errmsg, max_value);
1651 }
1652 return 0;
1653 }
1654 return 1;
1655 }
1656
1657
1658 SWIGINTERN int
1659 SWIG_AsVal_long(PyObject* obj, long* val)
1660 {
1661 if (PyNumber_Check(obj)) {
1662 if (val) *val = PyInt_AsLong(obj);
1663 return 1;
1664 }
1665 else {
1666 SWIG_Python_TypeError("number", obj);
1667 }
1668 return 0;
1669 }
1670
1671
1672 #if INT_MAX != LONG_MAX
1673 SWIGINTERN int
1674 SWIG_AsVal_int(PyObject *obj, int *val)
1675 {
1676 const char* errmsg = val ? "int" : (char*)0;
1677 long v;
1678 if (SWIG_AsVal_long(obj, &v)) {
1679 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1680 if (val) *val = static_cast<int >(v);
1681 return 1;
1682 } else {
1683 return 0;
1684 }
1685 } else {
1686 PyErr_Clear();
1687 }
1688 if (val) {
1689 SWIG_type_error(errmsg, obj);
1690 }
1691 return 0;
1692 }
1693 #else
1694 SWIGINTERNINLINE int
1695 SWIG_AsVal_int(PyObject *obj, int *val)
1696 {
1697 return SWIG_AsVal_long(obj,(long*)val);
1698 }
1699 #endif
1700
1701
1702 SWIGINTERNINLINE int
1703 SWIG_As_int(PyObject* obj)
1704 {
1705 int v;
1706 if (!SWIG_AsVal_int(obj, &v)) {
1707 /*
1708 this is needed to make valgrind/purify happier.
1709 */
1710 memset((void*)&v, 0, sizeof(int));
1711 }
1712 return v;
1713 }
1714
1715
1716 SWIGINTERNINLINE long
1717 SWIG_As_long(PyObject* obj)
1718 {
1719 long v;
1720 if (!SWIG_AsVal_long(obj, &v)) {
1721 /*
1722 this is needed to make valgrind/purify happier.
1723 */
1724 memset((void*)&v, 0, sizeof(long));
1725 }
1726 return v;
1727 }
1728
1729
1730 SWIGINTERNINLINE int
1731 SWIG_Check_int(PyObject* obj)
1732 {
1733 return SWIG_AsVal_int(obj, (int*)0);
1734 }
1735
1736
1737 SWIGINTERNINLINE int
1738 SWIG_Check_long(PyObject* obj)
1739 {
1740 return SWIG_AsVal_long(obj, (long*)0);
1741 }
1742
1743 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1744
1745 SWIGINTERN int
1746 SWIG_AsVal_bool(PyObject *obj, bool *val)
1747 {
1748 if (obj == Py_True) {
1749 if (val) *val = true;
1750 return 1;
1751 }
1752 if (obj == Py_False) {
1753 if (val) *val = false;
1754 return 1;
1755 }
1756 int res = 0;
1757 if (SWIG_AsVal_int(obj, &res)) {
1758 if (val) *val = res ? true : false;
1759 return 1;
1760 } else {
1761 PyErr_Clear();
1762 }
1763 if (val) {
1764 SWIG_type_error("bool", obj);
1765 }
1766 return 0;
1767 }
1768
1769
1770 SWIGINTERNINLINE bool
1771 SWIG_As_bool(PyObject* obj)
1772 {
1773 bool v;
1774 if (!SWIG_AsVal_bool(obj, &v)) {
1775 /*
1776 this is needed to make valgrind/purify happier.
1777 */
1778 memset((void*)&v, 0, sizeof(bool));
1779 }
1780 return v;
1781 }
1782
1783
1784 SWIGINTERNINLINE int
1785 SWIG_Check_bool(PyObject* obj)
1786 {
1787 return SWIG_AsVal_bool(obj, (bool*)0);
1788 }
1789
1790 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1791 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1792
1793 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1794 #define SWIG_From_long PyInt_FromLong
1795 /*@@*/
1796
1797 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1798 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1799 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1800 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1801
1802 #include <wx/checklst.h>
1803
1804
1805 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1806 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1807 if (clientData) {
1808 wxPyClientData* data = new wxPyClientData(clientData);
1809 self->Insert(item, pos, data);
1810 } else
1811 self->Insert(item, pos);
1812 }
1813 static PyObject *wxListBox_GetSelections(wxListBox *self){
1814 wxArrayInt lst;
1815 self->GetSelections(lst);
1816 PyObject *tup = PyTuple_New(lst.GetCount());
1817 for(size_t i=0; i<lst.GetCount(); i++) {
1818 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1819 }
1820 return tup;
1821 }
1822 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1823 #ifdef __WXMSW__
1824 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1825 self->GetItem(item)->SetTextColour(c);
1826 #endif
1827 }
1828 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1829 #ifdef __WXMSW__
1830 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1831 self->GetItem(item)->SetBackgroundColour(c);
1832 #endif
1833 }
1834 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1835 #ifdef __WXMSW__
1836 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1837 self->GetItem(item)->SetFont(f);
1838 #endif
1839 }
1840 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1841
1842 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1843 {
1844 PyObject* o2;
1845 PyObject* o3;
1846 if (!result) {
1847 result = obj;
1848 } else if (result == Py_None) {
1849 Py_DECREF(result);
1850 result = obj;
1851 } else {
1852 if (!PyTuple_Check(result)) {
1853 o2 = result;
1854 result = PyTuple_New(1);
1855 PyTuple_SET_ITEM(result, 0, o2);
1856 }
1857 o3 = PyTuple_New(1);
1858 PyTuple_SetItem(o3, 0, obj);
1859 o2 = result;
1860 result = PySequence_Concat(o2, o3);
1861 Py_DECREF(o2);
1862 Py_DECREF(o3);
1863 }
1864 return result;
1865 }
1866
1867
1868
1869 SWIGINTERN int
1870 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1871 {
1872 long v = 0;
1873 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1874 SWIG_Python_TypeError("unsigned number", obj);
1875 }
1876 else if (val)
1877 *val = (unsigned long)v;
1878 return 1;
1879 }
1880
1881
1882 SWIGINTERNINLINE unsigned long
1883 SWIG_As_unsigned_SS_long(PyObject* obj)
1884 {
1885 unsigned long v;
1886 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1887 /*
1888 this is needed to make valgrind/purify happier.
1889 */
1890 memset((void*)&v, 0, sizeof(unsigned long));
1891 }
1892 return v;
1893 }
1894
1895
1896 SWIGINTERNINLINE int
1897 SWIG_Check_unsigned_SS_long(PyObject* obj)
1898 {
1899 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1900 }
1901
1902 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1903 self->AppendText(text);
1904 }
1905 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1906 return self->GetValue().Mid(from, to - from);
1907 }
1908 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1909 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1910 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1911 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1912 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1913
1914 #include <wx/slider.h>
1915
1916
1917 static const wxString wxPySliderNameStr(wxSliderNameStr);
1918 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1919
1920 #if !wxUSE_TOGGLEBTN
1921 // implement dummy items for platforms that don't have this class
1922
1923 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1924
1925 class wxToggleButton : public wxControl
1926 {
1927 public:
1928 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1929 const wxPoint&, const wxSize&, long,
1930 const wxValidator&, const wxString&)
1931 { wxPyRaiseNotImplemented(); }
1932
1933 wxToggleButton()
1934 { wxPyRaiseNotImplemented(); }
1935 };
1936 #endif
1937
1938 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1939
1940 SWIGINTERNINLINE PyObject*
1941 SWIG_From_unsigned_SS_long(unsigned long value)
1942 {
1943 return (value > LONG_MAX) ?
1944 PyLong_FromUnsignedLong(value)
1945 : PyInt_FromLong(static_cast<long >(value));
1946 }
1947
1948
1949 #if UINT_MAX < LONG_MAX
1950 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1951 #define SWIG_From_unsigned_SS_int SWIG_From_long
1952 /*@@*/
1953 #else
1954 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1955 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1956 /*@@*/
1957 #endif
1958
1959
1960 SWIGINTERNINLINE int
1961 SWIG_CheckUnsignedLongInRange(unsigned long value,
1962 unsigned long max_value,
1963 const char *errmsg)
1964 {
1965 if (value > max_value) {
1966 if (errmsg) {
1967 PyErr_Format(PyExc_OverflowError,
1968 "value %lu is greater than '%s' minimum %lu",
1969 value, errmsg, max_value);
1970 }
1971 return 0;
1972 }
1973 return 1;
1974 }
1975
1976
1977 #if UINT_MAX != ULONG_MAX
1978 SWIGINTERN int
1979 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1980 {
1981 const char* errmsg = val ? "unsigned int" : (char*)0;
1982 unsigned long v;
1983 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1984 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1985 if (val) *val = static_cast<unsigned int >(v);
1986 return 1;
1987 }
1988 } else {
1989 PyErr_Clear();
1990 }
1991 if (val) {
1992 SWIG_type_error(errmsg, obj);
1993 }
1994 return 0;
1995 }
1996 #else
1997 SWIGINTERNINLINE unsigned int
1998 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1999 {
2000 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2001 }
2002 #endif
2003
2004
2005 SWIGINTERNINLINE unsigned int
2006 SWIG_As_unsigned_SS_int(PyObject* obj)
2007 {
2008 unsigned int v;
2009 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2010 /*
2011 this is needed to make valgrind/purify happier.
2012 */
2013 memset((void*)&v, 0, sizeof(unsigned int));
2014 }
2015 return v;
2016 }
2017
2018
2019 SWIGINTERNINLINE int
2020 SWIG_Check_unsigned_SS_int(PyObject* obj)
2021 {
2022 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2023 }
2024
2025 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2026 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2027 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2028 if (udata) {
2029 Py_INCREF(udata->m_obj);
2030 return udata->m_obj;
2031 } else {
2032 Py_INCREF(Py_None);
2033 return Py_None;
2034 }
2035 }
2036 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2037 self->SetClientData(new wxPyUserData(clientData));
2038 }
2039 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){
2040 wxPyUserData* udata = NULL;
2041 if (clientData && clientData != Py_None)
2042 udata = new wxPyUserData(clientData);
2043 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2044 shortHelp, longHelp, udata);
2045 }
2046 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){
2047 wxPyUserData* udata = NULL;
2048 if (clientData && clientData != Py_None)
2049 udata = new wxPyUserData(clientData);
2050 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2051 shortHelp, longHelp, udata);
2052 }
2053 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2054 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2055 if (udata) {
2056 Py_INCREF(udata->m_obj);
2057 return udata->m_obj;
2058 } else {
2059 Py_INCREF(Py_None);
2060 return Py_None;
2061 }
2062 }
2063 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
2064 self->SetToolClientData(id, new wxPyUserData(clientData));
2065 }
2066
2067 #include <wx/listctrl.h>
2068
2069 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
2070 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
2071 // Python aware sorting function for wxPyListCtrl
2072 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
2073 int retval = 0;
2074 PyObject* func = (PyObject*)funcPtr;
2075 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2076
2077 PyObject* args = Py_BuildValue("(ii)", item1, item2);
2078 PyObject* result = PyEval_CallObject(func, args);
2079 Py_DECREF(args);
2080 if (result) {
2081 retval = PyInt_AsLong(result);
2082 Py_DECREF(result);
2083 }
2084
2085 wxPyEndBlockThreads(blocked);
2086 return retval;
2087 }
2088
2089 // C++ Version of a Python aware class
2090 class wxPyListCtrl : public wxListCtrl {
2091 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
2092 public:
2093 wxPyListCtrl() : wxListCtrl() {}
2094 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2095 const wxPoint& pos,
2096 const wxSize& size,
2097 long style,
2098 const wxValidator& validator,
2099 const wxString& name) :
2100 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2101
2102 bool Create(wxWindow* parent, wxWindowID id,
2103 const wxPoint& pos,
2104 const wxSize& size,
2105 long style,
2106 const wxValidator& validator,
2107 const wxString& name) {
2108 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2109 }
2110
2111 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
2112 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2113
2114 // use the virtual version to avoid a confusing assert in the base class
2115 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
2116 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
2117
2118 PYPRIVATE;
2119 };
2120
2121 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2122
2123 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
2124 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
2125 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
2126 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
2127
2128
2129 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
2130 wxListItem item;
2131 item.SetMask( wxLIST_MASK_STATE |
2132 wxLIST_MASK_TEXT |
2133 wxLIST_MASK_IMAGE |
2134 wxLIST_MASK_DATA |
2135 wxLIST_SET_ITEM |
2136 wxLIST_MASK_WIDTH |
2137 wxLIST_MASK_FORMAT
2138 );
2139 if (self->GetColumn(col, item))
2140 return new wxListItem(item);
2141 else
2142 return NULL;
2143 }
2144 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
2145 wxListItem* info = new wxListItem;
2146 info->m_itemId = itemId;
2147 info->m_col = col;
2148 info->m_mask = 0xFFFF;
2149 self->GetItem(*info);
2150 return info;
2151 }
2152 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
2153 wxPoint pos;
2154 self->GetItemPosition(item, pos);
2155 return pos;
2156 }
2157 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
2158 wxRect rect;
2159 self->GetItemRect(item, rect, code);
2160 return rect;
2161 }
2162
2163 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
2164 if (!PyCallable_Check(func))
2165 return false;
2166 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2167 }
2168 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
2169
2170
2171
2172 return (wxWindow*)self->m_mainWin;
2173
2174 }
2175
2176 #include <wx/treectrl.h>
2177 #include "wx/wxPython/pytree.h"
2178
2179 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2180 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2181 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2182 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
2183 // C++ version of Python aware wxTreeCtrl
2184 class wxPyTreeCtrl : public wxTreeCtrl {
2185 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
2186 public:
2187 wxPyTreeCtrl() : wxTreeCtrl() {}
2188 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2189 const wxPoint& pos,
2190 const wxSize& size,
2191 long style,
2192 const wxValidator& validator,
2193 const wxString& name) :
2194 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2195
2196 bool Create(wxWindow *parent, wxWindowID id,
2197 const wxPoint& pos,
2198 const wxSize& size,
2199 long style,
2200 const wxValidator& validator,
2201 const wxString& name) {
2202 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2203 }
2204
2205
2206 int OnCompareItems(const wxTreeItemId& item1,
2207 const wxTreeItemId& item2) {
2208 int rval = 0;
2209 bool found;
2210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2211 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2212 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2213 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
2214 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2215 Py_DECREF(o1);
2216 Py_DECREF(o2);
2217 }
2218 wxPyEndBlockThreads(blocked);
2219 if (! found)
2220 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2221 return rval;
2222 }
2223 PYPRIVATE;
2224 };
2225
2226 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2227
2228
2229 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2230 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2231 if (data == NULL) {
2232 data = new wxPyTreeItemData();
2233 data->SetId(item); // set the id
2234 self->SetItemData(item, data);
2235 }
2236 return data;
2237 }
2238 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2239 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2240 if (data == NULL) {
2241 data = new wxPyTreeItemData();
2242 data->SetId(item); // set the id
2243 self->SetItemData(item, data);
2244 }
2245 return data->GetData();
2246 }
2247 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2248 data->SetId(item); // set the id
2249 self->SetItemData(item, data);
2250 }
2251 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2252 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2253 if (data == NULL) {
2254 data = new wxPyTreeItemData(obj);
2255 data->SetId(item); // set the id
2256 self->SetItemData(item, data);
2257 } else
2258 data->SetData(obj);
2259 }
2260 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2261 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2262 PyObject* rval = PyList_New(0);
2263 wxArrayTreeItemIds array;
2264 size_t num, x;
2265 num = self->GetSelections(array);
2266 for (x=0; x < num; x++) {
2267 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2268 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2269 PyList_Append(rval, item);
2270 Py_DECREF(item);
2271 }
2272 wxPyEndBlockThreads(blocked);
2273 return rval;
2274 }
2275 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2276 void* cookie = 0;
2277 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2278 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2279 PyObject* tup = PyTuple_New(2);
2280 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2281 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2282 wxPyEndBlockThreads(blocked);
2283 return tup;
2284 }
2285 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2286 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2287 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2288 PyObject* tup = PyTuple_New(2);
2289 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2290 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2291 wxPyEndBlockThreads(blocked);
2292 return tup;
2293 }
2294 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2295 wxRect rect;
2296 if (self->GetBoundingRect(item, rect, textOnly)) {
2297 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2298 wxRect* r = new wxRect(rect);
2299 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2300 wxPyEndBlockThreads(blocked);
2301 return val;
2302 }
2303 else
2304 RETURN_NONE();
2305 }
2306 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2307
2308 SWIGINTERNINLINE PyObject*
2309 SWIG_From_bool(bool value)
2310 {
2311 PyObject *obj = value ? Py_True : Py_False;
2312 Py_INCREF(obj);
2313 return obj;
2314 }
2315
2316
2317 // C++ version of Python aware wxControl
2318 class wxPyControl : public wxControl
2319 {
2320 DECLARE_DYNAMIC_CLASS(wxPyControl)
2321 public:
2322 wxPyControl() : wxControl() {}
2323 wxPyControl(wxWindow* parent, const wxWindowID id,
2324 const wxPoint& pos = wxDefaultPosition,
2325 const wxSize& size = wxDefaultSize,
2326 long style = 0,
2327 const wxValidator& validator=wxDefaultValidator,
2328 const wxString& name = wxPyControlNameStr)
2329 : wxControl(parent, id, pos, size, style, validator, name) {}
2330
2331 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2332
2333 bool DoEraseBackground(wxDC* dc) {
2334 #ifdef __WXMSW__
2335 return wxWindow::DoEraseBackground(dc->GetHDC());
2336 #else
2337 dc->SetBackground(wxBrush(GetBackgroundColour()));
2338 dc->Clear();
2339 return true;
2340 #endif
2341 }
2342
2343 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2344 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2346 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2347
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2351
2352 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2353 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2354
2355 DEC_PYCALLBACK__(InitDialog);
2356 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2357 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2358 DEC_PYCALLBACK_BOOL_(Validate);
2359
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2361 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2362 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2363
2364 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2365 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2366
2367 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2368 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2369
2370 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2371
2372 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2373
2374 PYPRIVATE;
2375 };
2376
2377 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2378
2379 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2380 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2381 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2382 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2383
2384 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2385 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2386 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2387
2388 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2389 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2390
2391 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2392 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2393 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2394 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2395
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2397 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2398 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2399
2400 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2401 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2402
2403 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2404 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2405
2406 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2407
2408 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2409
2410
2411
2412 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2413
2414 #include <wx/generic/dragimgg.h>
2415
2416 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2417 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2418 wxDateTime rv;
2419 self->GetRange(&rv, NULL);
2420 return rv;
2421 }
2422 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2423 wxDateTime rv;
2424 self->GetRange(NULL, &rv);
2425 return rv;
2426 }
2427 #ifdef __cplusplus
2428 extern "C" {
2429 #endif
2430 static int _wrap_ButtonNameStr_set(PyObject *) {
2431 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2432 return 1;
2433 }
2434
2435
2436 static PyObject *_wrap_ButtonNameStr_get(void) {
2437 PyObject *pyobj = NULL;
2438
2439 {
2440 #if wxUSE_UNICODE
2441 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2442 #else
2443 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2444 #endif
2445 }
2446 return pyobj;
2447 }
2448
2449
2450 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj = NULL;
2452 wxWindow *arg1 = (wxWindow *) 0 ;
2453 int arg2 = (int) -1 ;
2454 wxString const &arg3_defvalue = wxPyEmptyString ;
2455 wxString *arg3 = (wxString *) &arg3_defvalue ;
2456 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2457 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2458 wxSize const &arg5_defvalue = wxDefaultSize ;
2459 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2460 long arg6 = (long) 0 ;
2461 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2462 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2463 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2464 wxString *arg8 = (wxString *) &arg8_defvalue ;
2465 wxButton *result;
2466 bool temp3 = false ;
2467 wxPoint temp4 ;
2468 wxSize temp5 ;
2469 bool temp8 = false ;
2470 PyObject * obj0 = 0 ;
2471 PyObject * obj1 = 0 ;
2472 PyObject * obj2 = 0 ;
2473 PyObject * obj3 = 0 ;
2474 PyObject * obj4 = 0 ;
2475 PyObject * obj5 = 0 ;
2476 PyObject * obj6 = 0 ;
2477 PyObject * obj7 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2484 if (SWIG_arg_fail(1)) SWIG_fail;
2485 if (obj1) {
2486 {
2487 arg2 = static_cast<int >(SWIG_As_int(obj1));
2488 if (SWIG_arg_fail(2)) SWIG_fail;
2489 }
2490 }
2491 if (obj2) {
2492 {
2493 arg3 = wxString_in_helper(obj2);
2494 if (arg3 == NULL) SWIG_fail;
2495 temp3 = true;
2496 }
2497 }
2498 if (obj3) {
2499 {
2500 arg4 = &temp4;
2501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2502 }
2503 }
2504 if (obj4) {
2505 {
2506 arg5 = &temp5;
2507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2508 }
2509 }
2510 if (obj5) {
2511 {
2512 arg6 = static_cast<long >(SWIG_As_long(obj5));
2513 if (SWIG_arg_fail(6)) SWIG_fail;
2514 }
2515 }
2516 if (obj6) {
2517 {
2518 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2519 if (SWIG_arg_fail(7)) SWIG_fail;
2520 if (arg7 == NULL) {
2521 SWIG_null_ref("wxValidator");
2522 }
2523 if (SWIG_arg_fail(7)) SWIG_fail;
2524 }
2525 }
2526 if (obj7) {
2527 {
2528 arg8 = wxString_in_helper(obj7);
2529 if (arg8 == NULL) SWIG_fail;
2530 temp8 = true;
2531 }
2532 }
2533 {
2534 if (!wxPyCheckForApp()) SWIG_fail;
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2542 {
2543 if (temp3)
2544 delete arg3;
2545 }
2546 {
2547 if (temp8)
2548 delete arg8;
2549 }
2550 return resultobj;
2551 fail:
2552 {
2553 if (temp3)
2554 delete arg3;
2555 }
2556 {
2557 if (temp8)
2558 delete arg8;
2559 }
2560 return NULL;
2561 }
2562
2563
2564 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj = NULL;
2566 wxButton *result;
2567 char *kwnames[] = {
2568 NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2572 {
2573 if (!wxPyCheckForApp()) SWIG_fail;
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 result = (wxButton *)new wxButton();
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2581 return resultobj;
2582 fail:
2583 return NULL;
2584 }
2585
2586
2587 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2588 PyObject *resultobj = NULL;
2589 wxButton *arg1 = (wxButton *) 0 ;
2590 wxWindow *arg2 = (wxWindow *) 0 ;
2591 int arg3 = (int) -1 ;
2592 wxString const &arg4_defvalue = wxPyEmptyString ;
2593 wxString *arg4 = (wxString *) &arg4_defvalue ;
2594 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2595 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2596 wxSize const &arg6_defvalue = wxDefaultSize ;
2597 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2598 long arg7 = (long) 0 ;
2599 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2600 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2601 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2602 wxString *arg9 = (wxString *) &arg9_defvalue ;
2603 bool result;
2604 bool temp4 = false ;
2605 wxPoint temp5 ;
2606 wxSize temp6 ;
2607 bool temp9 = false ;
2608 PyObject * obj0 = 0 ;
2609 PyObject * obj1 = 0 ;
2610 PyObject * obj2 = 0 ;
2611 PyObject * obj3 = 0 ;
2612 PyObject * obj4 = 0 ;
2613 PyObject * obj5 = 0 ;
2614 PyObject * obj6 = 0 ;
2615 PyObject * obj7 = 0 ;
2616 PyObject * obj8 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail;
2624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2625 if (SWIG_arg_fail(2)) SWIG_fail;
2626 if (obj2) {
2627 {
2628 arg3 = static_cast<int >(SWIG_As_int(obj2));
2629 if (SWIG_arg_fail(3)) SWIG_fail;
2630 }
2631 }
2632 if (obj3) {
2633 {
2634 arg4 = wxString_in_helper(obj3);
2635 if (arg4 == NULL) SWIG_fail;
2636 temp4 = true;
2637 }
2638 }
2639 if (obj4) {
2640 {
2641 arg5 = &temp5;
2642 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2643 }
2644 }
2645 if (obj5) {
2646 {
2647 arg6 = &temp6;
2648 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2649 }
2650 }
2651 if (obj6) {
2652 {
2653 arg7 = static_cast<long >(SWIG_As_long(obj6));
2654 if (SWIG_arg_fail(7)) SWIG_fail;
2655 }
2656 }
2657 if (obj7) {
2658 {
2659 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2660 if (SWIG_arg_fail(8)) SWIG_fail;
2661 if (arg8 == NULL) {
2662 SWIG_null_ref("wxValidator");
2663 }
2664 if (SWIG_arg_fail(8)) SWIG_fail;
2665 }
2666 }
2667 if (obj8) {
2668 {
2669 arg9 = wxString_in_helper(obj8);
2670 if (arg9 == NULL) SWIG_fail;
2671 temp9 = true;
2672 }
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 {
2682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2683 }
2684 {
2685 if (temp4)
2686 delete arg4;
2687 }
2688 {
2689 if (temp9)
2690 delete arg9;
2691 }
2692 return resultobj;
2693 fail:
2694 {
2695 if (temp4)
2696 delete arg4;
2697 }
2698 {
2699 if (temp9)
2700 delete arg9;
2701 }
2702 return NULL;
2703 }
2704
2705
2706 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj = NULL;
2708 wxButton *arg1 = (wxButton *) 0 ;
2709 PyObject * obj0 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2716 if (SWIG_arg_fail(1)) SWIG_fail;
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->SetDefault();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 return resultobj;
2726 fail:
2727 return NULL;
2728 }
2729
2730
2731 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj = NULL;
2733 wxSize result;
2734 char *kwnames[] = {
2735 NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 result = wxButton::GetDefaultSize();
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 wxSize * resultptr;
2748 resultptr = new wxSize(static_cast<wxSize & >(result));
2749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2750 }
2751 return resultobj;
2752 fail:
2753 return NULL;
2754 }
2755
2756
2757 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj = NULL;
2759 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2760 wxVisualAttributes result;
2761 PyObject * obj0 = 0 ;
2762 char *kwnames[] = {
2763 (char *) "variant", NULL
2764 };
2765
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2767 if (obj0) {
2768 {
2769 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
2770 if (SWIG_arg_fail(1)) SWIG_fail;
2771 }
2772 }
2773 {
2774 if (!wxPyCheckForApp()) SWIG_fail;
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 result = wxButton::GetClassDefaultAttributes(arg1);
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 {
2782 wxVisualAttributes * resultptr;
2783 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
2784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2785 }
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2793 PyObject *obj;
2794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2795 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2796 Py_INCREF(obj);
2797 return Py_BuildValue((char *)"");
2798 }
2799 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj = NULL;
2801 wxWindow *arg1 = (wxWindow *) 0 ;
2802 int arg2 = (int) -1 ;
2803 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2804 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2807 wxSize const &arg5_defvalue = wxDefaultSize ;
2808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2809 long arg6 = (long) wxBU_AUTODRAW ;
2810 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2811 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2812 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2813 wxString *arg8 = (wxString *) &arg8_defvalue ;
2814 wxBitmapButton *result;
2815 wxPoint temp4 ;
2816 wxSize temp5 ;
2817 bool temp8 = false ;
2818 PyObject * obj0 = 0 ;
2819 PyObject * obj1 = 0 ;
2820 PyObject * obj2 = 0 ;
2821 PyObject * obj3 = 0 ;
2822 PyObject * obj4 = 0 ;
2823 PyObject * obj5 = 0 ;
2824 PyObject * obj6 = 0 ;
2825 PyObject * obj7 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail;
2833 if (obj1) {
2834 {
2835 arg2 = static_cast<int >(SWIG_As_int(obj1));
2836 if (SWIG_arg_fail(2)) SWIG_fail;
2837 }
2838 }
2839 if (obj2) {
2840 {
2841 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2842 if (SWIG_arg_fail(3)) SWIG_fail;
2843 if (arg3 == NULL) {
2844 SWIG_null_ref("wxBitmap");
2845 }
2846 if (SWIG_arg_fail(3)) SWIG_fail;
2847 }
2848 }
2849 if (obj3) {
2850 {
2851 arg4 = &temp4;
2852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2853 }
2854 }
2855 if (obj4) {
2856 {
2857 arg5 = &temp5;
2858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2859 }
2860 }
2861 if (obj5) {
2862 {
2863 arg6 = static_cast<long >(SWIG_As_long(obj5));
2864 if (SWIG_arg_fail(6)) SWIG_fail;
2865 }
2866 }
2867 if (obj6) {
2868 {
2869 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2870 if (SWIG_arg_fail(7)) SWIG_fail;
2871 if (arg7 == NULL) {
2872 SWIG_null_ref("wxValidator");
2873 }
2874 if (SWIG_arg_fail(7)) SWIG_fail;
2875 }
2876 }
2877 if (obj7) {
2878 {
2879 arg8 = wxString_in_helper(obj7);
2880 if (arg8 == NULL) SWIG_fail;
2881 temp8 = true;
2882 }
2883 }
2884 {
2885 if (!wxPyCheckForApp()) SWIG_fail;
2886 PyThreadState* __tstate = wxPyBeginAllowThreads();
2887 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2888
2889 wxPyEndAllowThreads(__tstate);
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2893 {
2894 if (temp8)
2895 delete arg8;
2896 }
2897 return resultobj;
2898 fail:
2899 {
2900 if (temp8)
2901 delete arg8;
2902 }
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj = NULL;
2909 wxBitmapButton *result;
2910 char *kwnames[] = {
2911 NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2915 {
2916 if (!wxPyCheckForApp()) SWIG_fail;
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (wxBitmapButton *)new wxBitmapButton();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj = NULL;
2932 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2933 wxWindow *arg2 = (wxWindow *) 0 ;
2934 int arg3 = (int) -1 ;
2935 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2936 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2939 wxSize const &arg6_defvalue = wxDefaultSize ;
2940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2941 long arg7 = (long) wxBU_AUTODRAW ;
2942 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2943 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2944 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2945 wxString *arg9 = (wxString *) &arg9_defvalue ;
2946 bool result;
2947 wxPoint temp5 ;
2948 wxSize temp6 ;
2949 bool temp9 = false ;
2950 PyObject * obj0 = 0 ;
2951 PyObject * obj1 = 0 ;
2952 PyObject * obj2 = 0 ;
2953 PyObject * obj3 = 0 ;
2954 PyObject * obj4 = 0 ;
2955 PyObject * obj5 = 0 ;
2956 PyObject * obj6 = 0 ;
2957 PyObject * obj7 = 0 ;
2958 PyObject * obj8 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
2966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2967 if (SWIG_arg_fail(2)) SWIG_fail;
2968 if (obj2) {
2969 {
2970 arg3 = static_cast<int >(SWIG_As_int(obj2));
2971 if (SWIG_arg_fail(3)) SWIG_fail;
2972 }
2973 }
2974 if (obj3) {
2975 {
2976 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2977 if (SWIG_arg_fail(4)) SWIG_fail;
2978 if (arg4 == NULL) {
2979 SWIG_null_ref("wxBitmap");
2980 }
2981 if (SWIG_arg_fail(4)) SWIG_fail;
2982 }
2983 }
2984 if (obj4) {
2985 {
2986 arg5 = &temp5;
2987 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2988 }
2989 }
2990 if (obj5) {
2991 {
2992 arg6 = &temp6;
2993 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2994 }
2995 }
2996 if (obj6) {
2997 {
2998 arg7 = static_cast<long >(SWIG_As_long(obj6));
2999 if (SWIG_arg_fail(7)) SWIG_fail;
3000 }
3001 }
3002 if (obj7) {
3003 {
3004 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3005 if (SWIG_arg_fail(8)) SWIG_fail;
3006 if (arg8 == NULL) {
3007 SWIG_null_ref("wxValidator");
3008 }
3009 if (SWIG_arg_fail(8)) SWIG_fail;
3010 }
3011 }
3012 if (obj8) {
3013 {
3014 arg9 = wxString_in_helper(obj8);
3015 if (arg9 == NULL) SWIG_fail;
3016 temp9 = true;
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
3029 {
3030 if (temp9)
3031 delete arg9;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp9)
3037 delete arg9;
3038 }
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj = NULL;
3045 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3046 wxBitmap result;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = (arg1)->GetBitmapLabel();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 wxBitmap * resultptr;
3064 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3066 }
3067 return resultobj;
3068 fail:
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj = NULL;
3075 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3076 wxBitmap result;
3077 PyObject * obj0 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (arg1)->GetBitmapDisabled();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093 wxBitmap * resultptr;
3094 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3096 }
3097 return resultobj;
3098 fail:
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj = NULL;
3105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3106 wxBitmap result;
3107 PyObject * obj0 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
3113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail;
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (arg1)->GetBitmapFocus();
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 {
3123 wxBitmap * resultptr;
3124 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3126 }
3127 return resultobj;
3128 fail:
3129 return NULL;
3130 }
3131
3132
3133 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj = NULL;
3135 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3136 wxBitmap result;
3137 PyObject * obj0 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
3143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail;
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = (arg1)->GetBitmapSelected();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 {
3153 wxBitmap * resultptr;
3154 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3156 }
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj = NULL;
3165 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3166 wxBitmap *arg2 = 0 ;
3167 PyObject * obj0 = 0 ;
3168 PyObject * obj1 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self",(char *) "bitmap", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail;
3176 {
3177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3178 if (SWIG_arg_fail(2)) SWIG_fail;
3179 if (arg2 == NULL) {
3180 SWIG_null_ref("wxBitmap");
3181 }
3182 if (SWIG_arg_fail(2)) SWIG_fail;
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj = NULL;
3200 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3201 wxBitmap *arg2 = 0 ;
3202 PyObject * obj0 = 0 ;
3203 PyObject * obj1 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self",(char *) "bitmap", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail;
3211 {
3212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(2)) SWIG_fail;
3214 if (arg2 == NULL) {
3215 SWIG_null_ref("wxBitmap");
3216 }
3217 if (SWIG_arg_fail(2)) SWIG_fail;
3218 }
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 Py_INCREF(Py_None); resultobj = Py_None;
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj = NULL;
3235 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3236 wxBitmap *arg2 = 0 ;
3237 PyObject * obj0 = 0 ;
3238 PyObject * obj1 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self",(char *) "bitmap", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3245 if (SWIG_arg_fail(1)) SWIG_fail;
3246 {
3247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3248 if (SWIG_arg_fail(2)) SWIG_fail;
3249 if (arg2 == NULL) {
3250 SWIG_null_ref("wxBitmap");
3251 }
3252 if (SWIG_arg_fail(2)) SWIG_fail;
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj = NULL;
3270 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3271 wxBitmap *arg2 = 0 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "bitmap", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 {
3282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 if (arg2 == NULL) {
3285 SWIG_null_ref("wxBitmap");
3286 }
3287 if (SWIG_arg_fail(2)) SWIG_fail;
3288 }
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj = NULL;
3305 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3306 int arg2 ;
3307 int arg3 ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 PyObject * obj2 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self",(char *) "x",(char *) "y", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail;
3318 {
3319 arg2 = static_cast<int >(SWIG_As_int(obj1));
3320 if (SWIG_arg_fail(2)) SWIG_fail;
3321 }
3322 {
3323 arg3 = static_cast<int >(SWIG_As_int(obj2));
3324 if (SWIG_arg_fail(3)) SWIG_fail;
3325 }
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 (arg1)->SetMargins(arg2,arg3);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 Py_INCREF(Py_None); resultobj = Py_None;
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj = NULL;
3342 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3343 int result;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3351 if (SWIG_arg_fail(1)) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 resultobj = SWIG_From_int(static_cast<int >(result));
3361 }
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj = NULL;
3370 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3371 int result;
3372 PyObject * obj0 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 {
3388 resultobj = SWIG_From_int(static_cast<int >(result));
3389 }
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3397 PyObject *obj;
3398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3400 Py_INCREF(obj);
3401 return Py_BuildValue((char *)"");
3402 }
3403 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3404 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3405 return 1;
3406 }
3407
3408
3409 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3410 PyObject *pyobj = NULL;
3411
3412 {
3413 #if wxUSE_UNICODE
3414 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3415 #else
3416 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3417 #endif
3418 }
3419 return pyobj;
3420 }
3421
3422
3423 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj = NULL;
3425 wxWindow *arg1 = (wxWindow *) 0 ;
3426 int arg2 = (int) -1 ;
3427 wxString const &arg3_defvalue = wxPyEmptyString ;
3428 wxString *arg3 = (wxString *) &arg3_defvalue ;
3429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3431 wxSize const &arg5_defvalue = wxDefaultSize ;
3432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3433 long arg6 = (long) 0 ;
3434 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3435 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3436 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3437 wxString *arg8 = (wxString *) &arg8_defvalue ;
3438 wxCheckBox *result;
3439 bool temp3 = false ;
3440 wxPoint temp4 ;
3441 wxSize temp5 ;
3442 bool temp8 = false ;
3443 PyObject * obj0 = 0 ;
3444 PyObject * obj1 = 0 ;
3445 PyObject * obj2 = 0 ;
3446 PyObject * obj3 = 0 ;
3447 PyObject * obj4 = 0 ;
3448 PyObject * obj5 = 0 ;
3449 PyObject * obj6 = 0 ;
3450 PyObject * obj7 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3457 if (SWIG_arg_fail(1)) SWIG_fail;
3458 if (obj1) {
3459 {
3460 arg2 = static_cast<int >(SWIG_As_int(obj1));
3461 if (SWIG_arg_fail(2)) SWIG_fail;
3462 }
3463 }
3464 if (obj2) {
3465 {
3466 arg3 = wxString_in_helper(obj2);
3467 if (arg3 == NULL) SWIG_fail;
3468 temp3 = true;
3469 }
3470 }
3471 if (obj3) {
3472 {
3473 arg4 = &temp4;
3474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3475 }
3476 }
3477 if (obj4) {
3478 {
3479 arg5 = &temp5;
3480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3481 }
3482 }
3483 if (obj5) {
3484 {
3485 arg6 = static_cast<long >(SWIG_As_long(obj5));
3486 if (SWIG_arg_fail(6)) SWIG_fail;
3487 }
3488 }
3489 if (obj6) {
3490 {
3491 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3492 if (SWIG_arg_fail(7)) SWIG_fail;
3493 if (arg7 == NULL) {
3494 SWIG_null_ref("wxValidator");
3495 }
3496 if (SWIG_arg_fail(7)) SWIG_fail;
3497 }
3498 }
3499 if (obj7) {
3500 {
3501 arg8 = wxString_in_helper(obj7);
3502 if (arg8 == NULL) SWIG_fail;
3503 temp8 = true;
3504 }
3505 }
3506 {
3507 if (!wxPyCheckForApp()) SWIG_fail;
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3515 {
3516 if (temp3)
3517 delete arg3;
3518 }
3519 {
3520 if (temp8)
3521 delete arg8;
3522 }
3523 return resultobj;
3524 fail:
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 {
3530 if (temp8)
3531 delete arg8;
3532 }
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj = NULL;
3539 wxCheckBox *result;
3540 char *kwnames[] = {
3541 NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3545 {
3546 if (!wxPyCheckForApp()) SWIG_fail;
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (wxCheckBox *)new wxCheckBox();
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3554 return resultobj;
3555 fail:
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj = NULL;
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 wxWindow *arg2 = (wxWindow *) 0 ;
3564 int arg3 = (int) -1 ;
3565 wxString const &arg4_defvalue = wxPyEmptyString ;
3566 wxString *arg4 = (wxString *) &arg4_defvalue ;
3567 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3568 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3569 wxSize const &arg6_defvalue = wxDefaultSize ;
3570 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3571 long arg7 = (long) 0 ;
3572 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3573 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3574 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3575 wxString *arg9 = (wxString *) &arg9_defvalue ;
3576 bool result;
3577 bool temp4 = false ;
3578 wxPoint temp5 ;
3579 wxSize temp6 ;
3580 bool temp9 = false ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 PyObject * obj3 = 0 ;
3585 PyObject * obj4 = 0 ;
3586 PyObject * obj5 = 0 ;
3587 PyObject * obj6 = 0 ;
3588 PyObject * obj7 = 0 ;
3589 PyObject * obj8 = 0 ;
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3592 };
3593
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3596 if (SWIG_arg_fail(1)) SWIG_fail;
3597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(2)) SWIG_fail;
3599 if (obj2) {
3600 {
3601 arg3 = static_cast<int >(SWIG_As_int(obj2));
3602 if (SWIG_arg_fail(3)) SWIG_fail;
3603 }
3604 }
3605 if (obj3) {
3606 {
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
3609 temp4 = true;
3610 }
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj5) {
3619 {
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3622 }
3623 }
3624 if (obj6) {
3625 {
3626 arg7 = static_cast<long >(SWIG_As_long(obj6));
3627 if (SWIG_arg_fail(7)) SWIG_fail;
3628 }
3629 }
3630 if (obj7) {
3631 {
3632 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3633 if (SWIG_arg_fail(8)) SWIG_fail;
3634 if (arg8 == NULL) {
3635 SWIG_null_ref("wxValidator");
3636 }
3637 if (SWIG_arg_fail(8)) SWIG_fail;
3638 }
3639 }
3640 if (obj8) {
3641 {
3642 arg9 = wxString_in_helper(obj8);
3643 if (arg9 == NULL) SWIG_fail;
3644 temp9 = true;
3645 }
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj = NULL;
3681 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3682 bool result;
3683 PyObject * obj0 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3690 if (SWIG_arg_fail(1)) SWIG_fail;
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (bool)(arg1)->GetValue();
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj = NULL;
3709 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3710 bool result;
3711 PyObject * obj0 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail;
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (bool)(arg1)->IsChecked();
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 {
3727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj = NULL;
3737 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3738 bool arg2 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self",(char *) "state", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
3749 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
3750 if (SWIG_arg_fail(2)) SWIG_fail;
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->SetValue(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj = NULL;
3768 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3769 wxCheckBoxState result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail;
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 resultobj = SWIG_From_int((result));
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj = NULL;
3794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3795 wxCheckBoxState arg2 ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "state", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3804 if (SWIG_arg_fail(1)) SWIG_fail;
3805 {
3806 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
3807 if (SWIG_arg_fail(2)) SWIG_fail;
3808 }
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
3811 (arg1)->Set3StateValue(arg2);
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 Py_INCREF(Py_None); resultobj = Py_None;
3817 return resultobj;
3818 fail:
3819 return NULL;
3820 }
3821
3822
3823 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj = NULL;
3825 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3826 bool result;
3827 PyObject * obj0 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3834 if (SWIG_arg_fail(1)) SWIG_fail;
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 {
3843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3844 }
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj = NULL;
3853 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3854 bool result;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail;
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 {
3871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3872 }
3873 return resultobj;
3874 fail:
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj = NULL;
3881 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3882 wxVisualAttributes result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "variant", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3889 if (obj0) {
3890 {
3891 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3892 if (SWIG_arg_fail(1)) SWIG_fail;
3893 }
3894 }
3895 {
3896 if (!wxPyCheckForApp()) SWIG_fail;
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = wxCheckBox::GetClassDefaultAttributes(arg1);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 {
3904 wxVisualAttributes * resultptr;
3905 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3915 PyObject *obj;
3916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3918 Py_INCREF(obj);
3919 return Py_BuildValue((char *)"");
3920 }
3921 static int _wrap_ChoiceNameStr_set(PyObject *) {
3922 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3923 return 1;
3924 }
3925
3926
3927 static PyObject *_wrap_ChoiceNameStr_get(void) {
3928 PyObject *pyobj = NULL;
3929
3930 {
3931 #if wxUSE_UNICODE
3932 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3933 #else
3934 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3935 #endif
3936 }
3937 return pyobj;
3938 }
3939
3940
3941 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj = NULL;
3943 wxWindow *arg1 = (wxWindow *) 0 ;
3944 int arg2 = (int) -1 ;
3945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3947 wxSize const &arg4_defvalue = wxDefaultSize ;
3948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3949 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3950 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3951 long arg6 = (long) 0 ;
3952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3954 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3955 wxString *arg8 = (wxString *) &arg8_defvalue ;
3956 wxChoice *result;
3957 wxPoint temp3 ;
3958 wxSize temp4 ;
3959 bool temp5 = false ;
3960 bool temp8 = false ;
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963 PyObject * obj2 = 0 ;
3964 PyObject * obj3 = 0 ;
3965 PyObject * obj4 = 0 ;
3966 PyObject * obj5 = 0 ;
3967 PyObject * obj6 = 0 ;
3968 PyObject * obj7 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3975 if (SWIG_arg_fail(1)) SWIG_fail;
3976 if (obj1) {
3977 {
3978 arg2 = static_cast<int >(SWIG_As_int(obj1));
3979 if (SWIG_arg_fail(2)) SWIG_fail;
3980 }
3981 }
3982 if (obj2) {
3983 {
3984 arg3 = &temp3;
3985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3986 }
3987 }
3988 if (obj3) {
3989 {
3990 arg4 = &temp4;
3991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3992 }
3993 }
3994 if (obj4) {
3995 {
3996 if (! PySequence_Check(obj4)) {
3997 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3998 SWIG_fail;
3999 }
4000 arg5 = new wxArrayString;
4001 temp5 = true;
4002 int i, len=PySequence_Length(obj4);
4003 for (i=0; i<len; i++) {
4004 PyObject* item = PySequence_GetItem(obj4, i);
4005 wxString* s = wxString_in_helper(item);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 arg5->Add(*s);
4008 delete s;
4009 Py_DECREF(item);
4010 }
4011 }
4012 }
4013 if (obj5) {
4014 {
4015 arg6 = static_cast<long >(SWIG_As_long(obj5));
4016 if (SWIG_arg_fail(6)) SWIG_fail;
4017 }
4018 }
4019 if (obj6) {
4020 {
4021 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4022 if (SWIG_arg_fail(7)) SWIG_fail;
4023 if (arg7 == NULL) {
4024 SWIG_null_ref("wxValidator");
4025 }
4026 if (SWIG_arg_fail(7)) SWIG_fail;
4027 }
4028 }
4029 if (obj7) {
4030 {
4031 arg8 = wxString_in_helper(obj7);
4032 if (arg8 == NULL) SWIG_fail;
4033 temp8 = true;
4034 }
4035 }
4036 {
4037 if (!wxPyCheckForApp()) SWIG_fail;
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4045 {
4046 if (temp5) delete arg5;
4047 }
4048 {
4049 if (temp8)
4050 delete arg8;
4051 }
4052 return resultobj;
4053 fail:
4054 {
4055 if (temp5) delete arg5;
4056 }
4057 {
4058 if (temp8)
4059 delete arg8;
4060 }
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj = NULL;
4067 wxChoice *result;
4068 char *kwnames[] = {
4069 NULL
4070 };
4071
4072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4073 {
4074 if (!wxPyCheckForApp()) SWIG_fail;
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (wxChoice *)new wxChoice();
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4082 return resultobj;
4083 fail:
4084 return NULL;
4085 }
4086
4087
4088 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj = NULL;
4090 wxChoice *arg1 = (wxChoice *) 0 ;
4091 wxWindow *arg2 = (wxWindow *) 0 ;
4092 int arg3 = (int) -1 ;
4093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4095 wxSize const &arg5_defvalue = wxDefaultSize ;
4096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4097 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4098 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4099 long arg7 = (long) 0 ;
4100 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4101 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4102 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4103 wxString *arg9 = (wxString *) &arg9_defvalue ;
4104 bool result;
4105 wxPoint temp4 ;
4106 wxSize temp5 ;
4107 bool temp6 = false ;
4108 bool temp9 = false ;
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111 PyObject * obj2 = 0 ;
4112 PyObject * obj3 = 0 ;
4113 PyObject * obj4 = 0 ;
4114 PyObject * obj5 = 0 ;
4115 PyObject * obj6 = 0 ;
4116 PyObject * obj7 = 0 ;
4117 PyObject * obj8 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4126 if (SWIG_arg_fail(2)) SWIG_fail;
4127 if (obj2) {
4128 {
4129 arg3 = static_cast<int >(SWIG_As_int(obj2));
4130 if (SWIG_arg_fail(3)) SWIG_fail;
4131 }
4132 }
4133 if (obj3) {
4134 {
4135 arg4 = &temp4;
4136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4137 }
4138 }
4139 if (obj4) {
4140 {
4141 arg5 = &temp5;
4142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4143 }
4144 }
4145 if (obj5) {
4146 {
4147 if (! PySequence_Check(obj5)) {
4148 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4149 SWIG_fail;
4150 }
4151 arg6 = new wxArrayString;
4152 temp6 = true;
4153 int i, len=PySequence_Length(obj5);
4154 for (i=0; i<len; i++) {
4155 PyObject* item = PySequence_GetItem(obj5, i);
4156 wxString* s = wxString_in_helper(item);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 arg6->Add(*s);
4159 delete s;
4160 Py_DECREF(item);
4161 }
4162 }
4163 }
4164 if (obj6) {
4165 {
4166 arg7 = static_cast<long >(SWIG_As_long(obj6));
4167 if (SWIG_arg_fail(7)) SWIG_fail;
4168 }
4169 }
4170 if (obj7) {
4171 {
4172 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(8)) SWIG_fail;
4174 if (arg8 == NULL) {
4175 SWIG_null_ref("wxValidator");
4176 }
4177 if (SWIG_arg_fail(8)) SWIG_fail;
4178 }
4179 }
4180 if (obj8) {
4181 {
4182 arg9 = wxString_in_helper(obj8);
4183 if (arg9 == NULL) SWIG_fail;
4184 temp9 = true;
4185 }
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 {
4195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4196 }
4197 {
4198 if (temp6) delete arg6;
4199 }
4200 {
4201 if (temp9)
4202 delete arg9;
4203 }
4204 return resultobj;
4205 fail:
4206 {
4207 if (temp6) delete arg6;
4208 }
4209 {
4210 if (temp9)
4211 delete arg9;
4212 }
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj = NULL;
4219 wxChoice *arg1 = (wxChoice *) 0 ;
4220 int result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4228 if (SWIG_arg_fail(1)) SWIG_fail;
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 {
4237 resultobj = SWIG_From_int(static_cast<int >(result));
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj = NULL;
4247 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4248 wxVisualAttributes result;
4249 PyObject * obj0 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "variant", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4255 if (obj0) {
4256 {
4257 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4258 if (SWIG_arg_fail(1)) SWIG_fail;
4259 }
4260 }
4261 {
4262 if (!wxPyCheckForApp()) SWIG_fail;
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = wxChoice::GetClassDefaultAttributes(arg1);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 {
4270 wxVisualAttributes * resultptr;
4271 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4273 }
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4281 PyObject *obj;
4282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4284 Py_INCREF(obj);
4285 return Py_BuildValue((char *)"");
4286 }
4287 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4288 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4289 return 1;
4290 }
4291
4292
4293 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4294 PyObject *pyobj = NULL;
4295
4296 {
4297 #if wxUSE_UNICODE
4298 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4299 #else
4300 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4301 #endif
4302 }
4303 return pyobj;
4304 }
4305
4306
4307 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj = NULL;
4309 wxWindow *arg1 = (wxWindow *) 0 ;
4310 int arg2 = (int) -1 ;
4311 wxString const &arg3_defvalue = wxPyEmptyString ;
4312 wxString *arg3 = (wxString *) &arg3_defvalue ;
4313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4315 wxSize const &arg5_defvalue = wxDefaultSize ;
4316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4317 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4318 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4319 long arg7 = (long) 0 ;
4320 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4321 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4322 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4323 wxString *arg9 = (wxString *) &arg9_defvalue ;
4324 wxComboBox *result;
4325 bool temp3 = false ;
4326 wxPoint temp4 ;
4327 wxSize temp5 ;
4328 bool temp6 = false ;
4329 bool temp9 = false ;
4330 PyObject * obj0 = 0 ;
4331 PyObject * obj1 = 0 ;
4332 PyObject * obj2 = 0 ;
4333 PyObject * obj3 = 0 ;
4334 PyObject * obj4 = 0 ;
4335 PyObject * obj5 = 0 ;
4336 PyObject * obj6 = 0 ;
4337 PyObject * obj7 = 0 ;
4338 PyObject * obj8 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail;
4346 if (obj1) {
4347 {
4348 arg2 = static_cast<int >(SWIG_As_int(obj1));
4349 if (SWIG_arg_fail(2)) SWIG_fail;
4350 }
4351 }
4352 if (obj2) {
4353 {
4354 arg3 = wxString_in_helper(obj2);
4355 if (arg3 == NULL) SWIG_fail;
4356 temp3 = true;
4357 }
4358 }
4359 if (obj3) {
4360 {
4361 arg4 = &temp4;
4362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4363 }
4364 }
4365 if (obj4) {
4366 {
4367 arg5 = &temp5;
4368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4369 }
4370 }
4371 if (obj5) {
4372 {
4373 if (! PySequence_Check(obj5)) {
4374 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4375 SWIG_fail;
4376 }
4377 arg6 = new wxArrayString;
4378 temp6 = true;
4379 int i, len=PySequence_Length(obj5);
4380 for (i=0; i<len; i++) {
4381 PyObject* item = PySequence_GetItem(obj5, i);
4382 wxString* s = wxString_in_helper(item);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 arg6->Add(*s);
4385 delete s;
4386 Py_DECREF(item);
4387 }
4388 }
4389 }
4390 if (obj6) {
4391 {
4392 arg7 = static_cast<long >(SWIG_As_long(obj6));
4393 if (SWIG_arg_fail(7)) SWIG_fail;
4394 }
4395 }
4396 if (obj7) {
4397 {
4398 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4399 if (SWIG_arg_fail(8)) SWIG_fail;
4400 if (arg8 == NULL) {
4401 SWIG_null_ref("wxValidator");
4402 }
4403 if (SWIG_arg_fail(8)) SWIG_fail;
4404 }
4405 }
4406 if (obj8) {
4407 {
4408 arg9 = wxString_in_helper(obj8);
4409 if (arg9 == NULL) SWIG_fail;
4410 temp9 = true;
4411 }
4412 }
4413 {
4414 if (!wxPyCheckForApp()) SWIG_fail;
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 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);
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4422 {
4423 if (temp3)
4424 delete arg3;
4425 }
4426 {
4427 if (temp6) delete arg6;
4428 }
4429 {
4430 if (temp9)
4431 delete arg9;
4432 }
4433 return resultobj;
4434 fail:
4435 {
4436 if (temp3)
4437 delete arg3;
4438 }
4439 {
4440 if (temp6) delete arg6;
4441 }
4442 {
4443 if (temp9)
4444 delete arg9;
4445 }
4446 return NULL;
4447 }
4448
4449
4450 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4451 PyObject *resultobj = NULL;
4452 wxComboBox *result;
4453 char *kwnames[] = {
4454 NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4458 {
4459 if (!wxPyCheckForApp()) SWIG_fail;
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 result = (wxComboBox *)new wxComboBox();
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4467 return resultobj;
4468 fail:
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj = NULL;
4475 wxComboBox *arg1 = (wxComboBox *) 0 ;
4476 wxWindow *arg2 = (wxWindow *) 0 ;
4477 int arg3 = (int) -1 ;
4478 wxString const &arg4_defvalue = wxPyEmptyString ;
4479 wxString *arg4 = (wxString *) &arg4_defvalue ;
4480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4482 wxSize const &arg6_defvalue = wxDefaultSize ;
4483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4484 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4485 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4486 long arg8 = (long) 0 ;
4487 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4488 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4489 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4490 wxString *arg10 = (wxString *) &arg10_defvalue ;
4491 bool result;
4492 bool temp4 = false ;
4493 wxPoint temp5 ;
4494 wxSize temp6 ;
4495 bool temp7 = false ;
4496 bool temp10 = false ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 PyObject * obj3 = 0 ;
4501 PyObject * obj4 = 0 ;
4502 PyObject * obj5 = 0 ;
4503 PyObject * obj6 = 0 ;
4504 PyObject * obj7 = 0 ;
4505 PyObject * obj8 = 0 ;
4506 PyObject * obj9 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail;
4514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(2)) SWIG_fail;
4516 if (obj2) {
4517 {
4518 arg3 = static_cast<int >(SWIG_As_int(obj2));
4519 if (SWIG_arg_fail(3)) SWIG_fail;
4520 }
4521 }
4522 if (obj3) {
4523 {
4524 arg4 = wxString_in_helper(obj3);
4525 if (arg4 == NULL) SWIG_fail;
4526 temp4 = true;
4527 }
4528 }
4529 if (obj4) {
4530 {
4531 arg5 = &temp5;
4532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4533 }
4534 }
4535 if (obj5) {
4536 {
4537 arg6 = &temp6;
4538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4539 }
4540 }
4541 if (obj6) {
4542 {
4543 if (! PySequence_Check(obj6)) {
4544 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4545 SWIG_fail;
4546 }
4547 arg7 = new wxArrayString;
4548 temp7 = true;
4549 int i, len=PySequence_Length(obj6);
4550 for (i=0; i<len; i++) {
4551 PyObject* item = PySequence_GetItem(obj6, i);
4552 wxString* s = wxString_in_helper(item);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 arg7->Add(*s);
4555 delete s;
4556 Py_DECREF(item);
4557 }
4558 }
4559 }
4560 if (obj7) {
4561 {
4562 arg8 = static_cast<long >(SWIG_As_long(obj7));
4563 if (SWIG_arg_fail(8)) SWIG_fail;
4564 }
4565 }
4566 if (obj8) {
4567 {
4568 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4569 if (SWIG_arg_fail(9)) SWIG_fail;
4570 if (arg9 == NULL) {
4571 SWIG_null_ref("wxValidator");
4572 }
4573 if (SWIG_arg_fail(9)) SWIG_fail;
4574 }
4575 }
4576 if (obj9) {
4577 {
4578 arg10 = wxString_in_helper(obj9);
4579 if (arg10 == NULL) SWIG_fail;
4580 temp10 = true;
4581 }
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 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);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 {
4591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4592 }
4593 {
4594 if (temp4)
4595 delete arg4;
4596 }
4597 {
4598 if (temp7) delete arg7;
4599 }
4600 {
4601 if (temp10)
4602 delete arg10;
4603 }
4604 return resultobj;
4605 fail:
4606 {
4607 if (temp4)
4608 delete arg4;
4609 }
4610 {
4611 if (temp7) delete arg7;
4612 }
4613 {
4614 if (temp10)
4615 delete arg10;
4616 }
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj = NULL;
4623 wxComboBox *arg1 = (wxComboBox *) 0 ;
4624 wxString result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = ((wxComboBox const *)arg1)->GetValue();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 #if wxUSE_UNICODE
4642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4643 #else
4644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4645 #endif
4646 }
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj = NULL;
4655 wxComboBox *arg1 = (wxComboBox *) 0 ;
4656 wxString *arg2 = 0 ;
4657 bool temp2 = false ;
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj1 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "value", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail;
4667 {
4668 arg2 = wxString_in_helper(obj1);
4669 if (arg2 == NULL) SWIG_fail;
4670 temp2 = true;
4671 }
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 (arg1)->SetValue((wxString const &)*arg2);
4675
4676 wxPyEndAllowThreads(__tstate);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 }
4679 Py_INCREF(Py_None); resultobj = Py_None;
4680 {
4681 if (temp2)
4682 delete arg2;
4683 }
4684 return resultobj;
4685 fail:
4686 {
4687 if (temp2)
4688 delete arg2;
4689 }
4690 return NULL;
4691 }
4692
4693
4694 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj = NULL;
4696 wxComboBox *arg1 = (wxComboBox *) 0 ;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail;
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->Copy();
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj = NULL;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail;
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 (arg1)->Cut();
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj = NULL;
4746 wxComboBox *arg1 = (wxComboBox *) 0 ;
4747 PyObject * obj0 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail;
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 (arg1)->Paste();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj = NULL;
4771 wxComboBox *arg1 = (wxComboBox *) 0 ;
4772 long arg2 ;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "pos", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail;
4782 {
4783 arg2 = static_cast<long >(SWIG_As_long(obj1));
4784 if (SWIG_arg_fail(2)) SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetInsertionPoint(arg2);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4801 PyObject *resultobj = NULL;
4802 wxComboBox *arg1 = (wxComboBox *) 0 ;
4803 long result;
4804 PyObject * obj0 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4811 if (SWIG_arg_fail(1)) SWIG_fail;
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 {
4820 resultobj = SWIG_From_long(static_cast<long >(result));
4821 }
4822 return resultobj;
4823 fail:
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj = NULL;
4830 wxComboBox *arg1 = (wxComboBox *) 0 ;
4831 long result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 {
4848 resultobj = SWIG_From_long(static_cast<long >(result));
4849 }
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4857 PyObject *resultobj = NULL;
4858 wxComboBox *arg1 = (wxComboBox *) 0 ;
4859 long arg2 ;
4860 long arg3 ;
4861 wxString *arg4 = 0 ;
4862 bool temp4 = false ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 PyObject * obj2 = 0 ;
4866 PyObject * obj3 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
4875 arg2 = static_cast<long >(SWIG_As_long(obj1));
4876 if (SWIG_arg_fail(2)) SWIG_fail;
4877 }
4878 {
4879 arg3 = static_cast<long >(SWIG_As_long(obj2));
4880 if (SWIG_arg_fail(3)) SWIG_fail;
4881 }
4882 {
4883 arg4 = wxString_in_helper(obj3);
4884 if (arg4 == NULL) SWIG_fail;
4885 temp4 = true;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 if (temp4)
4897 delete arg4;
4898 }
4899 return resultobj;
4900 fail:
4901 {
4902 if (temp4)
4903 delete arg4;
4904 }
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj = NULL;
4911 wxComboBox *arg1 = (wxComboBox *) 0 ;
4912 int arg2 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self",(char *) "n", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail;
4922 {
4923 arg2 = static_cast<int >(SWIG_As_int(obj1));
4924 if (SWIG_arg_fail(2)) SWIG_fail;
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 (arg1)->SetSelection(arg2);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 Py_INCREF(Py_None); resultobj = Py_None;
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj = NULL;
4942 wxComboBox *arg1 = (wxComboBox *) 0 ;
4943 long arg2 ;
4944 long arg3 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "from",(char *) "to", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail;
4955 {
4956 arg2 = static_cast<long >(SWIG_As_long(obj1));
4957 if (SWIG_arg_fail(2)) SWIG_fail;
4958 }
4959 {
4960 arg3 = static_cast<long >(SWIG_As_long(obj2));
4961 if (SWIG_arg_fail(3)) SWIG_fail;
4962 }
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 (arg1)->SetSelection(arg2,arg3);
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj = NULL;
4979 wxComboBox *arg1 = (wxComboBox *) 0 ;
4980 int result;
4981 PyObject * obj0 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 {
4997 resultobj = SWIG_From_int(static_cast<int >(result));
4998 }
4999 return resultobj;
5000 fail:
5001 return NULL;
5002 }
5003
5004
5005 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj = NULL;
5007 wxComboBox *arg1 = (wxComboBox *) 0 ;
5008 wxString *arg2 = 0 ;
5009 bool result;
5010 bool temp2 = false ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "string", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
5020 {
5021 arg2 = wxString_in_helper(obj1);
5022 if (arg2 == NULL) SWIG_fail;
5023 temp2 = true;
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 {
5033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5034 }
5035 {
5036 if (temp2)
5037 delete arg2;
5038 }
5039 return resultobj;
5040 fail:
5041 {
5042 if (temp2)
5043 delete arg2;
5044 }
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj = NULL;
5051 wxComboBox *arg1 = (wxComboBox *) 0 ;
5052 int arg2 ;
5053 wxString *arg3 = 0 ;
5054 bool temp3 = false ;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 PyObject * obj2 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "n",(char *) "string", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
5063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail;
5065 {
5066 arg2 = static_cast<int >(SWIG_As_int(obj1));
5067 if (SWIG_arg_fail(2)) SWIG_fail;
5068 }
5069 {
5070 arg3 = wxString_in_helper(obj2);
5071 if (arg3 == NULL) SWIG_fail;
5072 temp3 = true;
5073 }
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetString(arg2,(wxString const &)*arg3);
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 Py_INCREF(Py_None); resultobj = Py_None;
5082 {
5083 if (temp3)
5084 delete arg3;
5085 }
5086 return resultobj;
5087 fail:
5088 {
5089 if (temp3)
5090 delete arg3;
5091 }
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj = NULL;
5098 wxComboBox *arg1 = (wxComboBox *) 0 ;
5099 bool arg2 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "self",(char *) "editable", NULL
5104 };
5105
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
5107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail;
5109 {
5110 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5111 if (SWIG_arg_fail(2)) SWIG_fail;
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 (arg1)->SetEditable(arg2);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 Py_INCREF(Py_None); resultobj = Py_None;
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj = NULL;
5129 wxComboBox *arg1 = (wxComboBox *) 0 ;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 (arg1)->SetInsertionPointEnd();
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 Py_INCREF(Py_None); resultobj = Py_None;
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj = NULL;
5154 wxComboBox *arg1 = (wxComboBox *) 0 ;
5155 long arg2 ;
5156 long arg3 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 PyObject * obj2 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "from",(char *) "to", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail;
5167 {
5168 arg2 = static_cast<long >(SWIG_As_long(obj1));
5169 if (SWIG_arg_fail(2)) SWIG_fail;
5170 }
5171 {
5172 arg3 = static_cast<long >(SWIG_As_long(obj2));
5173 if (SWIG_arg_fail(3)) SWIG_fail;
5174 }
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->Remove(arg2,arg3);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj = NULL;
5191 wxComboBox *arg1 = (wxComboBox *) 0 ;
5192 bool result;
5193 PyObject * obj0 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5210 }
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj = NULL;
5219 wxComboBox *arg1 = (wxComboBox *) 0 ;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5227 if (SWIG_arg_fail(1)) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 (arg1)->Undo();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 Py_INCREF(Py_None); resultobj = Py_None;
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj = NULL;
5244 wxComboBox *arg1 = (wxComboBox *) 0 ;
5245 PyObject * obj0 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 (arg1)->Redo();
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 Py_INCREF(Py_None); resultobj = Py_None;
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj = NULL;
5269 wxComboBox *arg1 = (wxComboBox *) 0 ;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail;
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 (arg1)->SelectAll();
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 Py_INCREF(Py_None); resultobj = Py_None;
5286 return resultobj;
5287 fail:
5288 return NULL;
5289 }
5290
5291
5292 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj = NULL;
5294 wxComboBox *arg1 = (wxComboBox *) 0 ;
5295 bool result;
5296 PyObject * obj0 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail;
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 {
5312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5313 }
5314 return resultobj;
5315 fail:
5316 return NULL;
5317 }
5318
5319
5320 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5321 PyObject *resultobj = NULL;
5322 wxComboBox *arg1 = (wxComboBox *) 0 ;
5323 bool result;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 result = (bool)((wxComboBox const *)arg1)->CanCut();
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 {
5340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5341 }
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj = NULL;
5350 wxComboBox *arg1 = (wxComboBox *) 0 ;
5351 bool result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = NULL;
5378 wxComboBox *arg1 = (wxComboBox *) 0 ;
5379 bool result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail;
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 {
5396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5397 }
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj = NULL;
5406 wxComboBox *arg1 = (wxComboBox *) 0 ;
5407 bool result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail;
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 {
5424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5425 }
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj = NULL;
5434 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5435 wxVisualAttributes result;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "variant", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5442 if (obj0) {
5443 {
5444 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5445 if (SWIG_arg_fail(1)) SWIG_fail;
5446 }
5447 }
5448 {
5449 if (!wxPyCheckForApp()) SWIG_fail;
5450 PyThreadState* __tstate = wxPyBeginAllowThreads();
5451 result = wxComboBox::GetClassDefaultAttributes(arg1);
5452
5453 wxPyEndAllowThreads(__tstate);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 {
5457 wxVisualAttributes * resultptr;
5458 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5468 PyObject *obj;
5469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5470 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5471 Py_INCREF(obj);
5472 return Py_BuildValue((char *)"");
5473 }
5474 static int _wrap_GaugeNameStr_set(PyObject *) {
5475 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5476 return 1;
5477 }
5478
5479
5480 static PyObject *_wrap_GaugeNameStr_get(void) {
5481 PyObject *pyobj = NULL;
5482
5483 {
5484 #if wxUSE_UNICODE
5485 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5486 #else
5487 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5488 #endif
5489 }
5490 return pyobj;
5491 }
5492
5493
5494 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj = NULL;
5496 wxWindow *arg1 = (wxWindow *) 0 ;
5497 int arg2 = (int) -1 ;
5498 int arg3 = (int) 100 ;
5499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5501 wxSize const &arg5_defvalue = wxDefaultSize ;
5502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5503 long arg6 = (long) wxGA_HORIZONTAL ;
5504 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5505 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5506 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5507 wxString *arg8 = (wxString *) &arg8_defvalue ;
5508 wxGauge *result;
5509 wxPoint temp4 ;
5510 wxSize temp5 ;
5511 bool temp8 = false ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 PyObject * obj2 = 0 ;
5515 PyObject * obj3 = 0 ;
5516 PyObject * obj4 = 0 ;
5517 PyObject * obj5 = 0 ;
5518 PyObject * obj6 = 0 ;
5519 PyObject * obj7 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail;
5527 if (obj1) {
5528 {
5529 arg2 = static_cast<int >(SWIG_As_int(obj1));
5530 if (SWIG_arg_fail(2)) SWIG_fail;
5531 }
5532 }
5533 if (obj2) {
5534 {
5535 arg3 = static_cast<int >(SWIG_As_int(obj2));
5536 if (SWIG_arg_fail(3)) SWIG_fail;
5537 }
5538 }
5539 if (obj3) {
5540 {
5541 arg4 = &temp4;
5542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5543 }
5544 }
5545 if (obj4) {
5546 {
5547 arg5 = &temp5;
5548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5549 }
5550 }
5551 if (obj5) {
5552 {
5553 arg6 = static_cast<long >(SWIG_As_long(obj5));
5554 if (SWIG_arg_fail(6)) SWIG_fail;
5555 }
5556 }
5557 if (obj6) {
5558 {
5559 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5560 if (SWIG_arg_fail(7)) SWIG_fail;
5561 if (arg7 == NULL) {
5562 SWIG_null_ref("wxValidator");
5563 }
5564 if (SWIG_arg_fail(7)) SWIG_fail;
5565 }
5566 }
5567 if (obj7) {
5568 {
5569 arg8 = wxString_in_helper(obj7);
5570 if (arg8 == NULL) SWIG_fail;
5571 temp8 = true;
5572 }
5573 }
5574 {
5575 if (!wxPyCheckForApp()) SWIG_fail;
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
5577 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5583 {
5584 if (temp8)
5585 delete arg8;
5586 }
5587 return resultobj;
5588 fail:
5589 {
5590 if (temp8)
5591 delete arg8;
5592 }
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj = NULL;
5599 wxGauge *result;
5600 char *kwnames[] = {
5601 NULL
5602 };
5603
5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5605 {
5606 if (!wxPyCheckForApp()) SWIG_fail;
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (wxGauge *)new wxGauge();
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj = NULL;
5622 wxGauge *arg1 = (wxGauge *) 0 ;
5623 wxWindow *arg2 = (wxWindow *) 0 ;
5624 int arg3 = (int) -1 ;
5625 int arg4 = (int) 100 ;
5626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5628 wxSize const &arg6_defvalue = wxDefaultSize ;
5629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5630 long arg7 = (long) wxGA_HORIZONTAL ;
5631 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5632 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5633 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5634 wxString *arg9 = (wxString *) &arg9_defvalue ;
5635 bool result;
5636 wxPoint temp5 ;
5637 wxSize temp6 ;
5638 bool temp9 = false ;
5639 PyObject * obj0 = 0 ;
5640 PyObject * obj1 = 0 ;
5641 PyObject * obj2 = 0 ;
5642 PyObject * obj3 = 0 ;
5643 PyObject * obj4 = 0 ;
5644 PyObject * obj5 = 0 ;
5645 PyObject * obj6 = 0 ;
5646 PyObject * obj7 = 0 ;
5647 PyObject * obj8 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail;
5655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5656 if (SWIG_arg_fail(2)) SWIG_fail;
5657 if (obj2) {
5658 {
5659 arg3 = static_cast<int >(SWIG_As_int(obj2));
5660 if (SWIG_arg_fail(3)) SWIG_fail;
5661 }
5662 }
5663 if (obj3) {
5664 {
5665 arg4 = static_cast<int >(SWIG_As_int(obj3));
5666 if (SWIG_arg_fail(4)) SWIG_fail;
5667 }
5668 }
5669 if (obj4) {
5670 {
5671 arg5 = &temp5;
5672 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5673 }
5674 }
5675 if (obj5) {
5676 {
5677 arg6 = &temp6;
5678 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5679 }
5680 }
5681 if (obj6) {
5682 {
5683 arg7 = static_cast<long >(SWIG_As_long(obj6));
5684 if (SWIG_arg_fail(7)) SWIG_fail;
5685 }
5686 }
5687 if (obj7) {
5688 {
5689 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5690 if (SWIG_arg_fail(8)) SWIG_fail;
5691 if (arg8 == NULL) {
5692 SWIG_null_ref("wxValidator");
5693 }
5694 if (SWIG_arg_fail(8)) SWIG_fail;
5695 }
5696 }
5697 if (obj8) {
5698 {
5699 arg9 = wxString_in_helper(obj8);
5700 if (arg9 == NULL) SWIG_fail;
5701 temp9 = true;
5702 }
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 {
5715 if (temp9)
5716 delete arg9;
5717 }
5718 return resultobj;
5719 fail:
5720 {
5721 if (temp9)
5722 delete arg9;
5723 }
5724 return NULL;
5725 }
5726
5727
5728 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj = NULL;
5730 wxGauge *arg1 = (wxGauge *) 0 ;
5731 int arg2 ;
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "range", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail;
5741 {
5742 arg2 = static_cast<int >(SWIG_As_int(obj1));
5743 if (SWIG_arg_fail(2)) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetRange(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj = NULL;
5761 wxGauge *arg1 = (wxGauge *) 0 ;
5762 int result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5770 if (SWIG_arg_fail(1)) SWIG_fail;
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (int)((wxGauge const *)arg1)->GetRange();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 {
5779 resultobj = SWIG_From_int(static_cast<int >(result));
5780 }
5781 return resultobj;
5782 fail:
5783 return NULL;
5784 }
5785
5786
5787 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj = NULL;
5789 wxGauge *arg1 = (wxGauge *) 0 ;
5790 int arg2 ;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self",(char *) "pos", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail;
5800 {
5801 arg2 = static_cast<int >(SWIG_As_int(obj1));
5802 if (SWIG_arg_fail(2)) SWIG_fail;
5803 }
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 (arg1)->SetValue(arg2);
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 Py_INCREF(Py_None); resultobj = Py_None;
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj = NULL;
5820 wxGauge *arg1 = (wxGauge *) 0 ;
5821 int result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (int)((wxGauge const *)arg1)->GetValue();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 {
5838 resultobj = SWIG_From_int(static_cast<int >(result));
5839 }
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj = NULL;
5848 wxGauge *arg1 = (wxGauge *) 0 ;
5849 bool result;
5850 PyObject * obj0 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail;
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)((wxGauge const *)arg1)->IsVertical();
5861
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 {
5866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5867 }
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj = NULL;
5876 wxGauge *arg1 = (wxGauge *) 0 ;
5877 int arg2 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char *kwnames[] = {
5881 (char *) "self",(char *) "w", NULL
5882 };
5883
5884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5886 if (SWIG_arg_fail(1)) SWIG_fail;
5887 {
5888 arg2 = static_cast<int >(SWIG_As_int(obj1));
5889 if (SWIG_arg_fail(2)) SWIG_fail;
5890 }
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 (arg1)->SetShadowWidth(arg2);
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 Py_INCREF(Py_None); resultobj = Py_None;
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj = NULL;
5907 wxGauge *arg1 = (wxGauge *) 0 ;
5908 int result;
5909 PyObject * obj0 = 0 ;
5910 char *kwnames[] = {
5911 (char *) "self", NULL
5912 };
5913
5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5916 if (SWIG_arg_fail(1)) SWIG_fail;
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 {
5925 resultobj = SWIG_From_int(static_cast<int >(result));
5926 }
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5934 PyObject *resultobj = NULL;
5935 wxGauge *arg1 = (wxGauge *) 0 ;
5936 int arg2 ;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj1 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self",(char *) "w", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5945 if (SWIG_arg_fail(1)) SWIG_fail;
5946 {
5947 arg2 = static_cast<int >(SWIG_As_int(obj1));
5948 if (SWIG_arg_fail(2)) SWIG_fail;
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 (arg1)->SetBezelFace(arg2);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 Py_INCREF(Py_None); resultobj = Py_None;
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj = NULL;
5966 wxGauge *arg1 = (wxGauge *) 0 ;
5967 int result;
5968 PyObject * obj0 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 {
5984 resultobj = SWIG_From_int(static_cast<int >(result));
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj = NULL;
5994 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5995 wxVisualAttributes result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "variant", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6002 if (obj0) {
6003 {
6004 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6005 if (SWIG_arg_fail(1)) SWIG_fail;
6006 }
6007 }
6008 {
6009 if (!wxPyCheckForApp()) SWIG_fail;
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = wxGauge::GetClassDefaultAttributes(arg1);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 wxVisualAttributes * resultptr;
6018 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6020 }
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
6028 PyObject *obj;
6029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6030 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6031 Py_INCREF(obj);
6032 return Py_BuildValue((char *)"");
6033 }
6034 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
6035 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6036 return 1;
6037 }
6038
6039
6040 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
6041 PyObject *pyobj = NULL;
6042
6043 {
6044 #if wxUSE_UNICODE
6045 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6046 #else
6047 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6048 #endif
6049 }
6050 return pyobj;
6051 }
6052
6053
6054 static int _wrap_StaticBoxNameStr_set(PyObject *) {
6055 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6056 return 1;
6057 }
6058
6059
6060 static PyObject *_wrap_StaticBoxNameStr_get(void) {
6061 PyObject *pyobj = NULL;
6062
6063 {
6064 #if wxUSE_UNICODE
6065 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6066 #else
6067 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6068 #endif
6069 }
6070 return pyobj;
6071 }
6072
6073
6074 static int _wrap_StaticTextNameStr_set(PyObject *) {
6075 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6076 return 1;
6077 }
6078
6079
6080 static PyObject *_wrap_StaticTextNameStr_get(void) {
6081 PyObject *pyobj = NULL;
6082
6083 {
6084 #if wxUSE_UNICODE
6085 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6086 #else
6087 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6088 #endif
6089 }
6090 return pyobj;
6091 }
6092
6093
6094 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj = NULL;
6096 wxWindow *arg1 = (wxWindow *) 0 ;
6097 int arg2 = (int) -1 ;
6098 wxString const &arg3_defvalue = wxPyEmptyString ;
6099 wxString *arg3 = (wxString *) &arg3_defvalue ;
6100 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6101 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6102 wxSize const &arg5_defvalue = wxDefaultSize ;
6103 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6104 long arg6 = (long) 0 ;
6105 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6106 wxString *arg7 = (wxString *) &arg7_defvalue ;
6107 wxStaticBox *result;
6108 bool temp3 = false ;
6109 wxPoint temp4 ;
6110 wxSize temp5 ;
6111 bool temp7 = false ;
6112 PyObject * obj0 = 0 ;
6113 PyObject * obj1 = 0 ;
6114 PyObject * obj2 = 0 ;
6115 PyObject * obj3 = 0 ;
6116 PyObject * obj4 = 0 ;
6117 PyObject * obj5 = 0 ;
6118 PyObject * obj6 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6125 if (SWIG_arg_fail(1)) SWIG_fail;
6126 if (obj1) {
6127 {
6128 arg2 = static_cast<int >(SWIG_As_int(obj1));
6129 if (SWIG_arg_fail(2)) SWIG_fail;
6130 }
6131 }
6132 if (obj2) {
6133 {
6134 arg3 = wxString_in_helper(obj2);
6135 if (arg3 == NULL) SWIG_fail;
6136 temp3 = true;
6137 }
6138 }
6139 if (obj3) {
6140 {
6141 arg4 = &temp4;
6142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6143 }
6144 }
6145 if (obj4) {
6146 {
6147 arg5 = &temp5;
6148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6149 }
6150 }
6151 if (obj5) {
6152 {
6153 arg6 = static_cast<long >(SWIG_As_long(obj5));
6154 if (SWIG_arg_fail(6)) SWIG_fail;
6155 }
6156 }
6157 if (obj6) {
6158 {
6159 arg7 = wxString_in_helper(obj6);
6160 if (arg7 == NULL) SWIG_fail;
6161 temp7 = true;
6162 }
6163 }
6164 {
6165 if (!wxPyCheckForApp()) SWIG_fail;
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6173 {
6174 if (temp3)
6175 delete arg3;
6176 }
6177 {
6178 if (temp7)
6179 delete arg7;
6180 }
6181 return resultobj;
6182 fail:
6183 {
6184 if (temp3)
6185 delete arg3;
6186 }
6187 {
6188 if (temp7)
6189 delete arg7;
6190 }
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj = NULL;
6197 wxStaticBox *result;
6198 char *kwnames[] = {
6199 NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6203 {
6204 if (!wxPyCheckForApp()) SWIG_fail;
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (wxStaticBox *)new wxStaticBox();
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6212 return resultobj;
6213 fail:
6214 return NULL;
6215 }
6216
6217
6218 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj = NULL;
6220 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6221 wxWindow *arg2 = (wxWindow *) 0 ;
6222 int arg3 = (int) -1 ;
6223 wxString const &arg4_defvalue = wxPyEmptyString ;
6224 wxString *arg4 = (wxString *) &arg4_defvalue ;
6225 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6226 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6227 wxSize const &arg6_defvalue = wxDefaultSize ;
6228 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6229 long arg7 = (long) 0 ;
6230 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6231 wxString *arg8 = (wxString *) &arg8_defvalue ;
6232 bool result;
6233 bool temp4 = false ;
6234 wxPoint temp5 ;
6235 wxSize temp6 ;
6236 bool temp8 = false ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 PyObject * obj2 = 0 ;
6240 PyObject * obj3 = 0 ;
6241 PyObject * obj4 = 0 ;
6242 PyObject * obj5 = 0 ;
6243 PyObject * obj6 = 0 ;
6244 PyObject * obj7 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6251 if (SWIG_arg_fail(1)) SWIG_fail;
6252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6253 if (SWIG_arg_fail(2)) SWIG_fail;
6254 if (obj2) {
6255 {
6256 arg3 = static_cast<int >(SWIG_As_int(obj2));
6257 if (SWIG_arg_fail(3)) SWIG_fail;
6258 }
6259 }
6260 if (obj3) {
6261 {
6262 arg4 = wxString_in_helper(obj3);
6263 if (arg4 == NULL) SWIG_fail;
6264 temp4 = true;
6265 }
6266 }
6267 if (obj4) {
6268 {
6269 arg5 = &temp5;
6270 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6271 }
6272 }
6273 if (obj5) {
6274 {
6275 arg6 = &temp6;
6276 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6277 }
6278 }
6279 if (obj6) {
6280 {
6281 arg7 = static_cast<long >(SWIG_As_long(obj6));
6282 if (SWIG_arg_fail(7)) SWIG_fail;
6283 }
6284 }
6285 if (obj7) {
6286 {
6287 arg8 = wxString_in_helper(obj7);
6288 if (arg8 == NULL) SWIG_fail;
6289 temp8 = true;
6290 }
6291 }
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6301 }
6302 {
6303 if (temp4)
6304 delete arg4;
6305 }
6306 {
6307 if (temp8)
6308 delete arg8;
6309 }
6310 return resultobj;
6311 fail:
6312 {
6313 if (temp4)
6314 delete arg4;
6315 }
6316 {
6317 if (temp8)
6318 delete arg8;
6319 }
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj = NULL;
6326 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6327 wxVisualAttributes result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "variant", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6334 if (obj0) {
6335 {
6336 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6337 if (SWIG_arg_fail(1)) SWIG_fail;
6338 }
6339 }
6340 {
6341 if (!wxPyCheckForApp()) SWIG_fail;
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = wxStaticBox::GetClassDefaultAttributes(arg1);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 {
6349 wxVisualAttributes * resultptr;
6350 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6352 }
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6360 PyObject *obj;
6361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6362 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6363 Py_INCREF(obj);
6364 return Py_BuildValue((char *)"");
6365 }
6366 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj = NULL;
6368 wxWindow *arg1 = (wxWindow *) 0 ;
6369 int arg2 = (int) -1 ;
6370 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6371 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6372 wxSize const &arg4_defvalue = wxDefaultSize ;
6373 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6374 long arg5 = (long) wxLI_HORIZONTAL ;
6375 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6376 wxString *arg6 = (wxString *) &arg6_defvalue ;
6377 wxStaticLine *result;
6378 wxPoint temp3 ;
6379 wxSize temp4 ;
6380 bool temp6 = false ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 PyObject * obj2 = 0 ;
6384 PyObject * obj3 = 0 ;
6385 PyObject * obj4 = 0 ;
6386 PyObject * obj5 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail;
6394 if (obj1) {
6395 {
6396 arg2 = static_cast<int >(SWIG_As_int(obj1));
6397 if (SWIG_arg_fail(2)) SWIG_fail;
6398 }
6399 }
6400 if (obj2) {
6401 {
6402 arg3 = &temp3;
6403 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6404 }
6405 }
6406 if (obj3) {
6407 {
6408 arg4 = &temp4;
6409 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6410 }
6411 }
6412 if (obj4) {
6413 {
6414 arg5 = static_cast<long >(SWIG_As_long(obj4));
6415 if (SWIG_arg_fail(5)) SWIG_fail;
6416 }
6417 }
6418 if (obj5) {
6419 {
6420 arg6 = wxString_in_helper(obj5);
6421 if (arg6 == NULL) SWIG_fail;
6422 temp6 = true;
6423 }
6424 }
6425 {
6426 if (!wxPyCheckForApp()) SWIG_fail;
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6434 {
6435 if (temp6)
6436 delete arg6;
6437 }
6438 return resultobj;
6439 fail:
6440 {
6441 if (temp6)
6442 delete arg6;
6443 }
6444 return NULL;
6445 }
6446
6447
6448 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj = NULL;
6450 wxStaticLine *result;
6451 char *kwnames[] = {
6452 NULL
6453 };
6454
6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6456 {
6457 if (!wxPyCheckForApp()) SWIG_fail;
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (wxStaticLine *)new wxStaticLine();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj = NULL;
6473 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6474 wxWindow *arg2 = (wxWindow *) 0 ;
6475 int arg3 = (int) -1 ;
6476 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6477 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6478 wxSize const &arg5_defvalue = wxDefaultSize ;
6479 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6480 long arg6 = (long) wxLI_HORIZONTAL ;
6481 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6482 wxString *arg7 = (wxString *) &arg7_defvalue ;
6483 bool result;
6484 wxPoint temp4 ;
6485 wxSize temp5 ;
6486 bool temp7 = false ;
6487 PyObject * obj0 = 0 ;
6488 PyObject * obj1 = 0 ;
6489 PyObject * obj2 = 0 ;
6490 PyObject * obj3 = 0 ;
6491 PyObject * obj4 = 0 ;
6492 PyObject * obj5 = 0 ;
6493 PyObject * obj6 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6500 if (SWIG_arg_fail(1)) SWIG_fail;
6501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6502 if (SWIG_arg_fail(2)) SWIG_fail;
6503 if (obj2) {
6504 {
6505 arg3 = static_cast<int >(SWIG_As_int(obj2));
6506 if (SWIG_arg_fail(3)) SWIG_fail;
6507 }
6508 }
6509 if (obj3) {
6510 {
6511 arg4 = &temp4;
6512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6513 }
6514 }
6515 if (obj4) {
6516 {
6517 arg5 = &temp5;
6518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6519 }
6520 }
6521 if (obj5) {
6522 {
6523 arg6 = static_cast<long >(SWIG_As_long(obj5));
6524 if (SWIG_arg_fail(6)) SWIG_fail;
6525 }
6526 }
6527 if (obj6) {
6528 {
6529 arg7 = wxString_in_helper(obj6);
6530 if (arg7 == NULL) SWIG_fail;
6531 temp7 = true;
6532 }
6533 }
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 {
6542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6543 }
6544 {
6545 if (temp7)
6546 delete arg7;
6547 }
6548 return resultobj;
6549 fail:
6550 {
6551 if (temp7)
6552 delete arg7;
6553 }
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj = NULL;
6560 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6561 bool result;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = NULL;
6588 int result;
6589 char *kwnames[] = {
6590 NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (int)wxStaticLine::GetDefaultSize();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 {
6602 resultobj = SWIG_From_int(static_cast<int >(result));
6603 }
6604 return resultobj;
6605 fail:
6606 return NULL;
6607 }
6608
6609
6610 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj = NULL;
6612 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6613 wxVisualAttributes result;
6614 PyObject * obj0 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "variant", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6620 if (obj0) {
6621 {
6622 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6623 if (SWIG_arg_fail(1)) SWIG_fail;
6624 }
6625 }
6626 {
6627 if (!wxPyCheckForApp()) SWIG_fail;
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 result = wxStaticLine::GetClassDefaultAttributes(arg1);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 {
6635 wxVisualAttributes * resultptr;
6636 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6638 }
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6646 PyObject *obj;
6647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6648 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6649 Py_INCREF(obj);
6650 return Py_BuildValue((char *)"");
6651 }
6652 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj = NULL;
6654 wxWindow *arg1 = (wxWindow *) 0 ;
6655 int arg2 = (int) -1 ;
6656 wxString const &arg3_defvalue = wxPyEmptyString ;
6657 wxString *arg3 = (wxString *) &arg3_defvalue ;
6658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6660 wxSize const &arg5_defvalue = wxDefaultSize ;
6661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6662 long arg6 = (long) 0 ;
6663 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6664 wxString *arg7 = (wxString *) &arg7_defvalue ;
6665 wxStaticText *result;
6666 bool temp3 = false ;
6667 wxPoint temp4 ;
6668 wxSize temp5 ;
6669 bool temp7 = false ;
6670 PyObject * obj0 = 0 ;
6671 PyObject * obj1 = 0 ;
6672 PyObject * obj2 = 0 ;
6673 PyObject * obj3 = 0 ;
6674 PyObject * obj4 = 0 ;
6675 PyObject * obj5 = 0 ;
6676 PyObject * obj6 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail;
6684 if (obj1) {
6685 {
6686 arg2 = static_cast<int >(SWIG_As_int(obj1));
6687 if (SWIG_arg_fail(2)) SWIG_fail;
6688 }
6689 }
6690 if (obj2) {
6691 {
6692 arg3 = wxString_in_helper(obj2);
6693 if (arg3 == NULL) SWIG_fail;
6694 temp3 = true;
6695 }
6696 }
6697 if (obj3) {
6698 {
6699 arg4 = &temp4;
6700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6701 }
6702 }
6703 if (obj4) {
6704 {
6705 arg5 = &temp5;
6706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6707 }
6708 }
6709 if (obj5) {
6710 {
6711 arg6 = static_cast<long >(SWIG_As_long(obj5));
6712 if (SWIG_arg_fail(6)) SWIG_fail;
6713 }
6714 }
6715 if (obj6) {
6716 {
6717 arg7 = wxString_in_helper(obj6);
6718 if (arg7 == NULL) SWIG_fail;
6719 temp7 = true;
6720 }
6721 }
6722 {
6723 if (!wxPyCheckForApp()) SWIG_fail;
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6726
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6731 {
6732 if (temp3)
6733 delete arg3;
6734 }
6735 {
6736 if (temp7)
6737 delete arg7;
6738 }
6739 return resultobj;
6740 fail:
6741 {
6742 if (temp3)
6743 delete arg3;
6744 }
6745 {
6746 if (temp7)
6747 delete arg7;
6748 }
6749 return NULL;
6750 }
6751
6752
6753 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj = NULL;
6755 wxStaticText *result;
6756 char *kwnames[] = {
6757 NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6761 {
6762 if (!wxPyCheckForApp()) SWIG_fail;
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = (wxStaticText *)new wxStaticText();
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = NULL;
6778 wxStaticText *arg1 = (wxStaticText *) 0 ;
6779 wxWindow *arg2 = (wxWindow *) 0 ;
6780 int arg3 = (int) -1 ;
6781 wxString const &arg4_defvalue = wxPyEmptyString ;
6782 wxString *arg4 = (wxString *) &arg4_defvalue ;
6783 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6784 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6785 wxSize const &arg6_defvalue = wxDefaultSize ;
6786 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6787 long arg7 = (long) 0 ;
6788 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6789 wxString *arg8 = (wxString *) &arg8_defvalue ;
6790 bool result;
6791 bool temp4 = false ;
6792 wxPoint temp5 ;
6793 wxSize temp6 ;
6794 bool temp8 = false ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 PyObject * obj3 = 0 ;
6799 PyObject * obj4 = 0 ;
6800 PyObject * obj5 = 0 ;
6801 PyObject * obj6 = 0 ;
6802 PyObject * obj7 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail;
6810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6811 if (SWIG_arg_fail(2)) SWIG_fail;
6812 if (obj2) {
6813 {
6814 arg3 = static_cast<int >(SWIG_As_int(obj2));
6815 if (SWIG_arg_fail(3)) SWIG_fail;
6816 }
6817 }
6818 if (obj3) {
6819 {
6820 arg4 = wxString_in_helper(obj3);
6821 if (arg4 == NULL) SWIG_fail;
6822 temp4 = true;
6823 }
6824 }
6825 if (obj4) {
6826 {
6827 arg5 = &temp5;
6828 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6829 }
6830 }
6831 if (obj5) {
6832 {
6833 arg6 = &temp6;
6834 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6835 }
6836 }
6837 if (obj6) {
6838 {
6839 arg7 = static_cast<long >(SWIG_As_long(obj6));
6840 if (SWIG_arg_fail(7)) SWIG_fail;
6841 }
6842 }
6843 if (obj7) {
6844 {
6845 arg8 = wxString_in_helper(obj7);
6846 if (arg8 == NULL) SWIG_fail;
6847 temp8 = true;
6848 }
6849 }
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 {
6858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6859 }
6860 {
6861 if (temp4)
6862 delete arg4;
6863 }
6864 {
6865 if (temp8)
6866 delete arg8;
6867 }
6868 return resultobj;
6869 fail:
6870 {
6871 if (temp4)
6872 delete arg4;
6873 }
6874 {
6875 if (temp8)
6876 delete arg8;
6877 }
6878 return NULL;
6879 }
6880
6881
6882 static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = NULL;
6884 wxStaticText *arg1 = (wxStaticText *) 0 ;
6885 int arg2 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "width", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail;
6895 {
6896 arg2 = static_cast<int >(SWIG_As_int(obj1));
6897 if (SWIG_arg_fail(2)) SWIG_fail;
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->Wrap(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj = NULL;
6915 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6916 wxVisualAttributes result;
6917 PyObject * obj0 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "variant", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6923 if (obj0) {
6924 {
6925 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6926 if (SWIG_arg_fail(1)) SWIG_fail;
6927 }
6928 }
6929 {
6930 if (!wxPyCheckForApp()) SWIG_fail;
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = wxStaticText::GetClassDefaultAttributes(arg1);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 {
6938 wxVisualAttributes * resultptr;
6939 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6941 }
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6949 PyObject *obj;
6950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6951 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6952 Py_INCREF(obj);
6953 return Py_BuildValue((char *)"");
6954 }
6955 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj = NULL;
6957 wxWindow *arg1 = (wxWindow *) 0 ;
6958 int arg2 = (int) -1 ;
6959 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6960 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6963 wxSize const &arg5_defvalue = wxDefaultSize ;
6964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6965 long arg6 = (long) 0 ;
6966 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6967 wxString *arg7 = (wxString *) &arg7_defvalue ;
6968 wxStaticBitmap *result;
6969 wxPoint temp4 ;
6970 wxSize temp5 ;
6971 bool temp7 = false ;
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 PyObject * obj2 = 0 ;
6975 PyObject * obj3 = 0 ;
6976 PyObject * obj4 = 0 ;
6977 PyObject * obj5 = 0 ;
6978 PyObject * obj6 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail;
6986 if (obj1) {
6987 {
6988 arg2 = static_cast<int >(SWIG_As_int(obj1));
6989 if (SWIG_arg_fail(2)) SWIG_fail;
6990 }
6991 }
6992 if (obj2) {
6993 {
6994 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6995 if (SWIG_arg_fail(3)) SWIG_fail;
6996 if (arg3 == NULL) {
6997 SWIG_null_ref("wxBitmap");
6998 }
6999 if (SWIG_arg_fail(3)) SWIG_fail;
7000 }
7001 }
7002 if (obj3) {
7003 {
7004 arg4 = &temp4;
7005 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7006 }
7007 }
7008 if (obj4) {
7009 {
7010 arg5 = &temp5;
7011 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7012 }
7013 }
7014 if (obj5) {
7015 {
7016 arg6 = static_cast<long >(SWIG_As_long(obj5));
7017 if (SWIG_arg_fail(6)) SWIG_fail;
7018 }
7019 }
7020 if (obj6) {
7021 {
7022 arg7 = wxString_in_helper(obj6);
7023 if (arg7 == NULL) SWIG_fail;
7024 temp7 = true;
7025 }
7026 }
7027 {
7028 if (!wxPyCheckForApp()) SWIG_fail;
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7036 {
7037 if (temp7)
7038 delete arg7;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (temp7)
7044 delete arg7;
7045 }
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj = NULL;
7052 wxStaticBitmap *result;
7053 char *kwnames[] = {
7054 NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7058 {
7059 if (!wxPyCheckForApp()) SWIG_fail;
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 result = (wxStaticBitmap *)new wxStaticBitmap();
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj = NULL;
7075 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7076 wxWindow *arg2 = (wxWindow *) 0 ;
7077 int arg3 = (int) -1 ;
7078 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7079 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
7080 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7081 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7082 wxSize const &arg6_defvalue = wxDefaultSize ;
7083 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7084 long arg7 = (long) 0 ;
7085 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7086 wxString *arg8 = (wxString *) &arg8_defvalue ;
7087 bool result;
7088 wxPoint temp5 ;
7089 wxSize temp6 ;
7090 bool temp8 = false ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 PyObject * obj2 = 0 ;
7094 PyObject * obj3 = 0 ;
7095 PyObject * obj4 = 0 ;
7096 PyObject * obj5 = 0 ;
7097 PyObject * obj6 = 0 ;
7098 PyObject * obj7 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7107 if (SWIG_arg_fail(2)) SWIG_fail;
7108 if (obj2) {
7109 {
7110 arg3 = static_cast<int >(SWIG_As_int(obj2));
7111 if (SWIG_arg_fail(3)) SWIG_fail;
7112 }
7113 }
7114 if (obj3) {
7115 {
7116 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7117 if (SWIG_arg_fail(4)) SWIG_fail;
7118 if (arg4 == NULL) {
7119 SWIG_null_ref("wxBitmap");
7120 }
7121 if (SWIG_arg_fail(4)) SWIG_fail;
7122 }
7123 }
7124 if (obj4) {
7125 {
7126 arg5 = &temp5;
7127 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7128 }
7129 }
7130 if (obj5) {
7131 {
7132 arg6 = &temp6;
7133 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7134 }
7135 }
7136 if (obj6) {
7137 {
7138 arg7 = static_cast<long >(SWIG_As_long(obj6));
7139 if (SWIG_arg_fail(7)) SWIG_fail;
7140 }
7141 }
7142 if (obj7) {
7143 {
7144 arg8 = wxString_in_helper(obj7);
7145 if (arg8 == NULL) SWIG_fail;
7146 temp8 = true;
7147 }
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 {
7157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7158 }
7159 {
7160 if (temp8)
7161 delete arg8;
7162 }
7163 return resultobj;
7164 fail:
7165 {
7166 if (temp8)
7167 delete arg8;
7168 }
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj = NULL;
7175 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7176 wxBitmap result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7184 if (SWIG_arg_fail(1)) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (arg1)->GetBitmap();
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 {
7193 wxBitmap * resultptr;
7194 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
7195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7196 }
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj = NULL;
7205 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7206 wxBitmap *arg2 = 0 ;
7207 PyObject * obj0 = 0 ;
7208 PyObject * obj1 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "self",(char *) "bitmap", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7215 if (SWIG_arg_fail(1)) SWIG_fail;
7216 {
7217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7218 if (SWIG_arg_fail(2)) SWIG_fail;
7219 if (arg2 == NULL) {
7220 SWIG_null_ref("wxBitmap");
7221 }
7222 if (SWIG_arg_fail(2)) SWIG_fail;
7223 }
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 Py_INCREF(Py_None); resultobj = Py_None;
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj = NULL;
7240 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7241 wxIcon *arg2 = 0 ;
7242 PyObject * obj0 = 0 ;
7243 PyObject * obj1 = 0 ;
7244 char *kwnames[] = {
7245 (char *) "self",(char *) "icon", NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7250 if (SWIG_arg_fail(1)) SWIG_fail;
7251 {
7252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7253 if (SWIG_arg_fail(2)) SWIG_fail;
7254 if (arg2 == NULL) {
7255 SWIG_null_ref("wxIcon");
7256 }
7257 if (SWIG_arg_fail(2)) SWIG_fail;
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 (arg1)->SetIcon((wxIcon const &)*arg2);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 Py_INCREF(Py_None); resultobj = Py_None;
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj = NULL;
7275 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7276 wxVisualAttributes result;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "variant", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7283 if (obj0) {
7284 {
7285 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7286 if (SWIG_arg_fail(1)) SWIG_fail;
7287 }
7288 }
7289 {
7290 if (!wxPyCheckForApp()) SWIG_fail;
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 {
7298 wxVisualAttributes * resultptr;
7299 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7301 }
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7309 PyObject *obj;
7310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7312 Py_INCREF(obj);
7313 return Py_BuildValue((char *)"");
7314 }
7315 static int _wrap_ListBoxNameStr_set(PyObject *) {
7316 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7317 return 1;
7318 }
7319
7320
7321 static PyObject *_wrap_ListBoxNameStr_get(void) {
7322 PyObject *pyobj = NULL;
7323
7324 {
7325 #if wxUSE_UNICODE
7326 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7327 #else
7328 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7329 #endif
7330 }
7331 return pyobj;
7332 }
7333
7334
7335 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj = NULL;
7337 wxWindow *arg1 = (wxWindow *) 0 ;
7338 int arg2 = (int) -1 ;
7339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7341 wxSize const &arg4_defvalue = wxDefaultSize ;
7342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7343 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7344 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7345 long arg6 = (long) 0 ;
7346 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7347 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7348 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7349 wxString *arg8 = (wxString *) &arg8_defvalue ;
7350 wxListBox *result;
7351 wxPoint temp3 ;
7352 wxSize temp4 ;
7353 bool temp5 = false ;
7354 bool temp8 = false ;
7355 PyObject * obj0 = 0 ;
7356 PyObject * obj1 = 0 ;
7357 PyObject * obj2 = 0 ;
7358 PyObject * obj3 = 0 ;
7359 PyObject * obj4 = 0 ;
7360 PyObject * obj5 = 0 ;
7361 PyObject * obj6 = 0 ;
7362 PyObject * obj7 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail;
7370 if (obj1) {
7371 {
7372 arg2 = static_cast<int >(SWIG_As_int(obj1));
7373 if (SWIG_arg_fail(2)) SWIG_fail;
7374 }
7375 }
7376 if (obj2) {
7377 {
7378 arg3 = &temp3;
7379 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7380 }
7381 }
7382 if (obj3) {
7383 {
7384 arg4 = &temp4;
7385 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7386 }
7387 }
7388 if (obj4) {
7389 {
7390 if (! PySequence_Check(obj4)) {
7391 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7392 SWIG_fail;
7393 }
7394 arg5 = new wxArrayString;
7395 temp5 = true;
7396 int i, len=PySequence_Length(obj4);
7397 for (i=0; i<len; i++) {
7398 PyObject* item = PySequence_GetItem(obj4, i);
7399 wxString* s = wxString_in_helper(item);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 arg5->Add(*s);
7402 delete s;
7403 Py_DECREF(item);
7404 }
7405 }
7406 }
7407 if (obj5) {
7408 {
7409 arg6 = static_cast<long >(SWIG_As_long(obj5));
7410 if (SWIG_arg_fail(6)) SWIG_fail;
7411 }
7412 }
7413 if (obj6) {
7414 {
7415 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(7)) SWIG_fail;
7417 if (arg7 == NULL) {
7418 SWIG_null_ref("wxValidator");
7419 }
7420 if (SWIG_arg_fail(7)) SWIG_fail;
7421 }
7422 }
7423 if (obj7) {
7424 {
7425 arg8 = wxString_in_helper(obj7);
7426 if (arg8 == NULL) SWIG_fail;
7427 temp8 = true;
7428 }
7429 }
7430 {
7431 if (!wxPyCheckForApp()) SWIG_fail;
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7439 {
7440 if (temp5) delete arg5;
7441 }
7442 {
7443 if (temp8)
7444 delete arg8;
7445 }
7446 return resultobj;
7447 fail:
7448 {
7449 if (temp5) delete arg5;
7450 }
7451 {
7452 if (temp8)
7453 delete arg8;
7454 }
7455 return NULL;
7456 }
7457
7458
7459 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj = NULL;
7461 wxListBox *result;
7462 char *kwnames[] = {
7463 NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7467 {
7468 if (!wxPyCheckForApp()) SWIG_fail;
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (wxListBox *)new wxListBox();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj = NULL;
7484 wxListBox *arg1 = (wxListBox *) 0 ;
7485 wxWindow *arg2 = (wxWindow *) 0 ;
7486 int arg3 = (int) -1 ;
7487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7489 wxSize const &arg5_defvalue = wxDefaultSize ;
7490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7491 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7492 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7493 long arg7 = (long) 0 ;
7494 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7495 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7496 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7497 wxString *arg9 = (wxString *) &arg9_defvalue ;
7498 bool result;
7499 wxPoint temp4 ;
7500 wxSize temp5 ;
7501 bool temp6 = false ;
7502 bool temp9 = false ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 PyObject * obj2 = 0 ;
7506 PyObject * obj3 = 0 ;
7507 PyObject * obj4 = 0 ;
7508 PyObject * obj5 = 0 ;
7509 PyObject * obj6 = 0 ;
7510 PyObject * obj7 = 0 ;
7511 PyObject * obj8 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail;
7519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7520 if (SWIG_arg_fail(2)) SWIG_fail;
7521 if (obj2) {
7522 {
7523 arg3 = static_cast<int >(SWIG_As_int(obj2));
7524 if (SWIG_arg_fail(3)) SWIG_fail;
7525 }
7526 }
7527 if (obj3) {
7528 {
7529 arg4 = &temp4;
7530 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7531 }
7532 }
7533 if (obj4) {
7534 {
7535 arg5 = &temp5;
7536 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7537 }
7538 }
7539 if (obj5) {
7540 {
7541 if (! PySequence_Check(obj5)) {
7542 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7543 SWIG_fail;
7544 }
7545 arg6 = new wxArrayString;
7546 temp6 = true;
7547 int i, len=PySequence_Length(obj5);
7548 for (i=0; i<len; i++) {
7549 PyObject* item = PySequence_GetItem(obj5, i);
7550 wxString* s = wxString_in_helper(item);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 arg6->Add(*s);
7553 delete s;
7554 Py_DECREF(item);
7555 }
7556 }
7557 }
7558 if (obj6) {
7559 {
7560 arg7 = static_cast<long >(SWIG_As_long(obj6));
7561 if (SWIG_arg_fail(7)) SWIG_fail;
7562 }
7563 }
7564 if (obj7) {
7565 {
7566 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7567 if (SWIG_arg_fail(8)) SWIG_fail;
7568 if (arg8 == NULL) {
7569 SWIG_null_ref("wxValidator");
7570 }
7571 if (SWIG_arg_fail(8)) SWIG_fail;
7572 }
7573 }
7574 if (obj8) {
7575 {
7576 arg9 = wxString_in_helper(obj8);
7577 if (arg9 == NULL) SWIG_fail;
7578 temp9 = true;
7579 }
7580 }
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
7589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7590 }
7591 {
7592 if (temp6) delete arg6;
7593 }
7594 {
7595 if (temp9)
7596 delete arg9;
7597 }
7598 return resultobj;
7599 fail:
7600 {
7601 if (temp6) delete arg6;
7602 }
7603 {
7604 if (temp9)
7605 delete arg9;
7606 }
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj = NULL;
7613 wxListBox *arg1 = (wxListBox *) 0 ;
7614 wxString *arg2 = 0 ;
7615 int arg3 ;
7616 PyObject *arg4 = (PyObject *) NULL ;
7617 bool temp2 = false ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 PyObject * obj3 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7628 if (SWIG_arg_fail(1)) SWIG_fail;
7629 {
7630 arg2 = wxString_in_helper(obj1);
7631 if (arg2 == NULL) SWIG_fail;
7632 temp2 = true;
7633 }
7634 {
7635 arg3 = static_cast<int >(SWIG_As_int(obj2));
7636 if (SWIG_arg_fail(3)) SWIG_fail;
7637 }
7638 if (obj3) {
7639 arg4 = obj3;
7640 }
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 Py_INCREF(Py_None); resultobj = Py_None;
7649 {
7650 if (temp2)
7651 delete arg2;
7652 }
7653 return resultobj;
7654 fail:
7655 {
7656 if (temp2)
7657 delete arg2;
7658 }
7659 return NULL;
7660 }
7661
7662
7663 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj = NULL;
7665 wxListBox *arg1 = (wxListBox *) 0 ;
7666 wxArrayString *arg2 = 0 ;
7667 int arg3 ;
7668 bool temp2 = false ;
7669 PyObject * obj0 = 0 ;
7670 PyObject * obj1 = 0 ;
7671 PyObject * obj2 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "items",(char *) "pos", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail;
7679 {
7680 if (! PySequence_Check(obj1)) {
7681 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7682 SWIG_fail;
7683 }
7684 arg2 = new wxArrayString;
7685 temp2 = true;
7686 int i, len=PySequence_Length(obj1);
7687 for (i=0; i<len; i++) {
7688 PyObject* item = PySequence_GetItem(obj1, i);
7689 wxString* s = wxString_in_helper(item);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 arg2->Add(*s);
7692 delete s;
7693 Py_DECREF(item);
7694 }
7695 }
7696 {
7697 arg3 = static_cast<int >(SWIG_As_int(obj2));
7698 if (SWIG_arg_fail(3)) SWIG_fail;
7699 }
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7703
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 Py_INCREF(Py_None); resultobj = Py_None;
7708 {
7709 if (temp2) delete arg2;
7710 }
7711 return resultobj;
7712 fail:
7713 {
7714 if (temp2) delete arg2;
7715 }
7716 return NULL;
7717 }
7718
7719
7720 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj = NULL;
7722 wxListBox *arg1 = (wxListBox *) 0 ;
7723 wxArrayString *arg2 = 0 ;
7724 bool temp2 = false ;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self",(char *) "items", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail;
7734 {
7735 if (! PySequence_Check(obj1)) {
7736 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7737 SWIG_fail;
7738 }
7739 arg2 = new wxArrayString;
7740 temp2 = true;
7741 int i, len=PySequence_Length(obj1);
7742 for (i=0; i<len; i++) {
7743 PyObject* item = PySequence_GetItem(obj1, i);
7744 wxString* s = wxString_in_helper(item);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 arg2->Add(*s);
7747 delete s;
7748 Py_DECREF(item);
7749 }
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->Set((wxArrayString const &)*arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 {
7760 if (temp2) delete arg2;
7761 }
7762 return resultobj;
7763 fail:
7764 {
7765 if (temp2) delete arg2;
7766 }
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj = NULL;
7773 wxListBox *arg1 = (wxListBox *) 0 ;
7774 int arg2 ;
7775 bool result;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "n", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 arg2 = static_cast<int >(SWIG_As_int(obj1));
7787 if (SWIG_arg_fail(2)) SWIG_fail;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 {
7797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj = NULL;
7807 wxListBox *arg1 = (wxListBox *) 0 ;
7808 int arg2 ;
7809 bool arg3 = (bool) true ;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 PyObject * obj2 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "n",(char *) "select", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail;
7820 {
7821 arg2 = static_cast<int >(SWIG_As_int(obj1));
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 }
7824 if (obj2) {
7825 {
7826 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7827 if (SWIG_arg_fail(3)) SWIG_fail;
7828 }
7829 }
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->SetSelection(arg2,arg3);
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 Py_INCREF(Py_None); resultobj = Py_None;
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj = NULL;
7846 wxListBox *arg1 = (wxListBox *) 0 ;
7847 int arg2 ;
7848 PyObject * obj0 = 0 ;
7849 PyObject * obj1 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self",(char *) "n", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail;
7857 {
7858 arg2 = static_cast<int >(SWIG_As_int(obj1));
7859 if (SWIG_arg_fail(2)) SWIG_fail;
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->Select(arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj = NULL;
7877 wxListBox *arg1 = (wxListBox *) 0 ;
7878 int arg2 ;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self",(char *) "n", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail;
7888 {
7889 arg2 = static_cast<int >(SWIG_As_int(obj1));
7890 if (SWIG_arg_fail(2)) SWIG_fail;
7891 }
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 (arg1)->Deselect(arg2);
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 Py_INCREF(Py_None); resultobj = Py_None;
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj = NULL;
7908 wxListBox *arg1 = (wxListBox *) 0 ;
7909 int arg2 = (int) -1 ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self",(char *) "itemToLeaveSelected", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail;
7919 if (obj1) {
7920 {
7921 arg2 = static_cast<int >(SWIG_As_int(obj1));
7922 if (SWIG_arg_fail(2)) SWIG_fail;
7923 }
7924 }
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 (arg1)->DeselectAll(arg2);
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 Py_INCREF(Py_None); resultobj = Py_None;
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj = NULL;
7941 wxListBox *arg1 = (wxListBox *) 0 ;
7942 wxString *arg2 = 0 ;
7943 bool arg3 = (bool) true ;
7944 bool result;
7945 bool temp2 = false ;
7946 PyObject * obj0 = 0 ;
7947 PyObject * obj1 = 0 ;
7948 PyObject * obj2 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "s",(char *) "select", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail;
7956 {
7957 arg2 = wxString_in_helper(obj1);
7958 if (arg2 == NULL) SWIG_fail;
7959 temp2 = true;
7960 }
7961 if (obj2) {
7962 {
7963 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7964 if (SWIG_arg_fail(3)) SWIG_fail;
7965 }
7966 }
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
7975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7976 }
7977 {
7978 if (temp2)
7979 delete arg2;
7980 }
7981 return resultobj;
7982 fail:
7983 {
7984 if (temp2)
7985 delete arg2;
7986 }
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj = NULL;
7993 wxListBox *arg1 = (wxListBox *) 0 ;
7994 PyObject *result;
7995 PyObject * obj0 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "self", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
8001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail;
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 result = (PyObject *)wxListBox_GetSelections(arg1);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = result;
8011 return resultobj;
8012 fail:
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj = NULL;
8019 wxListBox *arg1 = (wxListBox *) 0 ;
8020 int arg2 ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "self",(char *) "n", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
8028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8029 if (SWIG_arg_fail(1)) SWIG_fail;
8030 {
8031 arg2 = static_cast<int >(SWIG_As_int(obj1));
8032 if (SWIG_arg_fail(2)) SWIG_fail;
8033 }
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 (arg1)->SetFirstItem(arg2);
8037
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 Py_INCREF(Py_None); resultobj = Py_None;
8042 return resultobj;
8043 fail:
8044 return NULL;
8045 }
8046
8047
8048 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
8049 PyObject *resultobj = NULL;
8050 wxListBox *arg1 = (wxListBox *) 0 ;
8051 wxString *arg2 = 0 ;
8052 bool temp2 = false ;
8053 PyObject * obj0 = 0 ;
8054 PyObject * obj1 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "s", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 {
8063 arg2 = wxString_in_helper(obj1);
8064 if (arg2 == NULL) SWIG_fail;
8065 temp2 = true;
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 (arg1)->SetFirstItem((wxString const &)*arg2);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 {
8076 if (temp2)
8077 delete arg2;
8078 }
8079 return resultobj;
8080 fail:
8081 {
8082 if (temp2)
8083 delete arg2;
8084 }
8085 return NULL;
8086 }
8087
8088
8089 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj = NULL;
8091 wxListBox *arg1 = (wxListBox *) 0 ;
8092 int arg2 ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "n", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8101 if (SWIG_arg_fail(1)) SWIG_fail;
8102 {
8103 arg2 = static_cast<int >(SWIG_As_int(obj1));
8104 if (SWIG_arg_fail(2)) SWIG_fail;
8105 }
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 (arg1)->EnsureVisible(arg2);
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj = NULL;
8122 wxListBox *arg1 = (wxListBox *) 0 ;
8123 wxString *arg2 = 0 ;
8124 bool temp2 = false ;
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "s", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail;
8134 {
8135 arg2 = wxString_in_helper(obj1);
8136 if (arg2 == NULL) SWIG_fail;
8137 temp2 = true;
8138 }
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 Py_INCREF(Py_None); resultobj = Py_None;
8147 {
8148 if (temp2)
8149 delete arg2;
8150 }
8151 return resultobj;
8152 fail:
8153 {
8154 if (temp2)
8155 delete arg2;
8156 }
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj = NULL;
8163 wxListBox *arg1 = (wxListBox *) 0 ;
8164 bool result;
8165 PyObject * obj0 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8172 if (SWIG_arg_fail(1)) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 result = (bool)((wxListBox const *)arg1)->IsSorted();
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 {
8181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8182 }
8183 return resultobj;
8184 fail:
8185 return NULL;
8186 }
8187
8188
8189 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj = NULL;
8191 wxListBox *arg1 = (wxListBox *) 0 ;
8192 int arg2 ;
8193 wxColour *arg3 = 0 ;
8194 wxColour temp3 ;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 PyObject * obj2 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self",(char *) "item",(char *) "c", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail;
8205 {
8206 arg2 = static_cast<int >(SWIG_As_int(obj1));
8207 if (SWIG_arg_fail(2)) SWIG_fail;
8208 }
8209 {
8210 arg3 = &temp3;
8211 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 Py_INCREF(Py_None); resultobj = Py_None;
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj = NULL;
8229 wxListBox *arg1 = (wxListBox *) 0 ;
8230 int arg2 ;
8231 wxColour *arg3 = 0 ;
8232 wxColour temp3 ;
8233 PyObject * obj0 = 0 ;
8234 PyObject * obj1 = 0 ;
8235 PyObject * obj2 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self",(char *) "item",(char *) "c", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail;
8243 {
8244 arg2 = static_cast<int >(SWIG_As_int(obj1));
8245 if (SWIG_arg_fail(2)) SWIG_fail;
8246 }
8247 {
8248 arg3 = &temp3;
8249 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = NULL;
8267 wxListBox *arg1 = (wxListBox *) 0 ;
8268 int arg2 ;
8269 wxFont *arg3 = 0 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 PyObject * obj2 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "item",(char *) "f", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail;
8280 {
8281 arg2 = static_cast<int >(SWIG_As_int(obj1));
8282 if (SWIG_arg_fail(2)) SWIG_fail;
8283 }
8284 {
8285 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8286 if (SWIG_arg_fail(3)) SWIG_fail;
8287 if (arg3 == NULL) {
8288 SWIG_null_ref("wxFont");
8289 }
8290 if (SWIG_arg_fail(3)) SWIG_fail;
8291 }
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj = NULL;
8308 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8309 wxVisualAttributes result;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "variant", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8316 if (obj0) {
8317 {
8318 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8319 if (SWIG_arg_fail(1)) SWIG_fail;
8320 }
8321 }
8322 {
8323 if (!wxPyCheckForApp()) SWIG_fail;
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = wxListBox::GetClassDefaultAttributes(arg1);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 {
8331 wxVisualAttributes * resultptr;
8332 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8334 }
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8342 PyObject *obj;
8343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8344 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8345 Py_INCREF(obj);
8346 return Py_BuildValue((char *)"");
8347 }
8348 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj = NULL;
8350 wxWindow *arg1 = (wxWindow *) 0 ;
8351 int arg2 = (int) -1 ;
8352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8354 wxSize const &arg4_defvalue = wxDefaultSize ;
8355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8356 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8357 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8358 long arg6 = (long) 0 ;
8359 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8360 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8361 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8362 wxString *arg8 = (wxString *) &arg8_defvalue ;
8363 wxCheckListBox *result;
8364 wxPoint temp3 ;
8365 wxSize temp4 ;
8366 bool temp5 = false ;
8367 bool temp8 = false ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370 PyObject * obj2 = 0 ;
8371 PyObject * obj3 = 0 ;
8372 PyObject * obj4 = 0 ;
8373 PyObject * obj5 = 0 ;
8374 PyObject * obj6 = 0 ;
8375 PyObject * obj7 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail;
8383 if (obj1) {
8384 {
8385 arg2 = static_cast<int >(SWIG_As_int(obj1));
8386 if (SWIG_arg_fail(2)) SWIG_fail;
8387 }
8388 }
8389 if (obj2) {
8390 {
8391 arg3 = &temp3;
8392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8393 }
8394 }
8395 if (obj3) {
8396 {
8397 arg4 = &temp4;
8398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8399 }
8400 }
8401 if (obj4) {
8402 {
8403 if (! PySequence_Check(obj4)) {
8404 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8405 SWIG_fail;
8406 }
8407 arg5 = new wxArrayString;
8408 temp5 = true;
8409 int i, len=PySequence_Length(obj4);
8410 for (i=0; i<len; i++) {
8411 PyObject* item = PySequence_GetItem(obj4, i);
8412 wxString* s = wxString_in_helper(item);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 arg5->Add(*s);
8415 delete s;
8416 Py_DECREF(item);
8417 }
8418 }
8419 }
8420 if (obj5) {
8421 {
8422 arg6 = static_cast<long >(SWIG_As_long(obj5));
8423 if (SWIG_arg_fail(6)) SWIG_fail;
8424 }
8425 }
8426 if (obj6) {
8427 {
8428 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8429 if (SWIG_arg_fail(7)) SWIG_fail;
8430 if (arg7 == NULL) {
8431 SWIG_null_ref("wxValidator");
8432 }
8433 if (SWIG_arg_fail(7)) SWIG_fail;
8434 }
8435 }
8436 if (obj7) {
8437 {
8438 arg8 = wxString_in_helper(obj7);
8439 if (arg8 == NULL) SWIG_fail;
8440 temp8 = true;
8441 }
8442 }
8443 {
8444 if (!wxPyCheckForApp()) SWIG_fail;
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8452 {
8453 if (temp5) delete arg5;
8454 }
8455 {
8456 if (temp8)
8457 delete arg8;
8458 }
8459 return resultobj;
8460 fail:
8461 {
8462 if (temp5) delete arg5;
8463 }
8464 {
8465 if (temp8)
8466 delete arg8;
8467 }
8468 return NULL;
8469 }
8470
8471
8472 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj = NULL;
8474 wxCheckListBox *result;
8475 char *kwnames[] = {
8476 NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8480 {
8481 if (!wxPyCheckForApp()) SWIG_fail;
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxCheckListBox *)new wxCheckListBox();
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj = NULL;
8497 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8498 wxWindow *arg2 = (wxWindow *) 0 ;
8499 int arg3 = (int) -1 ;
8500 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8501 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8502 wxSize const &arg5_defvalue = wxDefaultSize ;
8503 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8504 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8505 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8506 long arg7 = (long) 0 ;
8507 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8508 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8509 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8510 wxString *arg9 = (wxString *) &arg9_defvalue ;
8511 bool result;
8512 wxPoint temp4 ;
8513 wxSize temp5 ;
8514 bool temp6 = false ;
8515 bool temp9 = false ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 PyObject * obj4 = 0 ;
8521 PyObject * obj5 = 0 ;
8522 PyObject * obj6 = 0 ;
8523 PyObject * obj7 = 0 ;
8524 PyObject * obj8 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail;
8532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(2)) SWIG_fail;
8534 if (obj2) {
8535 {
8536 arg3 = static_cast<int >(SWIG_As_int(obj2));
8537 if (SWIG_arg_fail(3)) SWIG_fail;
8538 }
8539 }
8540 if (obj3) {
8541 {
8542 arg4 = &temp4;
8543 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8544 }
8545 }
8546 if (obj4) {
8547 {
8548 arg5 = &temp5;
8549 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8550 }
8551 }
8552 if (obj5) {
8553 {
8554 if (! PySequence_Check(obj5)) {
8555 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8556 SWIG_fail;
8557 }
8558 arg6 = new wxArrayString;
8559 temp6 = true;
8560 int i, len=PySequence_Length(obj5);
8561 for (i=0; i<len; i++) {
8562 PyObject* item = PySequence_GetItem(obj5, i);
8563 wxString* s = wxString_in_helper(item);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 arg6->Add(*s);
8566 delete s;
8567 Py_DECREF(item);
8568 }
8569 }
8570 }
8571 if (obj6) {
8572 {
8573 arg7 = static_cast<long >(SWIG_As_long(obj6));
8574 if (SWIG_arg_fail(7)) SWIG_fail;
8575 }
8576 }
8577 if (obj7) {
8578 {
8579 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8580 if (SWIG_arg_fail(8)) SWIG_fail;
8581 if (arg8 == NULL) {
8582 SWIG_null_ref("wxValidator");
8583 }
8584 if (SWIG_arg_fail(8)) SWIG_fail;
8585 }
8586 }
8587 if (obj8) {
8588 {
8589 arg9 = wxString_in_helper(obj8);
8590 if (arg9 == NULL) SWIG_fail;
8591 temp9 = true;
8592 }
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 {
8602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8603 }
8604 {
8605 if (temp6) delete arg6;
8606 }
8607 {
8608 if (temp9)
8609 delete arg9;
8610 }
8611 return resultobj;
8612 fail:
8613 {
8614 if (temp6) delete arg6;
8615 }
8616 {
8617 if (temp9)
8618 delete arg9;
8619 }
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj = NULL;
8626 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8627 int arg2 ;
8628 bool result;
8629 PyObject * obj0 = 0 ;
8630 PyObject * obj1 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self",(char *) "index", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8637 if (SWIG_arg_fail(1)) SWIG_fail;
8638 {
8639 arg2 = static_cast<int >(SWIG_As_int(obj1));
8640 if (SWIG_arg_fail(2)) SWIG_fail;
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->IsChecked(arg2);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 {
8650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8651 }
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj = NULL;
8660 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8661 int arg2 ;
8662 int arg3 = (int) true ;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8665 PyObject * obj2 = 0 ;
8666 char *kwnames[] = {
8667 (char *) "self",(char *) "index",(char *) "check", NULL
8668 };
8669
8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail;
8673 {
8674 arg2 = static_cast<int >(SWIG_As_int(obj1));
8675 if (SWIG_arg_fail(2)) SWIG_fail;
8676 }
8677 if (obj2) {
8678 {
8679 arg3 = static_cast<int >(SWIG_As_int(obj2));
8680 if (SWIG_arg_fail(3)) SWIG_fail;
8681 }
8682 }
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->Check(arg2,arg3);
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj = NULL;
8699 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8700 wxPoint *arg2 = 0 ;
8701 int result;
8702 wxPoint temp2 ;
8703 PyObject * obj0 = 0 ;
8704 PyObject * obj1 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self",(char *) "pt", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail;
8712 {
8713 arg2 = &temp2;
8714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8715 }
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 {
8724 resultobj = SWIG_From_int(static_cast<int >(result));
8725 }
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj = NULL;
8734 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8735 int arg2 ;
8736 int arg3 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 PyObject * obj2 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "x",(char *) "y", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail;
8748 {
8749 arg2 = static_cast<int >(SWIG_As_int(obj1));
8750 if (SWIG_arg_fail(2)) SWIG_fail;
8751 }
8752 {
8753 arg3 = static_cast<int >(SWIG_As_int(obj2));
8754 if (SWIG_arg_fail(3)) SWIG_fail;
8755 }
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 {
8764 resultobj = SWIG_From_int(static_cast<int >(result));
8765 }
8766 return resultobj;
8767 fail:
8768 return NULL;
8769 }
8770
8771
8772 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8773 PyObject *obj;
8774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8775 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8776 Py_INCREF(obj);
8777 return Py_BuildValue((char *)"");
8778 }
8779 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8780 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8781 return 1;
8782 }
8783
8784
8785 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8786 PyObject *pyobj = NULL;
8787
8788 {
8789 #if wxUSE_UNICODE
8790 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8791 #else
8792 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8793 #endif
8794 }
8795 return pyobj;
8796 }
8797
8798
8799 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj = NULL;
8801 wxColour const &arg1_defvalue = wxNullColour ;
8802 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8803 wxColour const &arg2_defvalue = wxNullColour ;
8804 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8805 wxFont const &arg3_defvalue = wxNullFont ;
8806 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8807 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8808 wxTextAttr *result;
8809 wxColour temp1 ;
8810 wxColour temp2 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 PyObject * obj3 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8820 if (obj0) {
8821 {
8822 arg1 = &temp1;
8823 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8824 }
8825 }
8826 if (obj1) {
8827 {
8828 arg2 = &temp2;
8829 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8830 }
8831 }
8832 if (obj2) {
8833 {
8834 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8835 if (SWIG_arg_fail(3)) SWIG_fail;
8836 if (arg3 == NULL) {
8837 SWIG_null_ref("wxFont");
8838 }
8839 if (SWIG_arg_fail(3)) SWIG_fail;
8840 }
8841 }
8842 if (obj3) {
8843 {
8844 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
8845 if (SWIG_arg_fail(4)) SWIG_fail;
8846 }
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj = NULL;
8864 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 delete arg1;
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj = NULL;
8889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8890 PyObject * obj0 = 0 ;
8891 char *kwnames[] = {
8892 (char *) "self", NULL
8893 };
8894
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8897 if (SWIG_arg_fail(1)) SWIG_fail;
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 (arg1)->Init();
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 Py_INCREF(Py_None); resultobj = Py_None;
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj = NULL;
8914 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8915 wxColour *arg2 = 0 ;
8916 wxColour temp2 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "colText", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail;
8926 {
8927 arg2 = &temp2;
8928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->SetTextColour((wxColour const &)*arg2);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = NULL;
8946 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8947 wxColour *arg2 = 0 ;
8948 wxColour temp2 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "colBack", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = &temp2;
8960 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8961 }
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj = NULL;
8978 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8979 wxFont *arg2 = 0 ;
8980 long arg3 = (long) wxTEXT_ATTR_FONT ;
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 PyObject * obj2 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "font",(char *) "flags", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
8991 {
8992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8993 if (SWIG_arg_fail(2)) SWIG_fail;
8994 if (arg2 == NULL) {
8995 SWIG_null_ref("wxFont");
8996 }
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
8999 if (obj2) {
9000 {
9001 arg3 = static_cast<long >(SWIG_As_long(obj2));
9002 if (SWIG_arg_fail(3)) SWIG_fail;
9003 }
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj = NULL;
9021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9022 wxTextAttrAlignment arg2 ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 char *kwnames[] = {
9026 (char *) "self",(char *) "alignment", NULL
9027 };
9028
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9031 if (SWIG_arg_fail(1)) SWIG_fail;
9032 {
9033 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
9034 if (SWIG_arg_fail(2)) SWIG_fail;
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 (arg1)->SetAlignment(arg2);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj = NULL;
9052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9053 wxArrayInt *arg2 = 0 ;
9054 bool temp2 = false ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self",(char *) "tabs", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
9062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail;
9064 {
9065 if (! PySequence_Check(obj1)) {
9066 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9067 SWIG_fail;
9068 }
9069 arg2 = new wxArrayInt;
9070 temp2 = true;
9071 int i, len=PySequence_Length(obj1);
9072 for (i=0; i<len; i++) {
9073 PyObject* item = PySequence_GetItem(obj1, i);
9074 PyObject* number = PyNumber_Int(item);
9075 arg2->Add(PyInt_AS_LONG(number));
9076 Py_DECREF(item);
9077 Py_DECREF(number);
9078 }
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 {
9089 if (temp2) delete arg2;
9090 }
9091 return resultobj;
9092 fail:
9093 {
9094 if (temp2) delete arg2;
9095 }
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj = NULL;
9102 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9103 int arg2 ;
9104 int arg3 = (int) 0 ;
9105 PyObject * obj0 = 0 ;
9106 PyObject * obj1 = 0 ;
9107 PyObject * obj2 = 0 ;
9108 char *kwnames[] = {
9109 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9110 };
9111
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail;
9115 {
9116 arg2 = static_cast<int >(SWIG_As_int(obj1));
9117 if (SWIG_arg_fail(2)) SWIG_fail;
9118 }
9119 if (obj2) {
9120 {
9121 arg3 = static_cast<int >(SWIG_As_int(obj2));
9122 if (SWIG_arg_fail(3)) SWIG_fail;
9123 }
9124 }
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 (arg1)->SetLeftIndent(arg2,arg3);
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 Py_INCREF(Py_None); resultobj = Py_None;
9133 return resultobj;
9134 fail:
9135 return NULL;
9136 }
9137
9138
9139 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj = NULL;
9141 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9142 int arg2 ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj1 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "indent", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 {
9153 arg2 = static_cast<int >(SWIG_As_int(obj1));
9154 if (SWIG_arg_fail(2)) SWIG_fail;
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 (arg1)->SetRightIndent(arg2);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj = NULL;
9172 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9173 long arg2 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "flags", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail;
9183 {
9184 arg2 = static_cast<long >(SWIG_As_long(obj1));
9185 if (SWIG_arg_fail(2)) SWIG_fail;
9186 }
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 (arg1)->SetFlags(arg2);
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 Py_INCREF(Py_None); resultobj = Py_None;
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj = NULL;
9203 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9204 bool result;
9205 PyObject * obj0 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail;
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 {
9221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9222 }
9223 return resultobj;
9224 fail:
9225 return NULL;
9226 }
9227
9228
9229 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj = NULL;
9231 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9232 bool result;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 {
9249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9250 }
9251 return resultobj;
9252 fail:
9253 return NULL;
9254 }
9255
9256
9257 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj = NULL;
9259 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9260 bool result;
9261 PyObject * obj0 = 0 ;
9262 char *kwnames[] = {
9263 (char *) "self", NULL
9264 };
9265
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9268 if (SWIG_arg_fail(1)) SWIG_fail;
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 {
9277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9278 }
9279 return resultobj;
9280 fail:
9281 return NULL;
9282 }
9283
9284
9285 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj = NULL;
9287 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9288 bool result;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 {
9305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9306 }
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj = NULL;
9315 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9316 bool result;
9317 PyObject * obj0 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9324 if (SWIG_arg_fail(1)) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 {
9333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9334 }
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj = NULL;
9343 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9344 bool result;
9345 PyObject * obj0 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9352 if (SWIG_arg_fail(1)) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 {
9361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9362 }
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj = NULL;
9371 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9372 bool result;
9373 PyObject * obj0 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 {
9389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9390 }
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj = NULL;
9399 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9400 long arg2 ;
9401 bool result;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self",(char *) "flag", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail;
9411 {
9412 arg2 = static_cast<long >(SWIG_As_long(obj1));
9413 if (SWIG_arg_fail(2)) SWIG_fail;
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 {
9423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9424 }
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj = NULL;
9433 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9434 wxColour *result;
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail;
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 {
9446 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9447 result = (wxColour *) &_result_ref;
9448 }
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj = NULL;
9462 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9463 wxColour *result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 {
9475 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9476 result = (wxColour *) &_result_ref;
9477 }
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj = NULL;
9491 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9492 wxFont *result;
9493 PyObject * obj0 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 {
9504 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9505 result = (wxFont *) &_result_ref;
9506 }
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 {
9512 wxFont* resultptr = new wxFont(*result);
9513 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9514 }
9515 return resultobj;
9516 fail:
9517 return NULL;
9518 }
9519
9520
9521 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj = NULL;
9523 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9524 wxTextAttrAlignment result;
9525 PyObject * obj0 = 0 ;
9526 char *kwnames[] = {
9527 (char *) "self", NULL
9528 };
9529
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail;
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_From_int((result));
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj = NULL;
9549 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9550 wxArrayInt *result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 {
9562 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9563 result = (wxArrayInt *) &_result_ref;
9564 }
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 {
9570 resultobj = PyList_New(0);
9571 size_t idx;
9572 for (idx = 0; idx < result->GetCount(); idx += 1) {
9573 PyObject* val = PyInt_FromLong( result->Item(idx) );
9574 PyList_Append(resultobj, val);
9575 Py_DECREF(val);
9576 }
9577 }
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj = NULL;
9586 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9587 long result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9595 if (SWIG_arg_fail(1)) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 {
9604 resultobj = SWIG_From_long(static_cast<long >(result));
9605 }
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj = NULL;
9614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9615 long result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9623 if (SWIG_arg_fail(1)) SWIG_fail;
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632 resultobj = SWIG_From_long(static_cast<long >(result));
9633 }
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj = NULL;
9642 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9643 long result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9651 if (SWIG_arg_fail(1)) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 resultobj = SWIG_From_long(static_cast<long >(result));
9661 }
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = NULL;
9670 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9671 long result;
9672 PyObject * obj0 = 0 ;
9673 char *kwnames[] = {
9674 (char *) "self", NULL
9675 };
9676
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9679 if (SWIG_arg_fail(1)) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 {
9688 resultobj = SWIG_From_long(static_cast<long >(result));
9689 }
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj = NULL;
9698 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9699 bool result;
9700 PyObject * obj0 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail;
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 {
9716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9717 }
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj = NULL;
9726 wxTextAttr *arg1 = 0 ;
9727 wxTextAttr *arg2 = 0 ;
9728 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9729 wxTextAttr result;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 PyObject * obj2 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9738 {
9739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail;
9741 if (arg1 == NULL) {
9742 SWIG_null_ref("wxTextAttr");
9743 }
9744 if (SWIG_arg_fail(1)) SWIG_fail;
9745 }
9746 {
9747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9748 if (SWIG_arg_fail(2)) SWIG_fail;
9749 if (arg2 == NULL) {
9750 SWIG_null_ref("wxTextAttr");
9751 }
9752 if (SWIG_arg_fail(2)) SWIG_fail;
9753 }
9754 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9755 if (SWIG_arg_fail(3)) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 {
9764 wxTextAttr * resultptr;
9765 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
9766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9767 }
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9775 PyObject *obj;
9776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9778 Py_INCREF(obj);
9779 return Py_BuildValue((char *)"");
9780 }
9781 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj = NULL;
9783 wxWindow *arg1 = (wxWindow *) 0 ;
9784 int arg2 = (int) -1 ;
9785 wxString const &arg3_defvalue = wxPyEmptyString ;
9786 wxString *arg3 = (wxString *) &arg3_defvalue ;
9787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9789 wxSize const &arg5_defvalue = wxDefaultSize ;
9790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9791 long arg6 = (long) 0 ;
9792 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9793 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9794 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9795 wxString *arg8 = (wxString *) &arg8_defvalue ;
9796 wxTextCtrl *result;
9797 bool temp3 = false ;
9798 wxPoint temp4 ;
9799 wxSize temp5 ;
9800 bool temp8 = false ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 PyObject * obj2 = 0 ;
9804 PyObject * obj3 = 0 ;
9805 PyObject * obj4 = 0 ;
9806 PyObject * obj5 = 0 ;
9807 PyObject * obj6 = 0 ;
9808 PyObject * obj7 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail;
9816 if (obj1) {
9817 {
9818 arg2 = static_cast<int >(SWIG_As_int(obj1));
9819 if (SWIG_arg_fail(2)) SWIG_fail;
9820 }
9821 }
9822 if (obj2) {
9823 {
9824 arg3 = wxString_in_helper(obj2);
9825 if (arg3 == NULL) SWIG_fail;
9826 temp3 = true;
9827 }
9828 }
9829 if (obj3) {
9830 {
9831 arg4 = &temp4;
9832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9833 }
9834 }
9835 if (obj4) {
9836 {
9837 arg5 = &temp5;
9838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9839 }
9840 }
9841 if (obj5) {
9842 {
9843 arg6 = static_cast<long >(SWIG_As_long(obj5));
9844 if (SWIG_arg_fail(6)) SWIG_fail;
9845 }
9846 }
9847 if (obj6) {
9848 {
9849 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9850 if (SWIG_arg_fail(7)) SWIG_fail;
9851 if (arg7 == NULL) {
9852 SWIG_null_ref("wxValidator");
9853 }
9854 if (SWIG_arg_fail(7)) SWIG_fail;
9855 }
9856 }
9857 if (obj7) {
9858 {
9859 arg8 = wxString_in_helper(obj7);
9860 if (arg8 == NULL) SWIG_fail;
9861 temp8 = true;
9862 }
9863 }
9864 {
9865 if (!wxPyCheckForApp()) SWIG_fail;
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9873 {
9874 if (temp3)
9875 delete arg3;
9876 }
9877 {
9878 if (temp8)
9879 delete arg8;
9880 }
9881 return resultobj;
9882 fail:
9883 {
9884 if (temp3)
9885 delete arg3;
9886 }
9887 {
9888 if (temp8)
9889 delete arg8;
9890 }
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj = NULL;
9897 wxTextCtrl *result;
9898 char *kwnames[] = {
9899 NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9903 {
9904 if (!wxPyCheckForApp()) SWIG_fail;
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 result = (wxTextCtrl *)new wxTextCtrl();
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9912 return resultobj;
9913 fail:
9914 return NULL;
9915 }
9916
9917
9918 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9919 PyObject *resultobj = NULL;
9920 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9921 wxWindow *arg2 = (wxWindow *) 0 ;
9922 int arg3 = (int) -1 ;
9923 wxString const &arg4_defvalue = wxPyEmptyString ;
9924 wxString *arg4 = (wxString *) &arg4_defvalue ;
9925 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9926 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9927 wxSize const &arg6_defvalue = wxDefaultSize ;
9928 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9929 long arg7 = (long) 0 ;
9930 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9931 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9932 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9933 wxString *arg9 = (wxString *) &arg9_defvalue ;
9934 bool result;
9935 bool temp4 = false ;
9936 wxPoint temp5 ;
9937 wxSize temp6 ;
9938 bool temp9 = false ;
9939 PyObject * obj0 = 0 ;
9940 PyObject * obj1 = 0 ;
9941 PyObject * obj2 = 0 ;
9942 PyObject * obj3 = 0 ;
9943 PyObject * obj4 = 0 ;
9944 PyObject * obj5 = 0 ;
9945 PyObject * obj6 = 0 ;
9946 PyObject * obj7 = 0 ;
9947 PyObject * obj8 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9954 if (SWIG_arg_fail(1)) SWIG_fail;
9955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9956 if (SWIG_arg_fail(2)) SWIG_fail;
9957 if (obj2) {
9958 {
9959 arg3 = static_cast<int >(SWIG_As_int(obj2));
9960 if (SWIG_arg_fail(3)) SWIG_fail;
9961 }
9962 }
9963 if (obj3) {
9964 {
9965 arg4 = wxString_in_helper(obj3);
9966 if (arg4 == NULL) SWIG_fail;
9967 temp4 = true;
9968 }
9969 }
9970 if (obj4) {
9971 {
9972 arg5 = &temp5;
9973 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9974 }
9975 }
9976 if (obj5) {
9977 {
9978 arg6 = &temp6;
9979 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9980 }
9981 }
9982 if (obj6) {
9983 {
9984 arg7 = static_cast<long >(SWIG_As_long(obj6));
9985 if (SWIG_arg_fail(7)) SWIG_fail;
9986 }
9987 }
9988 if (obj7) {
9989 {
9990 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9991 if (SWIG_arg_fail(8)) SWIG_fail;
9992 if (arg8 == NULL) {
9993 SWIG_null_ref("wxValidator");
9994 }
9995 if (SWIG_arg_fail(8)) SWIG_fail;
9996 }
9997 }
9998 if (obj8) {
9999 {
10000 arg9 = wxString_in_helper(obj8);
10001 if (arg9 == NULL) SWIG_fail;
10002 temp9 = true;
10003 }
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 {
10013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10014 }
10015 {
10016 if (temp4)
10017 delete arg4;
10018 }
10019 {
10020 if (temp9)
10021 delete arg9;
10022 }
10023 return resultobj;
10024 fail:
10025 {
10026 if (temp4)
10027 delete arg4;
10028 }
10029 {
10030 if (temp9)
10031 delete arg9;
10032 }
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj = NULL;
10039 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10040 wxString result;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
10047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail;
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = ((wxTextCtrl const *)arg1)->GetValue();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 {
10057 #if wxUSE_UNICODE
10058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10059 #else
10060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10061 #endif
10062 }
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj = NULL;
10071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10072 wxString *arg2 = 0 ;
10073 bool temp2 = false ;
10074 PyObject * obj0 = 0 ;
10075 PyObject * obj1 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self",(char *) "value", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail;
10083 {
10084 arg2 = wxString_in_helper(obj1);
10085 if (arg2 == NULL) SWIG_fail;
10086 temp2 = true;
10087 }
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 (arg1)->SetValue((wxString const &)*arg2);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 Py_INCREF(Py_None); resultobj = Py_None;
10096 {
10097 if (temp2)
10098 delete arg2;
10099 }
10100 return resultobj;
10101 fail:
10102 {
10103 if (temp2)
10104 delete arg2;
10105 }
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj = NULL;
10112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10113 long arg2 ;
10114 long arg3 ;
10115 wxString result;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 PyObject * obj2 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self",(char *) "from",(char *) "to", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10125 if (SWIG_arg_fail(1)) SWIG_fail;
10126 {
10127 arg2 = static_cast<long >(SWIG_As_long(obj1));
10128 if (SWIG_arg_fail(2)) SWIG_fail;
10129 }
10130 {
10131 arg3 = static_cast<long >(SWIG_As_long(obj2));
10132 if (SWIG_arg_fail(3)) SWIG_fail;
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142 #if wxUSE_UNICODE
10143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10144 #else
10145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10146 #endif
10147 }
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj = NULL;
10156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10157 long arg2 ;
10158 int result;
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 char *kwnames[] = {
10162 (char *) "self",(char *) "lineNo", NULL
10163 };
10164
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10167 if (SWIG_arg_fail(1)) SWIG_fail;
10168 {
10169 arg2 = static_cast<long >(SWIG_As_long(obj1));
10170 if (SWIG_arg_fail(2)) SWIG_fail;
10171 }
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 {
10180 resultobj = SWIG_From_int(static_cast<int >(result));
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj = NULL;
10190 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10191 long arg2 ;
10192 wxString result;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "lineNo", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
10203 arg2 = static_cast<long >(SWIG_As_long(obj1));
10204 if (SWIG_arg_fail(2)) SWIG_fail;
10205 }
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 {
10214 #if wxUSE_UNICODE
10215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10216 #else
10217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10218 #endif
10219 }
10220 return resultobj;
10221 fail:
10222 return NULL;
10223 }
10224
10225
10226 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj = NULL;
10228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10229 int result;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10237 if (SWIG_arg_fail(1)) SWIG_fail;
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 {
10246 resultobj = SWIG_From_int(static_cast<int >(result));
10247 }
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj = NULL;
10256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10257 bool result;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10265 if (SWIG_arg_fail(1)) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10275 }
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj = NULL;
10284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10285 bool result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 {
10302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj = NULL;
10312 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10313 bool result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10321 if (SWIG_arg_fail(1)) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 {
10330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10331 }
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj = NULL;
10340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10341 bool result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10349 if (SWIG_arg_fail(1)) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 {
10358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10359 }
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj = NULL;
10368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10369 long *arg2 = (long *) 0 ;
10370 long *arg3 = (long *) 0 ;
10371 long temp2 ;
10372 int res2 = 0 ;
10373 long temp3 ;
10374 int res3 = 0 ;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10381 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10394 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10395 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10396 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10404 PyObject *resultobj = NULL;
10405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10406 wxString result;
10407 PyObject * obj0 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10414 if (SWIG_arg_fail(1)) SWIG_fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423 #if wxUSE_UNICODE
10424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10425 #else
10426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10427 #endif
10428 }
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj = NULL;
10437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10445 if (SWIG_arg_fail(1)) SWIG_fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 (arg1)->Clear();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 Py_INCREF(Py_None); resultobj = Py_None;
10454 return resultobj;
10455 fail:
10456 return NULL;
10457 }
10458
10459
10460 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj = NULL;
10462 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10463 long arg2 ;
10464 long arg3 ;
10465 wxString *arg4 = 0 ;
10466 bool temp4 = false ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 PyObject * obj3 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail;
10478 {
10479 arg2 = static_cast<long >(SWIG_As_long(obj1));
10480 if (SWIG_arg_fail(2)) SWIG_fail;
10481 }
10482 {
10483 arg3 = static_cast<long >(SWIG_As_long(obj2));
10484 if (SWIG_arg_fail(3)) SWIG_fail;
10485 }
10486 {
10487 arg4 = wxString_in_helper(obj3);
10488 if (arg4 == NULL) SWIG_fail;
10489 temp4 = true;
10490 }
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 {
10500 if (temp4)
10501 delete arg4;
10502 }
10503 return resultobj;
10504 fail:
10505 {
10506 if (temp4)
10507 delete arg4;
10508 }
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj = NULL;
10515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10516 long arg2 ;
10517 long arg3 ;
10518 PyObject * obj0 = 0 ;
10519 PyObject * obj1 = 0 ;
10520 PyObject * obj2 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "from",(char *) "to", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail;
10528 {
10529 arg2 = static_cast<long >(SWIG_As_long(obj1));
10530 if (SWIG_arg_fail(2)) SWIG_fail;
10531 }
10532 {
10533 arg3 = static_cast<long >(SWIG_As_long(obj2));
10534 if (SWIG_arg_fail(3)) SWIG_fail;
10535 }
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->Remove(arg2,arg3);
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj = NULL;
10552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10553 wxString *arg2 = 0 ;
10554 bool result;
10555 bool temp2 = false ;
10556 PyObject * obj0 = 0 ;
10557 PyObject * obj1 = 0 ;
10558 char *kwnames[] = {
10559 (char *) "self",(char *) "file", NULL
10560 };
10561
10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10564 if (SWIG_arg_fail(1)) SWIG_fail;
10565 {
10566 arg2 = wxString_in_helper(obj1);
10567 if (arg2 == NULL) SWIG_fail;
10568 temp2 = true;
10569 }
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 {
10578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10579 }
10580 {
10581 if (temp2)
10582 delete arg2;
10583 }
10584 return resultobj;
10585 fail:
10586 {
10587 if (temp2)
10588 delete arg2;
10589 }
10590 return NULL;
10591 }
10592
10593
10594 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj = NULL;
10596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10597 wxString const &arg2_defvalue = wxPyEmptyString ;
10598 wxString *arg2 = (wxString *) &arg2_defvalue ;
10599 bool result;
10600 bool temp2 = false ;
10601 PyObject * obj0 = 0 ;
10602 PyObject * obj1 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "file", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
10610 if (obj1) {
10611 {
10612 arg2 = wxString_in_helper(obj1);
10613 if (arg2 == NULL) SWIG_fail;
10614 temp2 = true;
10615 }
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 {
10625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10626 }
10627 {
10628 if (temp2)
10629 delete arg2;
10630 }
10631 return resultobj;
10632 fail:
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj = NULL;
10643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10644 PyObject * obj0 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10651 if (SWIG_arg_fail(1)) SWIG_fail;
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->MarkDirty();
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj = NULL;
10668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10676 if (SWIG_arg_fail(1)) SWIG_fail;
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 (arg1)->DiscardEdits();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 Py_INCREF(Py_None); resultobj = Py_None;
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj = NULL;
10693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10694 unsigned long arg2 ;
10695 PyObject * obj0 = 0 ;
10696 PyObject * obj1 = 0 ;
10697 char *kwnames[] = {
10698 (char *) "self",(char *) "len", NULL
10699 };
10700
10701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10703 if (SWIG_arg_fail(1)) SWIG_fail;
10704 {
10705 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
10706 if (SWIG_arg_fail(2)) SWIG_fail;
10707 }
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 (arg1)->SetMaxLength(arg2);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 Py_INCREF(Py_None); resultobj = Py_None;
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj = NULL;
10724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10725 wxString *arg2 = 0 ;
10726 bool temp2 = false ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "text", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail;
10736 {
10737 arg2 = wxString_in_helper(obj1);
10738 if (arg2 == NULL) SWIG_fail;
10739 temp2 = true;
10740 }
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 (arg1)->WriteText((wxString const &)*arg2);
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 Py_INCREF(Py_None); resultobj = Py_None;
10749 {
10750 if (temp2)
10751 delete arg2;
10752 }
10753 return resultobj;
10754 fail:
10755 {
10756 if (temp2)
10757 delete arg2;
10758 }
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj = NULL;
10765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10766 wxString *arg2 = 0 ;
10767 bool temp2 = false ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self",(char *) "text", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10776 if (SWIG_arg_fail(1)) SWIG_fail;
10777 {
10778 arg2 = wxString_in_helper(obj1);
10779 if (arg2 == NULL) SWIG_fail;
10780 temp2 = true;
10781 }
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 (arg1)->AppendText((wxString const &)*arg2);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 {
10791 if (temp2)
10792 delete arg2;
10793 }
10794 return resultobj;
10795 fail:
10796 {
10797 if (temp2)
10798 delete arg2;
10799 }
10800 return NULL;
10801 }
10802
10803
10804 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj = NULL;
10806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10807 wxKeyEvent *arg2 = 0 ;
10808 bool result;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "self",(char *) "event", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail;
10818 {
10819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10820 if (SWIG_arg_fail(2)) SWIG_fail;
10821 if (arg2 == NULL) {
10822 SWIG_null_ref("wxKeyEvent");
10823 }
10824 if (SWIG_arg_fail(2)) SWIG_fail;
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10835 }
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj = NULL;
10844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10845 long arg2 ;
10846 long arg3 ;
10847 wxTextAttr *arg4 = 0 ;
10848 bool result;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 PyObject * obj3 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
10860 {
10861 arg2 = static_cast<long >(SWIG_As_long(obj1));
10862 if (SWIG_arg_fail(2)) SWIG_fail;
10863 }
10864 {
10865 arg3 = static_cast<long >(SWIG_As_long(obj2));
10866 if (SWIG_arg_fail(3)) SWIG_fail;
10867 }
10868 {
10869 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10870 if (SWIG_arg_fail(4)) SWIG_fail;
10871 if (arg4 == NULL) {
10872 SWIG_null_ref("wxTextAttr");
10873 }
10874 if (SWIG_arg_fail(4)) SWIG_fail;
10875 }
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 {
10884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10885 }
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj = NULL;
10894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10895 long arg2 ;
10896 wxTextAttr *arg3 = 0 ;
10897 bool result;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 PyObject * obj2 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "position",(char *) "style", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10907 if (SWIG_arg_fail(1)) SWIG_fail;
10908 {
10909 arg2 = static_cast<long >(SWIG_As_long(obj1));
10910 if (SWIG_arg_fail(2)) SWIG_fail;
10911 }
10912 {
10913 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(3)) SWIG_fail;
10915 if (arg3 == NULL) {
10916 SWIG_null_ref("wxTextAttr");
10917 }
10918 if (SWIG_arg_fail(3)) SWIG_fail;
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10929 }
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj = NULL;
10938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10939 wxTextAttr *arg2 = 0 ;
10940 bool result;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "style", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
10950 {
10951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail;
10953 if (arg2 == NULL) {
10954 SWIG_null_ref("wxTextAttr");
10955 }
10956 if (SWIG_arg_fail(2)) SWIG_fail;
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 {
10966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10967 }
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj = NULL;
10976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10977 wxTextAttr *result;
10978 PyObject * obj0 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail;
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 {
10989 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10990 result = (wxTextAttr *) &_result_ref;
10991 }
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj = NULL;
11005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11006 long arg2 ;
11007 long arg3 ;
11008 long result;
11009 PyObject * obj0 = 0 ;
11010 PyObject * obj1 = 0 ;
11011 PyObject * obj2 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self",(char *) "x",(char *) "y", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
11017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11018 if (SWIG_arg_fail(1)) SWIG_fail;
11019 {
11020 arg2 = static_cast<long >(SWIG_As_long(obj1));
11021 if (SWIG_arg_fail(2)) SWIG_fail;
11022 }
11023 {
11024 arg3 = static_cast<long >(SWIG_As_long(obj2));
11025 if (SWIG_arg_fail(3)) SWIG_fail;
11026 }
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 {
11035 resultobj = SWIG_From_long(static_cast<long >(result));
11036 }
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj = NULL;
11045 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11046 long arg2 ;
11047 long *arg3 = (long *) 0 ;
11048 long *arg4 = (long *) 0 ;
11049 long temp3 ;
11050 int res3 = 0 ;
11051 long temp4 ;
11052 int res4 = 0 ;
11053 PyObject * obj0 = 0 ;
11054 PyObject * obj1 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self",(char *) "pos", NULL
11057 };
11058
11059 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11060 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
11062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail;
11064 {
11065 arg2 = static_cast<long >(SWIG_As_long(obj1));
11066 if (SWIG_arg_fail(2)) SWIG_fail;
11067 }
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11077 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11078 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11079 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj = NULL;
11088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11089 long arg2 ;
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self",(char *) "pos", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
11097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail;
11099 {
11100 arg2 = static_cast<long >(SWIG_As_long(obj1));
11101 if (SWIG_arg_fail(2)) SWIG_fail;
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 (arg1)->ShowPosition(arg2);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj = NULL;
11119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11120 wxPoint *arg2 = 0 ;
11121 long *arg3 = (long *) 0 ;
11122 long *arg4 = (long *) 0 ;
11123 wxTextCtrlHitTestResult result;
11124 wxPoint temp2 ;
11125 long temp3 ;
11126 int res3 = 0 ;
11127 long temp4 ;
11128 int res4 = 0 ;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "self",(char *) "pt", NULL
11133 };
11134
11135 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11136 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail;
11140 {
11141 arg2 = &temp2;
11142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11143 }
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 resultobj = SWIG_From_int((result));
11152 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11153 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11154 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11155 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj = NULL;
11164 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11165 wxPoint *arg2 = 0 ;
11166 long *arg3 = (long *) 0 ;
11167 wxTextCtrlHitTestResult result;
11168 wxPoint temp2 ;
11169 long temp3 ;
11170 int res3 = 0 ;
11171 PyObject * obj0 = 0 ;
11172 PyObject * obj1 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self",(char *) "pt", NULL
11175 };
11176
11177 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11180 if (SWIG_arg_fail(1)) SWIG_fail;
11181 {
11182 arg2 = &temp2;
11183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11184 }
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 resultobj = SWIG_From_int((result));
11193 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11194 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj = NULL;
11203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11204 PyObject * obj0 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail;
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->Copy();
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj = NULL;
11228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11229 PyObject * obj0 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 (arg1)->Cut();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 Py_INCREF(Py_None); resultobj = Py_None;
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = NULL;
11253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11254 PyObject * obj0 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 (arg1)->Paste();
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 Py_INCREF(Py_None); resultobj = Py_None;
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj = NULL;
11278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11279 bool result;
11280 PyObject * obj0 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail;
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 {
11296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11297 }
11298 return resultobj;
11299 fail:
11300 return NULL;
11301 }
11302
11303
11304 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj = NULL;
11306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11307 bool result;
11308 PyObject * obj0 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail;
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 {
11324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11325 }
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj = NULL;
11334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 {
11352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11353 }
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj = NULL;
11362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11363 PyObject * obj0 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->Undo();
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382 }
11383
11384
11385 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj = NULL;
11387 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 (arg1)->Redo();
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 Py_INCREF(Py_None); resultobj = Py_None;
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj = NULL;
11412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11413 bool result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11421 if (SWIG_arg_fail(1)) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 {
11430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11431 }
11432 return resultobj;
11433 fail:
11434 return NULL;
11435 }
11436
11437
11438 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj = NULL;
11440 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11441 bool result;
11442 PyObject * obj0 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11449 if (SWIG_arg_fail(1)) SWIG_fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 {
11458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11459 }
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj = NULL;
11468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11469 long arg2 ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "pos", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
11480 arg2 = static_cast<long >(SWIG_As_long(obj1));
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 (arg1)->SetInsertionPoint(arg2);
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 Py_INCREF(Py_None); resultobj = Py_None;
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj = NULL;
11499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetInsertionPointEnd();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 Py_INCREF(Py_None); resultobj = Py_None;
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj = NULL;
11524 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11525 long result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 {
11542 resultobj = SWIG_From_long(static_cast<long >(result));
11543 }
11544 return resultobj;
11545 fail:
11546 return NULL;
11547 }
11548
11549
11550 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj = NULL;
11552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11553 long result;
11554 PyObject * obj0 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "self", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail;
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 {
11570 resultobj = SWIG_From_long(static_cast<long >(result));
11571 }
11572 return resultobj;
11573 fail:
11574 return NULL;
11575 }
11576
11577
11578 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj = NULL;
11580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11581 long arg2 ;
11582 long arg3 ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 PyObject * obj2 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self",(char *) "from",(char *) "to", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail;
11593 {
11594 arg2 = static_cast<long >(SWIG_As_long(obj1));
11595 if (SWIG_arg_fail(2)) SWIG_fail;
11596 }
11597 {
11598 arg3 = static_cast<long >(SWIG_As_long(obj2));
11599 if (SWIG_arg_fail(3)) SWIG_fail;
11600 }
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 (arg1)->SetSelection(arg2,arg3);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 Py_INCREF(Py_None); resultobj = Py_None;
11609 return resultobj;
11610 fail:
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj = NULL;
11617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail;
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 (arg1)->SelectAll();
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 Py_INCREF(Py_None); resultobj = Py_None;
11634 return resultobj;
11635 fail:
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj = NULL;
11642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11643 bool arg2 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "editable", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11652 if (SWIG_arg_fail(1)) SWIG_fail;
11653 {
11654 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11655 if (SWIG_arg_fail(2)) SWIG_fail;
11656 }
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->SetEditable(arg2);
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 Py_INCREF(Py_None); resultobj = Py_None;
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj = NULL;
11673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11674 wxString *arg2 = 0 ;
11675 bool temp2 = false ;
11676 PyObject * obj0 = 0 ;
11677 PyObject * obj1 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "self",(char *) "text", NULL
11680 };
11681
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail;
11685 {
11686 arg2 = wxString_in_helper(obj1);
11687 if (arg2 == NULL) SWIG_fail;
11688 temp2 = true;
11689 }
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 Py_INCREF(Py_None); resultobj = Py_None;
11698 {
11699 if (temp2)
11700 delete arg2;
11701 }
11702 return resultobj;
11703 fail:
11704 {
11705 if (temp2)
11706 delete arg2;
11707 }
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj = NULL;
11714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11715 long arg2 ;
11716 long arg3 ;
11717 wxString result;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 PyObject * obj2 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self",(char *) "from",(char *) "to", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail;
11728 {
11729 arg2 = static_cast<long >(SWIG_As_long(obj1));
11730 if (SWIG_arg_fail(2)) SWIG_fail;
11731 }
11732 {
11733 arg3 = static_cast<long >(SWIG_As_long(obj2));
11734 if (SWIG_arg_fail(3)) SWIG_fail;
11735 }
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 {
11744 #if wxUSE_UNICODE
11745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11746 #else
11747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11748 #endif
11749 }
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj = NULL;
11758 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11759 wxVisualAttributes result;
11760 PyObject * obj0 = 0 ;
11761 char *kwnames[] = {
11762 (char *) "variant", NULL
11763 };
11764
11765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11766 if (obj0) {
11767 {
11768 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
11769 if (SWIG_arg_fail(1)) SWIG_fail;
11770 }
11771 }
11772 {
11773 if (!wxPyCheckForApp()) SWIG_fail;
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 {
11781 wxVisualAttributes * resultptr;
11782 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
11783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11784 }
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11792 PyObject *obj;
11793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11794 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11795 Py_INCREF(obj);
11796 return Py_BuildValue((char *)"");
11797 }
11798 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj = NULL;
11800 int arg1 ;
11801 wxMouseEvent *arg2 = 0 ;
11802 long arg3 ;
11803 long arg4 ;
11804 wxTextUrlEvent *result;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 PyObject * obj2 = 0 ;
11808 PyObject * obj3 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11814 {
11815 arg1 = static_cast<int >(SWIG_As_int(obj0));
11816 if (SWIG_arg_fail(1)) SWIG_fail;
11817 }
11818 {
11819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11820 if (SWIG_arg_fail(2)) SWIG_fail;
11821 if (arg2 == NULL) {
11822 SWIG_null_ref("wxMouseEvent");
11823 }
11824 if (SWIG_arg_fail(2)) SWIG_fail;
11825 }
11826 {
11827 arg3 = static_cast<long >(SWIG_As_long(obj2));
11828 if (SWIG_arg_fail(3)) SWIG_fail;
11829 }
11830 {
11831 arg4 = static_cast<long >(SWIG_As_long(obj3));
11832 if (SWIG_arg_fail(4)) SWIG_fail;
11833 }
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj = NULL;
11850 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11851 wxMouseEvent *result;
11852 PyObject * obj0 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail;
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 {
11863 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11864 result = (wxMouseEvent *) &_result_ref;
11865 }
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj = NULL;
11879 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11880 long result;
11881 PyObject * obj0 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail;
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 {
11897 resultobj = SWIG_From_long(static_cast<long >(result));
11898 }
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj = NULL;
11907 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11908 long result;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 {
11925 resultobj = SWIG_From_long(static_cast<long >(result));
11926 }
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11934 PyObject *obj;
11935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11936 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11937 Py_INCREF(obj);
11938 return Py_BuildValue((char *)"");
11939 }
11940 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11941 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11942 return 1;
11943 }
11944
11945
11946 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11947 PyObject *pyobj = NULL;
11948
11949 {
11950 #if wxUSE_UNICODE
11951 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11952 #else
11953 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11954 #endif
11955 }
11956 return pyobj;
11957 }
11958
11959
11960 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj = NULL;
11962 wxWindow *arg1 = (wxWindow *) 0 ;
11963 int arg2 = (int) -1 ;
11964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11966 wxSize const &arg4_defvalue = wxDefaultSize ;
11967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11968 long arg5 = (long) wxSB_HORIZONTAL ;
11969 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11970 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11971 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11972 wxString *arg7 = (wxString *) &arg7_defvalue ;
11973 wxScrollBar *result;
11974 wxPoint temp3 ;
11975 wxSize temp4 ;
11976 bool temp7 = false ;
11977 PyObject * obj0 = 0 ;
11978 PyObject * obj1 = 0 ;
11979 PyObject * obj2 = 0 ;
11980 PyObject * obj3 = 0 ;
11981 PyObject * obj4 = 0 ;
11982 PyObject * obj5 = 0 ;
11983 PyObject * obj6 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail;
11991 if (obj1) {
11992 {
11993 arg2 = static_cast<int >(SWIG_As_int(obj1));
11994 if (SWIG_arg_fail(2)) SWIG_fail;
11995 }
11996 }
11997 if (obj2) {
11998 {
11999 arg3 = &temp3;
12000 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12001 }
12002 }
12003 if (obj3) {
12004 {
12005 arg4 = &temp4;
12006 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12007 }
12008 }
12009 if (obj4) {
12010 {
12011 arg5 = static_cast<long >(SWIG_As_long(obj4));
12012 if (SWIG_arg_fail(5)) SWIG_fail;
12013 }
12014 }
12015 if (obj5) {
12016 {
12017 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12018 if (SWIG_arg_fail(6)) SWIG_fail;
12019 if (arg6 == NULL) {
12020 SWIG_null_ref("wxValidator");
12021 }
12022 if (SWIG_arg_fail(6)) SWIG_fail;
12023 }
12024 }
12025 if (obj6) {
12026 {
12027 arg7 = wxString_in_helper(obj6);
12028 if (arg7 == NULL) SWIG_fail;
12029 temp7 = true;
12030 }
12031 }
12032 {
12033 if (!wxPyCheckForApp()) SWIG_fail;
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12041 {
12042 if (temp7)
12043 delete arg7;
12044 }
12045 return resultobj;
12046 fail:
12047 {
12048 if (temp7)
12049 delete arg7;
12050 }
12051 return NULL;
12052 }
12053
12054
12055 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj = NULL;
12057 wxScrollBar *result;
12058 char *kwnames[] = {
12059 NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12063 {
12064 if (!wxPyCheckForApp()) SWIG_fail;
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 result = (wxScrollBar *)new wxScrollBar();
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12072 return resultobj;
12073 fail:
12074 return NULL;
12075 }
12076
12077
12078 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12079 PyObject *resultobj = NULL;
12080 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12081 wxWindow *arg2 = (wxWindow *) 0 ;
12082 int arg3 = (int) -1 ;
12083 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12084 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12085 wxSize const &arg5_defvalue = wxDefaultSize ;
12086 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12087 long arg6 = (long) wxSB_HORIZONTAL ;
12088 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12089 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12090 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12091 wxString *arg8 = (wxString *) &arg8_defvalue ;
12092 bool result;
12093 wxPoint temp4 ;
12094 wxSize temp5 ;
12095 bool temp8 = false ;
12096 PyObject * obj0 = 0 ;
12097 PyObject * obj1 = 0 ;
12098 PyObject * obj2 = 0 ;
12099 PyObject * obj3 = 0 ;
12100 PyObject * obj4 = 0 ;
12101 PyObject * obj5 = 0 ;
12102 PyObject * obj6 = 0 ;
12103 PyObject * obj7 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail;
12111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(2)) SWIG_fail;
12113 if (obj2) {
12114 {
12115 arg3 = static_cast<int >(SWIG_As_int(obj2));
12116 if (SWIG_arg_fail(3)) SWIG_fail;
12117 }
12118 }
12119 if (obj3) {
12120 {
12121 arg4 = &temp4;
12122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12123 }
12124 }
12125 if (obj4) {
12126 {
12127 arg5 = &temp5;
12128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12129 }
12130 }
12131 if (obj5) {
12132 {
12133 arg6 = static_cast<long >(SWIG_As_long(obj5));
12134 if (SWIG_arg_fail(6)) SWIG_fail;
12135 }
12136 }
12137 if (obj6) {
12138 {
12139 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12140 if (SWIG_arg_fail(7)) SWIG_fail;
12141 if (arg7 == NULL) {
12142 SWIG_null_ref("wxValidator");
12143 }
12144 if (SWIG_arg_fail(7)) SWIG_fail;
12145 }
12146 }
12147 if (obj7) {
12148 {
12149 arg8 = wxString_in_helper(obj7);
12150 if (arg8 == NULL) SWIG_fail;
12151 temp8 = true;
12152 }
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 {
12162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12163 }
12164 {
12165 if (temp8)
12166 delete arg8;
12167 }
12168 return resultobj;
12169 fail:
12170 {
12171 if (temp8)
12172 delete arg8;
12173 }
12174 return NULL;
12175 }
12176
12177
12178 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj = NULL;
12180 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12181 int result;
12182 PyObject * obj0 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12189 if (SWIG_arg_fail(1)) SWIG_fail;
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 {
12198 resultobj = SWIG_From_int(static_cast<int >(result));
12199 }
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj = NULL;
12208 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12209 int result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12217 if (SWIG_arg_fail(1)) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 {
12226 resultobj = SWIG_From_int(static_cast<int >(result));
12227 }
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj = NULL;
12236 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12237 int result;
12238 PyObject * obj0 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail;
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 {
12254 resultobj = SWIG_From_int(static_cast<int >(result));
12255 }
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj = NULL;
12264 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12265 int result;
12266 PyObject * obj0 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail;
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 result = (int)((wxScrollBar const *)arg1)->GetRange();
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 {
12282 resultobj = SWIG_From_int(static_cast<int >(result));
12283 }
12284 return resultobj;
12285 fail:
12286 return NULL;
12287 }
12288
12289
12290 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj = NULL;
12292 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12293 bool result;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "self", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail;
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 {
12310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12311 }
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj = NULL;
12320 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12321 int arg2 ;
12322 PyObject * obj0 = 0 ;
12323 PyObject * obj1 = 0 ;
12324 char *kwnames[] = {
12325 (char *) "self",(char *) "viewStart", NULL
12326 };
12327
12328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail;
12331 {
12332 arg2 = static_cast<int >(SWIG_As_int(obj1));
12333 if (SWIG_arg_fail(2)) SWIG_fail;
12334 }
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
12337 (arg1)->SetThumbPosition(arg2);
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 Py_INCREF(Py_None); resultobj = Py_None;
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj = NULL;
12351 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12352 int arg2 ;
12353 int arg3 ;
12354 int arg4 ;
12355 int arg5 ;
12356 bool arg6 = (bool) true ;
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 PyObject * obj2 = 0 ;
12360 PyObject * obj3 = 0 ;
12361 PyObject * obj4 = 0 ;
12362 PyObject * obj5 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail;
12370 {
12371 arg2 = static_cast<int >(SWIG_As_int(obj1));
12372 if (SWIG_arg_fail(2)) SWIG_fail;
12373 }
12374 {
12375 arg3 = static_cast<int >(SWIG_As_int(obj2));
12376 if (SWIG_arg_fail(3)) SWIG_fail;
12377 }
12378 {
12379 arg4 = static_cast<int >(SWIG_As_int(obj3));
12380 if (SWIG_arg_fail(4)) SWIG_fail;
12381 }
12382 {
12383 arg5 = static_cast<int >(SWIG_As_int(obj4));
12384 if (SWIG_arg_fail(5)) SWIG_fail;
12385 }
12386 if (obj5) {
12387 {
12388 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
12389 if (SWIG_arg_fail(6)) SWIG_fail;
12390 }
12391 }
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 Py_INCREF(Py_None); resultobj = Py_None;
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj = NULL;
12408 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12409 wxVisualAttributes result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "variant", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12416 if (obj0) {
12417 {
12418 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12419 if (SWIG_arg_fail(1)) SWIG_fail;
12420 }
12421 }
12422 {
12423 if (!wxPyCheckForApp()) SWIG_fail;
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = wxScrollBar::GetClassDefaultAttributes(arg1);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 {
12431 wxVisualAttributes * resultptr;
12432 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12434 }
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12442 PyObject *obj;
12443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12444 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12445 Py_INCREF(obj);
12446 return Py_BuildValue((char *)"");
12447 }
12448 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12449 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12450 return 1;
12451 }
12452
12453
12454 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12455 PyObject *pyobj = NULL;
12456
12457 {
12458 #if wxUSE_UNICODE
12459 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12460 #else
12461 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12462 #endif
12463 }
12464 return pyobj;
12465 }
12466
12467
12468 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12469 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12470 return 1;
12471 }
12472
12473
12474 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12475 PyObject *pyobj = NULL;
12476
12477 {
12478 #if wxUSE_UNICODE
12479 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12480 #else
12481 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12482 #endif
12483 }
12484 return pyobj;
12485 }
12486
12487
12488 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj = NULL;
12490 wxWindow *arg1 = (wxWindow *) 0 ;
12491 int arg2 = (int) -1 ;
12492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12494 wxSize const &arg4_defvalue = wxDefaultSize ;
12495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12496 long arg5 = (long) wxSP_HORIZONTAL ;
12497 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12498 wxString *arg6 = (wxString *) &arg6_defvalue ;
12499 wxSpinButton *result;
12500 wxPoint temp3 ;
12501 wxSize temp4 ;
12502 bool temp6 = false ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 PyObject * obj2 = 0 ;
12506 PyObject * obj3 = 0 ;
12507 PyObject * obj4 = 0 ;
12508 PyObject * obj5 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail;
12516 if (obj1) {
12517 {
12518 arg2 = static_cast<int >(SWIG_As_int(obj1));
12519 if (SWIG_arg_fail(2)) SWIG_fail;
12520 }
12521 }
12522 if (obj2) {
12523 {
12524 arg3 = &temp3;
12525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12526 }
12527 }
12528 if (obj3) {
12529 {
12530 arg4 = &temp4;
12531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12532 }
12533 }
12534 if (obj4) {
12535 {
12536 arg5 = static_cast<long >(SWIG_As_long(obj4));
12537 if (SWIG_arg_fail(5)) SWIG_fail;
12538 }
12539 }
12540 if (obj5) {
12541 {
12542 arg6 = wxString_in_helper(obj5);
12543 if (arg6 == NULL) SWIG_fail;
12544 temp6 = true;
12545 }
12546 }
12547 {
12548 if (!wxPyCheckForApp()) SWIG_fail;
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12556 {
12557 if (temp6)
12558 delete arg6;
12559 }
12560 return resultobj;
12561 fail:
12562 {
12563 if (temp6)
12564 delete arg6;
12565 }
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj = NULL;
12572 wxSpinButton *result;
12573 char *kwnames[] = {
12574 NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12578 {
12579 if (!wxPyCheckForApp()) SWIG_fail;
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (wxSpinButton *)new wxSpinButton();
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj = NULL;
12595 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12596 wxWindow *arg2 = (wxWindow *) 0 ;
12597 int arg3 = (int) -1 ;
12598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12600 wxSize const &arg5_defvalue = wxDefaultSize ;
12601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12602 long arg6 = (long) wxSP_HORIZONTAL ;
12603 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12604 wxString *arg7 = (wxString *) &arg7_defvalue ;
12605 bool result;
12606 wxPoint temp4 ;
12607 wxSize temp5 ;
12608 bool temp7 = false ;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 PyObject * obj2 = 0 ;
12612 PyObject * obj3 = 0 ;
12613 PyObject * obj4 = 0 ;
12614 PyObject * obj5 = 0 ;
12615 PyObject * obj6 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail;
12623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(2)) SWIG_fail;
12625 if (obj2) {
12626 {
12627 arg3 = static_cast<int >(SWIG_As_int(obj2));
12628 if (SWIG_arg_fail(3)) SWIG_fail;
12629 }
12630 }
12631 if (obj3) {
12632 {
12633 arg4 = &temp4;
12634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12635 }
12636 }
12637 if (obj4) {
12638 {
12639 arg5 = &temp5;
12640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12641 }
12642 }
12643 if (obj5) {
12644 {
12645 arg6 = static_cast<long >(SWIG_As_long(obj5));
12646 if (SWIG_arg_fail(6)) SWIG_fail;
12647 }
12648 }
12649 if (obj6) {
12650 {
12651 arg7 = wxString_in_helper(obj6);
12652 if (arg7 == NULL) SWIG_fail;
12653 temp7 = true;
12654 }
12655 }
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 {
12664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12665 }
12666 {
12667 if (temp7)
12668 delete arg7;
12669 }
12670 return resultobj;
12671 fail:
12672 {
12673 if (temp7)
12674 delete arg7;
12675 }
12676 return NULL;
12677 }
12678
12679
12680 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj = NULL;
12682 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12683 int result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (int)((wxSpinButton const *)arg1)->GetValue();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 {
12700 resultobj = SWIG_From_int(static_cast<int >(result));
12701 }
12702 return resultobj;
12703 fail:
12704 return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj = NULL;
12710 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12711 int result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (int)((wxSpinButton const *)arg1)->GetMin();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 resultobj = SWIG_From_int(static_cast<int >(result));
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj = NULL;
12738 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12739 int result;
12740 PyObject * obj0 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail;
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 result = (int)((wxSpinButton const *)arg1)->GetMax();
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 {
12756 resultobj = SWIG_From_int(static_cast<int >(result));
12757 }
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj = NULL;
12766 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12767 int arg2 ;
12768 PyObject * obj0 = 0 ;
12769 PyObject * obj1 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "self",(char *) "val", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail;
12777 {
12778 arg2 = static_cast<int >(SWIG_As_int(obj1));
12779 if (SWIG_arg_fail(2)) SWIG_fail;
12780 }
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 (arg1)->SetValue(arg2);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 Py_INCREF(Py_None); resultobj = Py_None;
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj = NULL;
12797 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12798 int arg2 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self",(char *) "minVal", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail;
12808 {
12809 arg2 = static_cast<int >(SWIG_As_int(obj1));
12810 if (SWIG_arg_fail(2)) SWIG_fail;
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 (arg1)->SetMin(arg2);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 Py_INCREF(Py_None); resultobj = Py_None;
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj = NULL;
12828 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12829 int arg2 ;
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 char *kwnames[] = {
12833 (char *) "self",(char *) "maxVal", NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail;
12839 {
12840 arg2 = static_cast<int >(SWIG_As_int(obj1));
12841 if (SWIG_arg_fail(2)) SWIG_fail;
12842 }
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 (arg1)->SetMax(arg2);
12846
12847 wxPyEndAllowThreads(__tstate);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 }
12850 Py_INCREF(Py_None); resultobj = Py_None;
12851 return resultobj;
12852 fail:
12853 return NULL;
12854 }
12855
12856
12857 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj = NULL;
12859 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12860 int arg2 ;
12861 int arg3 ;
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 PyObject * obj2 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail;
12872 {
12873 arg2 = static_cast<int >(SWIG_As_int(obj1));
12874 if (SWIG_arg_fail(2)) SWIG_fail;
12875 }
12876 {
12877 arg3 = static_cast<int >(SWIG_As_int(obj2));
12878 if (SWIG_arg_fail(3)) SWIG_fail;
12879 }
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->SetRange(arg2,arg3);
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 Py_INCREF(Py_None); resultobj = Py_None;
12888 return resultobj;
12889 fail:
12890 return NULL;
12891 }
12892
12893
12894 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12895 PyObject *resultobj = NULL;
12896 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12897 bool result;
12898 PyObject * obj0 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail;
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 {
12914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12915 }
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj = NULL;
12924 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12925 wxVisualAttributes result;
12926 PyObject * obj0 = 0 ;
12927 char *kwnames[] = {
12928 (char *) "variant", NULL
12929 };
12930
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12932 if (obj0) {
12933 {
12934 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12935 if (SWIG_arg_fail(1)) SWIG_fail;
12936 }
12937 }
12938 {
12939 if (!wxPyCheckForApp()) SWIG_fail;
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = wxSpinButton::GetClassDefaultAttributes(arg1);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 {
12947 wxVisualAttributes * resultptr;
12948 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12950 }
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12958 PyObject *obj;
12959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12960 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12961 Py_INCREF(obj);
12962 return Py_BuildValue((char *)"");
12963 }
12964 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj = NULL;
12966 wxWindow *arg1 = (wxWindow *) 0 ;
12967 int arg2 = (int) -1 ;
12968 wxString const &arg3_defvalue = wxPyEmptyString ;
12969 wxString *arg3 = (wxString *) &arg3_defvalue ;
12970 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12971 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12972 wxSize const &arg5_defvalue = wxDefaultSize ;
12973 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12974 long arg6 = (long) wxSP_ARROW_KEYS ;
12975 int arg7 = (int) 0 ;
12976 int arg8 = (int) 100 ;
12977 int arg9 = (int) 0 ;
12978 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12979 wxString *arg10 = (wxString *) &arg10_defvalue ;
12980 wxSpinCtrl *result;
12981 bool temp3 = false ;
12982 wxPoint temp4 ;
12983 wxSize temp5 ;
12984 bool temp10 = false ;
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
12987 PyObject * obj2 = 0 ;
12988 PyObject * obj3 = 0 ;
12989 PyObject * obj4 = 0 ;
12990 PyObject * obj5 = 0 ;
12991 PyObject * obj6 = 0 ;
12992 PyObject * obj7 = 0 ;
12993 PyObject * obj8 = 0 ;
12994 PyObject * obj9 = 0 ;
12995 char *kwnames[] = {
12996 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13001 if (SWIG_arg_fail(1)) SWIG_fail;
13002 if (obj1) {
13003 {
13004 arg2 = static_cast<int >(SWIG_As_int(obj1));
13005 if (SWIG_arg_fail(2)) SWIG_fail;
13006 }
13007 }
13008 if (obj2) {
13009 {
13010 arg3 = wxString_in_helper(obj2);
13011 if (arg3 == NULL) SWIG_fail;
13012 temp3 = true;
13013 }
13014 }
13015 if (obj3) {
13016 {
13017 arg4 = &temp4;
13018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13019 }
13020 }
13021 if (obj4) {
13022 {
13023 arg5 = &temp5;
13024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13025 }
13026 }
13027 if (obj5) {
13028 {
13029 arg6 = static_cast<long >(SWIG_As_long(obj5));
13030 if (SWIG_arg_fail(6)) SWIG_fail;
13031 }
13032 }
13033 if (obj6) {
13034 {
13035 arg7 = static_cast<int >(SWIG_As_int(obj6));
13036 if (SWIG_arg_fail(7)) SWIG_fail;
13037 }
13038 }
13039 if (obj7) {
13040 {
13041 arg8 = static_cast<int >(SWIG_As_int(obj7));
13042 if (SWIG_arg_fail(8)) SWIG_fail;
13043 }
13044 }
13045 if (obj8) {
13046 {
13047 arg9 = static_cast<int >(SWIG_As_int(obj8));
13048 if (SWIG_arg_fail(9)) SWIG_fail;
13049 }
13050 }
13051 if (obj9) {
13052 {
13053 arg10 = wxString_in_helper(obj9);
13054 if (arg10 == NULL) SWIG_fail;
13055 temp10 = true;
13056 }
13057 }
13058 {
13059 if (!wxPyCheckForApp()) SWIG_fail;
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13067 {
13068 if (temp3)
13069 delete arg3;
13070 }
13071 {
13072 if (temp10)
13073 delete arg10;
13074 }
13075 return resultobj;
13076 fail:
13077 {
13078 if (temp3)
13079 delete arg3;
13080 }
13081 {
13082 if (temp10)
13083 delete arg10;
13084 }
13085 return NULL;
13086 }
13087
13088
13089 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj = NULL;
13091 wxSpinCtrl *result;
13092 char *kwnames[] = {
13093 NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13097 {
13098 if (!wxPyCheckForApp()) SWIG_fail;
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (wxSpinCtrl *)new wxSpinCtrl();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj = NULL;
13114 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13115 wxWindow *arg2 = (wxWindow *) 0 ;
13116 int arg3 = (int) -1 ;
13117 wxString const &arg4_defvalue = wxPyEmptyString ;
13118 wxString *arg4 = (wxString *) &arg4_defvalue ;
13119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13121 wxSize const &arg6_defvalue = wxDefaultSize ;
13122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13123 long arg7 = (long) wxSP_ARROW_KEYS ;
13124 int arg8 = (int) 0 ;
13125 int arg9 = (int) 100 ;
13126 int arg10 = (int) 0 ;
13127 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13128 wxString *arg11 = (wxString *) &arg11_defvalue ;
13129 bool result;
13130 bool temp4 = false ;
13131 wxPoint temp5 ;
13132 wxSize temp6 ;
13133 bool temp11 = false ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 PyObject * obj2 = 0 ;
13137 PyObject * obj3 = 0 ;
13138 PyObject * obj4 = 0 ;
13139 PyObject * obj5 = 0 ;
13140 PyObject * obj6 = 0 ;
13141 PyObject * obj7 = 0 ;
13142 PyObject * obj8 = 0 ;
13143 PyObject * obj9 = 0 ;
13144 PyObject * obj10 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail;
13152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13153 if (SWIG_arg_fail(2)) SWIG_fail;
13154 if (obj2) {
13155 {
13156 arg3 = static_cast<int >(SWIG_As_int(obj2));
13157 if (SWIG_arg_fail(3)) SWIG_fail;
13158 }
13159 }
13160 if (obj3) {
13161 {
13162 arg4 = wxString_in_helper(obj3);
13163 if (arg4 == NULL) SWIG_fail;
13164 temp4 = true;
13165 }
13166 }
13167 if (obj4) {
13168 {
13169 arg5 = &temp5;
13170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13171 }
13172 }
13173 if (obj5) {
13174 {
13175 arg6 = &temp6;
13176 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13177 }
13178 }
13179 if (obj6) {
13180 {
13181 arg7 = static_cast<long >(SWIG_As_long(obj6));
13182 if (SWIG_arg_fail(7)) SWIG_fail;
13183 }
13184 }
13185 if (obj7) {
13186 {
13187 arg8 = static_cast<int >(SWIG_As_int(obj7));
13188 if (SWIG_arg_fail(8)) SWIG_fail;
13189 }
13190 }
13191 if (obj8) {
13192 {
13193 arg9 = static_cast<int >(SWIG_As_int(obj8));
13194 if (SWIG_arg_fail(9)) SWIG_fail;
13195 }
13196 }
13197 if (obj9) {
13198 {
13199 arg10 = static_cast<int >(SWIG_As_int(obj9));
13200 if (SWIG_arg_fail(10)) SWIG_fail;
13201 }
13202 }
13203 if (obj10) {
13204 {
13205 arg11 = wxString_in_helper(obj10);
13206 if (arg11 == NULL) SWIG_fail;
13207 temp11 = true;
13208 }
13209 }
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 {
13218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13219 }
13220 {
13221 if (temp4)
13222 delete arg4;
13223 }
13224 {
13225 if (temp11)
13226 delete arg11;
13227 }
13228 return resultobj;
13229 fail:
13230 {
13231 if (temp4)
13232 delete arg4;
13233 }
13234 {
13235 if (temp11)
13236 delete arg11;
13237 }
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj = NULL;
13244 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13245 int result;
13246 PyObject * obj0 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13253 if (SWIG_arg_fail(1)) SWIG_fail;
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 {
13262 resultobj = SWIG_From_int(static_cast<int >(result));
13263 }
13264 return resultobj;
13265 fail:
13266 return NULL;
13267 }
13268
13269
13270 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj = NULL;
13272 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13273 int arg2 ;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "value", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail;
13283 {
13284 arg2 = static_cast<int >(SWIG_As_int(obj1));
13285 if (SWIG_arg_fail(2)) SWIG_fail;
13286 }
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->SetValue(arg2);
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 Py_INCREF(Py_None); resultobj = Py_None;
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj = NULL;
13303 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13304 wxString *arg2 = 0 ;
13305 bool temp2 = false ;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "text", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail;
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
13318 temp2 = true;
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 (arg1)->SetValue((wxString const &)*arg2);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 Py_INCREF(Py_None); resultobj = Py_None;
13328 {
13329 if (temp2)
13330 delete arg2;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj = NULL;
13344 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13345 int arg2 ;
13346 int arg3 ;
13347 PyObject * obj0 = 0 ;
13348 PyObject * obj1 = 0 ;
13349 PyObject * obj2 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13356 if (SWIG_arg_fail(1)) SWIG_fail;
13357 {
13358 arg2 = static_cast<int >(SWIG_As_int(obj1));
13359 if (SWIG_arg_fail(2)) SWIG_fail;
13360 }
13361 {
13362 arg3 = static_cast<int >(SWIG_As_int(obj2));
13363 if (SWIG_arg_fail(3)) SWIG_fail;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->SetRange(arg2,arg3);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj = NULL;
13381 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13382 int result;
13383 PyObject * obj0 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "self", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail;
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 {
13399 resultobj = SWIG_From_int(static_cast<int >(result));
13400 }
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj = NULL;
13409 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13410 int result;
13411 PyObject * obj0 = 0 ;
13412 char *kwnames[] = {
13413 (char *) "self", NULL
13414 };
13415
13416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13418 if (SWIG_arg_fail(1)) SWIG_fail;
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 {
13427 resultobj = SWIG_From_int(static_cast<int >(result));
13428 }
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj = NULL;
13437 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13438 long arg2 ;
13439 long arg3 ;
13440 PyObject * obj0 = 0 ;
13441 PyObject * obj1 = 0 ;
13442 PyObject * obj2 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self",(char *) "from",(char *) "to", NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13449 if (SWIG_arg_fail(1)) SWIG_fail;
13450 {
13451 arg2 = static_cast<long >(SWIG_As_long(obj1));
13452 if (SWIG_arg_fail(2)) SWIG_fail;
13453 }
13454 {
13455 arg3 = static_cast<long >(SWIG_As_long(obj2));
13456 if (SWIG_arg_fail(3)) SWIG_fail;
13457 }
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 (arg1)->SetSelection(arg2,arg3);
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj = NULL;
13474 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13475 wxVisualAttributes result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "variant", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13482 if (obj0) {
13483 {
13484 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13485 if (SWIG_arg_fail(1)) SWIG_fail;
13486 }
13487 }
13488 {
13489 if (!wxPyCheckForApp()) SWIG_fail;
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 {
13497 wxVisualAttributes * resultptr;
13498 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13500 }
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13508 PyObject *obj;
13509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13510 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13511 Py_INCREF(obj);
13512 return Py_BuildValue((char *)"");
13513 }
13514 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj = NULL;
13516 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13517 int arg2 = (int) 0 ;
13518 wxSpinEvent *result;
13519 PyObject * obj0 = 0 ;
13520 PyObject * obj1 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "commandType",(char *) "winid", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13526 if (obj0) {
13527 {
13528 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13529 if (SWIG_arg_fail(1)) SWIG_fail;
13530 }
13531 }
13532 if (obj1) {
13533 {
13534 arg2 = static_cast<int >(SWIG_As_int(obj1));
13535 if (SWIG_arg_fail(2)) SWIG_fail;
13536 }
13537 }
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
13545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13546 return resultobj;
13547 fail:
13548 return NULL;
13549 }
13550
13551
13552 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj = NULL;
13554 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13555 int result;
13556 PyObject * obj0 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13563 if (SWIG_arg_fail(1)) SWIG_fail;
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 {
13572 resultobj = SWIG_From_int(static_cast<int >(result));
13573 }
13574 return resultobj;
13575 fail:
13576 return NULL;
13577 }
13578
13579
13580 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj = NULL;
13582 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13583 int arg2 ;
13584 PyObject * obj0 = 0 ;
13585 PyObject * obj1 = 0 ;
13586 char *kwnames[] = {
13587 (char *) "self",(char *) "pos", NULL
13588 };
13589
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13592 if (SWIG_arg_fail(1)) SWIG_fail;
13593 {
13594 arg2 = static_cast<int >(SWIG_As_int(obj1));
13595 if (SWIG_arg_fail(2)) SWIG_fail;
13596 }
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 (arg1)->SetPosition(arg2);
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 Py_INCREF(Py_None); resultobj = Py_None;
13605 return resultobj;
13606 fail:
13607 return NULL;
13608 }
13609
13610
13611 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13612 PyObject *obj;
13613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13614 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13615 Py_INCREF(obj);
13616 return Py_BuildValue((char *)"");
13617 }
13618 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13619 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13620 return 1;
13621 }
13622
13623
13624 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13625 PyObject *pyobj = NULL;
13626
13627 {
13628 #if wxUSE_UNICODE
13629 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13630 #else
13631 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13632 #endif
13633 }
13634 return pyobj;
13635 }
13636
13637
13638 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13639 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13640 return 1;
13641 }
13642
13643
13644 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13645 PyObject *pyobj = NULL;
13646
13647 {
13648 #if wxUSE_UNICODE
13649 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13650 #else
13651 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13652 #endif
13653 }
13654 return pyobj;
13655 }
13656
13657
13658 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj = NULL;
13660 wxWindow *arg1 = (wxWindow *) 0 ;
13661 int arg2 = (int) -1 ;
13662 wxString const &arg3_defvalue = wxPyEmptyString ;
13663 wxString *arg3 = (wxString *) &arg3_defvalue ;
13664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13666 wxSize const &arg5_defvalue = wxDefaultSize ;
13667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13668 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13669 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13670 int arg7 = (int) 0 ;
13671 long arg8 = (long) wxRA_HORIZONTAL ;
13672 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13673 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13674 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13675 wxString *arg10 = (wxString *) &arg10_defvalue ;
13676 wxRadioBox *result;
13677 bool temp3 = false ;
13678 wxPoint temp4 ;
13679 wxSize temp5 ;
13680 bool temp6 = false ;
13681 bool temp10 = false ;
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 PyObject * obj2 = 0 ;
13685 PyObject * obj3 = 0 ;
13686 PyObject * obj4 = 0 ;
13687 PyObject * obj5 = 0 ;
13688 PyObject * obj6 = 0 ;
13689 PyObject * obj7 = 0 ;
13690 PyObject * obj8 = 0 ;
13691 PyObject * obj9 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13698 if (SWIG_arg_fail(1)) SWIG_fail;
13699 if (obj1) {
13700 {
13701 arg2 = static_cast<int >(SWIG_As_int(obj1));
13702 if (SWIG_arg_fail(2)) SWIG_fail;
13703 }
13704 }
13705 if (obj2) {
13706 {
13707 arg3 = wxString_in_helper(obj2);
13708 if (arg3 == NULL) SWIG_fail;
13709 temp3 = true;
13710 }
13711 }
13712 if (obj3) {
13713 {
13714 arg4 = &temp4;
13715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13716 }
13717 }
13718 if (obj4) {
13719 {
13720 arg5 = &temp5;
13721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13722 }
13723 }
13724 if (obj5) {
13725 {
13726 if (! PySequence_Check(obj5)) {
13727 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13728 SWIG_fail;
13729 }
13730 arg6 = new wxArrayString;
13731 temp6 = true;
13732 int i, len=PySequence_Length(obj5);
13733 for (i=0; i<len; i++) {
13734 PyObject* item = PySequence_GetItem(obj5, i);
13735 wxString* s = wxString_in_helper(item);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 arg6->Add(*s);
13738 delete s;
13739 Py_DECREF(item);
13740 }
13741 }
13742 }
13743 if (obj6) {
13744 {
13745 arg7 = static_cast<int >(SWIG_As_int(obj6));
13746 if (SWIG_arg_fail(7)) SWIG_fail;
13747 }
13748 }
13749 if (obj7) {
13750 {
13751 arg8 = static_cast<long >(SWIG_As_long(obj7));
13752 if (SWIG_arg_fail(8)) SWIG_fail;
13753 }
13754 }
13755 if (obj8) {
13756 {
13757 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(9)) SWIG_fail;
13759 if (arg9 == NULL) {
13760 SWIG_null_ref("wxValidator");
13761 }
13762 if (SWIG_arg_fail(9)) SWIG_fail;
13763 }
13764 }
13765 if (obj9) {
13766 {
13767 arg10 = wxString_in_helper(obj9);
13768 if (arg10 == NULL) SWIG_fail;
13769 temp10 = true;
13770 }
13771 }
13772 {
13773 if (!wxPyCheckForApp()) SWIG_fail;
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 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);
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13781 {
13782 if (temp3)
13783 delete arg3;
13784 }
13785 {
13786 if (temp6) delete arg6;
13787 }
13788 {
13789 if (temp10)
13790 delete arg10;
13791 }
13792 return resultobj;
13793 fail:
13794 {
13795 if (temp3)
13796 delete arg3;
13797 }
13798 {
13799 if (temp6) delete arg6;
13800 }
13801 {
13802 if (temp10)
13803 delete arg10;
13804 }
13805 return NULL;
13806 }
13807
13808
13809 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13810 PyObject *resultobj = NULL;
13811 wxRadioBox *result;
13812 char *kwnames[] = {
13813 NULL
13814 };
13815
13816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13817 {
13818 if (!wxPyCheckForApp()) SWIG_fail;
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (wxRadioBox *)new wxRadioBox();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13826 return resultobj;
13827 fail:
13828 return NULL;
13829 }
13830
13831
13832 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj = NULL;
13834 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13835 wxWindow *arg2 = (wxWindow *) 0 ;
13836 int arg3 = (int) -1 ;
13837 wxString const &arg4_defvalue = wxPyEmptyString ;
13838 wxString *arg4 = (wxString *) &arg4_defvalue ;
13839 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13840 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13841 wxSize const &arg6_defvalue = wxDefaultSize ;
13842 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13843 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13844 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13845 int arg8 = (int) 0 ;
13846 long arg9 = (long) wxRA_HORIZONTAL ;
13847 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13848 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13849 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13850 wxString *arg11 = (wxString *) &arg11_defvalue ;
13851 bool result;
13852 bool temp4 = false ;
13853 wxPoint temp5 ;
13854 wxSize temp6 ;
13855 bool temp7 = false ;
13856 bool temp11 = false ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 PyObject * obj2 = 0 ;
13860 PyObject * obj3 = 0 ;
13861 PyObject * obj4 = 0 ;
13862 PyObject * obj5 = 0 ;
13863 PyObject * obj6 = 0 ;
13864 PyObject * obj7 = 0 ;
13865 PyObject * obj8 = 0 ;
13866 PyObject * obj9 = 0 ;
13867 PyObject * obj10 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail;
13875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13876 if (SWIG_arg_fail(2)) SWIG_fail;
13877 if (obj2) {
13878 {
13879 arg3 = static_cast<int >(SWIG_As_int(obj2));
13880 if (SWIG_arg_fail(3)) SWIG_fail;
13881 }
13882 }
13883 if (obj3) {
13884 {
13885 arg4 = wxString_in_helper(obj3);
13886 if (arg4 == NULL) SWIG_fail;
13887 temp4 = true;
13888 }
13889 }
13890 if (obj4) {
13891 {
13892 arg5 = &temp5;
13893 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13894 }
13895 }
13896 if (obj5) {
13897 {
13898 arg6 = &temp6;
13899 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13900 }
13901 }
13902 if (obj6) {
13903 {
13904 if (! PySequence_Check(obj6)) {
13905 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13906 SWIG_fail;
13907 }
13908 arg7 = new wxArrayString;
13909 temp7 = true;
13910 int i, len=PySequence_Length(obj6);
13911 for (i=0; i<len; i++) {
13912 PyObject* item = PySequence_GetItem(obj6, i);
13913 wxString* s = wxString_in_helper(item);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 arg7->Add(*s);
13916 delete s;
13917 Py_DECREF(item);
13918 }
13919 }
13920 }
13921 if (obj7) {
13922 {
13923 arg8 = static_cast<int >(SWIG_As_int(obj7));
13924 if (SWIG_arg_fail(8)) SWIG_fail;
13925 }
13926 }
13927 if (obj8) {
13928 {
13929 arg9 = static_cast<long >(SWIG_As_long(obj8));
13930 if (SWIG_arg_fail(9)) SWIG_fail;
13931 }
13932 }
13933 if (obj9) {
13934 {
13935 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13936 if (SWIG_arg_fail(10)) SWIG_fail;
13937 if (arg10 == NULL) {
13938 SWIG_null_ref("wxValidator");
13939 }
13940 if (SWIG_arg_fail(10)) SWIG_fail;
13941 }
13942 }
13943 if (obj10) {
13944 {
13945 arg11 = wxString_in_helper(obj10);
13946 if (arg11 == NULL) SWIG_fail;
13947 temp11 = true;
13948 }
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 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);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
13960 {
13961 if (temp4)
13962 delete arg4;
13963 }
13964 {
13965 if (temp7) delete arg7;
13966 }
13967 {
13968 if (temp11)
13969 delete arg11;
13970 }
13971 return resultobj;
13972 fail:
13973 {
13974 if (temp4)
13975 delete arg4;
13976 }
13977 {
13978 if (temp7) delete arg7;
13979 }
13980 {
13981 if (temp11)
13982 delete arg11;
13983 }
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj = NULL;
13990 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13991 int arg2 ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "n", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14000 if (SWIG_arg_fail(1)) SWIG_fail;
14001 {
14002 arg2 = static_cast<int >(SWIG_As_int(obj1));
14003 if (SWIG_arg_fail(2)) SWIG_fail;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->SetSelection(arg2);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj = NULL;
14021 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14022 int result;
14023 PyObject * obj0 = 0 ;
14024 char *kwnames[] = {
14025 (char *) "self", NULL
14026 };
14027
14028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
14029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail;
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 {
14039 resultobj = SWIG_From_int(static_cast<int >(result));
14040 }
14041 return resultobj;
14042 fail:
14043 return NULL;
14044 }
14045
14046
14047 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj = NULL;
14049 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14050 wxString result;
14051 PyObject * obj0 = 0 ;
14052 char *kwnames[] = {
14053 (char *) "self", NULL
14054 };
14055
14056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
14057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14058 if (SWIG_arg_fail(1)) SWIG_fail;
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14062
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 {
14067 #if wxUSE_UNICODE
14068 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14069 #else
14070 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14071 #endif
14072 }
14073 return resultobj;
14074 fail:
14075 return NULL;
14076 }
14077
14078
14079 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj = NULL;
14081 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14082 wxString *arg2 = 0 ;
14083 bool result;
14084 bool temp2 = false ;
14085 PyObject * obj0 = 0 ;
14086 PyObject * obj1 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self",(char *) "s", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14093 if (SWIG_arg_fail(1)) SWIG_fail;
14094 {
14095 arg2 = wxString_in_helper(obj1);
14096 if (arg2 == NULL) SWIG_fail;
14097 temp2 = true;
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 {
14107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14108 }
14109 {
14110 if (temp2)
14111 delete arg2;
14112 }
14113 return resultobj;
14114 fail:
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj = NULL;
14125 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14126 int result;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (int)((wxRadioBox const *)arg1)->GetCount();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 resultobj = SWIG_From_int(static_cast<int >(result));
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj = NULL;
14153 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14154 wxString *arg2 = 0 ;
14155 int result;
14156 bool temp2 = false ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "s", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail;
14166 {
14167 arg2 = wxString_in_helper(obj1);
14168 if (arg2 == NULL) SWIG_fail;
14169 temp2 = true;
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
14179 resultobj = SWIG_From_int(static_cast<int >(result));
14180 }
14181 {
14182 if (temp2)
14183 delete arg2;
14184 }
14185 return resultobj;
14186 fail:
14187 {
14188 if (temp2)
14189 delete arg2;
14190 }
14191 return NULL;
14192 }
14193
14194
14195 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj = NULL;
14197 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14198 int arg2 ;
14199 wxString result;
14200 PyObject * obj0 = 0 ;
14201 PyObject * obj1 = 0 ;
14202 char *kwnames[] = {
14203 (char *) "self",(char *) "n", NULL
14204 };
14205
14206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14208 if (SWIG_arg_fail(1)) SWIG_fail;
14209 {
14210 arg2 = static_cast<int >(SWIG_As_int(obj1));
14211 if (SWIG_arg_fail(2)) SWIG_fail;
14212 }
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 {
14221 #if wxUSE_UNICODE
14222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14223 #else
14224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14225 #endif
14226 }
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj = NULL;
14235 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14236 int arg2 ;
14237 wxString *arg3 = 0 ;
14238 bool temp3 = false ;
14239 PyObject * obj0 = 0 ;
14240 PyObject * obj1 = 0 ;
14241 PyObject * obj2 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self",(char *) "n",(char *) "label", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail;
14249 {
14250 arg2 = static_cast<int >(SWIG_As_int(obj1));
14251 if (SWIG_arg_fail(2)) SWIG_fail;
14252 }
14253 {
14254 arg3 = wxString_in_helper(obj2);
14255 if (arg3 == NULL) SWIG_fail;
14256 temp3 = true;
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 (arg1)->SetString(arg2,(wxString const &)*arg3);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 Py_INCREF(Py_None); resultobj = Py_None;
14266 {
14267 if (temp3)
14268 delete arg3;
14269 }
14270 return resultobj;
14271 fail:
14272 {
14273 if (temp3)
14274 delete arg3;
14275 }
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj = NULL;
14282 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14283 int arg2 ;
14284 bool arg3 = (bool) true ;
14285 PyObject * obj0 = 0 ;
14286 PyObject * obj1 = 0 ;
14287 PyObject * obj2 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self",(char *) "n",(char *) "enable", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail;
14295 {
14296 arg2 = static_cast<int >(SWIG_As_int(obj1));
14297 if (SWIG_arg_fail(2)) SWIG_fail;
14298 }
14299 if (obj2) {
14300 {
14301 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14302 if (SWIG_arg_fail(3)) SWIG_fail;
14303 }
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->Enable(arg2,arg3);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 return resultobj;
14314 fail:
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj = NULL;
14321 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14322 int arg2 ;
14323 bool arg3 = (bool) true ;
14324 PyObject * obj0 = 0 ;
14325 PyObject * obj1 = 0 ;
14326 PyObject * obj2 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self",(char *) "n",(char *) "show", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail;
14334 {
14335 arg2 = static_cast<int >(SWIG_As_int(obj1));
14336 if (SWIG_arg_fail(2)) SWIG_fail;
14337 }
14338 if (obj2) {
14339 {
14340 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14341 if (SWIG_arg_fail(3)) SWIG_fail;
14342 }
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 (arg1)->Show(arg2,arg3);
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 Py_INCREF(Py_None); resultobj = Py_None;
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj = NULL;
14360 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14361 int result;
14362 PyObject * obj0 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self", NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14369 if (SWIG_arg_fail(1)) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378 resultobj = SWIG_From_int(static_cast<int >(result));
14379 }
14380 return resultobj;
14381 fail:
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj = NULL;
14388 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14389 int result;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail;
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 {
14406 resultobj = SWIG_From_int(static_cast<int >(result));
14407 }
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj = NULL;
14416 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14417 int arg2 ;
14418 wxDirection arg3 ;
14419 long arg4 ;
14420 int result;
14421 PyObject * obj0 = 0 ;
14422 PyObject * obj1 = 0 ;
14423 PyObject * obj2 = 0 ;
14424 PyObject * obj3 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14431 if (SWIG_arg_fail(1)) SWIG_fail;
14432 {
14433 arg2 = static_cast<int >(SWIG_As_int(obj1));
14434 if (SWIG_arg_fail(2)) SWIG_fail;
14435 }
14436 {
14437 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
14438 if (SWIG_arg_fail(3)) SWIG_fail;
14439 }
14440 {
14441 arg4 = static_cast<long >(SWIG_As_long(obj3));
14442 if (SWIG_arg_fail(4)) SWIG_fail;
14443 }
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
14447
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 {
14452 resultobj = SWIG_From_int(static_cast<int >(result));
14453 }
14454 return resultobj;
14455 fail:
14456 return NULL;
14457 }
14458
14459
14460 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14461 PyObject *resultobj = NULL;
14462 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14463 wxVisualAttributes result;
14464 PyObject * obj0 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "variant", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14470 if (obj0) {
14471 {
14472 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14473 if (SWIG_arg_fail(1)) SWIG_fail;
14474 }
14475 }
14476 {
14477 if (!wxPyCheckForApp()) SWIG_fail;
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = wxRadioBox::GetClassDefaultAttributes(arg1);
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 {
14485 wxVisualAttributes * resultptr;
14486 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14488 }
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14496 PyObject *obj;
14497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14498 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14499 Py_INCREF(obj);
14500 return Py_BuildValue((char *)"");
14501 }
14502 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj = NULL;
14504 wxWindow *arg1 = (wxWindow *) 0 ;
14505 int arg2 = (int) -1 ;
14506 wxString const &arg3_defvalue = wxPyEmptyString ;
14507 wxString *arg3 = (wxString *) &arg3_defvalue ;
14508 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14509 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14510 wxSize const &arg5_defvalue = wxDefaultSize ;
14511 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14512 long arg6 = (long) 0 ;
14513 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14514 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14515 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14516 wxString *arg8 = (wxString *) &arg8_defvalue ;
14517 wxRadioButton *result;
14518 bool temp3 = false ;
14519 wxPoint temp4 ;
14520 wxSize temp5 ;
14521 bool temp8 = false ;
14522 PyObject * obj0 = 0 ;
14523 PyObject * obj1 = 0 ;
14524 PyObject * obj2 = 0 ;
14525 PyObject * obj3 = 0 ;
14526 PyObject * obj4 = 0 ;
14527 PyObject * obj5 = 0 ;
14528 PyObject * obj6 = 0 ;
14529 PyObject * obj7 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail;
14537 if (obj1) {
14538 {
14539 arg2 = static_cast<int >(SWIG_As_int(obj1));
14540 if (SWIG_arg_fail(2)) SWIG_fail;
14541 }
14542 }
14543 if (obj2) {
14544 {
14545 arg3 = wxString_in_helper(obj2);
14546 if (arg3 == NULL) SWIG_fail;
14547 temp3 = true;
14548 }
14549 }
14550 if (obj3) {
14551 {
14552 arg4 = &temp4;
14553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14554 }
14555 }
14556 if (obj4) {
14557 {
14558 arg5 = &temp5;
14559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14560 }
14561 }
14562 if (obj5) {
14563 {
14564 arg6 = static_cast<long >(SWIG_As_long(obj5));
14565 if (SWIG_arg_fail(6)) SWIG_fail;
14566 }
14567 }
14568 if (obj6) {
14569 {
14570 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14571 if (SWIG_arg_fail(7)) SWIG_fail;
14572 if (arg7 == NULL) {
14573 SWIG_null_ref("wxValidator");
14574 }
14575 if (SWIG_arg_fail(7)) SWIG_fail;
14576 }
14577 }
14578 if (obj7) {
14579 {
14580 arg8 = wxString_in_helper(obj7);
14581 if (arg8 == NULL) SWIG_fail;
14582 temp8 = true;
14583 }
14584 }
14585 {
14586 if (!wxPyCheckForApp()) SWIG_fail;
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14594 {
14595 if (temp3)
14596 delete arg3;
14597 }
14598 {
14599 if (temp8)
14600 delete arg8;
14601 }
14602 return resultobj;
14603 fail:
14604 {
14605 if (temp3)
14606 delete arg3;
14607 }
14608 {
14609 if (temp8)
14610 delete arg8;
14611 }
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj = NULL;
14618 wxRadioButton *result;
14619 char *kwnames[] = {
14620 NULL
14621 };
14622
14623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14624 {
14625 if (!wxPyCheckForApp()) SWIG_fail;
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (wxRadioButton *)new wxRadioButton();
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14633 return resultobj;
14634 fail:
14635 return NULL;
14636 }
14637
14638
14639 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj = NULL;
14641 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14642 wxWindow *arg2 = (wxWindow *) 0 ;
14643 int arg3 = (int) -1 ;
14644 wxString const &arg4_defvalue = wxPyEmptyString ;
14645 wxString *arg4 = (wxString *) &arg4_defvalue ;
14646 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14647 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14648 wxSize const &arg6_defvalue = wxDefaultSize ;
14649 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14650 long arg7 = (long) 0 ;
14651 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14652 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14653 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14654 wxString *arg9 = (wxString *) &arg9_defvalue ;
14655 bool result;
14656 bool temp4 = false ;
14657 wxPoint temp5 ;
14658 wxSize temp6 ;
14659 bool temp9 = false ;
14660 PyObject * obj0 = 0 ;
14661 PyObject * obj1 = 0 ;
14662 PyObject * obj2 = 0 ;
14663 PyObject * obj3 = 0 ;
14664 PyObject * obj4 = 0 ;
14665 PyObject * obj5 = 0 ;
14666 PyObject * obj6 = 0 ;
14667 PyObject * obj7 = 0 ;
14668 PyObject * obj8 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail;
14676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14677 if (SWIG_arg_fail(2)) SWIG_fail;
14678 if (obj2) {
14679 {
14680 arg3 = static_cast<int >(SWIG_As_int(obj2));
14681 if (SWIG_arg_fail(3)) SWIG_fail;
14682 }
14683 }
14684 if (obj3) {
14685 {
14686 arg4 = wxString_in_helper(obj3);
14687 if (arg4 == NULL) SWIG_fail;
14688 temp4 = true;
14689 }
14690 }
14691 if (obj4) {
14692 {
14693 arg5 = &temp5;
14694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14695 }
14696 }
14697 if (obj5) {
14698 {
14699 arg6 = &temp6;
14700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14701 }
14702 }
14703 if (obj6) {
14704 {
14705 arg7 = static_cast<long >(SWIG_As_long(obj6));
14706 if (SWIG_arg_fail(7)) SWIG_fail;
14707 }
14708 }
14709 if (obj7) {
14710 {
14711 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14712 if (SWIG_arg_fail(8)) SWIG_fail;
14713 if (arg8 == NULL) {
14714 SWIG_null_ref("wxValidator");
14715 }
14716 if (SWIG_arg_fail(8)) SWIG_fail;
14717 }
14718 }
14719 if (obj8) {
14720 {
14721 arg9 = wxString_in_helper(obj8);
14722 if (arg9 == NULL) SWIG_fail;
14723 temp9 = true;
14724 }
14725 }
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 {
14734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14735 }
14736 {
14737 if (temp4)
14738 delete arg4;
14739 }
14740 {
14741 if (temp9)
14742 delete arg9;
14743 }
14744 return resultobj;
14745 fail:
14746 {
14747 if (temp4)
14748 delete arg4;
14749 }
14750 {
14751 if (temp9)
14752 delete arg9;
14753 }
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj = NULL;
14760 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14761 bool result;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (bool)(arg1)->GetValue();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 {
14778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14779 }
14780 return resultobj;
14781 fail:
14782 return NULL;
14783 }
14784
14785
14786 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14787 PyObject *resultobj = NULL;
14788 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14789 bool arg2 ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj1 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "self",(char *) "value", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14798 if (SWIG_arg_fail(1)) SWIG_fail;
14799 {
14800 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
14801 if (SWIG_arg_fail(2)) SWIG_fail;
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->SetValue(arg2);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj = NULL;
14819 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14820 wxVisualAttributes result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "variant", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14827 if (obj0) {
14828 {
14829 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14830 if (SWIG_arg_fail(1)) SWIG_fail;
14831 }
14832 }
14833 {
14834 if (!wxPyCheckForApp()) SWIG_fail;
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = wxRadioButton::GetClassDefaultAttributes(arg1);
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842 wxVisualAttributes * resultptr;
14843 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14845 }
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14853 PyObject *obj;
14854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14855 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14856 Py_INCREF(obj);
14857 return Py_BuildValue((char *)"");
14858 }
14859 static int _wrap_SliderNameStr_set(PyObject *) {
14860 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14861 return 1;
14862 }
14863
14864
14865 static PyObject *_wrap_SliderNameStr_get(void) {
14866 PyObject *pyobj = NULL;
14867
14868 {
14869 #if wxUSE_UNICODE
14870 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14871 #else
14872 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14873 #endif
14874 }
14875 return pyobj;
14876 }
14877
14878
14879 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj = NULL;
14881 wxWindow *arg1 = (wxWindow *) 0 ;
14882 int arg2 = (int) -1 ;
14883 int arg3 = (int) 0 ;
14884 int arg4 = (int) 0 ;
14885 int arg5 = (int) 100 ;
14886 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14887 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14888 wxSize const &arg7_defvalue = wxDefaultSize ;
14889 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14890 long arg8 = (long) wxSL_HORIZONTAL ;
14891 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14892 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14893 wxString const &arg10_defvalue = wxPySliderNameStr ;
14894 wxString *arg10 = (wxString *) &arg10_defvalue ;
14895 wxSlider *result;
14896 wxPoint temp6 ;
14897 wxSize temp7 ;
14898 bool temp10 = false ;
14899 PyObject * obj0 = 0 ;
14900 PyObject * obj1 = 0 ;
14901 PyObject * obj2 = 0 ;
14902 PyObject * obj3 = 0 ;
14903 PyObject * obj4 = 0 ;
14904 PyObject * obj5 = 0 ;
14905 PyObject * obj6 = 0 ;
14906 PyObject * obj7 = 0 ;
14907 PyObject * obj8 = 0 ;
14908 PyObject * obj9 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail;
14916 if (obj1) {
14917 {
14918 arg2 = static_cast<int >(SWIG_As_int(obj1));
14919 if (SWIG_arg_fail(2)) SWIG_fail;
14920 }
14921 }
14922 if (obj2) {
14923 {
14924 arg3 = static_cast<int >(SWIG_As_int(obj2));
14925 if (SWIG_arg_fail(3)) SWIG_fail;
14926 }
14927 }
14928 if (obj3) {
14929 {
14930 arg4 = static_cast<int >(SWIG_As_int(obj3));
14931 if (SWIG_arg_fail(4)) SWIG_fail;
14932 }
14933 }
14934 if (obj4) {
14935 {
14936 arg5 = static_cast<int >(SWIG_As_int(obj4));
14937 if (SWIG_arg_fail(5)) SWIG_fail;
14938 }
14939 }
14940 if (obj5) {
14941 {
14942 arg6 = &temp6;
14943 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14944 }
14945 }
14946 if (obj6) {
14947 {
14948 arg7 = &temp7;
14949 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14950 }
14951 }
14952 if (obj7) {
14953 {
14954 arg8 = static_cast<long >(SWIG_As_long(obj7));
14955 if (SWIG_arg_fail(8)) SWIG_fail;
14956 }
14957 }
14958 if (obj8) {
14959 {
14960 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14961 if (SWIG_arg_fail(9)) SWIG_fail;
14962 if (arg9 == NULL) {
14963 SWIG_null_ref("wxValidator");
14964 }
14965 if (SWIG_arg_fail(9)) SWIG_fail;
14966 }
14967 }
14968 if (obj9) {
14969 {
14970 arg10 = wxString_in_helper(obj9);
14971 if (arg10 == NULL) SWIG_fail;
14972 temp10 = true;
14973 }
14974 }
14975 {
14976 if (!wxPyCheckForApp()) SWIG_fail;
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14984 {
14985 if (temp10)
14986 delete arg10;
14987 }
14988 return resultobj;
14989 fail:
14990 {
14991 if (temp10)
14992 delete arg10;
14993 }
14994 return NULL;
14995 }
14996
14997
14998 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj = NULL;
15000 wxSlider *result;
15001 char *kwnames[] = {
15002 NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15006 {
15007 if (!wxPyCheckForApp()) SWIG_fail;
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (wxSlider *)new wxSlider();
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15015 return resultobj;
15016 fail:
15017 return NULL;
15018 }
15019
15020
15021 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj = NULL;
15023 wxSlider *arg1 = (wxSlider *) 0 ;
15024 wxWindow *arg2 = (wxWindow *) 0 ;
15025 int arg3 = (int) -1 ;
15026 int arg4 = (int) 0 ;
15027 int arg5 = (int) 0 ;
15028 int arg6 = (int) 100 ;
15029 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15030 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15031 wxSize const &arg8_defvalue = wxDefaultSize ;
15032 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15033 long arg9 = (long) wxSL_HORIZONTAL ;
15034 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15035 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15036 wxString const &arg11_defvalue = wxPySliderNameStr ;
15037 wxString *arg11 = (wxString *) &arg11_defvalue ;
15038 bool result;
15039 wxPoint temp7 ;
15040 wxSize temp8 ;
15041 bool temp11 = false ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 PyObject * obj2 = 0 ;
15045 PyObject * obj3 = 0 ;
15046 PyObject * obj4 = 0 ;
15047 PyObject * obj5 = 0 ;
15048 PyObject * obj6 = 0 ;
15049 PyObject * obj7 = 0 ;
15050 PyObject * obj8 = 0 ;
15051 PyObject * obj9 = 0 ;
15052 PyObject * obj10 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15059 if (SWIG_arg_fail(1)) SWIG_fail;
15060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15061 if (SWIG_arg_fail(2)) SWIG_fail;
15062 if (obj2) {
15063 {
15064 arg3 = static_cast<int >(SWIG_As_int(obj2));
15065 if (SWIG_arg_fail(3)) SWIG_fail;
15066 }
15067 }
15068 if (obj3) {
15069 {
15070 arg4 = static_cast<int >(SWIG_As_int(obj3));
15071 if (SWIG_arg_fail(4)) SWIG_fail;
15072 }
15073 }
15074 if (obj4) {
15075 {
15076 arg5 = static_cast<int >(SWIG_As_int(obj4));
15077 if (SWIG_arg_fail(5)) SWIG_fail;
15078 }
15079 }
15080 if (obj5) {
15081 {
15082 arg6 = static_cast<int >(SWIG_As_int(obj5));
15083 if (SWIG_arg_fail(6)) SWIG_fail;
15084 }
15085 }
15086 if (obj6) {
15087 {
15088 arg7 = &temp7;
15089 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15090 }
15091 }
15092 if (obj7) {
15093 {
15094 arg8 = &temp8;
15095 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15096 }
15097 }
15098 if (obj8) {
15099 {
15100 arg9 = static_cast<long >(SWIG_As_long(obj8));
15101 if (SWIG_arg_fail(9)) SWIG_fail;
15102 }
15103 }
15104 if (obj9) {
15105 {
15106 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15107 if (SWIG_arg_fail(10)) SWIG_fail;
15108 if (arg10 == NULL) {
15109 SWIG_null_ref("wxValidator");
15110 }
15111 if (SWIG_arg_fail(10)) SWIG_fail;
15112 }
15113 }
15114 if (obj10) {
15115 {
15116 arg11 = wxString_in_helper(obj10);
15117 if (arg11 == NULL) SWIG_fail;
15118 temp11 = true;
15119 }
15120 }
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 {
15129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15130 }
15131 {
15132 if (temp11)
15133 delete arg11;
15134 }
15135 return resultobj;
15136 fail:
15137 {
15138 if (temp11)
15139 delete arg11;
15140 }
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj = NULL;
15147 wxSlider *arg1 = (wxSlider *) 0 ;
15148 int result;
15149 PyObject * obj0 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail;
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (int)((wxSlider const *)arg1)->GetValue();
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 {
15165 resultobj = SWIG_From_int(static_cast<int >(result));
15166 }
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj = NULL;
15175 wxSlider *arg1 = (wxSlider *) 0 ;
15176 int arg2 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "value", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail;
15186 {
15187 arg2 = static_cast<int >(SWIG_As_int(obj1));
15188 if (SWIG_arg_fail(2)) SWIG_fail;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->SetValue(arg2);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 Py_INCREF(Py_None); resultobj = Py_None;
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj = NULL;
15206 wxSlider *arg1 = (wxSlider *) 0 ;
15207 int arg2 ;
15208 int arg3 ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 PyObject * obj2 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail;
15219 {
15220 arg2 = static_cast<int >(SWIG_As_int(obj1));
15221 if (SWIG_arg_fail(2)) SWIG_fail;
15222 }
15223 {
15224 arg3 = static_cast<int >(SWIG_As_int(obj2));
15225 if (SWIG_arg_fail(3)) SWIG_fail;
15226 }
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->SetRange(arg2,arg3);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj = NULL;
15243 wxSlider *arg1 = (wxSlider *) 0 ;
15244 int result;
15245 PyObject * obj0 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (int)((wxSlider const *)arg1)->GetMin();
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = SWIG_From_int(static_cast<int >(result));
15262 }
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj = NULL;
15271 wxSlider *arg1 = (wxSlider *) 0 ;
15272 int result;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail;
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 result = (int)((wxSlider const *)arg1)->GetMax();
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 {
15289 resultobj = SWIG_From_int(static_cast<int >(result));
15290 }
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj = NULL;
15299 wxSlider *arg1 = (wxSlider *) 0 ;
15300 int arg2 ;
15301 PyObject * obj0 = 0 ;
15302 PyObject * obj1 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self",(char *) "minValue", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail;
15310 {
15311 arg2 = static_cast<int >(SWIG_As_int(obj1));
15312 if (SWIG_arg_fail(2)) SWIG_fail;
15313 }
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 (arg1)->SetMin(arg2);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 Py_INCREF(Py_None); resultobj = Py_None;
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj = NULL;
15330 wxSlider *arg1 = (wxSlider *) 0 ;
15331 int arg2 ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "maxValue", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail;
15341 {
15342 arg2 = static_cast<int >(SWIG_As_int(obj1));
15343 if (SWIG_arg_fail(2)) SWIG_fail;
15344 }
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 (arg1)->SetMax(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 Py_INCREF(Py_None); resultobj = Py_None;
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj = NULL;
15361 wxSlider *arg1 = (wxSlider *) 0 ;
15362 int arg2 ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self",(char *) "lineSize", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail;
15372 {
15373 arg2 = static_cast<int >(SWIG_As_int(obj1));
15374 if (SWIG_arg_fail(2)) SWIG_fail;
15375 }
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->SetLineSize(arg2);
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 Py_INCREF(Py_None); resultobj = Py_None;
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj = NULL;
15392 wxSlider *arg1 = (wxSlider *) 0 ;
15393 int arg2 ;
15394 PyObject * obj0 = 0 ;
15395 PyObject * obj1 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self",(char *) "pageSize", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail;
15403 {
15404 arg2 = static_cast<int >(SWIG_As_int(obj1));
15405 if (SWIG_arg_fail(2)) SWIG_fail;
15406 }
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 (arg1)->SetPageSize(arg2);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 Py_INCREF(Py_None); resultobj = Py_None;
15415 return resultobj;
15416 fail:
15417 return NULL;
15418 }
15419
15420
15421 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj = NULL;
15423 wxSlider *arg1 = (wxSlider *) 0 ;
15424 int result;
15425 PyObject * obj0 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "self", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (int)((wxSlider const *)arg1)->GetLineSize();
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 {
15441 resultobj = SWIG_From_int(static_cast<int >(result));
15442 }
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj = NULL;
15451 wxSlider *arg1 = (wxSlider *) 0 ;
15452 int result;
15453 PyObject * obj0 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail;
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 result = (int)((wxSlider const *)arg1)->GetPageSize();
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 {
15469 resultobj = SWIG_From_int(static_cast<int >(result));
15470 }
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj = NULL;
15479 wxSlider *arg1 = (wxSlider *) 0 ;
15480 int arg2 ;
15481 PyObject * obj0 = 0 ;
15482 PyObject * obj1 = 0 ;
15483 char *kwnames[] = {
15484 (char *) "self",(char *) "lenPixels", NULL
15485 };
15486
15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail;
15490 {
15491 arg2 = static_cast<int >(SWIG_As_int(obj1));
15492 if (SWIG_arg_fail(2)) SWIG_fail;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetThumbLength(arg2);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj = NULL;
15510 wxSlider *arg1 = (wxSlider *) 0 ;
15511 int result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail;
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 {
15528 resultobj = SWIG_From_int(static_cast<int >(result));
15529 }
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj = NULL;
15538 wxSlider *arg1 = (wxSlider *) 0 ;
15539 int arg2 ;
15540 int arg3 = (int) 1 ;
15541 PyObject * obj0 = 0 ;
15542 PyObject * obj1 = 0 ;
15543 PyObject * obj2 = 0 ;
15544 char *kwnames[] = {
15545 (char *) "self",(char *) "n",(char *) "pos", NULL
15546 };
15547
15548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15550 if (SWIG_arg_fail(1)) SWIG_fail;
15551 {
15552 arg2 = static_cast<int >(SWIG_As_int(obj1));
15553 if (SWIG_arg_fail(2)) SWIG_fail;
15554 }
15555 if (obj2) {
15556 {
15557 arg3 = static_cast<int >(SWIG_As_int(obj2));
15558 if (SWIG_arg_fail(3)) SWIG_fail;
15559 }
15560 }
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 (arg1)->SetTickFreq(arg2,arg3);
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 Py_INCREF(Py_None); resultobj = Py_None;
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj = NULL;
15577 wxSlider *arg1 = (wxSlider *) 0 ;
15578 int result;
15579 PyObject * obj0 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 {
15595 resultobj = SWIG_From_int(static_cast<int >(result));
15596 }
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj = NULL;
15605 wxSlider *arg1 = (wxSlider *) 0 ;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15613 if (SWIG_arg_fail(1)) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->ClearTicks();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj = NULL;
15630 wxSlider *arg1 = (wxSlider *) 0 ;
15631 int arg2 ;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "tickPos", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15640 if (SWIG_arg_fail(1)) SWIG_fail;
15641 {
15642 arg2 = static_cast<int >(SWIG_As_int(obj1));
15643 if (SWIG_arg_fail(2)) SWIG_fail;
15644 }
15645 {
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 (arg1)->SetTick(arg2);
15648
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 Py_INCREF(Py_None); resultobj = Py_None;
15653 return resultobj;
15654 fail:
15655 return NULL;
15656 }
15657
15658
15659 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj = NULL;
15661 wxSlider *arg1 = (wxSlider *) 0 ;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->ClearSel();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj = NULL;
15686 wxSlider *arg1 = (wxSlider *) 0 ;
15687 int result;
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 resultobj = SWIG_From_int(static_cast<int >(result));
15705 }
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj = NULL;
15714 wxSlider *arg1 = (wxSlider *) 0 ;
15715 int result;
15716 PyObject * obj0 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail;
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (int)((wxSlider const *)arg1)->GetSelStart();
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 resultobj = SWIG_From_int(static_cast<int >(result));
15733 }
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj = NULL;
15742 wxSlider *arg1 = (wxSlider *) 0 ;
15743 int arg2 ;
15744 int arg3 ;
15745 PyObject * obj0 = 0 ;
15746 PyObject * obj1 = 0 ;
15747 PyObject * obj2 = 0 ;
15748 char *kwnames[] = {
15749 (char *) "self",(char *) "min",(char *) "max", NULL
15750 };
15751
15752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15754 if (SWIG_arg_fail(1)) SWIG_fail;
15755 {
15756 arg2 = static_cast<int >(SWIG_As_int(obj1));
15757 if (SWIG_arg_fail(2)) SWIG_fail;
15758 }
15759 {
15760 arg3 = static_cast<int >(SWIG_As_int(obj2));
15761 if (SWIG_arg_fail(3)) SWIG_fail;
15762 }
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 (arg1)->SetSelection(arg2,arg3);
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 Py_INCREF(Py_None); resultobj = Py_None;
15771 return resultobj;
15772 fail:
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj = NULL;
15779 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15780 wxVisualAttributes result;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "variant", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15787 if (obj0) {
15788 {
15789 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
15790 if (SWIG_arg_fail(1)) SWIG_fail;
15791 }
15792 }
15793 {
15794 if (!wxPyCheckForApp()) SWIG_fail;
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 result = wxSlider::GetClassDefaultAttributes(arg1);
15797
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 {
15802 wxVisualAttributes * resultptr;
15803 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
15804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15805 }
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15813 PyObject *obj;
15814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15815 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15816 Py_INCREF(obj);
15817 return Py_BuildValue((char *)"");
15818 }
15819 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15820 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15821 return 1;
15822 }
15823
15824
15825 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15826 PyObject *pyobj = NULL;
15827
15828 {
15829 #if wxUSE_UNICODE
15830 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15831 #else
15832 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15833 #endif
15834 }
15835 return pyobj;
15836 }
15837
15838
15839 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj = NULL;
15841 wxWindow *arg1 = (wxWindow *) 0 ;
15842 int arg2 = (int) -1 ;
15843 wxString const &arg3_defvalue = wxPyEmptyString ;
15844 wxString *arg3 = (wxString *) &arg3_defvalue ;
15845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15847 wxSize const &arg5_defvalue = wxDefaultSize ;
15848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15849 long arg6 = (long) 0 ;
15850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15852 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15853 wxString *arg8 = (wxString *) &arg8_defvalue ;
15854 wxToggleButton *result;
15855 bool temp3 = false ;
15856 wxPoint temp4 ;
15857 wxSize temp5 ;
15858 bool temp8 = false ;
15859 PyObject * obj0 = 0 ;
15860 PyObject * obj1 = 0 ;
15861 PyObject * obj2 = 0 ;
15862 PyObject * obj3 = 0 ;
15863 PyObject * obj4 = 0 ;
15864 PyObject * obj5 = 0 ;
15865 PyObject * obj6 = 0 ;
15866 PyObject * obj7 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15873 if (SWIG_arg_fail(1)) SWIG_fail;
15874 if (obj1) {
15875 {
15876 arg2 = static_cast<int >(SWIG_As_int(obj1));
15877 if (SWIG_arg_fail(2)) SWIG_fail;
15878 }
15879 }
15880 if (obj2) {
15881 {
15882 arg3 = wxString_in_helper(obj2);
15883 if (arg3 == NULL) SWIG_fail;
15884 temp3 = true;
15885 }
15886 }
15887 if (obj3) {
15888 {
15889 arg4 = &temp4;
15890 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15891 }
15892 }
15893 if (obj4) {
15894 {
15895 arg5 = &temp5;
15896 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15897 }
15898 }
15899 if (obj5) {
15900 {
15901 arg6 = static_cast<long >(SWIG_As_long(obj5));
15902 if (SWIG_arg_fail(6)) SWIG_fail;
15903 }
15904 }
15905 if (obj6) {
15906 {
15907 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15908 if (SWIG_arg_fail(7)) SWIG_fail;
15909 if (arg7 == NULL) {
15910 SWIG_null_ref("wxValidator");
15911 }
15912 if (SWIG_arg_fail(7)) SWIG_fail;
15913 }
15914 }
15915 if (obj7) {
15916 {
15917 arg8 = wxString_in_helper(obj7);
15918 if (arg8 == NULL) SWIG_fail;
15919 temp8 = true;
15920 }
15921 }
15922 {
15923 if (!wxPyCheckForApp()) SWIG_fail;
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15931 {
15932 if (temp3)
15933 delete arg3;
15934 }
15935 {
15936 if (temp8)
15937 delete arg8;
15938 }
15939 return resultobj;
15940 fail:
15941 {
15942 if (temp3)
15943 delete arg3;
15944 }
15945 {
15946 if (temp8)
15947 delete arg8;
15948 }
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj = NULL;
15955 wxToggleButton *result;
15956 char *kwnames[] = {
15957 NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15961 {
15962 if (!wxPyCheckForApp()) SWIG_fail;
15963 PyThreadState* __tstate = wxPyBeginAllowThreads();
15964 result = (wxToggleButton *)new wxToggleButton();
15965
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj = NULL;
15978 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15979 wxWindow *arg2 = (wxWindow *) 0 ;
15980 int arg3 = (int) -1 ;
15981 wxString const &arg4_defvalue = wxPyEmptyString ;
15982 wxString *arg4 = (wxString *) &arg4_defvalue ;
15983 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15984 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15985 wxSize const &arg6_defvalue = wxDefaultSize ;
15986 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15987 long arg7 = (long) 0 ;
15988 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15989 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15990 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15991 wxString *arg9 = (wxString *) &arg9_defvalue ;
15992 bool result;
15993 bool temp4 = false ;
15994 wxPoint temp5 ;
15995 wxSize temp6 ;
15996 bool temp9 = false ;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 PyObject * obj2 = 0 ;
16000 PyObject * obj3 = 0 ;
16001 PyObject * obj4 = 0 ;
16002 PyObject * obj5 = 0 ;
16003 PyObject * obj6 = 0 ;
16004 PyObject * obj7 = 0 ;
16005 PyObject * obj8 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail;
16013 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16014 if (SWIG_arg_fail(2)) SWIG_fail;
16015 if (obj2) {
16016 {
16017 arg3 = static_cast<int >(SWIG_As_int(obj2));
16018 if (SWIG_arg_fail(3)) SWIG_fail;
16019 }
16020 }
16021 if (obj3) {
16022 {
16023 arg4 = wxString_in_helper(obj3);
16024 if (arg4 == NULL) SWIG_fail;
16025 temp4 = true;
16026 }
16027 }
16028 if (obj4) {
16029 {
16030 arg5 = &temp5;
16031 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16032 }
16033 }
16034 if (obj5) {
16035 {
16036 arg6 = &temp6;
16037 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16038 }
16039 }
16040 if (obj6) {
16041 {
16042 arg7 = static_cast<long >(SWIG_As_long(obj6));
16043 if (SWIG_arg_fail(7)) SWIG_fail;
16044 }
16045 }
16046 if (obj7) {
16047 {
16048 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16049 if (SWIG_arg_fail(8)) SWIG_fail;
16050 if (arg8 == NULL) {
16051 SWIG_null_ref("wxValidator");
16052 }
16053 if (SWIG_arg_fail(8)) SWIG_fail;
16054 }
16055 }
16056 if (obj8) {
16057 {
16058 arg9 = wxString_in_helper(obj8);
16059 if (arg9 == NULL) SWIG_fail;
16060 temp9 = true;
16061 }
16062 }
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16072 }
16073 {
16074 if (temp4)
16075 delete arg4;
16076 }
16077 {
16078 if (temp9)
16079 delete arg9;
16080 }
16081 return resultobj;
16082 fail:
16083 {
16084 if (temp4)
16085 delete arg4;
16086 }
16087 {
16088 if (temp9)
16089 delete arg9;
16090 }
16091 return NULL;
16092 }
16093
16094
16095 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj = NULL;
16097 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16098 bool arg2 ;
16099 PyObject * obj0 = 0 ;
16100 PyObject * obj1 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self",(char *) "value", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16107 if (SWIG_arg_fail(1)) SWIG_fail;
16108 {
16109 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16110 if (SWIG_arg_fail(2)) SWIG_fail;
16111 }
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 (arg1)->SetValue(arg2);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 Py_INCREF(Py_None); resultobj = Py_None;
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj = NULL;
16128 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16129 bool result;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16137 if (SWIG_arg_fail(1)) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj = NULL;
16156 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16157 wxString *arg2 = 0 ;
16158 bool temp2 = false ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "self",(char *) "label", NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16167 if (SWIG_arg_fail(1)) SWIG_fail;
16168 {
16169 arg2 = wxString_in_helper(obj1);
16170 if (arg2 == NULL) SWIG_fail;
16171 temp2 = true;
16172 }
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 (arg1)->SetLabel((wxString const &)*arg2);
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 Py_INCREF(Py_None); resultobj = Py_None;
16181 {
16182 if (temp2)
16183 delete arg2;
16184 }
16185 return resultobj;
16186 fail:
16187 {
16188 if (temp2)
16189 delete arg2;
16190 }
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj = NULL;
16197 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16198 wxVisualAttributes result;
16199 PyObject * obj0 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "variant", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16205 if (obj0) {
16206 {
16207 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16208 if (SWIG_arg_fail(1)) SWIG_fail;
16209 }
16210 }
16211 {
16212 if (!wxPyCheckForApp()) SWIG_fail;
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 result = wxToggleButton::GetClassDefaultAttributes(arg1);
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 {
16220 wxVisualAttributes * resultptr;
16221 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
16222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16223 }
16224 return resultobj;
16225 fail:
16226 return NULL;
16227 }
16228
16229
16230 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16231 PyObject *obj;
16232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16233 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16234 Py_INCREF(obj);
16235 return Py_BuildValue((char *)"");
16236 }
16237 static int _wrap_NotebookNameStr_set(PyObject *) {
16238 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16239 return 1;
16240 }
16241
16242
16243 static PyObject *_wrap_NotebookNameStr_get(void) {
16244 PyObject *pyobj = NULL;
16245
16246 {
16247 #if wxUSE_UNICODE
16248 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16249 #else
16250 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16251 #endif
16252 }
16253 return pyobj;
16254 }
16255
16256
16257 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj = NULL;
16259 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16260 size_t result;
16261 PyObject * obj0 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self", NULL
16264 };
16265
16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail;
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 {
16277 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
16278 }
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj = NULL;
16287 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16288 size_t arg2 ;
16289 wxWindow *result;
16290 PyObject * obj0 = 0 ;
16291 PyObject * obj1 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self",(char *) "n", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail;
16299 {
16300 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16301 if (SWIG_arg_fail(2)) SWIG_fail;
16302 }
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 result = (wxWindow *)(arg1)->GetPage(arg2);
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 {
16311 resultobj = wxPyMake_wxObject(result, 0);
16312 }
16313 return resultobj;
16314 fail:
16315 return NULL;
16316 }
16317
16318
16319 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj = NULL;
16321 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16322 wxWindow *result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail;
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = wxPyMake_wxObject(result, 0);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16348 PyObject *resultobj = NULL;
16349 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16350 int result;
16351 PyObject * obj0 = 0 ;
16352 char *kwnames[] = {
16353 (char *) "self", NULL
16354 };
16355
16356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16358 if (SWIG_arg_fail(1)) SWIG_fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 resultobj = SWIG_From_int(static_cast<int >(result));
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj = NULL;
16377 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16378 size_t arg2 ;
16379 wxString *arg3 = 0 ;
16380 bool result;
16381 bool temp3 = false ;
16382 PyObject * obj0 = 0 ;
16383 PyObject * obj1 = 0 ;
16384 PyObject * obj2 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self",(char *) "n",(char *) "strText", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail;
16392 {
16393 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16394 if (SWIG_arg_fail(2)) SWIG_fail;
16395 }
16396 {
16397 arg3 = wxString_in_helper(obj2);
16398 if (arg3 == NULL) SWIG_fail;
16399 temp3 = true;
16400 }
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 {
16409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16410 }
16411 {
16412 if (temp3)
16413 delete arg3;
16414 }
16415 return resultobj;
16416 fail:
16417 {
16418 if (temp3)
16419 delete arg3;
16420 }
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj = NULL;
16427 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16428 size_t arg2 ;
16429 wxString result;
16430 PyObject * obj0 = 0 ;
16431 PyObject * obj1 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self",(char *) "n", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16438 if (SWIG_arg_fail(1)) SWIG_fail;
16439 {
16440 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16441 if (SWIG_arg_fail(2)) SWIG_fail;
16442 }
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451 #if wxUSE_UNICODE
16452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16453 #else
16454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16455 #endif
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj = NULL;
16465 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16466 wxImageList *arg2 = (wxImageList *) 0 ;
16467 PyObject * obj0 = 0 ;
16468 PyObject * obj1 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "imageList", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail;
16476 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16477 if (SWIG_arg_fail(2)) SWIG_fail;
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 (arg1)->SetImageList(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj = NULL;
16494 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16495 wxImageList *arg2 = (wxImageList *) 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "imageList", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16504 if (SWIG_arg_fail(1)) SWIG_fail;
16505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16506 if (SWIG_arg_fail(2)) SWIG_fail;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 (arg1)->AssignImageList(arg2);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj = NULL;
16523 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16524 wxImageList *result;
16525 PyObject * obj0 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16532 if (SWIG_arg_fail(1)) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 resultobj = wxPyMake_wxObject(result, (bool)0);
16542 }
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj = NULL;
16551 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16552 size_t arg2 ;
16553 int result;
16554 PyObject * obj0 = 0 ;
16555 PyObject * obj1 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self",(char *) "n", NULL
16558 };
16559
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16562 if (SWIG_arg_fail(1)) SWIG_fail;
16563 {
16564 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16565 if (SWIG_arg_fail(2)) SWIG_fail;
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 {
16575 resultobj = SWIG_From_int(static_cast<int >(result));
16576 }
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj = NULL;
16585 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16586 size_t arg2 ;
16587 int arg3 ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 PyObject * obj2 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self",(char *) "n",(char *) "imageId", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail;
16599 {
16600 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16601 if (SWIG_arg_fail(2)) SWIG_fail;
16602 }
16603 {
16604 arg3 = static_cast<int >(SWIG_As_int(obj2));
16605 if (SWIG_arg_fail(3)) SWIG_fail;
16606 }
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 {
16615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16616 }
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj = NULL;
16625 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16626 wxSize *arg2 = 0 ;
16627 wxSize temp2 ;
16628 PyObject * obj0 = 0 ;
16629 PyObject * obj1 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self",(char *) "size", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail;
16637 {
16638 arg2 = &temp2;
16639 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16640 }
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 (arg1)->SetPageSize((wxSize const &)*arg2);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 Py_INCREF(Py_None); resultobj = Py_None;
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj = NULL;
16657 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16658 wxSize *arg2 = 0 ;
16659 wxSize result;
16660 wxSize temp2 ;
16661 PyObject * obj0 = 0 ;
16662 PyObject * obj1 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self",(char *) "sizePage", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail;
16670 {
16671 arg2 = &temp2;
16672 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16673 }
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 {
16682 wxSize * resultptr;
16683 resultptr = new wxSize(static_cast<wxSize & >(result));
16684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16685 }
16686 return resultobj;
16687 fail:
16688 return NULL;
16689 }
16690
16691
16692 static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj = NULL;
16694 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16695 unsigned int result;
16696 PyObject * obj0 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16703 if (SWIG_arg_fail(1)) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 {
16712 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16713 }
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj = NULL;
16722 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16723 unsigned int arg2 ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self",(char *) "internalBorder", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",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<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16735 if (SWIG_arg_fail(2)) SWIG_fail;
16736 }
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 (arg1)->SetInternalBorder(arg2);
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 Py_INCREF(Py_None); resultobj = Py_None;
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16752 PyObject *resultobj = NULL;
16753 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16754 bool result;
16755 PyObject * obj0 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail;
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 {
16771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16772 }
16773 return resultobj;
16774 fail:
16775 return NULL;
16776 }
16777
16778
16779 static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj = NULL;
16781 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16782 bool arg2 ;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "fit", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
16790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail;
16792 {
16793 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16794 if (SWIG_arg_fail(2)) SWIG_fail;
16795 }
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 (arg1)->SetFitToCurrentPage(arg2);
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 Py_INCREF(Py_None); resultobj = Py_None;
16804 return resultobj;
16805 fail:
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj = NULL;
16812 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16813 bool result;
16814 PyObject * obj0 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
16820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16831 }
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16839 PyObject *resultobj = NULL;
16840 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16841 size_t arg2 ;
16842 bool result;
16843 PyObject * obj0 = 0 ;
16844 PyObject * obj1 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "n", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail;
16852 {
16853 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16854 if (SWIG_arg_fail(2)) SWIG_fail;
16855 }
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 result = (bool)(arg1)->DeletePage(arg2);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16865 }
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj = NULL;
16874 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16875 size_t arg2 ;
16876 bool result;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self",(char *) "n", NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail;
16886 {
16887 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16888 if (SWIG_arg_fail(2)) SWIG_fail;
16889 }
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (bool)(arg1)->RemovePage(arg2);
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16899 }
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj = NULL;
16908 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16909 bool result;
16910 PyObject * obj0 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail;
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 result = (bool)(arg1)->DeleteAllPages();
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16927 }
16928 return resultobj;
16929 fail:
16930 return NULL;
16931 }
16932
16933
16934 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj = NULL;
16936 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16937 wxWindow *arg2 = (wxWindow *) 0 ;
16938 wxString *arg3 = 0 ;
16939 bool arg4 = (bool) false ;
16940 int arg5 = (int) -1 ;
16941 bool result;
16942 bool temp3 = false ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 PyObject * obj2 = 0 ;
16946 PyObject * obj3 = 0 ;
16947 PyObject * obj4 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail;
16955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16956 if (SWIG_arg_fail(2)) SWIG_fail;
16957 {
16958 arg3 = wxString_in_helper(obj2);
16959 if (arg3 == NULL) SWIG_fail;
16960 temp3 = true;
16961 }
16962 if (obj3) {
16963 {
16964 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
16965 if (SWIG_arg_fail(4)) SWIG_fail;
16966 }
16967 }
16968 if (obj4) {
16969 {
16970 arg5 = static_cast<int >(SWIG_As_int(obj4));
16971 if (SWIG_arg_fail(5)) SWIG_fail;
16972 }
16973 }
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 {
16982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16983 }
16984 {
16985 if (temp3)
16986 delete arg3;
16987 }
16988 return resultobj;
16989 fail:
16990 {
16991 if (temp3)
16992 delete arg3;
16993 }
16994 return NULL;
16995 }
16996
16997
16998 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj = NULL;
17000 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17001 size_t arg2 ;
17002 wxWindow *arg3 = (wxWindow *) 0 ;
17003 wxString *arg4 = 0 ;
17004 bool arg5 = (bool) false ;
17005 int arg6 = (int) -1 ;
17006 bool result;
17007 bool temp4 = false ;
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 PyObject * obj2 = 0 ;
17011 PyObject * obj3 = 0 ;
17012 PyObject * obj4 = 0 ;
17013 PyObject * obj5 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail;
17021 {
17022 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17023 if (SWIG_arg_fail(2)) SWIG_fail;
17024 }
17025 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17026 if (SWIG_arg_fail(3)) SWIG_fail;
17027 {
17028 arg4 = wxString_in_helper(obj3);
17029 if (arg4 == NULL) SWIG_fail;
17030 temp4 = true;
17031 }
17032 if (obj4) {
17033 {
17034 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
17035 if (SWIG_arg_fail(5)) SWIG_fail;
17036 }
17037 }
17038 if (obj5) {
17039 {
17040 arg6 = static_cast<int >(SWIG_As_int(obj5));
17041 if (SWIG_arg_fail(6)) SWIG_fail;
17042 }
17043 }
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 {
17052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17053 }
17054 {
17055 if (temp4)
17056 delete arg4;
17057 }
17058 return resultobj;
17059 fail:
17060 {
17061 if (temp4)
17062 delete arg4;
17063 }
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj = NULL;
17070 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17071 size_t arg2 ;
17072 int result;
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "n", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail;
17082 {
17083 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17084 if (SWIG_arg_fail(2)) SWIG_fail;
17085 }
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (int)(arg1)->SetSelection(arg2);
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 {
17094 resultobj = SWIG_From_int(static_cast<int >(result));
17095 }
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj = NULL;
17104 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17105 bool arg2 = (bool) true ;
17106 PyObject * obj0 = 0 ;
17107 PyObject * obj1 = 0 ;
17108 char *kwnames[] = {
17109 (char *) "self",(char *) "forward", NULL
17110 };
17111
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
17113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail;
17115 if (obj1) {
17116 {
17117 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17118 if (SWIG_arg_fail(2)) SWIG_fail;
17119 }
17120 }
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->AdvanceSelection(arg2);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 Py_INCREF(Py_None); resultobj = Py_None;
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj = NULL;
17137 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17138 wxVisualAttributes result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "variant", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17145 if (obj0) {
17146 {
17147 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17148 if (SWIG_arg_fail(1)) SWIG_fail;
17149 }
17150 }
17151 {
17152 if (!wxPyCheckForApp()) SWIG_fail;
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 {
17160 wxVisualAttributes * resultptr;
17161 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
17171 PyObject *obj;
17172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17173 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
17174 Py_INCREF(obj);
17175 return Py_BuildValue((char *)"");
17176 }
17177 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj = NULL;
17179 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17180 int arg2 = (int) 0 ;
17181 int arg3 = (int) -1 ;
17182 int arg4 = (int) -1 ;
17183 wxBookCtrlBaseEvent *result;
17184 PyObject * obj0 = 0 ;
17185 PyObject * obj1 = 0 ;
17186 PyObject * obj2 = 0 ;
17187 PyObject * obj3 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17193 if (obj0) {
17194 {
17195 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17196 if (SWIG_arg_fail(1)) SWIG_fail;
17197 }
17198 }
17199 if (obj1) {
17200 {
17201 arg2 = static_cast<int >(SWIG_As_int(obj1));
17202 if (SWIG_arg_fail(2)) SWIG_fail;
17203 }
17204 }
17205 if (obj2) {
17206 {
17207 arg3 = static_cast<int >(SWIG_As_int(obj2));
17208 if (SWIG_arg_fail(3)) SWIG_fail;
17209 }
17210 }
17211 if (obj3) {
17212 {
17213 arg4 = static_cast<int >(SWIG_As_int(obj3));
17214 if (SWIG_arg_fail(4)) SWIG_fail;
17215 }
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj = NULL;
17233 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17234 int result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17242 if (SWIG_arg_fail(1)) SWIG_fail;
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251 resultobj = SWIG_From_int(static_cast<int >(result));
17252 }
17253 return resultobj;
17254 fail:
17255 return NULL;
17256 }
17257
17258
17259 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17260 PyObject *resultobj = NULL;
17261 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17262 int arg2 ;
17263 PyObject * obj0 = 0 ;
17264 PyObject * obj1 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self",(char *) "nSel", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail;
17272 {
17273 arg2 = static_cast<int >(SWIG_As_int(obj1));
17274 if (SWIG_arg_fail(2)) SWIG_fail;
17275 }
17276 {
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 (arg1)->SetSelection(arg2);
17279
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 Py_INCREF(Py_None); resultobj = Py_None;
17284 return resultobj;
17285 fail:
17286 return NULL;
17287 }
17288
17289
17290 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj = NULL;
17292 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17293 int result;
17294 PyObject * obj0 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 resultobj = SWIG_From_int(static_cast<int >(result));
17311 }
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj = NULL;
17320 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17321 int arg2 ;
17322 PyObject * obj0 = 0 ;
17323 PyObject * obj1 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self",(char *) "nOldSel", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail;
17331 {
17332 arg2 = static_cast<int >(SWIG_As_int(obj1));
17333 if (SWIG_arg_fail(2)) SWIG_fail;
17334 }
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 (arg1)->SetOldSelection(arg2);
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 Py_INCREF(Py_None); resultobj = Py_None;
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17350 PyObject *obj;
17351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17352 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17353 Py_INCREF(obj);
17354 return Py_BuildValue((char *)"");
17355 }
17356 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj = NULL;
17358 wxWindow *arg1 = (wxWindow *) 0 ;
17359 int arg2 = (int) -1 ;
17360 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17361 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17362 wxSize const &arg4_defvalue = wxDefaultSize ;
17363 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17364 long arg5 = (long) 0 ;
17365 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17366 wxString *arg6 = (wxString *) &arg6_defvalue ;
17367 wxNotebook *result;
17368 wxPoint temp3 ;
17369 wxSize temp4 ;
17370 bool temp6 = false ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 PyObject * obj2 = 0 ;
17374 PyObject * obj3 = 0 ;
17375 PyObject * obj4 = 0 ;
17376 PyObject * obj5 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17383 if (SWIG_arg_fail(1)) SWIG_fail;
17384 if (obj1) {
17385 {
17386 arg2 = static_cast<int >(SWIG_As_int(obj1));
17387 if (SWIG_arg_fail(2)) SWIG_fail;
17388 }
17389 }
17390 if (obj2) {
17391 {
17392 arg3 = &temp3;
17393 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17394 }
17395 }
17396 if (obj3) {
17397 {
17398 arg4 = &temp4;
17399 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17400 }
17401 }
17402 if (obj4) {
17403 {
17404 arg5 = static_cast<long >(SWIG_As_long(obj4));
17405 if (SWIG_arg_fail(5)) SWIG_fail;
17406 }
17407 }
17408 if (obj5) {
17409 {
17410 arg6 = wxString_in_helper(obj5);
17411 if (arg6 == NULL) SWIG_fail;
17412 temp6 = true;
17413 }
17414 }
17415 {
17416 if (!wxPyCheckForApp()) SWIG_fail;
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17424 {
17425 if (temp6)
17426 delete arg6;
17427 }
17428 return resultobj;
17429 fail:
17430 {
17431 if (temp6)
17432 delete arg6;
17433 }
17434 return NULL;
17435 }
17436
17437
17438 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj = NULL;
17440 wxNotebook *result;
17441 char *kwnames[] = {
17442 NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17446 {
17447 if (!wxPyCheckForApp()) SWIG_fail;
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (wxNotebook *)new wxNotebook();
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17455 return resultobj;
17456 fail:
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj = NULL;
17463 wxNotebook *arg1 = (wxNotebook *) 0 ;
17464 wxWindow *arg2 = (wxWindow *) 0 ;
17465 int arg3 = (int) -1 ;
17466 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17467 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17468 wxSize const &arg5_defvalue = wxDefaultSize ;
17469 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17470 long arg6 = (long) 0 ;
17471 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17472 wxString *arg7 = (wxString *) &arg7_defvalue ;
17473 bool result;
17474 wxPoint temp4 ;
17475 wxSize temp5 ;
17476 bool temp7 = false ;
17477 PyObject * obj0 = 0 ;
17478 PyObject * obj1 = 0 ;
17479 PyObject * obj2 = 0 ;
17480 PyObject * obj3 = 0 ;
17481 PyObject * obj4 = 0 ;
17482 PyObject * obj5 = 0 ;
17483 PyObject * obj6 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17490 if (SWIG_arg_fail(1)) SWIG_fail;
17491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17492 if (SWIG_arg_fail(2)) SWIG_fail;
17493 if (obj2) {
17494 {
17495 arg3 = static_cast<int >(SWIG_As_int(obj2));
17496 if (SWIG_arg_fail(3)) SWIG_fail;
17497 }
17498 }
17499 if (obj3) {
17500 {
17501 arg4 = &temp4;
17502 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17503 }
17504 }
17505 if (obj4) {
17506 {
17507 arg5 = &temp5;
17508 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17509 }
17510 }
17511 if (obj5) {
17512 {
17513 arg6 = static_cast<long >(SWIG_As_long(obj5));
17514 if (SWIG_arg_fail(6)) SWIG_fail;
17515 }
17516 }
17517 if (obj6) {
17518 {
17519 arg7 = wxString_in_helper(obj6);
17520 if (arg7 == NULL) SWIG_fail;
17521 temp7 = true;
17522 }
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 {
17532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17533 }
17534 {
17535 if (temp7)
17536 delete arg7;
17537 }
17538 return resultobj;
17539 fail:
17540 {
17541 if (temp7)
17542 delete arg7;
17543 }
17544 return NULL;
17545 }
17546
17547
17548 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj = NULL;
17550 wxNotebook *arg1 = (wxNotebook *) 0 ;
17551 int result;
17552 PyObject * obj0 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17559 if (SWIG_arg_fail(1)) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 {
17568 resultobj = SWIG_From_int(static_cast<int >(result));
17569 }
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj = NULL;
17578 wxNotebook *arg1 = (wxNotebook *) 0 ;
17579 wxSize *arg2 = 0 ;
17580 wxSize temp2 ;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self",(char *) "padding", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail;
17590 {
17591 arg2 = &temp2;
17592 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17593 }
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 (arg1)->SetPadding((wxSize const &)*arg2);
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 Py_INCREF(Py_None); resultobj = Py_None;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj = NULL;
17610 wxNotebook *arg1 = (wxNotebook *) 0 ;
17611 wxSize *arg2 = 0 ;
17612 wxSize temp2 ;
17613 PyObject * obj0 = 0 ;
17614 PyObject * obj1 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "sz", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail;
17622 {
17623 arg2 = &temp2;
17624 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17625 }
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->SetTabSize((wxSize const &)*arg2);
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj = NULL;
17642 wxNotebook *arg1 = (wxNotebook *) 0 ;
17643 wxPoint *arg2 = 0 ;
17644 long *arg3 = (long *) 0 ;
17645 int result;
17646 wxPoint temp2 ;
17647 long temp3 ;
17648 int res3 = 0 ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "pt", NULL
17653 };
17654
17655 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail;
17659 {
17660 arg2 = &temp2;
17661 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17662 }
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 {
17671 resultobj = SWIG_From_int(static_cast<int >(result));
17672 }
17673 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17674 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj = NULL;
17683 wxNotebook *arg1 = (wxNotebook *) 0 ;
17684 wxSize *arg2 = 0 ;
17685 wxSize result;
17686 wxSize temp2 ;
17687 PyObject * obj0 = 0 ;
17688 PyObject * obj1 = 0 ;
17689 char *kwnames[] = {
17690 (char *) "self",(char *) "sizePage", NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17695 if (SWIG_arg_fail(1)) SWIG_fail;
17696 {
17697 arg2 = &temp2;
17698 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17699 }
17700 {
17701 PyThreadState* __tstate = wxPyBeginAllowThreads();
17702 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 wxSize * resultptr;
17709 resultptr = new wxSize(static_cast<wxSize & >(result));
17710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17711 }
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj = NULL;
17720 wxNotebook *arg1 = (wxNotebook *) 0 ;
17721 wxColour result;
17722 PyObject * obj0 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 {
17738 wxColour * resultptr;
17739 resultptr = new wxColour(static_cast<wxColour & >(result));
17740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17741 }
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj = NULL;
17750 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17751 wxVisualAttributes result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "variant", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17758 if (obj0) {
17759 {
17760 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17761 if (SWIG_arg_fail(1)) SWIG_fail;
17762 }
17763 }
17764 {
17765 if (!wxPyCheckForApp()) SWIG_fail;
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = wxNotebook::GetClassDefaultAttributes(arg1);
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 {
17773 wxVisualAttributes * resultptr;
17774 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17776 }
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17784 PyObject *obj;
17785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17786 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17787 Py_INCREF(obj);
17788 return Py_BuildValue((char *)"");
17789 }
17790 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj = NULL;
17792 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17793 int arg2 = (int) 0 ;
17794 int arg3 = (int) -1 ;
17795 int arg4 = (int) -1 ;
17796 wxNotebookEvent *result;
17797 PyObject * obj0 = 0 ;
17798 PyObject * obj1 = 0 ;
17799 PyObject * obj2 = 0 ;
17800 PyObject * obj3 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17806 if (obj0) {
17807 {
17808 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17809 if (SWIG_arg_fail(1)) SWIG_fail;
17810 }
17811 }
17812 if (obj1) {
17813 {
17814 arg2 = static_cast<int >(SWIG_As_int(obj1));
17815 if (SWIG_arg_fail(2)) SWIG_fail;
17816 }
17817 }
17818 if (obj2) {
17819 {
17820 arg3 = static_cast<int >(SWIG_As_int(obj2));
17821 if (SWIG_arg_fail(3)) SWIG_fail;
17822 }
17823 }
17824 if (obj3) {
17825 {
17826 arg4 = static_cast<int >(SWIG_As_int(obj3));
17827 if (SWIG_arg_fail(4)) SWIG_fail;
17828 }
17829 }
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17833
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17838 return resultobj;
17839 fail:
17840 return NULL;
17841 }
17842
17843
17844 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17845 PyObject *obj;
17846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17847 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17848 Py_INCREF(obj);
17849 return Py_BuildValue((char *)"");
17850 }
17851 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj = NULL;
17853 wxWindow *arg1 = (wxWindow *) 0 ;
17854 int arg2 = (int) -1 ;
17855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17857 wxSize const &arg4_defvalue = wxDefaultSize ;
17858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17859 long arg5 = (long) 0 ;
17860 wxString const &arg6_defvalue = wxPyEmptyString ;
17861 wxString *arg6 = (wxString *) &arg6_defvalue ;
17862 wxListbook *result;
17863 wxPoint temp3 ;
17864 wxSize temp4 ;
17865 bool temp6 = false ;
17866 PyObject * obj0 = 0 ;
17867 PyObject * obj1 = 0 ;
17868 PyObject * obj2 = 0 ;
17869 PyObject * obj3 = 0 ;
17870 PyObject * obj4 = 0 ;
17871 PyObject * obj5 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail;
17879 if (obj1) {
17880 {
17881 arg2 = static_cast<int >(SWIG_As_int(obj1));
17882 if (SWIG_arg_fail(2)) SWIG_fail;
17883 }
17884 }
17885 if (obj2) {
17886 {
17887 arg3 = &temp3;
17888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17889 }
17890 }
17891 if (obj3) {
17892 {
17893 arg4 = &temp4;
17894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17895 }
17896 }
17897 if (obj4) {
17898 {
17899 arg5 = static_cast<long >(SWIG_As_long(obj4));
17900 if (SWIG_arg_fail(5)) SWIG_fail;
17901 }
17902 }
17903 if (obj5) {
17904 {
17905 arg6 = wxString_in_helper(obj5);
17906 if (arg6 == NULL) SWIG_fail;
17907 temp6 = true;
17908 }
17909 }
17910 {
17911 if (!wxPyCheckForApp()) SWIG_fail;
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17919 {
17920 if (temp6)
17921 delete arg6;
17922 }
17923 return resultobj;
17924 fail:
17925 {
17926 if (temp6)
17927 delete arg6;
17928 }
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj = NULL;
17935 wxListbook *result;
17936 char *kwnames[] = {
17937 NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17941 {
17942 if (!wxPyCheckForApp()) SWIG_fail;
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 result = (wxListbook *)new wxListbook();
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj = NULL;
17958 wxListbook *arg1 = (wxListbook *) 0 ;
17959 wxWindow *arg2 = (wxWindow *) 0 ;
17960 int arg3 = (int) -1 ;
17961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17963 wxSize const &arg5_defvalue = wxDefaultSize ;
17964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17965 long arg6 = (long) 0 ;
17966 wxString const &arg7_defvalue = wxPyEmptyString ;
17967 wxString *arg7 = (wxString *) &arg7_defvalue ;
17968 bool result;
17969 wxPoint temp4 ;
17970 wxSize temp5 ;
17971 bool temp7 = false ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 PyObject * obj2 = 0 ;
17975 PyObject * obj3 = 0 ;
17976 PyObject * obj4 = 0 ;
17977 PyObject * obj5 = 0 ;
17978 PyObject * obj6 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail;
17986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17987 if (SWIG_arg_fail(2)) SWIG_fail;
17988 if (obj2) {
17989 {
17990 arg3 = static_cast<int >(SWIG_As_int(obj2));
17991 if (SWIG_arg_fail(3)) SWIG_fail;
17992 }
17993 }
17994 if (obj3) {
17995 {
17996 arg4 = &temp4;
17997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17998 }
17999 }
18000 if (obj4) {
18001 {
18002 arg5 = &temp5;
18003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18004 }
18005 }
18006 if (obj5) {
18007 {
18008 arg6 = static_cast<long >(SWIG_As_long(obj5));
18009 if (SWIG_arg_fail(6)) SWIG_fail;
18010 }
18011 }
18012 if (obj6) {
18013 {
18014 arg7 = wxString_in_helper(obj6);
18015 if (arg7 == NULL) SWIG_fail;
18016 temp7 = true;
18017 }
18018 }
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 {
18027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18028 }
18029 {
18030 if (temp7)
18031 delete arg7;
18032 }
18033 return resultobj;
18034 fail:
18035 {
18036 if (temp7)
18037 delete arg7;
18038 }
18039 return NULL;
18040 }
18041
18042
18043 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj = NULL;
18045 wxListbook *arg1 = (wxListbook *) 0 ;
18046 wxListView *result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail;
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 result = (wxListView *)(arg1)->GetListView();
18058
18059 wxPyEndAllowThreads(__tstate);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18063 return resultobj;
18064 fail:
18065 return NULL;
18066 }
18067
18068
18069 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18070 PyObject *obj;
18071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18072 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18073 Py_INCREF(obj);
18074 return Py_BuildValue((char *)"");
18075 }
18076 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj = NULL;
18078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18079 int arg2 = (int) 0 ;
18080 int arg3 = (int) -1 ;
18081 int arg4 = (int) -1 ;
18082 wxListbookEvent *result;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 PyObject * obj2 = 0 ;
18086 PyObject * obj3 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18092 if (obj0) {
18093 {
18094 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18095 if (SWIG_arg_fail(1)) SWIG_fail;
18096 }
18097 }
18098 if (obj1) {
18099 {
18100 arg2 = static_cast<int >(SWIG_As_int(obj1));
18101 if (SWIG_arg_fail(2)) SWIG_fail;
18102 }
18103 }
18104 if (obj2) {
18105 {
18106 arg3 = static_cast<int >(SWIG_As_int(obj2));
18107 if (SWIG_arg_fail(3)) SWIG_fail;
18108 }
18109 }
18110 if (obj3) {
18111 {
18112 arg4 = static_cast<int >(SWIG_As_int(obj3));
18113 if (SWIG_arg_fail(4)) SWIG_fail;
18114 }
18115 }
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18124 return resultobj;
18125 fail:
18126 return NULL;
18127 }
18128
18129
18130 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18131 PyObject *obj;
18132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18133 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18134 Py_INCREF(obj);
18135 return Py_BuildValue((char *)"");
18136 }
18137 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj = NULL;
18139 wxWindow *arg1 = (wxWindow *) 0 ;
18140 int arg2 ;
18141 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18142 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18143 wxSize const &arg4_defvalue = wxDefaultSize ;
18144 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18145 long arg5 = (long) 0 ;
18146 wxString const &arg6_defvalue = wxPyEmptyString ;
18147 wxString *arg6 = (wxString *) &arg6_defvalue ;
18148 wxChoicebook *result;
18149 wxPoint temp3 ;
18150 wxSize temp4 ;
18151 bool temp6 = false ;
18152 PyObject * obj0 = 0 ;
18153 PyObject * obj1 = 0 ;
18154 PyObject * obj2 = 0 ;
18155 PyObject * obj3 = 0 ;
18156 PyObject * obj4 = 0 ;
18157 PyObject * obj5 = 0 ;
18158 char *kwnames[] = {
18159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18160 };
18161
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18164 if (SWIG_arg_fail(1)) SWIG_fail;
18165 {
18166 arg2 = static_cast<int >(SWIG_As_int(obj1));
18167 if (SWIG_arg_fail(2)) SWIG_fail;
18168 }
18169 if (obj2) {
18170 {
18171 arg3 = &temp3;
18172 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18173 }
18174 }
18175 if (obj3) {
18176 {
18177 arg4 = &temp4;
18178 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18179 }
18180 }
18181 if (obj4) {
18182 {
18183 arg5 = static_cast<long >(SWIG_As_long(obj4));
18184 if (SWIG_arg_fail(5)) SWIG_fail;
18185 }
18186 }
18187 if (obj5) {
18188 {
18189 arg6 = wxString_in_helper(obj5);
18190 if (arg6 == NULL) SWIG_fail;
18191 temp6 = true;
18192 }
18193 }
18194 {
18195 if (!wxPyCheckForApp()) SWIG_fail;
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18203 {
18204 if (temp6)
18205 delete arg6;
18206 }
18207 return resultobj;
18208 fail:
18209 {
18210 if (temp6)
18211 delete arg6;
18212 }
18213 return NULL;
18214 }
18215
18216
18217 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj = NULL;
18219 wxChoicebook *result;
18220 char *kwnames[] = {
18221 NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18225 {
18226 if (!wxPyCheckForApp()) SWIG_fail;
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (wxChoicebook *)new wxChoicebook();
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj = NULL;
18242 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18243 wxWindow *arg2 = (wxWindow *) 0 ;
18244 int arg3 ;
18245 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18246 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18247 wxSize const &arg5_defvalue = wxDefaultSize ;
18248 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18249 long arg6 = (long) 0 ;
18250 wxString const &arg7_defvalue = wxPyEmptyString ;
18251 wxString *arg7 = (wxString *) &arg7_defvalue ;
18252 bool result;
18253 wxPoint temp4 ;
18254 wxSize temp5 ;
18255 bool temp7 = false ;
18256 PyObject * obj0 = 0 ;
18257 PyObject * obj1 = 0 ;
18258 PyObject * obj2 = 0 ;
18259 PyObject * obj3 = 0 ;
18260 PyObject * obj4 = 0 ;
18261 PyObject * obj5 = 0 ;
18262 PyObject * obj6 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail;
18270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18271 if (SWIG_arg_fail(2)) SWIG_fail;
18272 {
18273 arg3 = static_cast<int >(SWIG_As_int(obj2));
18274 if (SWIG_arg_fail(3)) SWIG_fail;
18275 }
18276 if (obj3) {
18277 {
18278 arg4 = &temp4;
18279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18280 }
18281 }
18282 if (obj4) {
18283 {
18284 arg5 = &temp5;
18285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18286 }
18287 }
18288 if (obj5) {
18289 {
18290 arg6 = static_cast<long >(SWIG_As_long(obj5));
18291 if (SWIG_arg_fail(6)) SWIG_fail;
18292 }
18293 }
18294 if (obj6) {
18295 {
18296 arg7 = wxString_in_helper(obj6);
18297 if (arg7 == NULL) SWIG_fail;
18298 temp7 = true;
18299 }
18300 }
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 {
18309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18310 }
18311 {
18312 if (temp7)
18313 delete arg7;
18314 }
18315 return resultobj;
18316 fail:
18317 {
18318 if (temp7)
18319 delete arg7;
18320 }
18321 return NULL;
18322 }
18323
18324
18325 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj = NULL;
18327 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18328 wxChoice *result;
18329 PyObject * obj0 = 0 ;
18330 char *kwnames[] = {
18331 (char *) "self", NULL
18332 };
18333
18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18336 if (SWIG_arg_fail(1)) SWIG_fail;
18337 {
18338 PyThreadState* __tstate = wxPyBeginAllowThreads();
18339 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18340
18341 wxPyEndAllowThreads(__tstate);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18345 return resultobj;
18346 fail:
18347 return NULL;
18348 }
18349
18350
18351 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18352 PyObject *resultobj = NULL;
18353 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18354 bool result;
18355 PyObject * obj0 = 0 ;
18356 char *kwnames[] = {
18357 (char *) "self", NULL
18358 };
18359
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 result = (bool)(arg1)->DeleteAllPages();
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 {
18371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18372 }
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18380 PyObject *obj;
18381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18382 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18383 Py_INCREF(obj);
18384 return Py_BuildValue((char *)"");
18385 }
18386 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj = NULL;
18388 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18389 int arg2 = (int) 0 ;
18390 int arg3 = (int) -1 ;
18391 int arg4 = (int) -1 ;
18392 wxChoicebookEvent *result;
18393 PyObject * obj0 = 0 ;
18394 PyObject * obj1 = 0 ;
18395 PyObject * obj2 = 0 ;
18396 PyObject * obj3 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18402 if (obj0) {
18403 {
18404 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18405 if (SWIG_arg_fail(1)) SWIG_fail;
18406 }
18407 }
18408 if (obj1) {
18409 {
18410 arg2 = static_cast<int >(SWIG_As_int(obj1));
18411 if (SWIG_arg_fail(2)) SWIG_fail;
18412 }
18413 }
18414 if (obj2) {
18415 {
18416 arg3 = static_cast<int >(SWIG_As_int(obj2));
18417 if (SWIG_arg_fail(3)) SWIG_fail;
18418 }
18419 }
18420 if (obj3) {
18421 {
18422 arg4 = static_cast<int >(SWIG_As_int(obj3));
18423 if (SWIG_arg_fail(4)) SWIG_fail;
18424 }
18425 }
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18441 PyObject *obj;
18442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18443 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18444 Py_INCREF(obj);
18445 return Py_BuildValue((char *)"");
18446 }
18447 static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj = NULL;
18449 wxWindow *arg1 = (wxWindow *) 0 ;
18450 int arg2 ;
18451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18453 wxSize const &arg4_defvalue = wxDefaultSize ;
18454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18455 long arg5 = (long) wxBK_DEFAULT ;
18456 wxString const &arg6_defvalue = wxPyEmptyString ;
18457 wxString *arg6 = (wxString *) &arg6_defvalue ;
18458 wxTreebook *result;
18459 wxPoint temp3 ;
18460 wxSize temp4 ;
18461 bool temp6 = false ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 PyObject * obj2 = 0 ;
18465 PyObject * obj3 = 0 ;
18466 PyObject * obj4 = 0 ;
18467 PyObject * obj5 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18474 if (SWIG_arg_fail(1)) SWIG_fail;
18475 {
18476 arg2 = static_cast<int >(SWIG_As_int(obj1));
18477 if (SWIG_arg_fail(2)) SWIG_fail;
18478 }
18479 if (obj2) {
18480 {
18481 arg3 = &temp3;
18482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18483 }
18484 }
18485 if (obj3) {
18486 {
18487 arg4 = &temp4;
18488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18489 }
18490 }
18491 if (obj4) {
18492 {
18493 arg5 = static_cast<long >(SWIG_As_long(obj4));
18494 if (SWIG_arg_fail(5)) SWIG_fail;
18495 }
18496 }
18497 if (obj5) {
18498 {
18499 arg6 = wxString_in_helper(obj5);
18500 if (arg6 == NULL) SWIG_fail;
18501 temp6 = true;
18502 }
18503 }
18504 {
18505 if (!wxPyCheckForApp()) SWIG_fail;
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18513 {
18514 if (temp6)
18515 delete arg6;
18516 }
18517 return resultobj;
18518 fail:
18519 {
18520 if (temp6)
18521 delete arg6;
18522 }
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj = NULL;
18529 wxTreebook *result;
18530 char *kwnames[] = {
18531 NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18535 {
18536 if (!wxPyCheckForApp()) SWIG_fail;
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (wxTreebook *)new wxTreebook();
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj = NULL;
18552 wxTreebook *arg1 = (wxTreebook *) 0 ;
18553 wxWindow *arg2 = (wxWindow *) 0 ;
18554 int arg3 ;
18555 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18556 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18557 wxSize const &arg5_defvalue = wxDefaultSize ;
18558 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18559 long arg6 = (long) wxBK_DEFAULT ;
18560 wxString const &arg7_defvalue = wxPyEmptyString ;
18561 wxString *arg7 = (wxString *) &arg7_defvalue ;
18562 bool result;
18563 wxPoint temp4 ;
18564 wxSize temp5 ;
18565 bool temp7 = false ;
18566 PyObject * obj0 = 0 ;
18567 PyObject * obj1 = 0 ;
18568 PyObject * obj2 = 0 ;
18569 PyObject * obj3 = 0 ;
18570 PyObject * obj4 = 0 ;
18571 PyObject * obj5 = 0 ;
18572 PyObject * obj6 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18575 };
18576
18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail;
18580 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18581 if (SWIG_arg_fail(2)) SWIG_fail;
18582 {
18583 arg3 = static_cast<int >(SWIG_As_int(obj2));
18584 if (SWIG_arg_fail(3)) SWIG_fail;
18585 }
18586 if (obj3) {
18587 {
18588 arg4 = &temp4;
18589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18590 }
18591 }
18592 if (obj4) {
18593 {
18594 arg5 = &temp5;
18595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18596 }
18597 }
18598 if (obj5) {
18599 {
18600 arg6 = static_cast<long >(SWIG_As_long(obj5));
18601 if (SWIG_arg_fail(6)) SWIG_fail;
18602 }
18603 }
18604 if (obj6) {
18605 {
18606 arg7 = wxString_in_helper(obj6);
18607 if (arg7 == NULL) SWIG_fail;
18608 temp7 = true;
18609 }
18610 }
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 {
18619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18620 }
18621 {
18622 if (temp7)
18623 delete arg7;
18624 }
18625 return resultobj;
18626 fail:
18627 {
18628 if (temp7)
18629 delete arg7;
18630 }
18631 return NULL;
18632 }
18633
18634
18635 static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj = NULL;
18637 wxTreebook *arg1 = (wxTreebook *) 0 ;
18638 size_t arg2 ;
18639 wxWindow *arg3 = (wxWindow *) 0 ;
18640 wxString *arg4 = 0 ;
18641 bool arg5 = (bool) false ;
18642 int arg6 = (int) wxNOT_FOUND ;
18643 bool result;
18644 bool temp4 = false ;
18645 PyObject * obj0 = 0 ;
18646 PyObject * obj1 = 0 ;
18647 PyObject * obj2 = 0 ;
18648 PyObject * obj3 = 0 ;
18649 PyObject * obj4 = 0 ;
18650 PyObject * obj5 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail;
18658 {
18659 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18660 if (SWIG_arg_fail(2)) SWIG_fail;
18661 }
18662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18663 if (SWIG_arg_fail(3)) SWIG_fail;
18664 {
18665 arg4 = wxString_in_helper(obj3);
18666 if (arg4 == NULL) SWIG_fail;
18667 temp4 = true;
18668 }
18669 if (obj4) {
18670 {
18671 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18672 if (SWIG_arg_fail(5)) SWIG_fail;
18673 }
18674 }
18675 if (obj5) {
18676 {
18677 arg6 = static_cast<int >(SWIG_As_int(obj5));
18678 if (SWIG_arg_fail(6)) SWIG_fail;
18679 }
18680 }
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 {
18689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18690 }
18691 {
18692 if (temp4)
18693 delete arg4;
18694 }
18695 return resultobj;
18696 fail:
18697 {
18698 if (temp4)
18699 delete arg4;
18700 }
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj = NULL;
18707 wxTreebook *arg1 = (wxTreebook *) 0 ;
18708 size_t arg2 ;
18709 wxWindow *arg3 = (wxWindow *) 0 ;
18710 wxString *arg4 = 0 ;
18711 bool arg5 = (bool) false ;
18712 int arg6 = (int) wxNOT_FOUND ;
18713 bool result;
18714 bool temp4 = false ;
18715 PyObject * obj0 = 0 ;
18716 PyObject * obj1 = 0 ;
18717 PyObject * obj2 = 0 ;
18718 PyObject * obj3 = 0 ;
18719 PyObject * obj4 = 0 ;
18720 PyObject * obj5 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18727 if (SWIG_arg_fail(1)) SWIG_fail;
18728 {
18729 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18730 if (SWIG_arg_fail(2)) SWIG_fail;
18731 }
18732 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18733 if (SWIG_arg_fail(3)) SWIG_fail;
18734 {
18735 arg4 = wxString_in_helper(obj3);
18736 if (arg4 == NULL) SWIG_fail;
18737 temp4 = true;
18738 }
18739 if (obj4) {
18740 {
18741 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18742 if (SWIG_arg_fail(5)) SWIG_fail;
18743 }
18744 }
18745 if (obj5) {
18746 {
18747 arg6 = static_cast<int >(SWIG_As_int(obj5));
18748 if (SWIG_arg_fail(6)) SWIG_fail;
18749 }
18750 }
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 {
18759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18760 }
18761 {
18762 if (temp4)
18763 delete arg4;
18764 }
18765 return resultobj;
18766 fail:
18767 {
18768 if (temp4)
18769 delete arg4;
18770 }
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj = NULL;
18777 wxTreebook *arg1 = (wxTreebook *) 0 ;
18778 wxWindow *arg2 = (wxWindow *) 0 ;
18779 wxString *arg3 = 0 ;
18780 bool arg4 = (bool) false ;
18781 int arg5 = (int) wxNOT_FOUND ;
18782 bool result;
18783 bool temp3 = false ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 PyObject * obj2 = 0 ;
18787 PyObject * obj3 = 0 ;
18788 PyObject * obj4 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18795 if (SWIG_arg_fail(1)) SWIG_fail;
18796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(2)) SWIG_fail;
18798 {
18799 arg3 = wxString_in_helper(obj2);
18800 if (arg3 == NULL) SWIG_fail;
18801 temp3 = true;
18802 }
18803 if (obj3) {
18804 {
18805 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18806 if (SWIG_arg_fail(4)) SWIG_fail;
18807 }
18808 }
18809 if (obj4) {
18810 {
18811 arg5 = static_cast<int >(SWIG_As_int(obj4));
18812 if (SWIG_arg_fail(5)) SWIG_fail;
18813 }
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
18823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18824 }
18825 {
18826 if (temp3)
18827 delete arg3;
18828 }
18829 return resultobj;
18830 fail:
18831 {
18832 if (temp3)
18833 delete arg3;
18834 }
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj = NULL;
18841 wxTreebook *arg1 = (wxTreebook *) 0 ;
18842 wxWindow *arg2 = (wxWindow *) 0 ;
18843 wxString *arg3 = 0 ;
18844 bool arg4 = (bool) false ;
18845 int arg5 = (int) wxNOT_FOUND ;
18846 bool result;
18847 bool temp3 = false ;
18848 PyObject * obj0 = 0 ;
18849 PyObject * obj1 = 0 ;
18850 PyObject * obj2 = 0 ;
18851 PyObject * obj3 = 0 ;
18852 PyObject * obj4 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail;
18860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18861 if (SWIG_arg_fail(2)) SWIG_fail;
18862 {
18863 arg3 = wxString_in_helper(obj2);
18864 if (arg3 == NULL) SWIG_fail;
18865 temp3 = true;
18866 }
18867 if (obj3) {
18868 {
18869 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18870 if (SWIG_arg_fail(4)) SWIG_fail;
18871 }
18872 }
18873 if (obj4) {
18874 {
18875 arg5 = static_cast<int >(SWIG_As_int(obj4));
18876 if (SWIG_arg_fail(5)) SWIG_fail;
18877 }
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
18887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18888 }
18889 {
18890 if (temp3)
18891 delete arg3;
18892 }
18893 return resultobj;
18894 fail:
18895 {
18896 if (temp3)
18897 delete arg3;
18898 }
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj = NULL;
18905 wxTreebook *arg1 = (wxTreebook *) 0 ;
18906 size_t arg2 ;
18907 bool result;
18908 PyObject * obj0 = 0 ;
18909 PyObject * obj1 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self",(char *) "pos", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
18915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18916 if (SWIG_arg_fail(1)) SWIG_fail;
18917 {
18918 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18919 if (SWIG_arg_fail(2)) SWIG_fail;
18920 }
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
18923 result = (bool)(arg1)->DeletePage(arg2);
18924
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 {
18929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18930 }
18931 return resultobj;
18932 fail:
18933 return NULL;
18934 }
18935
18936
18937 static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj = NULL;
18939 wxTreebook *arg1 = (wxTreebook *) 0 ;
18940 size_t arg2 ;
18941 bool result;
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 char *kwnames[] = {
18945 (char *) "self",(char *) "pos", NULL
18946 };
18947
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
18949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18950 if (SWIG_arg_fail(1)) SWIG_fail;
18951 {
18952 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18953 if (SWIG_arg_fail(2)) SWIG_fail;
18954 }
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 {
18963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18964 }
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj = NULL;
18973 wxTreebook *arg1 = (wxTreebook *) 0 ;
18974 size_t arg2 ;
18975 bool arg3 = (bool) true ;
18976 bool result;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 PyObject * obj2 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self",(char *) "pos",(char *) "expand", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
18985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18986 if (SWIG_arg_fail(1)) SWIG_fail;
18987 {
18988 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18989 if (SWIG_arg_fail(2)) SWIG_fail;
18990 }
18991 if (obj2) {
18992 {
18993 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
18994 if (SWIG_arg_fail(3)) SWIG_fail;
18995 }
18996 }
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19006 }
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj = NULL;
19015 wxTreebook *arg1 = (wxTreebook *) 0 ;
19016 size_t arg2 ;
19017 bool result;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "pos", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail;
19027 {
19028 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19029 if (SWIG_arg_fail(2)) SWIG_fail;
19030 }
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 result = (bool)(arg1)->CollapseNode(arg2);
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 {
19039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19040 }
19041 return resultobj;
19042 fail:
19043 return NULL;
19044 }
19045
19046
19047 static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj = NULL;
19049 wxTreebook *arg1 = (wxTreebook *) 0 ;
19050 size_t arg2 ;
19051 int result;
19052 PyObject * obj0 = 0 ;
19053 PyObject * obj1 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "pos", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19060 if (SWIG_arg_fail(1)) SWIG_fail;
19061 {
19062 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19063 if (SWIG_arg_fail(2)) SWIG_fail;
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 resultobj = SWIG_From_int(static_cast<int >(result));
19074 }
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj = NULL;
19083 wxTreebook *arg1 = (wxTreebook *) 0 ;
19084 wxTreeCtrl *result;
19085 PyObject * obj0 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
19108 PyObject *obj;
19109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
19111 Py_INCREF(obj);
19112 return Py_BuildValue((char *)"");
19113 }
19114 static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj = NULL;
19116 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19117 int arg2 = (int) 0 ;
19118 int arg3 = (int) wxNOT_FOUND ;
19119 int arg4 = (int) wxNOT_FOUND ;
19120 wxTreebookEvent *result;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 PyObject * obj2 = 0 ;
19124 PyObject * obj3 = 0 ;
19125 char *kwnames[] = {
19126 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19130 if (obj0) {
19131 {
19132 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19133 if (SWIG_arg_fail(1)) SWIG_fail;
19134 }
19135 }
19136 if (obj1) {
19137 {
19138 arg2 = static_cast<int >(SWIG_As_int(obj1));
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 }
19141 }
19142 if (obj2) {
19143 {
19144 arg3 = static_cast<int >(SWIG_As_int(obj2));
19145 if (SWIG_arg_fail(3)) SWIG_fail;
19146 }
19147 }
19148 if (obj3) {
19149 {
19150 arg4 = static_cast<int >(SWIG_As_int(obj3));
19151 if (SWIG_arg_fail(4)) SWIG_fail;
19152 }
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
19169 PyObject *obj;
19170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19171 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
19172 Py_INCREF(obj);
19173 return Py_BuildValue((char *)"");
19174 }
19175 static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj = NULL;
19177 wxWindow *arg1 = (wxWindow *) 0 ;
19178 int arg2 ;
19179 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19180 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19181 wxSize const &arg4_defvalue = wxDefaultSize ;
19182 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19183 long arg5 = (long) wxBK_DEFAULT ;
19184 wxString const &arg6_defvalue = wxPyEmptyString ;
19185 wxString *arg6 = (wxString *) &arg6_defvalue ;
19186 wxToolbook *result;
19187 wxPoint temp3 ;
19188 wxSize temp4 ;
19189 bool temp6 = false ;
19190 PyObject * obj0 = 0 ;
19191 PyObject * obj1 = 0 ;
19192 PyObject * obj2 = 0 ;
19193 PyObject * obj3 = 0 ;
19194 PyObject * obj4 = 0 ;
19195 PyObject * obj5 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19202 if (SWIG_arg_fail(1)) SWIG_fail;
19203 {
19204 arg2 = static_cast<int >(SWIG_As_int(obj1));
19205 if (SWIG_arg_fail(2)) SWIG_fail;
19206 }
19207 if (obj2) {
19208 {
19209 arg3 = &temp3;
19210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19211 }
19212 }
19213 if (obj3) {
19214 {
19215 arg4 = &temp4;
19216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19217 }
19218 }
19219 if (obj4) {
19220 {
19221 arg5 = static_cast<long >(SWIG_As_long(obj4));
19222 if (SWIG_arg_fail(5)) SWIG_fail;
19223 }
19224 }
19225 if (obj5) {
19226 {
19227 arg6 = wxString_in_helper(obj5);
19228 if (arg6 == NULL) SWIG_fail;
19229 temp6 = true;
19230 }
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19240 {
19241 if (temp6)
19242 delete arg6;
19243 }
19244 return resultobj;
19245 fail:
19246 {
19247 if (temp6)
19248 delete arg6;
19249 }
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj = NULL;
19256 wxToolbook *result;
19257 char *kwnames[] = {
19258 NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 result = (wxToolbook *)new wxToolbook();
19265
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj = NULL;
19278 wxToolbook *arg1 = (wxToolbook *) 0 ;
19279 wxWindow *arg2 = (wxWindow *) 0 ;
19280 int arg3 ;
19281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19283 wxSize const &arg5_defvalue = wxDefaultSize ;
19284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19285 long arg6 = (long) 0 ;
19286 wxString const &arg7_defvalue = wxEmptyString ;
19287 wxString *arg7 = (wxString *) &arg7_defvalue ;
19288 bool result;
19289 wxPoint temp4 ;
19290 wxSize temp5 ;
19291 bool temp7 = false ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 PyObject * obj2 = 0 ;
19295 PyObject * obj3 = 0 ;
19296 PyObject * obj4 = 0 ;
19297 PyObject * obj5 = 0 ;
19298 PyObject * obj6 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail;
19306 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19307 if (SWIG_arg_fail(2)) SWIG_fail;
19308 {
19309 arg3 = static_cast<int >(SWIG_As_int(obj2));
19310 if (SWIG_arg_fail(3)) SWIG_fail;
19311 }
19312 if (obj3) {
19313 {
19314 arg4 = &temp4;
19315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19316 }
19317 }
19318 if (obj4) {
19319 {
19320 arg5 = &temp5;
19321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19322 }
19323 }
19324 if (obj5) {
19325 {
19326 arg6 = static_cast<long >(SWIG_As_long(obj5));
19327 if (SWIG_arg_fail(6)) SWIG_fail;
19328 }
19329 }
19330 if (obj6) {
19331 {
19332 arg7 = wxString_in_helper(obj6);
19333 if (arg7 == NULL) SWIG_fail;
19334 temp7 = true;
19335 }
19336 }
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19346 }
19347 {
19348 if (temp7)
19349 delete arg7;
19350 }
19351 return resultobj;
19352 fail:
19353 {
19354 if (temp7)
19355 delete arg7;
19356 }
19357 return NULL;
19358 }
19359
19360
19361 static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj = NULL;
19363 wxToolbook *arg1 = (wxToolbook *) 0 ;
19364 wxToolBarBase *result;
19365 PyObject * obj0 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19372 if (SWIG_arg_fail(1)) SWIG_fail;
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
19380 {
19381 resultobj = wxPyMake_wxObject(result, (bool)0);
19382 }
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj = NULL;
19391 wxToolbook *arg1 = (wxToolbook *) 0 ;
19392 PyObject * obj0 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 (arg1)->Realize();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 Py_INCREF(Py_None); resultobj = Py_None;
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
19415 PyObject *obj;
19416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19417 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
19418 Py_INCREF(obj);
19419 return Py_BuildValue((char *)"");
19420 }
19421 static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = NULL;
19423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19424 int arg2 = (int) 0 ;
19425 int arg3 = (int) wxNOT_FOUND ;
19426 int arg4 = (int) wxNOT_FOUND ;
19427 wxToolbookEvent *result;
19428 PyObject * obj0 = 0 ;
19429 PyObject * obj1 = 0 ;
19430 PyObject * obj2 = 0 ;
19431 PyObject * obj3 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19437 if (obj0) {
19438 {
19439 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19440 if (SWIG_arg_fail(1)) SWIG_fail;
19441 }
19442 }
19443 if (obj1) {
19444 {
19445 arg2 = static_cast<int >(SWIG_As_int(obj1));
19446 if (SWIG_arg_fail(2)) SWIG_fail;
19447 }
19448 }
19449 if (obj2) {
19450 {
19451 arg3 = static_cast<int >(SWIG_As_int(obj2));
19452 if (SWIG_arg_fail(3)) SWIG_fail;
19453 }
19454 }
19455 if (obj3) {
19456 {
19457 arg4 = static_cast<int >(SWIG_As_int(obj3));
19458 if (SWIG_arg_fail(4)) SWIG_fail;
19459 }
19460 }
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
19476 PyObject *obj;
19477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19478 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
19479 Py_INCREF(obj);
19480 return Py_BuildValue((char *)"");
19481 }
19482 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj = NULL;
19484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19485 int result;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
19492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19493 if (SWIG_arg_fail(1)) SWIG_fail;
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (int)(arg1)->GetId();
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 {
19502 resultobj = SWIG_From_int(static_cast<int >(result));
19503 }
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj = NULL;
19512 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19513 wxControl *result;
19514 PyObject * obj0 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "self", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
19520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19521 if (SWIG_arg_fail(1)) SWIG_fail;
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (wxControl *)(arg1)->GetControl();
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 {
19530 resultobj = wxPyMake_wxObject(result, 0);
19531 }
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj = NULL;
19540 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19541 wxToolBarBase *result;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
19548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19549 if (SWIG_arg_fail(1)) SWIG_fail;
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (wxToolBarBase *)(arg1)->GetToolBar();
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 {
19558 resultobj = wxPyMake_wxObject(result, (bool)0);
19559 }
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj = NULL;
19568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19569 int result;
19570 PyObject * obj0 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
19576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19577 if (SWIG_arg_fail(1)) SWIG_fail;
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 result = (int)(arg1)->IsButton();
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 {
19586 resultobj = SWIG_From_int(static_cast<int >(result));
19587 }
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj = NULL;
19596 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19597 int result;
19598 PyObject * obj0 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
19604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19605 if (SWIG_arg_fail(1)) SWIG_fail;
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 result = (int)(arg1)->IsControl();
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 {
19614 resultobj = SWIG_From_int(static_cast<int >(result));
19615 }
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj = NULL;
19624 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19625 int result;
19626 PyObject * obj0 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "self", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
19632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 result = (int)(arg1)->IsSeparator();
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 {
19642 resultobj = SWIG_From_int(static_cast<int >(result));
19643 }
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj = NULL;
19652 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19653 int result;
19654 PyObject * obj0 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
19660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19661 if (SWIG_arg_fail(1)) SWIG_fail;
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 result = (int)(arg1)->GetStyle();
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670 resultobj = SWIG_From_int(static_cast<int >(result));
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj = NULL;
19680 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19681 wxItemKind result;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
19688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19689 if (SWIG_arg_fail(1)) SWIG_fail;
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 result = (wxItemKind)(arg1)->GetKind();
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 resultobj = SWIG_From_int((result));
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj = NULL;
19706 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19707 bool result;
19708 PyObject * obj0 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
19714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail;
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 result = (bool)(arg1)->IsEnabled();
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 {
19724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19725 }
19726 return resultobj;
19727 fail:
19728 return NULL;
19729 }
19730
19731
19732 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj = NULL;
19734 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19735 bool result;
19736 PyObject * obj0 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
19742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19743 if (SWIG_arg_fail(1)) SWIG_fail;
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 result = (bool)(arg1)->IsToggled();
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 {
19752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19753 }
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19761 PyObject *resultobj = NULL;
19762 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19763 bool result;
19764 PyObject * obj0 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
19770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail;
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (bool)(arg1)->CanBeToggled();
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
19779 {
19780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19781 }
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj = NULL;
19790 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19791 wxBitmap *result;
19792 PyObject * obj0 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
19798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19799 if (SWIG_arg_fail(1)) SWIG_fail;
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 {
19803 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19804 result = (wxBitmap *) &_result_ref;
19805 }
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 {
19811 wxBitmap* resultptr = new wxBitmap(*result);
19812 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19813 }
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj = NULL;
19822 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19823 wxBitmap *result;
19824 PyObject * obj0 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
19830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19831 if (SWIG_arg_fail(1)) SWIG_fail;
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 {
19835 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19836 result = (wxBitmap *) &_result_ref;
19837 }
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 {
19843 wxBitmap* resultptr = new wxBitmap(*result);
19844 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19845 }
19846 return resultobj;
19847 fail:
19848 return NULL;
19849 }
19850
19851
19852 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19853 PyObject *resultobj = NULL;
19854 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19855 wxBitmap result;
19856 PyObject * obj0 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
19862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail;
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (arg1)->GetBitmap();
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 {
19872 wxBitmap * resultptr;
19873 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
19874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19875 }
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj = NULL;
19884 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19885 wxString result;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (arg1)->GetLabel();
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 {
19902 #if wxUSE_UNICODE
19903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19904 #else
19905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19906 #endif
19907 }
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj = NULL;
19916 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19917 wxString result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
19924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = (arg1)->GetShortHelp();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 #if wxUSE_UNICODE
19935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19936 #else
19937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19938 #endif
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj = NULL;
19948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19949 wxString result;
19950 PyObject * obj0 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
19956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail;
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (arg1)->GetLongHelp();
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 {
19966 #if wxUSE_UNICODE
19967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19968 #else
19969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19970 #endif
19971 }
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj = NULL;
19980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19981 bool arg2 ;
19982 bool result;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "enable", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
19990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail;
19992 {
19993 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
19994 if (SWIG_arg_fail(2)) SWIG_fail;
19995 }
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)(arg1)->Enable(arg2);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20005 }
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj = NULL;
20014 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 (arg1)->Toggle();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 Py_INCREF(Py_None); resultobj = Py_None;
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj = NULL;
20039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20040 bool arg2 ;
20041 bool result;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self",(char *) "toggle", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
20049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20050 if (SWIG_arg_fail(1)) SWIG_fail;
20051 {
20052 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
20053 if (SWIG_arg_fail(2)) SWIG_fail;
20054 }
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (bool)(arg1)->SetToggle(arg2);
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 {
20063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20064 }
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj = NULL;
20073 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20074 wxString *arg2 = 0 ;
20075 bool result;
20076 bool temp2 = false ;
20077 PyObject * obj0 = 0 ;
20078 PyObject * obj1 = 0 ;
20079 char *kwnames[] = {
20080 (char *) "self",(char *) "help", NULL
20081 };
20082
20083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
20084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20085 if (SWIG_arg_fail(1)) SWIG_fail;
20086 {
20087 arg2 = wxString_in_helper(obj1);
20088 if (arg2 == NULL) SWIG_fail;
20089 temp2 = true;
20090 }
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 {
20099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20100 }
20101 {
20102 if (temp2)
20103 delete arg2;
20104 }
20105 return resultobj;
20106 fail:
20107 {
20108 if (temp2)
20109 delete arg2;
20110 }
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj = NULL;
20117 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20118 wxString *arg2 = 0 ;
20119 bool result;
20120 bool temp2 = false ;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "help", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
20128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20129 if (SWIG_arg_fail(1)) SWIG_fail;
20130 {
20131 arg2 = wxString_in_helper(obj1);
20132 if (arg2 == NULL) SWIG_fail;
20133 temp2 = true;
20134 }
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 {
20143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20144 }
20145 {
20146 if (temp2)
20147 delete arg2;
20148 }
20149 return resultobj;
20150 fail:
20151 {
20152 if (temp2)
20153 delete arg2;
20154 }
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj = NULL;
20161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20162 wxBitmap *arg2 = 0 ;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "bmp", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
20170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail;
20172 {
20173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20174 if (SWIG_arg_fail(2)) SWIG_fail;
20175 if (arg2 == NULL) {
20176 SWIG_null_ref("wxBitmap");
20177 }
20178 if (SWIG_arg_fail(2)) SWIG_fail;
20179 }
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 Py_INCREF(Py_None); resultobj = Py_None;
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj = NULL;
20196 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20197 wxBitmap *arg2 = 0 ;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "bmp", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
20205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail;
20207 {
20208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20209 if (SWIG_arg_fail(2)) SWIG_fail;
20210 if (arg2 == NULL) {
20211 SWIG_null_ref("wxBitmap");
20212 }
20213 if (SWIG_arg_fail(2)) SWIG_fail;
20214 }
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 Py_INCREF(Py_None); resultobj = Py_None;
20223 return resultobj;
20224 fail:
20225 return NULL;
20226 }
20227
20228
20229 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj = NULL;
20231 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20232 wxString *arg2 = 0 ;
20233 bool temp2 = false ;
20234 PyObject * obj0 = 0 ;
20235 PyObject * obj1 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "label", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail;
20243 {
20244 arg2 = wxString_in_helper(obj1);
20245 if (arg2 == NULL) SWIG_fail;
20246 temp2 = true;
20247 }
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 (arg1)->SetLabel((wxString const &)*arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 {
20257 if (temp2)
20258 delete arg2;
20259 }
20260 return resultobj;
20261 fail:
20262 {
20263 if (temp2)
20264 delete arg2;
20265 }
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj = NULL;
20272 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
20279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->Detach();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj = NULL;
20297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20298 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self",(char *) "tbar", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
20306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail;
20308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(2)) SWIG_fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 (arg1)->Attach(arg2);
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 Py_INCREF(Py_None); resultobj = Py_None;
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj = NULL;
20326 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20327 PyObject *result;
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
20334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 resultobj = result;
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj = NULL;
20352 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20353 PyObject *arg2 = (PyObject *) 0 ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 char *kwnames[] = {
20357 (char *) "self",(char *) "clientData", NULL
20358 };
20359
20360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
20361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20362 if (SWIG_arg_fail(1)) SWIG_fail;
20363 arg2 = obj1;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 wxToolBarToolBase_SetClientData(arg1,arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
20379 PyObject *obj;
20380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20381 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20382 Py_INCREF(obj);
20383 return Py_BuildValue((char *)"");
20384 }
20385 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj = NULL;
20387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20388 int arg2 ;
20389 wxString *arg3 = 0 ;
20390 wxBitmap *arg4 = 0 ;
20391 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20392 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
20393 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
20394 wxString const &arg7_defvalue = wxPyEmptyString ;
20395 wxString *arg7 = (wxString *) &arg7_defvalue ;
20396 wxString const &arg8_defvalue = wxPyEmptyString ;
20397 wxString *arg8 = (wxString *) &arg8_defvalue ;
20398 PyObject *arg9 = (PyObject *) NULL ;
20399 wxToolBarToolBase *result;
20400 bool temp3 = false ;
20401 bool temp7 = false ;
20402 bool temp8 = false ;
20403 PyObject * obj0 = 0 ;
20404 PyObject * obj1 = 0 ;
20405 PyObject * obj2 = 0 ;
20406 PyObject * obj3 = 0 ;
20407 PyObject * obj4 = 0 ;
20408 PyObject * obj5 = 0 ;
20409 PyObject * obj6 = 0 ;
20410 PyObject * obj7 = 0 ;
20411 PyObject * obj8 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
20417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20418 if (SWIG_arg_fail(1)) SWIG_fail;
20419 {
20420 arg2 = static_cast<int >(SWIG_As_int(obj1));
20421 if (SWIG_arg_fail(2)) SWIG_fail;
20422 }
20423 {
20424 arg3 = wxString_in_helper(obj2);
20425 if (arg3 == NULL) SWIG_fail;
20426 temp3 = true;
20427 }
20428 {
20429 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20430 if (SWIG_arg_fail(4)) SWIG_fail;
20431 if (arg4 == NULL) {
20432 SWIG_null_ref("wxBitmap");
20433 }
20434 if (SWIG_arg_fail(4)) SWIG_fail;
20435 }
20436 if (obj4) {
20437 {
20438 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20439 if (SWIG_arg_fail(5)) SWIG_fail;
20440 if (arg5 == NULL) {
20441 SWIG_null_ref("wxBitmap");
20442 }
20443 if (SWIG_arg_fail(5)) SWIG_fail;
20444 }
20445 }
20446 if (obj5) {
20447 {
20448 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
20449 if (SWIG_arg_fail(6)) SWIG_fail;
20450 }
20451 }
20452 if (obj6) {
20453 {
20454 arg7 = wxString_in_helper(obj6);
20455 if (arg7 == NULL) SWIG_fail;
20456 temp7 = true;
20457 }
20458 }
20459 if (obj7) {
20460 {
20461 arg8 = wxString_in_helper(obj7);
20462 if (arg8 == NULL) SWIG_fail;
20463 temp8 = true;
20464 }
20465 }
20466 if (obj8) {
20467 arg9 = obj8;
20468 }
20469 {
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
20472
20473 wxPyEndAllowThreads(__tstate);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 }
20476 {
20477 resultobj = wxPyMake_wxObject(result, (bool)0);
20478 }
20479 {
20480 if (temp3)
20481 delete arg3;
20482 }
20483 {
20484 if (temp7)
20485 delete arg7;
20486 }
20487 {
20488 if (temp8)
20489 delete arg8;
20490 }
20491 return resultobj;
20492 fail:
20493 {
20494 if (temp3)
20495 delete arg3;
20496 }
20497 {
20498 if (temp7)
20499 delete arg7;
20500 }
20501 {
20502 if (temp8)
20503 delete arg8;
20504 }
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj = NULL;
20511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20512 size_t arg2 ;
20513 int arg3 ;
20514 wxString *arg4 = 0 ;
20515 wxBitmap *arg5 = 0 ;
20516 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20517 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
20518 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
20519 wxString const &arg8_defvalue = wxPyEmptyString ;
20520 wxString *arg8 = (wxString *) &arg8_defvalue ;
20521 wxString const &arg9_defvalue = wxPyEmptyString ;
20522 wxString *arg9 = (wxString *) &arg9_defvalue ;
20523 PyObject *arg10 = (PyObject *) NULL ;
20524 wxToolBarToolBase *result;
20525 bool temp4 = false ;
20526 bool temp8 = false ;
20527 bool temp9 = false ;
20528 PyObject * obj0 = 0 ;
20529 PyObject * obj1 = 0 ;
20530 PyObject * obj2 = 0 ;
20531 PyObject * obj3 = 0 ;
20532 PyObject * obj4 = 0 ;
20533 PyObject * obj5 = 0 ;
20534 PyObject * obj6 = 0 ;
20535 PyObject * obj7 = 0 ;
20536 PyObject * obj8 = 0 ;
20537 PyObject * obj9 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
20543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail;
20545 {
20546 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20547 if (SWIG_arg_fail(2)) SWIG_fail;
20548 }
20549 {
20550 arg3 = static_cast<int >(SWIG_As_int(obj2));
20551 if (SWIG_arg_fail(3)) SWIG_fail;
20552 }
20553 {
20554 arg4 = wxString_in_helper(obj3);
20555 if (arg4 == NULL) SWIG_fail;
20556 temp4 = true;
20557 }
20558 {
20559 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20560 if (SWIG_arg_fail(5)) SWIG_fail;
20561 if (arg5 == NULL) {
20562 SWIG_null_ref("wxBitmap");
20563 }
20564 if (SWIG_arg_fail(5)) SWIG_fail;
20565 }
20566 if (obj5) {
20567 {
20568 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(6)) SWIG_fail;
20570 if (arg6 == NULL) {
20571 SWIG_null_ref("wxBitmap");
20572 }
20573 if (SWIG_arg_fail(6)) SWIG_fail;
20574 }
20575 }
20576 if (obj6) {
20577 {
20578 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
20579 if (SWIG_arg_fail(7)) SWIG_fail;
20580 }
20581 }
20582 if (obj7) {
20583 {
20584 arg8 = wxString_in_helper(obj7);
20585 if (arg8 == NULL) SWIG_fail;
20586 temp8 = true;
20587 }
20588 }
20589 if (obj8) {
20590 {
20591 arg9 = wxString_in_helper(obj8);
20592 if (arg9 == NULL) SWIG_fail;
20593 temp9 = true;
20594 }
20595 }
20596 if (obj9) {
20597 arg10 = obj9;
20598 }
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 {
20607 resultobj = wxPyMake_wxObject(result, (bool)0);
20608 }
20609 {
20610 if (temp4)
20611 delete arg4;
20612 }
20613 {
20614 if (temp8)
20615 delete arg8;
20616 }
20617 {
20618 if (temp9)
20619 delete arg9;
20620 }
20621 return resultobj;
20622 fail:
20623 {
20624 if (temp4)
20625 delete arg4;
20626 }
20627 {
20628 if (temp8)
20629 delete arg8;
20630 }
20631 {
20632 if (temp9)
20633 delete arg9;
20634 }
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj = NULL;
20641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20642 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20643 wxToolBarToolBase *result;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "tool", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
20651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail;
20653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20654 if (SWIG_arg_fail(2)) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 {
20663 resultobj = wxPyMake_wxObject(result, (bool)0);
20664 }
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj = NULL;
20673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20674 size_t arg2 ;
20675 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20676 wxToolBarToolBase *result;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 PyObject * obj2 = 0 ;
20680 char *kwnames[] = {
20681 (char *) "self",(char *) "pos",(char *) "tool", NULL
20682 };
20683
20684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail;
20687 {
20688 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20689 if (SWIG_arg_fail(2)) SWIG_fail;
20690 }
20691 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(3)) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 {
20701 resultobj = wxPyMake_wxObject(result, (bool)0);
20702 }
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj = NULL;
20711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20712 wxControl *arg2 = (wxControl *) 0 ;
20713 wxToolBarToolBase *result;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self",(char *) "control", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
20721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail;
20723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20724 if (SWIG_arg_fail(2)) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 {
20733 resultobj = wxPyMake_wxObject(result, (bool)0);
20734 }
20735 return resultobj;
20736 fail:
20737 return NULL;
20738 }
20739
20740
20741 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
20742 PyObject *resultobj = NULL;
20743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20744 size_t arg2 ;
20745 wxControl *arg3 = (wxControl *) 0 ;
20746 wxToolBarToolBase *result;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 PyObject * obj2 = 0 ;
20750 char *kwnames[] = {
20751 (char *) "self",(char *) "pos",(char *) "control", NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
20755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail;
20757 {
20758 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20759 if (SWIG_arg_fail(2)) SWIG_fail;
20760 }
20761 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20762 if (SWIG_arg_fail(3)) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 resultobj = wxPyMake_wxObject(result, (bool)0);
20772 }
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj = NULL;
20781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20782 int arg2 ;
20783 wxControl *result;
20784 PyObject * obj0 = 0 ;
20785 PyObject * obj1 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self",(char *) "id", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
20791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail;
20793 {
20794 arg2 = static_cast<int >(SWIG_As_int(obj1));
20795 if (SWIG_arg_fail(2)) SWIG_fail;
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (wxControl *)(arg1)->FindControl(arg2);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 {
20805 resultobj = wxPyMake_wxObject(result, 0);
20806 }
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj = NULL;
20815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20816 wxToolBarToolBase *result;
20817 PyObject * obj0 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
20823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 resultobj = wxPyMake_wxObject(result, (bool)0);
20834 }
20835 return resultobj;
20836 fail:
20837 return NULL;
20838 }
20839
20840
20841 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj = NULL;
20843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20844 size_t arg2 ;
20845 wxToolBarToolBase *result;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "pos", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
20853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail;
20855 {
20856 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20857 if (SWIG_arg_fail(2)) SWIG_fail;
20858 }
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 {
20867 resultobj = wxPyMake_wxObject(result, (bool)0);
20868 }
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj = NULL;
20877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20878 int arg2 ;
20879 wxToolBarToolBase *result;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "id", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
20887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail;
20889 {
20890 arg2 = static_cast<int >(SWIG_As_int(obj1));
20891 if (SWIG_arg_fail(2)) SWIG_fail;
20892 }
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 {
20901 resultobj = wxPyMake_wxObject(result, (bool)0);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj = NULL;
20911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20912 size_t arg2 ;
20913 bool result;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self",(char *) "pos", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
20921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail;
20923 {
20924 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20925 if (SWIG_arg_fail(2)) SWIG_fail;
20926 }
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 result = (bool)(arg1)->DeleteToolByPos(arg2);
20930
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 {
20935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20936 }
20937 return resultobj;
20938 fail:
20939 return NULL;
20940 }
20941
20942
20943 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
20944 PyObject *resultobj = NULL;
20945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20946 int arg2 ;
20947 bool result;
20948 PyObject * obj0 = 0 ;
20949 PyObject * obj1 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self",(char *) "id", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
20955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail;
20957 {
20958 arg2 = static_cast<int >(SWIG_As_int(obj1));
20959 if (SWIG_arg_fail(2)) SWIG_fail;
20960 }
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (bool)(arg1)->DeleteTool(arg2);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20970 }
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj = NULL;
20979 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20980 PyObject * obj0 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
20986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 (arg1)->ClearTools();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 Py_INCREF(Py_None); resultobj = Py_None;
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj = NULL;
21004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21005 bool result;
21006 PyObject * obj0 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
21012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 result = (bool)(arg1)->Realize();
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 {
21022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21023 }
21024 return resultobj;
21025 fail:
21026 return NULL;
21027 }
21028
21029
21030 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj = NULL;
21032 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21033 int arg2 ;
21034 bool arg3 ;
21035 PyObject * obj0 = 0 ;
21036 PyObject * obj1 = 0 ;
21037 PyObject * obj2 = 0 ;
21038 char *kwnames[] = {
21039 (char *) "self",(char *) "id",(char *) "enable", NULL
21040 };
21041
21042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21044 if (SWIG_arg_fail(1)) SWIG_fail;
21045 {
21046 arg2 = static_cast<int >(SWIG_As_int(obj1));
21047 if (SWIG_arg_fail(2)) SWIG_fail;
21048 }
21049 {
21050 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21051 if (SWIG_arg_fail(3)) SWIG_fail;
21052 }
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 (arg1)->EnableTool(arg2,arg3);
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 Py_INCREF(Py_None); resultobj = Py_None;
21061 return resultobj;
21062 fail:
21063 return NULL;
21064 }
21065
21066
21067 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj = NULL;
21069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21070 int arg2 ;
21071 bool arg3 ;
21072 PyObject * obj0 = 0 ;
21073 PyObject * obj1 = 0 ;
21074 PyObject * obj2 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "id",(char *) "toggle", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail;
21082 {
21083 arg2 = static_cast<int >(SWIG_As_int(obj1));
21084 if (SWIG_arg_fail(2)) SWIG_fail;
21085 }
21086 {
21087 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21088 if (SWIG_arg_fail(3)) SWIG_fail;
21089 }
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->ToggleTool(arg2,arg3);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 Py_INCREF(Py_None); resultobj = Py_None;
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj = NULL;
21106 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21107 int arg2 ;
21108 bool arg3 ;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111 PyObject * obj2 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "id",(char *) "toggle", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21118 if (SWIG_arg_fail(1)) SWIG_fail;
21119 {
21120 arg2 = static_cast<int >(SWIG_As_int(obj1));
21121 if (SWIG_arg_fail(2)) SWIG_fail;
21122 }
21123 {
21124 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21125 if (SWIG_arg_fail(3)) SWIG_fail;
21126 }
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 (arg1)->SetToggle(arg2,arg3);
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj = NULL;
21143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21144 int arg2 ;
21145 PyObject *result;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj1 = 0 ;
21148 char *kwnames[] = {
21149 (char *) "self",(char *) "id", NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
21153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail;
21155 {
21156 arg2 = static_cast<int >(SWIG_As_int(obj1));
21157 if (SWIG_arg_fail(2)) SWIG_fail;
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = result;
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj = NULL;
21175 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21176 int arg2 ;
21177 PyObject *arg3 = (PyObject *) 0 ;
21178 PyObject * obj0 = 0 ;
21179 PyObject * obj1 = 0 ;
21180 PyObject * obj2 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "id",(char *) "clientData", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail;
21188 {
21189 arg2 = static_cast<int >(SWIG_As_int(obj1));
21190 if (SWIG_arg_fail(2)) SWIG_fail;
21191 }
21192 arg3 = obj2;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj = NULL;
21209 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21210 int arg2 ;
21211 int result;
21212 PyObject * obj0 = 0 ;
21213 PyObject * obj1 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self",(char *) "id", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
21219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail;
21221 {
21222 arg2 = static_cast<int >(SWIG_As_int(obj1));
21223 if (SWIG_arg_fail(2)) SWIG_fail;
21224 }
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 {
21233 resultobj = SWIG_From_int(static_cast<int >(result));
21234 }
21235 return resultobj;
21236 fail:
21237 return NULL;
21238 }
21239
21240
21241 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
21242 PyObject *resultobj = NULL;
21243 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21244 int arg2 ;
21245 bool result;
21246 PyObject * obj0 = 0 ;
21247 PyObject * obj1 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self",(char *) "id", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
21253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21254 if (SWIG_arg_fail(1)) SWIG_fail;
21255 {
21256 arg2 = static_cast<int >(SWIG_As_int(obj1));
21257 if (SWIG_arg_fail(2)) SWIG_fail;
21258 }
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (bool)(arg1)->GetToolState(arg2);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 {
21267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21268 }
21269 return resultobj;
21270 fail:
21271 return NULL;
21272 }
21273
21274
21275 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj = NULL;
21277 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21278 int arg2 ;
21279 bool result;
21280 PyObject * obj0 = 0 ;
21281 PyObject * obj1 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self",(char *) "id", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
21287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21288 if (SWIG_arg_fail(1)) SWIG_fail;
21289 {
21290 arg2 = static_cast<int >(SWIG_As_int(obj1));
21291 if (SWIG_arg_fail(2)) SWIG_fail;
21292 }
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (bool)(arg1)->GetToolEnabled(arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21302 }
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj = NULL;
21311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21312 int arg2 ;
21313 wxString *arg3 = 0 ;
21314 bool temp3 = false ;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 PyObject * obj2 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self",(char *) "id",(char *) "helpString", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail;
21325 {
21326 arg2 = static_cast<int >(SWIG_As_int(obj1));
21327 if (SWIG_arg_fail(2)) SWIG_fail;
21328 }
21329 {
21330 arg3 = wxString_in_helper(obj2);
21331 if (arg3 == NULL) SWIG_fail;
21332 temp3 = true;
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 {
21343 if (temp3)
21344 delete arg3;
21345 }
21346 return resultobj;
21347 fail:
21348 {
21349 if (temp3)
21350 delete arg3;
21351 }
21352 return NULL;
21353 }
21354
21355
21356 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj = NULL;
21358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21359 int arg2 ;
21360 wxString result;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "self",(char *) "id", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
21368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail;
21370 {
21371 arg2 = static_cast<int >(SWIG_As_int(obj1));
21372 if (SWIG_arg_fail(2)) SWIG_fail;
21373 }
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (arg1)->GetToolShortHelp(arg2);
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 {
21382 #if wxUSE_UNICODE
21383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21384 #else
21385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21386 #endif
21387 }
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj = NULL;
21396 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21397 int arg2 ;
21398 wxString *arg3 = 0 ;
21399 bool temp3 = false ;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 PyObject * obj2 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "id",(char *) "helpString", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail;
21410 {
21411 arg2 = static_cast<int >(SWIG_As_int(obj1));
21412 if (SWIG_arg_fail(2)) SWIG_fail;
21413 }
21414 {
21415 arg3 = wxString_in_helper(obj2);
21416 if (arg3 == NULL) SWIG_fail;
21417 temp3 = true;
21418 }
21419 {
21420 PyThreadState* __tstate = wxPyBeginAllowThreads();
21421 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 Py_INCREF(Py_None); resultobj = Py_None;
21427 {
21428 if (temp3)
21429 delete arg3;
21430 }
21431 return resultobj;
21432 fail:
21433 {
21434 if (temp3)
21435 delete arg3;
21436 }
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj = NULL;
21443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21444 int arg2 ;
21445 wxString result;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self",(char *) "id", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
21453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail;
21455 {
21456 arg2 = static_cast<int >(SWIG_As_int(obj1));
21457 if (SWIG_arg_fail(2)) SWIG_fail;
21458 }
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 result = (arg1)->GetToolLongHelp(arg2);
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 {
21467 #if wxUSE_UNICODE
21468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21469 #else
21470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21471 #endif
21472 }
21473 return resultobj;
21474 fail:
21475 return NULL;
21476 }
21477
21478
21479 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
21480 PyObject *resultobj = NULL;
21481 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21482 int arg2 ;
21483 int arg3 ;
21484 PyObject * obj0 = 0 ;
21485 PyObject * obj1 = 0 ;
21486 PyObject * obj2 = 0 ;
21487 char *kwnames[] = {
21488 (char *) "self",(char *) "x",(char *) "y", NULL
21489 };
21490
21491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
21492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail;
21494 {
21495 arg2 = static_cast<int >(SWIG_As_int(obj1));
21496 if (SWIG_arg_fail(2)) SWIG_fail;
21497 }
21498 {
21499 arg3 = static_cast<int >(SWIG_As_int(obj2));
21500 if (SWIG_arg_fail(3)) SWIG_fail;
21501 }
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 (arg1)->SetMargins(arg2,arg3);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 Py_INCREF(Py_None); resultobj = Py_None;
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj = NULL;
21518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21519 wxSize *arg2 = 0 ;
21520 wxSize temp2 ;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self",(char *) "size", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
21528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail;
21530 {
21531 arg2 = &temp2;
21532 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21533 }
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 (arg1)->SetMargins((wxSize const &)*arg2);
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 Py_INCREF(Py_None); resultobj = Py_None;
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj = NULL;
21550 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21551 int arg2 ;
21552 PyObject * obj0 = 0 ;
21553 PyObject * obj1 = 0 ;
21554 char *kwnames[] = {
21555 (char *) "self",(char *) "packing", NULL
21556 };
21557
21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
21559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21560 if (SWIG_arg_fail(1)) SWIG_fail;
21561 {
21562 arg2 = static_cast<int >(SWIG_As_int(obj1));
21563 if (SWIG_arg_fail(2)) SWIG_fail;
21564 }
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 (arg1)->SetToolPacking(arg2);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 Py_INCREF(Py_None); resultobj = Py_None;
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj = NULL;
21581 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21582 int arg2 ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self",(char *) "separation", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
21590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail;
21592 {
21593 arg2 = static_cast<int >(SWIG_As_int(obj1));
21594 if (SWIG_arg_fail(2)) SWIG_fail;
21595 }
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 (arg1)->SetToolSeparation(arg2);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 Py_INCREF(Py_None); resultobj = Py_None;
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = NULL;
21612 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21613 wxSize result;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
21620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail;
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (arg1)->GetToolMargins();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 {
21630 wxSize * resultptr;
21631 resultptr = new wxSize(static_cast<wxSize & >(result));
21632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21633 }
21634 return resultobj;
21635 fail:
21636 return NULL;
21637 }
21638
21639
21640 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj = NULL;
21642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21643 wxSize result;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (arg1)->GetMargins();
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660 wxSize * resultptr;
21661 resultptr = new wxSize(static_cast<wxSize & >(result));
21662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj = NULL;
21672 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21673 int result;
21674 PyObject * obj0 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
21680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail;
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (int)(arg1)->GetToolPacking();
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 resultobj = SWIG_From_int(static_cast<int >(result));
21691 }
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj = NULL;
21700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21701 int result;
21702 PyObject * obj0 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
21708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (int)(arg1)->GetToolSeparation();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 resultobj = SWIG_From_int(static_cast<int >(result));
21719 }
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj = NULL;
21728 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21729 int arg2 ;
21730 PyObject * obj0 = 0 ;
21731 PyObject * obj1 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "self",(char *) "nRows", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
21737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21738 if (SWIG_arg_fail(1)) SWIG_fail;
21739 {
21740 arg2 = static_cast<int >(SWIG_As_int(obj1));
21741 if (SWIG_arg_fail(2)) SWIG_fail;
21742 }
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 (arg1)->SetRows(arg2);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 Py_INCREF(Py_None); resultobj = Py_None;
21751 return resultobj;
21752 fail:
21753 return NULL;
21754 }
21755
21756
21757 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj = NULL;
21759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21760 int arg2 ;
21761 int arg3 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 PyObject * obj2 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self",(char *) "rows",(char *) "cols", NULL
21767 };
21768
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
21770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail;
21772 {
21773 arg2 = static_cast<int >(SWIG_As_int(obj1));
21774 if (SWIG_arg_fail(2)) SWIG_fail;
21775 }
21776 {
21777 arg3 = static_cast<int >(SWIG_As_int(obj2));
21778 if (SWIG_arg_fail(3)) SWIG_fail;
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 (arg1)->SetMaxRowsCols(arg2,arg3);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 Py_INCREF(Py_None); resultobj = Py_None;
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj = NULL;
21796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21797 int result;
21798 PyObject * obj0 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
21804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail;
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 result = (int)(arg1)->GetMaxRows();
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 {
21814 resultobj = SWIG_From_int(static_cast<int >(result));
21815 }
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj = NULL;
21824 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21825 int result;
21826 PyObject * obj0 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
21832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 result = (int)(arg1)->GetMaxCols();
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 {
21842 resultobj = SWIG_From_int(static_cast<int >(result));
21843 }
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj = NULL;
21852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21853 wxSize *arg2 = 0 ;
21854 wxSize temp2 ;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "size", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
21862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail;
21864 {
21865 arg2 = &temp2;
21866 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj = NULL;
21884 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21885 wxSize result;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
21892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (arg1)->GetToolBitmapSize();
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
21902 wxSize * resultptr;
21903 resultptr = new wxSize(static_cast<wxSize & >(result));
21904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21905 }
21906 return resultobj;
21907 fail:
21908 return NULL;
21909 }
21910
21911
21912 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
21913 PyObject *resultobj = NULL;
21914 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21915 wxSize result;
21916 PyObject * obj0 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
21922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = (arg1)->GetToolSize();
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 wxSize * resultptr;
21933 resultptr = new wxSize(static_cast<wxSize & >(result));
21934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21935 }
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj = NULL;
21944 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21945 int arg2 ;
21946 int arg3 ;
21947 wxToolBarToolBase *result;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 PyObject * obj2 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "x",(char *) "y", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail;
21958 {
21959 arg2 = static_cast<int >(SWIG_As_int(obj1));
21960 if (SWIG_arg_fail(2)) SWIG_fail;
21961 }
21962 {
21963 arg3 = static_cast<int >(SWIG_As_int(obj2));
21964 if (SWIG_arg_fail(3)) SWIG_fail;
21965 }
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 {
21974 resultobj = wxPyMake_wxObject(result, (bool)0);
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj = NULL;
21984 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21985 int arg2 ;
21986 wxToolBarToolBase *result;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self",(char *) "toolid", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
21994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail;
21996 {
21997 arg2 = static_cast<int >(SWIG_As_int(obj1));
21998 if (SWIG_arg_fail(2)) SWIG_fail;
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 {
22008 resultobj = wxPyMake_wxObject(result, (bool)0);
22009 }
22010 return resultobj;
22011 fail:
22012 return NULL;
22013 }
22014
22015
22016 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj = NULL;
22018 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22019 bool result;
22020 PyObject * obj0 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
22026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail;
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->IsVertical();
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 {
22036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
22045 PyObject *obj;
22046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22047 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22048 Py_INCREF(obj);
22049 return Py_BuildValue((char *)"");
22050 }
22051 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj = NULL;
22053 wxWindow *arg1 = (wxWindow *) 0 ;
22054 int arg2 = (int) -1 ;
22055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22057 wxSize const &arg4_defvalue = wxDefaultSize ;
22058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22059 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22060 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22061 wxString *arg6 = (wxString *) &arg6_defvalue ;
22062 wxToolBar *result;
22063 wxPoint temp3 ;
22064 wxSize temp4 ;
22065 bool temp6 = false ;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 PyObject * obj2 = 0 ;
22069 PyObject * obj3 = 0 ;
22070 PyObject * obj4 = 0 ;
22071 PyObject * obj5 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail;
22079 if (obj1) {
22080 {
22081 arg2 = static_cast<int >(SWIG_As_int(obj1));
22082 if (SWIG_arg_fail(2)) SWIG_fail;
22083 }
22084 }
22085 if (obj2) {
22086 {
22087 arg3 = &temp3;
22088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22089 }
22090 }
22091 if (obj3) {
22092 {
22093 arg4 = &temp4;
22094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22095 }
22096 }
22097 if (obj4) {
22098 {
22099 arg5 = static_cast<long >(SWIG_As_long(obj4));
22100 if (SWIG_arg_fail(5)) SWIG_fail;
22101 }
22102 }
22103 if (obj5) {
22104 {
22105 arg6 = wxString_in_helper(obj5);
22106 if (arg6 == NULL) SWIG_fail;
22107 temp6 = true;
22108 }
22109 }
22110 {
22111 if (!wxPyCheckForApp()) SWIG_fail;
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22119 {
22120 if (temp6)
22121 delete arg6;
22122 }
22123 return resultobj;
22124 fail:
22125 {
22126 if (temp6)
22127 delete arg6;
22128 }
22129 return NULL;
22130 }
22131
22132
22133 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22134 PyObject *resultobj = NULL;
22135 wxToolBar *result;
22136 char *kwnames[] = {
22137 NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22141 {
22142 if (!wxPyCheckForApp()) SWIG_fail;
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 result = (wxToolBar *)new wxToolBar();
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj = NULL;
22158 wxToolBar *arg1 = (wxToolBar *) 0 ;
22159 wxWindow *arg2 = (wxWindow *) 0 ;
22160 int arg3 = (int) -1 ;
22161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22163 wxSize const &arg5_defvalue = wxDefaultSize ;
22164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22165 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22166 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22167 wxString *arg7 = (wxString *) &arg7_defvalue ;
22168 bool result;
22169 wxPoint temp4 ;
22170 wxSize temp5 ;
22171 bool temp7 = false ;
22172 PyObject * obj0 = 0 ;
22173 PyObject * obj1 = 0 ;
22174 PyObject * obj2 = 0 ;
22175 PyObject * obj3 = 0 ;
22176 PyObject * obj4 = 0 ;
22177 PyObject * obj5 = 0 ;
22178 PyObject * obj6 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail;
22186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22187 if (SWIG_arg_fail(2)) SWIG_fail;
22188 if (obj2) {
22189 {
22190 arg3 = static_cast<int >(SWIG_As_int(obj2));
22191 if (SWIG_arg_fail(3)) SWIG_fail;
22192 }
22193 }
22194 if (obj3) {
22195 {
22196 arg4 = &temp4;
22197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22198 }
22199 }
22200 if (obj4) {
22201 {
22202 arg5 = &temp5;
22203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22204 }
22205 }
22206 if (obj5) {
22207 {
22208 arg6 = static_cast<long >(SWIG_As_long(obj5));
22209 if (SWIG_arg_fail(6)) SWIG_fail;
22210 }
22211 }
22212 if (obj6) {
22213 {
22214 arg7 = wxString_in_helper(obj6);
22215 if (arg7 == NULL) SWIG_fail;
22216 temp7 = true;
22217 }
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 {
22227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22228 }
22229 {
22230 if (temp7)
22231 delete arg7;
22232 }
22233 return resultobj;
22234 fail:
22235 {
22236 if (temp7)
22237 delete arg7;
22238 }
22239 return NULL;
22240 }
22241
22242
22243 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22244 PyObject *resultobj = NULL;
22245 wxToolBar *arg1 = (wxToolBar *) 0 ;
22246 int arg2 ;
22247 int arg3 ;
22248 wxToolBarToolBase *result;
22249 PyObject * obj0 = 0 ;
22250 PyObject * obj1 = 0 ;
22251 PyObject * obj2 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self",(char *) "x",(char *) "y", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
22259 {
22260 arg2 = static_cast<int >(SWIG_As_int(obj1));
22261 if (SWIG_arg_fail(2)) SWIG_fail;
22262 }
22263 {
22264 arg3 = static_cast<int >(SWIG_As_int(obj2));
22265 if (SWIG_arg_fail(3)) SWIG_fail;
22266 }
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 {
22275 resultobj = wxPyMake_wxObject(result, (bool)0);
22276 }
22277 return resultobj;
22278 fail:
22279 return NULL;
22280 }
22281
22282
22283 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22284 PyObject *resultobj = NULL;
22285 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22286 wxVisualAttributes result;
22287 PyObject * obj0 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "variant", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22293 if (obj0) {
22294 {
22295 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
22296 if (SWIG_arg_fail(1)) SWIG_fail;
22297 }
22298 }
22299 {
22300 if (!wxPyCheckForApp()) SWIG_fail;
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = wxToolBar::GetClassDefaultAttributes(arg1);
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 {
22308 wxVisualAttributes * resultptr;
22309 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22311 }
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
22319 PyObject *obj;
22320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22321 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22322 Py_INCREF(obj);
22323 return Py_BuildValue((char *)"");
22324 }
22325 static int _wrap_ListCtrlNameStr_set(PyObject *) {
22326 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22327 return 1;
22328 }
22329
22330
22331 static PyObject *_wrap_ListCtrlNameStr_get(void) {
22332 PyObject *pyobj = NULL;
22333
22334 {
22335 #if wxUSE_UNICODE
22336 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22337 #else
22338 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22339 #endif
22340 }
22341 return pyobj;
22342 }
22343
22344
22345 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22346 PyObject *resultobj = NULL;
22347 wxColour const &arg1_defvalue = wxNullColour ;
22348 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22349 wxColour const &arg2_defvalue = wxNullColour ;
22350 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22351 wxFont const &arg3_defvalue = wxNullFont ;
22352 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22353 wxListItemAttr *result;
22354 wxColour temp1 ;
22355 wxColour temp2 ;
22356 PyObject * obj0 = 0 ;
22357 PyObject * obj1 = 0 ;
22358 PyObject * obj2 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22364 if (obj0) {
22365 {
22366 arg1 = &temp1;
22367 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22368 }
22369 }
22370 if (obj1) {
22371 {
22372 arg2 = &temp2;
22373 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22374 }
22375 }
22376 if (obj2) {
22377 {
22378 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22379 if (SWIG_arg_fail(3)) SWIG_fail;
22380 if (arg3 == NULL) {
22381 SWIG_null_ref("wxFont");
22382 }
22383 if (SWIG_arg_fail(3)) SWIG_fail;
22384 }
22385 }
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22394 return resultobj;
22395 fail:
22396 return NULL;
22397 }
22398
22399
22400 static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj = NULL;
22402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 delete arg1;
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 Py_INCREF(Py_None); resultobj = Py_None;
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj = NULL;
22427 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22428 wxColour *arg2 = 0 ;
22429 wxColour temp2 ;
22430 PyObject * obj0 = 0 ;
22431 PyObject * obj1 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "colText", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail;
22439 {
22440 arg2 = &temp2;
22441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22442 }
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->SetTextColour((wxColour const &)*arg2);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj = NULL;
22459 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22460 wxColour *arg2 = 0 ;
22461 wxColour temp2 ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self",(char *) "colBack", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail;
22471 {
22472 arg2 = &temp2;
22473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22474 }
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 Py_INCREF(Py_None); resultobj = Py_None;
22483 return resultobj;
22484 fail:
22485 return NULL;
22486 }
22487
22488
22489 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22490 PyObject *resultobj = NULL;
22491 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22492 wxFont *arg2 = 0 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self",(char *) "font", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
22500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail;
22502 {
22503 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22504 if (SWIG_arg_fail(2)) SWIG_fail;
22505 if (arg2 == NULL) {
22506 SWIG_null_ref("wxFont");
22507 }
22508 if (SWIG_arg_fail(2)) SWIG_fail;
22509 }
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 (arg1)->SetFont((wxFont const &)*arg2);
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 Py_INCREF(Py_None); resultobj = Py_None;
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj = NULL;
22526 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22527 bool result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = (bool)(arg1)->HasTextColour();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22545 }
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj = NULL;
22554 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22555 bool result;
22556 PyObject * obj0 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
22562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail;
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 result = (bool)(arg1)->HasBackgroundColour();
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 {
22572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22573 }
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj = NULL;
22582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22583 bool result;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 result = (bool)(arg1)->HasFont();
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 {
22600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22601 }
22602 return resultobj;
22603 fail:
22604 return NULL;
22605 }
22606
22607
22608 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj = NULL;
22610 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22611 wxColour result;
22612 PyObject * obj0 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
22618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail;
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 result = (arg1)->GetTextColour();
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 {
22628 wxColour * resultptr;
22629 resultptr = new wxColour(static_cast<wxColour & >(result));
22630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22631 }
22632 return resultobj;
22633 fail:
22634 return NULL;
22635 }
22636
22637
22638 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj = NULL;
22640 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22641 wxColour result;
22642 PyObject * obj0 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
22648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22649 if (SWIG_arg_fail(1)) SWIG_fail;
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = (arg1)->GetBackgroundColour();
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 {
22658 wxColour * resultptr;
22659 resultptr = new wxColour(static_cast<wxColour & >(result));
22660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22661 }
22662 return resultobj;
22663 fail:
22664 return NULL;
22665 }
22666
22667
22668 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj = NULL;
22670 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22671 wxFont result;
22672 PyObject * obj0 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
22678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail;
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 result = (arg1)->GetFont();
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 {
22688 wxFont * resultptr;
22689 resultptr = new wxFont(static_cast<wxFont & >(result));
22690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22691 }
22692 return resultobj;
22693 fail:
22694 return NULL;
22695 }
22696
22697
22698 static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj = NULL;
22700 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22701 wxListItemAttr *arg2 = 0 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self",(char *) "source", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail;
22711 {
22712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(2)) SWIG_fail;
22714 if (arg2 == NULL) {
22715 SWIG_null_ref("wxListItemAttr");
22716 }
22717 if (SWIG_arg_fail(2)) SWIG_fail;
22718 }
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22722
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 Py_INCREF(Py_None); resultobj = Py_None;
22727 return resultobj;
22728 fail:
22729 return NULL;
22730 }
22731
22732
22733 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
22734 PyObject *resultobj = NULL;
22735 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22736 PyObject * obj0 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self", NULL
22739 };
22740
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
22742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail;
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 wxListItemAttr_Destroy(arg1);
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 Py_INCREF(Py_None); resultobj = Py_None;
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
22759 PyObject *obj;
22760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22761 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22762 Py_INCREF(obj);
22763 return Py_BuildValue((char *)"");
22764 }
22765 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj = NULL;
22767 wxListItem *result;
22768 char *kwnames[] = {
22769 NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (wxListItem *)new wxListItem();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 resultobj = wxPyMake_wxObject(result, (bool)1);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj = NULL;
22791 wxListItem *arg1 = (wxListItem *) 0 ;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
22798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 delete arg1;
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj = NULL;
22816 wxListItem *arg1 = (wxListItem *) 0 ;
22817 PyObject * obj0 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
22823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->Clear();
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 Py_INCREF(Py_None); resultobj = Py_None;
22833 return resultobj;
22834 fail:
22835 return NULL;
22836 }
22837
22838
22839 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22840 PyObject *resultobj = NULL;
22841 wxListItem *arg1 = (wxListItem *) 0 ;
22842 PyObject * obj0 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
22848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail;
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 (arg1)->ClearAttributes();
22853
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 Py_INCREF(Py_None); resultobj = Py_None;
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj = NULL;
22866 wxListItem *arg1 = (wxListItem *) 0 ;
22867 long arg2 ;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "mask", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
22875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22876 if (SWIG_arg_fail(1)) SWIG_fail;
22877 {
22878 arg2 = static_cast<long >(SWIG_As_long(obj1));
22879 if (SWIG_arg_fail(2)) SWIG_fail;
22880 }
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 (arg1)->SetMask(arg2);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 Py_INCREF(Py_None); resultobj = Py_None;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj = NULL;
22897 wxListItem *arg1 = (wxListItem *) 0 ;
22898 long arg2 ;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "id", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
22906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail;
22908 {
22909 arg2 = static_cast<long >(SWIG_As_long(obj1));
22910 if (SWIG_arg_fail(2)) SWIG_fail;
22911 }
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 (arg1)->SetId(arg2);
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923 }
22924
22925
22926 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj = NULL;
22928 wxListItem *arg1 = (wxListItem *) 0 ;
22929 int arg2 ;
22930 PyObject * obj0 = 0 ;
22931 PyObject * obj1 = 0 ;
22932 char *kwnames[] = {
22933 (char *) "self",(char *) "col", NULL
22934 };
22935
22936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
22937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail;
22939 {
22940 arg2 = static_cast<int >(SWIG_As_int(obj1));
22941 if (SWIG_arg_fail(2)) SWIG_fail;
22942 }
22943 {
22944 PyThreadState* __tstate = wxPyBeginAllowThreads();
22945 (arg1)->SetColumn(arg2);
22946
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 Py_INCREF(Py_None); resultobj = Py_None;
22951 return resultobj;
22952 fail:
22953 return NULL;
22954 }
22955
22956
22957 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
22958 PyObject *resultobj = NULL;
22959 wxListItem *arg1 = (wxListItem *) 0 ;
22960 long arg2 ;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
22963 char *kwnames[] = {
22964 (char *) "self",(char *) "state", NULL
22965 };
22966
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
22968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail;
22970 {
22971 arg2 = static_cast<long >(SWIG_As_long(obj1));
22972 if (SWIG_arg_fail(2)) SWIG_fail;
22973 }
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 (arg1)->SetState(arg2);
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 Py_INCREF(Py_None); resultobj = Py_None;
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj = NULL;
22990 wxListItem *arg1 = (wxListItem *) 0 ;
22991 long arg2 ;
22992 PyObject * obj0 = 0 ;
22993 PyObject * obj1 = 0 ;
22994 char *kwnames[] = {
22995 (char *) "self",(char *) "stateMask", NULL
22996 };
22997
22998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
22999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23000 if (SWIG_arg_fail(1)) SWIG_fail;
23001 {
23002 arg2 = static_cast<long >(SWIG_As_long(obj1));
23003 if (SWIG_arg_fail(2)) SWIG_fail;
23004 }
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 (arg1)->SetStateMask(arg2);
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 Py_INCREF(Py_None); resultobj = Py_None;
23013 return resultobj;
23014 fail:
23015 return NULL;
23016 }
23017
23018
23019 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj = NULL;
23021 wxListItem *arg1 = (wxListItem *) 0 ;
23022 wxString *arg2 = 0 ;
23023 bool temp2 = false ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "text", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
23031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail;
23033 {
23034 arg2 = wxString_in_helper(obj1);
23035 if (arg2 == NULL) SWIG_fail;
23036 temp2 = true;
23037 }
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 (arg1)->SetText((wxString const &)*arg2);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 Py_INCREF(Py_None); resultobj = Py_None;
23046 {
23047 if (temp2)
23048 delete arg2;
23049 }
23050 return resultobj;
23051 fail:
23052 {
23053 if (temp2)
23054 delete arg2;
23055 }
23056 return NULL;
23057 }
23058
23059
23060 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj = NULL;
23062 wxListItem *arg1 = (wxListItem *) 0 ;
23063 int arg2 ;
23064 PyObject * obj0 = 0 ;
23065 PyObject * obj1 = 0 ;
23066 char *kwnames[] = {
23067 (char *) "self",(char *) "image", NULL
23068 };
23069
23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
23071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail;
23073 {
23074 arg2 = static_cast<int >(SWIG_As_int(obj1));
23075 if (SWIG_arg_fail(2)) SWIG_fail;
23076 }
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 (arg1)->SetImage(arg2);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088 }
23089
23090
23091 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj = NULL;
23093 wxListItem *arg1 = (wxListItem *) 0 ;
23094 long arg2 ;
23095 PyObject * obj0 = 0 ;
23096 PyObject * obj1 = 0 ;
23097 char *kwnames[] = {
23098 (char *) "self",(char *) "data", NULL
23099 };
23100
23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
23102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail;
23104 {
23105 arg2 = static_cast<long >(SWIG_As_long(obj1));
23106 if (SWIG_arg_fail(2)) SWIG_fail;
23107 }
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 (arg1)->SetData(arg2);
23111
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 Py_INCREF(Py_None); resultobj = Py_None;
23116 return resultobj;
23117 fail:
23118 return NULL;
23119 }
23120
23121
23122 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23123 PyObject *resultobj = NULL;
23124 wxListItem *arg1 = (wxListItem *) 0 ;
23125 int arg2 ;
23126 PyObject * obj0 = 0 ;
23127 PyObject * obj1 = 0 ;
23128 char *kwnames[] = {
23129 (char *) "self",(char *) "width", NULL
23130 };
23131
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
23133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23134 if (SWIG_arg_fail(1)) SWIG_fail;
23135 {
23136 arg2 = static_cast<int >(SWIG_As_int(obj1));
23137 if (SWIG_arg_fail(2)) SWIG_fail;
23138 }
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 (arg1)->SetWidth(arg2);
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 Py_INCREF(Py_None); resultobj = Py_None;
23147 return resultobj;
23148 fail:
23149 return NULL;
23150 }
23151
23152
23153 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23154 PyObject *resultobj = NULL;
23155 wxListItem *arg1 = (wxListItem *) 0 ;
23156 wxListColumnFormat arg2 ;
23157 PyObject * obj0 = 0 ;
23158 PyObject * obj1 = 0 ;
23159 char *kwnames[] = {
23160 (char *) "self",(char *) "align", NULL
23161 };
23162
23163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
23164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23165 if (SWIG_arg_fail(1)) SWIG_fail;
23166 {
23167 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
23168 if (SWIG_arg_fail(2)) SWIG_fail;
23169 }
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 (arg1)->SetAlign(arg2);
23173
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 Py_INCREF(Py_None); resultobj = Py_None;
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23185 PyObject *resultobj = NULL;
23186 wxListItem *arg1 = (wxListItem *) 0 ;
23187 wxColour *arg2 = 0 ;
23188 wxColour temp2 ;
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self",(char *) "colText", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
23196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail;
23198 {
23199 arg2 = &temp2;
23200 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23201 }
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 (arg1)->SetTextColour((wxColour const &)*arg2);
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj = NULL;
23218 wxListItem *arg1 = (wxListItem *) 0 ;
23219 wxColour *arg2 = 0 ;
23220 wxColour temp2 ;
23221 PyObject * obj0 = 0 ;
23222 PyObject * obj1 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self",(char *) "colBack", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail;
23230 {
23231 arg2 = &temp2;
23232 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23233 }
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 Py_INCREF(Py_None); resultobj = Py_None;
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj = NULL;
23250 wxListItem *arg1 = (wxListItem *) 0 ;
23251 wxFont *arg2 = 0 ;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "font", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
23259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23260 if (SWIG_arg_fail(1)) SWIG_fail;
23261 {
23262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(2)) SWIG_fail;
23264 if (arg2 == NULL) {
23265 SWIG_null_ref("wxFont");
23266 }
23267 if (SWIG_arg_fail(2)) SWIG_fail;
23268 }
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 (arg1)->SetFont((wxFont const &)*arg2);
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 Py_INCREF(Py_None); resultobj = Py_None;
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj = NULL;
23285 wxListItem *arg1 = (wxListItem *) 0 ;
23286 long result;
23287 PyObject * obj0 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
23293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (long)(arg1)->GetMask();
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 {
23303 resultobj = SWIG_From_long(static_cast<long >(result));
23304 }
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj = NULL;
23313 wxListItem *arg1 = (wxListItem *) 0 ;
23314 long result;
23315 PyObject * obj0 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
23321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23322 if (SWIG_arg_fail(1)) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (long)(arg1)->GetId();
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 {
23331 resultobj = SWIG_From_long(static_cast<long >(result));
23332 }
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23340 PyObject *resultobj = NULL;
23341 wxListItem *arg1 = (wxListItem *) 0 ;
23342 int result;
23343 PyObject * obj0 = 0 ;
23344 char *kwnames[] = {
23345 (char *) "self", NULL
23346 };
23347
23348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
23349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23350 if (SWIG_arg_fail(1)) SWIG_fail;
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (int)(arg1)->GetColumn();
23354
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 {
23359 resultobj = SWIG_From_int(static_cast<int >(result));
23360 }
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
23368 PyObject *resultobj = NULL;
23369 wxListItem *arg1 = (wxListItem *) 0 ;
23370 long result;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (long)(arg1)->GetState();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 {
23387 resultobj = SWIG_From_long(static_cast<long >(result));
23388 }
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj = NULL;
23397 wxListItem *arg1 = (wxListItem *) 0 ;
23398 wxString *result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
23405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 {
23410 wxString const &_result_ref = (arg1)->GetText();
23411 result = (wxString *) &_result_ref;
23412 }
23413
23414 wxPyEndAllowThreads(__tstate);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 }
23417 {
23418 #if wxUSE_UNICODE
23419 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23420 #else
23421 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23422 #endif
23423 }
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23431 PyObject *resultobj = NULL;
23432 wxListItem *arg1 = (wxListItem *) 0 ;
23433 int result;
23434 PyObject * obj0 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
23440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail;
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (int)(arg1)->GetImage();
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 {
23450 resultobj = SWIG_From_int(static_cast<int >(result));
23451 }
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj = NULL;
23460 wxListItem *arg1 = (wxListItem *) 0 ;
23461 long result;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
23468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (long)(arg1)->GetData();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 resultobj = SWIG_From_long(static_cast<long >(result));
23479 }
23480 return resultobj;
23481 fail:
23482 return NULL;
23483 }
23484
23485
23486 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23487 PyObject *resultobj = NULL;
23488 wxListItem *arg1 = (wxListItem *) 0 ;
23489 int result;
23490 PyObject * obj0 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
23496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail;
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (int)(arg1)->GetWidth();
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 {
23506 resultobj = SWIG_From_int(static_cast<int >(result));
23507 }
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj = NULL;
23516 wxListItem *arg1 = (wxListItem *) 0 ;
23517 wxListColumnFormat result;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
23524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail;
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (wxListColumnFormat)(arg1)->GetAlign();
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 resultobj = SWIG_From_int((result));
23534 return resultobj;
23535 fail:
23536 return NULL;
23537 }
23538
23539
23540 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23541 PyObject *resultobj = NULL;
23542 wxListItem *arg1 = (wxListItem *) 0 ;
23543 wxListItemAttr *result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
23550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23551 if (SWIG_arg_fail(1)) SWIG_fail;
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (wxListItemAttr *)(arg1)->GetAttributes();
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj = NULL;
23568 wxListItem *arg1 = (wxListItem *) 0 ;
23569 bool result;
23570 PyObject * obj0 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
23576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail;
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = (bool)(arg1)->HasAttributes();
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 {
23586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23587 }
23588 return resultobj;
23589 fail:
23590 return NULL;
23591 }
23592
23593
23594 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj = NULL;
23596 wxListItem *arg1 = (wxListItem *) 0 ;
23597 wxColour result;
23598 PyObject * obj0 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
23604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23605 if (SWIG_arg_fail(1)) SWIG_fail;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = ((wxListItem const *)arg1)->GetTextColour();
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 wxColour * resultptr;
23615 resultptr = new wxColour(static_cast<wxColour & >(result));
23616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23617 }
23618 return resultobj;
23619 fail:
23620 return NULL;
23621 }
23622
23623
23624 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj = NULL;
23626 wxListItem *arg1 = (wxListItem *) 0 ;
23627 wxColour result;
23628 PyObject * obj0 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
23634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail;
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 {
23644 wxColour * resultptr;
23645 resultptr = new wxColour(static_cast<wxColour & >(result));
23646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23647 }
23648 return resultobj;
23649 fail:
23650 return NULL;
23651 }
23652
23653
23654 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj = NULL;
23656 wxListItem *arg1 = (wxListItem *) 0 ;
23657 wxFont result;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
23664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail;
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = ((wxListItem const *)arg1)->GetFont();
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 {
23674 wxFont * resultptr;
23675 resultptr = new wxFont(static_cast<wxFont & >(result));
23676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23677 }
23678 return resultobj;
23679 fail:
23680 return NULL;
23681 }
23682
23683
23684 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj = NULL;
23686 wxListItem *arg1 = (wxListItem *) 0 ;
23687 long arg2 ;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj1 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "m_mask", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
23695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23696 if (SWIG_arg_fail(1)) SWIG_fail;
23697 {
23698 arg2 = static_cast<long >(SWIG_As_long(obj1));
23699 if (SWIG_arg_fail(2)) SWIG_fail;
23700 }
23701 if (arg1) (arg1)->m_mask = arg2;
23702
23703 Py_INCREF(Py_None); resultobj = Py_None;
23704 return resultobj;
23705 fail:
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj = NULL;
23712 wxListItem *arg1 = (wxListItem *) 0 ;
23713 long result;
23714 PyObject * obj0 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
23720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23721 if (SWIG_arg_fail(1)) SWIG_fail;
23722 result = (long) ((arg1)->m_mask);
23723
23724 {
23725 resultobj = SWIG_From_long(static_cast<long >(result));
23726 }
23727 return resultobj;
23728 fail:
23729 return NULL;
23730 }
23731
23732
23733 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
23734 PyObject *resultobj = NULL;
23735 wxListItem *arg1 = (wxListItem *) 0 ;
23736 long arg2 ;
23737 PyObject * obj0 = 0 ;
23738 PyObject * obj1 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self",(char *) "m_itemId", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
23744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail;
23746 {
23747 arg2 = static_cast<long >(SWIG_As_long(obj1));
23748 if (SWIG_arg_fail(2)) SWIG_fail;
23749 }
23750 if (arg1) (arg1)->m_itemId = arg2;
23751
23752 Py_INCREF(Py_None); resultobj = Py_None;
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj = NULL;
23761 wxListItem *arg1 = (wxListItem *) 0 ;
23762 long result;
23763 PyObject * obj0 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
23769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail;
23771 result = (long) ((arg1)->m_itemId);
23772
23773 {
23774 resultobj = SWIG_From_long(static_cast<long >(result));
23775 }
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj = NULL;
23784 wxListItem *arg1 = (wxListItem *) 0 ;
23785 int arg2 ;
23786 PyObject * obj0 = 0 ;
23787 PyObject * obj1 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self",(char *) "m_col", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail;
23795 {
23796 arg2 = static_cast<int >(SWIG_As_int(obj1));
23797 if (SWIG_arg_fail(2)) SWIG_fail;
23798 }
23799 if (arg1) (arg1)->m_col = arg2;
23800
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj = NULL;
23810 wxListItem *arg1 = (wxListItem *) 0 ;
23811 int result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
23818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail;
23820 result = (int) ((arg1)->m_col);
23821
23822 {
23823 resultobj = SWIG_From_int(static_cast<int >(result));
23824 }
23825 return resultobj;
23826 fail:
23827 return NULL;
23828 }
23829
23830
23831 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj = NULL;
23833 wxListItem *arg1 = (wxListItem *) 0 ;
23834 long arg2 ;
23835 PyObject * obj0 = 0 ;
23836 PyObject * obj1 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "m_state", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
23842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail;
23844 {
23845 arg2 = static_cast<long >(SWIG_As_long(obj1));
23846 if (SWIG_arg_fail(2)) SWIG_fail;
23847 }
23848 if (arg1) (arg1)->m_state = arg2;
23849
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj = NULL;
23859 wxListItem *arg1 = (wxListItem *) 0 ;
23860 long result;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
23867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail;
23869 result = (long) ((arg1)->m_state);
23870
23871 {
23872 resultobj = SWIG_From_long(static_cast<long >(result));
23873 }
23874 return resultobj;
23875 fail:
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj = NULL;
23882 wxListItem *arg1 = (wxListItem *) 0 ;
23883 long arg2 ;
23884 PyObject * obj0 = 0 ;
23885 PyObject * obj1 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self",(char *) "m_stateMask", NULL
23888 };
23889
23890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
23891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail;
23893 {
23894 arg2 = static_cast<long >(SWIG_As_long(obj1));
23895 if (SWIG_arg_fail(2)) SWIG_fail;
23896 }
23897 if (arg1) (arg1)->m_stateMask = arg2;
23898
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj = NULL;
23908 wxListItem *arg1 = (wxListItem *) 0 ;
23909 long result;
23910 PyObject * obj0 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
23916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail;
23918 result = (long) ((arg1)->m_stateMask);
23919
23920 {
23921 resultobj = SWIG_From_long(static_cast<long >(result));
23922 }
23923 return resultobj;
23924 fail:
23925 return NULL;
23926 }
23927
23928
23929 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj = NULL;
23931 wxListItem *arg1 = (wxListItem *) 0 ;
23932 wxString *arg2 = (wxString *) 0 ;
23933 bool temp2 = false ;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "m_text", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
23941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23942 if (SWIG_arg_fail(1)) SWIG_fail;
23943 {
23944 arg2 = wxString_in_helper(obj1);
23945 if (arg2 == NULL) SWIG_fail;
23946 temp2 = true;
23947 }
23948 if (arg1) (arg1)->m_text = *arg2;
23949
23950 Py_INCREF(Py_None); resultobj = Py_None;
23951 {
23952 if (temp2)
23953 delete arg2;
23954 }
23955 return resultobj;
23956 fail:
23957 {
23958 if (temp2)
23959 delete arg2;
23960 }
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj = NULL;
23967 wxListItem *arg1 = (wxListItem *) 0 ;
23968 wxString *result;
23969 PyObject * obj0 = 0 ;
23970 char *kwnames[] = {
23971 (char *) "self", NULL
23972 };
23973
23974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
23975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail;
23977 result = (wxString *)& ((arg1)->m_text);
23978
23979 {
23980 #if wxUSE_UNICODE
23981 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23982 #else
23983 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23984 #endif
23985 }
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj = NULL;
23994 wxListItem *arg1 = (wxListItem *) 0 ;
23995 int arg2 ;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self",(char *) "m_image", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
24003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail;
24005 {
24006 arg2 = static_cast<int >(SWIG_As_int(obj1));
24007 if (SWIG_arg_fail(2)) SWIG_fail;
24008 }
24009 if (arg1) (arg1)->m_image = arg2;
24010
24011 Py_INCREF(Py_None); resultobj = Py_None;
24012 return resultobj;
24013 fail:
24014 return NULL;
24015 }
24016
24017
24018 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj = NULL;
24020 wxListItem *arg1 = (wxListItem *) 0 ;
24021 int result;
24022 PyObject * obj0 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
24028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail;
24030 result = (int) ((arg1)->m_image);
24031
24032 {
24033 resultobj = SWIG_From_int(static_cast<int >(result));
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038 }
24039
24040
24041 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj = NULL;
24043 wxListItem *arg1 = (wxListItem *) 0 ;
24044 long arg2 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "m_data", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
24052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail;
24054 {
24055 arg2 = static_cast<long >(SWIG_As_long(obj1));
24056 if (SWIG_arg_fail(2)) SWIG_fail;
24057 }
24058 if (arg1) (arg1)->m_data = arg2;
24059
24060 Py_INCREF(Py_None); resultobj = Py_None;
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
24068 PyObject *resultobj = NULL;
24069 wxListItem *arg1 = (wxListItem *) 0 ;
24070 long result;
24071 PyObject * obj0 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
24077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail;
24079 result = (long) ((arg1)->m_data);
24080
24081 {
24082 resultobj = SWIG_From_long(static_cast<long >(result));
24083 }
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj = NULL;
24092 wxListItem *arg1 = (wxListItem *) 0 ;
24093 int arg2 ;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self",(char *) "m_format", NULL
24098 };
24099
24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
24101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail;
24103 {
24104 arg2 = static_cast<int >(SWIG_As_int(obj1));
24105 if (SWIG_arg_fail(2)) SWIG_fail;
24106 }
24107 if (arg1) (arg1)->m_format = arg2;
24108
24109 Py_INCREF(Py_None); resultobj = Py_None;
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj = NULL;
24118 wxListItem *arg1 = (wxListItem *) 0 ;
24119 int result;
24120 PyObject * obj0 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
24126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail;
24128 result = (int) ((arg1)->m_format);
24129
24130 {
24131 resultobj = SWIG_From_int(static_cast<int >(result));
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj = NULL;
24141 wxListItem *arg1 = (wxListItem *) 0 ;
24142 int arg2 ;
24143 PyObject * obj0 = 0 ;
24144 PyObject * obj1 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self",(char *) "m_width", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
24150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail;
24152 {
24153 arg2 = static_cast<int >(SWIG_As_int(obj1));
24154 if (SWIG_arg_fail(2)) SWIG_fail;
24155 }
24156 if (arg1) (arg1)->m_width = arg2;
24157
24158 Py_INCREF(Py_None); resultobj = Py_None;
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj = NULL;
24167 wxListItem *arg1 = (wxListItem *) 0 ;
24168 int result;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
24175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24176 if (SWIG_arg_fail(1)) SWIG_fail;
24177 result = (int) ((arg1)->m_width);
24178
24179 {
24180 resultobj = SWIG_From_int(static_cast<int >(result));
24181 }
24182 return resultobj;
24183 fail:
24184 return NULL;
24185 }
24186
24187
24188 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
24189 PyObject *obj;
24190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24191 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24192 Py_INCREF(obj);
24193 return Py_BuildValue((char *)"");
24194 }
24195 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj = NULL;
24197 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24198 int arg2 = (int) 0 ;
24199 wxListEvent *result;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "commandType",(char *) "id", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24207 if (obj0) {
24208 {
24209 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
24210 if (SWIG_arg_fail(1)) SWIG_fail;
24211 }
24212 }
24213 if (obj1) {
24214 {
24215 arg2 = static_cast<int >(SWIG_As_int(obj1));
24216 if (SWIG_arg_fail(2)) SWIG_fail;
24217 }
24218 }
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24227 return resultobj;
24228 fail:
24229 return NULL;
24230 }
24231
24232
24233 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj = NULL;
24235 wxListEvent *arg1 = (wxListEvent *) 0 ;
24236 int arg2 ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self",(char *) "m_code", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
24244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail;
24246 {
24247 arg2 = static_cast<int >(SWIG_As_int(obj1));
24248 if (SWIG_arg_fail(2)) SWIG_fail;
24249 }
24250 if (arg1) (arg1)->m_code = arg2;
24251
24252 Py_INCREF(Py_None); resultobj = Py_None;
24253 return resultobj;
24254 fail:
24255 return NULL;
24256 }
24257
24258
24259 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj = NULL;
24261 wxListEvent *arg1 = (wxListEvent *) 0 ;
24262 int result;
24263 PyObject * obj0 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
24269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail;
24271 result = (int) ((arg1)->m_code);
24272
24273 {
24274 resultobj = SWIG_From_int(static_cast<int >(result));
24275 }
24276 return resultobj;
24277 fail:
24278 return NULL;
24279 }
24280
24281
24282 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24283 PyObject *resultobj = NULL;
24284 wxListEvent *arg1 = (wxListEvent *) 0 ;
24285 long arg2 ;
24286 PyObject * obj0 = 0 ;
24287 PyObject * obj1 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self",(char *) "m_oldItemIndex", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24294 if (SWIG_arg_fail(1)) SWIG_fail;
24295 {
24296 arg2 = static_cast<long >(SWIG_As_long(obj1));
24297 if (SWIG_arg_fail(2)) SWIG_fail;
24298 }
24299 if (arg1) (arg1)->m_oldItemIndex = arg2;
24300
24301 Py_INCREF(Py_None); resultobj = Py_None;
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj = NULL;
24310 wxListEvent *arg1 = (wxListEvent *) 0 ;
24311 long result;
24312 PyObject * obj0 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
24318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail;
24320 result = (long) ((arg1)->m_oldItemIndex);
24321
24322 {
24323 resultobj = SWIG_From_long(static_cast<long >(result));
24324 }
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj = NULL;
24333 wxListEvent *arg1 = (wxListEvent *) 0 ;
24334 long arg2 ;
24335 PyObject * obj0 = 0 ;
24336 PyObject * obj1 = 0 ;
24337 char *kwnames[] = {
24338 (char *) "self",(char *) "m_itemIndex", NULL
24339 };
24340
24341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24343 if (SWIG_arg_fail(1)) SWIG_fail;
24344 {
24345 arg2 = static_cast<long >(SWIG_As_long(obj1));
24346 if (SWIG_arg_fail(2)) SWIG_fail;
24347 }
24348 if (arg1) (arg1)->m_itemIndex = arg2;
24349
24350 Py_INCREF(Py_None); resultobj = Py_None;
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj = NULL;
24359 wxListEvent *arg1 = (wxListEvent *) 0 ;
24360 long result;
24361 PyObject * obj0 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
24367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail;
24369 result = (long) ((arg1)->m_itemIndex);
24370
24371 {
24372 resultobj = SWIG_From_long(static_cast<long >(result));
24373 }
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj = NULL;
24382 wxListEvent *arg1 = (wxListEvent *) 0 ;
24383 int arg2 ;
24384 PyObject * obj0 = 0 ;
24385 PyObject * obj1 = 0 ;
24386 char *kwnames[] = {
24387 (char *) "self",(char *) "m_col", NULL
24388 };
24389
24390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
24391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24392 if (SWIG_arg_fail(1)) SWIG_fail;
24393 {
24394 arg2 = static_cast<int >(SWIG_As_int(obj1));
24395 if (SWIG_arg_fail(2)) SWIG_fail;
24396 }
24397 if (arg1) (arg1)->m_col = arg2;
24398
24399 Py_INCREF(Py_None); resultobj = Py_None;
24400 return resultobj;
24401 fail:
24402 return NULL;
24403 }
24404
24405
24406 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj = NULL;
24408 wxListEvent *arg1 = (wxListEvent *) 0 ;
24409 int result;
24410 PyObject * obj0 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self", NULL
24413 };
24414
24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
24416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24417 if (SWIG_arg_fail(1)) SWIG_fail;
24418 result = (int) ((arg1)->m_col);
24419
24420 {
24421 resultobj = SWIG_From_int(static_cast<int >(result));
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj = NULL;
24431 wxListEvent *arg1 = (wxListEvent *) 0 ;
24432 wxPoint *arg2 = (wxPoint *) 0 ;
24433 PyObject * obj0 = 0 ;
24434 PyObject * obj1 = 0 ;
24435 char *kwnames[] = {
24436 (char *) "self",(char *) "m_pointDrag", NULL
24437 };
24438
24439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
24440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail;
24442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24443 if (SWIG_arg_fail(2)) SWIG_fail;
24444 if (arg1) (arg1)->m_pointDrag = *arg2;
24445
24446 Py_INCREF(Py_None); resultobj = Py_None;
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj = NULL;
24455 wxListEvent *arg1 = (wxListEvent *) 0 ;
24456 wxPoint *result;
24457 PyObject * obj0 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
24463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24464 if (SWIG_arg_fail(1)) SWIG_fail;
24465 result = (wxPoint *)& ((arg1)->m_pointDrag);
24466
24467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24468 return resultobj;
24469 fail:
24470 return NULL;
24471 }
24472
24473
24474 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj = NULL;
24476 wxListEvent *arg1 = (wxListEvent *) 0 ;
24477 wxListItem *result;
24478 PyObject * obj0 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
24484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail;
24486 result = (wxListItem *)& ((arg1)->m_item);
24487
24488 {
24489 resultobj = wxPyMake_wxObject(result, (bool)0);
24490 }
24491 return resultobj;
24492 fail:
24493 return NULL;
24494 }
24495
24496
24497 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
24498 PyObject *resultobj = NULL;
24499 wxListEvent *arg1 = (wxListEvent *) 0 ;
24500 int result;
24501 PyObject * obj0 = 0 ;
24502 char *kwnames[] = {
24503 (char *) "self", NULL
24504 };
24505
24506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail;
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (int)(arg1)->GetKeyCode();
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 {
24517 resultobj = SWIG_From_int(static_cast<int >(result));
24518 }
24519 return resultobj;
24520 fail:
24521 return NULL;
24522 }
24523
24524
24525 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj = NULL;
24527 wxListEvent *arg1 = (wxListEvent *) 0 ;
24528 long result;
24529 PyObject * obj0 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
24535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail;
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 result = (long)(arg1)->GetIndex();
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 {
24545 resultobj = SWIG_From_long(static_cast<long >(result));
24546 }
24547 return resultobj;
24548 fail:
24549 return NULL;
24550 }
24551
24552
24553 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24554 PyObject *resultobj = NULL;
24555 wxListEvent *arg1 = (wxListEvent *) 0 ;
24556 int result;
24557 PyObject * obj0 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "self", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
24563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24564 if (SWIG_arg_fail(1)) SWIG_fail;
24565 {
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 result = (int)(arg1)->GetColumn();
24568
24569 wxPyEndAllowThreads(__tstate);
24570 if (PyErr_Occurred()) SWIG_fail;
24571 }
24572 {
24573 resultobj = SWIG_From_int(static_cast<int >(result));
24574 }
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj = NULL;
24583 wxListEvent *arg1 = (wxListEvent *) 0 ;
24584 wxPoint result;
24585 PyObject * obj0 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
24591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail;
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = (arg1)->GetPoint();
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 {
24601 wxPoint * resultptr;
24602 resultptr = new wxPoint(static_cast<wxPoint & >(result));
24603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24604 }
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj = NULL;
24613 wxListEvent *arg1 = (wxListEvent *) 0 ;
24614 wxString *result;
24615 PyObject * obj0 = 0 ;
24616 char *kwnames[] = {
24617 (char *) "self", NULL
24618 };
24619
24620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
24621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24622 if (SWIG_arg_fail(1)) SWIG_fail;
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 {
24626 wxString const &_result_ref = (arg1)->GetLabel();
24627 result = (wxString *) &_result_ref;
24628 }
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 #if wxUSE_UNICODE
24635 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24636 #else
24637 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24638 #endif
24639 }
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj = NULL;
24648 wxListEvent *arg1 = (wxListEvent *) 0 ;
24649 wxString *result;
24650 PyObject * obj0 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
24656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail;
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 {
24661 wxString const &_result_ref = (arg1)->GetText();
24662 result = (wxString *) &_result_ref;
24663 }
24664
24665 wxPyEndAllowThreads(__tstate);
24666 if (PyErr_Occurred()) SWIG_fail;
24667 }
24668 {
24669 #if wxUSE_UNICODE
24670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24671 #else
24672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24673 #endif
24674 }
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj = NULL;
24683 wxListEvent *arg1 = (wxListEvent *) 0 ;
24684 int result;
24685 PyObject * obj0 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
24691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail;
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = (int)(arg1)->GetImage();
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 resultobj = SWIG_From_int(static_cast<int >(result));
24702 }
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj = NULL;
24711 wxListEvent *arg1 = (wxListEvent *) 0 ;
24712 long result;
24713 PyObject * obj0 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
24719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail;
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (long)(arg1)->GetData();
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 {
24729 resultobj = SWIG_From_long(static_cast<long >(result));
24730 }
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj = NULL;
24739 wxListEvent *arg1 = (wxListEvent *) 0 ;
24740 long result;
24741 PyObject * obj0 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
24747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24748 if (SWIG_arg_fail(1)) SWIG_fail;
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 result = (long)(arg1)->GetMask();
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 {
24757 resultobj = SWIG_From_long(static_cast<long >(result));
24758 }
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj = NULL;
24767 wxListEvent *arg1 = (wxListEvent *) 0 ;
24768 wxListItem *result;
24769 PyObject * obj0 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
24775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail;
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 {
24780 wxListItem const &_result_ref = (arg1)->GetItem();
24781 result = (wxListItem *) &_result_ref;
24782 }
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24788 return resultobj;
24789 fail:
24790 return NULL;
24791 }
24792
24793
24794 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj = NULL;
24796 wxListEvent *arg1 = (wxListEvent *) 0 ;
24797 long result;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
24804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail;
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = (long)(arg1)->GetCacheFrom();
24809
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 {
24814 resultobj = SWIG_From_long(static_cast<long >(result));
24815 }
24816 return resultobj;
24817 fail:
24818 return NULL;
24819 }
24820
24821
24822 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj = NULL;
24824 wxListEvent *arg1 = (wxListEvent *) 0 ;
24825 long result;
24826 PyObject * obj0 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
24832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24833 if (SWIG_arg_fail(1)) SWIG_fail;
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (long)(arg1)->GetCacheTo();
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 {
24842 resultobj = SWIG_From_long(static_cast<long >(result));
24843 }
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj = NULL;
24852 wxListEvent *arg1 = (wxListEvent *) 0 ;
24853 bool result;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail;
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 {
24870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24871 }
24872 return resultobj;
24873 fail:
24874 return NULL;
24875 }
24876
24877
24878 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
24879 PyObject *resultobj = NULL;
24880 wxListEvent *arg1 = (wxListEvent *) 0 ;
24881 bool arg2 ;
24882 PyObject * obj0 = 0 ;
24883 PyObject * obj1 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self",(char *) "editCancelled", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail;
24891 {
24892 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
24893 if (SWIG_arg_fail(2)) SWIG_fail;
24894 }
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 (arg1)->SetEditCanceled(arg2);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 Py_INCREF(Py_None); resultobj = Py_None;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
24910 PyObject *obj;
24911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
24913 Py_INCREF(obj);
24914 return Py_BuildValue((char *)"");
24915 }
24916 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj = NULL;
24918 wxWindow *arg1 = (wxWindow *) 0 ;
24919 int arg2 = (int) -1 ;
24920 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24921 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24922 wxSize const &arg4_defvalue = wxDefaultSize ;
24923 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24924 long arg5 = (long) wxLC_ICON ;
24925 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24926 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24927 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24928 wxString *arg7 = (wxString *) &arg7_defvalue ;
24929 wxPyListCtrl *result;
24930 wxPoint temp3 ;
24931 wxSize temp4 ;
24932 bool temp7 = false ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 PyObject * obj2 = 0 ;
24936 PyObject * obj3 = 0 ;
24937 PyObject * obj4 = 0 ;
24938 PyObject * obj5 = 0 ;
24939 PyObject * obj6 = 0 ;
24940 char *kwnames[] = {
24941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24942 };
24943
24944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail;
24947 if (obj1) {
24948 {
24949 arg2 = static_cast<int >(SWIG_As_int(obj1));
24950 if (SWIG_arg_fail(2)) SWIG_fail;
24951 }
24952 }
24953 if (obj2) {
24954 {
24955 arg3 = &temp3;
24956 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24957 }
24958 }
24959 if (obj3) {
24960 {
24961 arg4 = &temp4;
24962 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24963 }
24964 }
24965 if (obj4) {
24966 {
24967 arg5 = static_cast<long >(SWIG_As_long(obj4));
24968 if (SWIG_arg_fail(5)) SWIG_fail;
24969 }
24970 }
24971 if (obj5) {
24972 {
24973 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24974 if (SWIG_arg_fail(6)) SWIG_fail;
24975 if (arg6 == NULL) {
24976 SWIG_null_ref("wxValidator");
24977 }
24978 if (SWIG_arg_fail(6)) SWIG_fail;
24979 }
24980 }
24981 if (obj6) {
24982 {
24983 arg7 = wxString_in_helper(obj6);
24984 if (arg7 == NULL) SWIG_fail;
24985 temp7 = true;
24986 }
24987 }
24988 {
24989 if (!wxPyCheckForApp()) SWIG_fail;
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
24997 {
24998 if (temp7)
24999 delete arg7;
25000 }
25001 return resultobj;
25002 fail:
25003 {
25004 if (temp7)
25005 delete arg7;
25006 }
25007 return NULL;
25008 }
25009
25010
25011 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25012 PyObject *resultobj = NULL;
25013 wxPyListCtrl *result;
25014 char *kwnames[] = {
25015 NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25019 {
25020 if (!wxPyCheckForApp()) SWIG_fail;
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 result = (wxPyListCtrl *)new wxPyListCtrl();
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25028 return resultobj;
25029 fail:
25030 return NULL;
25031 }
25032
25033
25034 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25035 PyObject *resultobj = NULL;
25036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25037 wxWindow *arg2 = (wxWindow *) 0 ;
25038 int arg3 = (int) -1 ;
25039 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25040 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25041 wxSize const &arg5_defvalue = wxDefaultSize ;
25042 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25043 long arg6 = (long) wxLC_ICON ;
25044 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25045 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25046 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25047 wxString *arg8 = (wxString *) &arg8_defvalue ;
25048 bool result;
25049 wxPoint temp4 ;
25050 wxSize temp5 ;
25051 bool temp8 = false ;
25052 PyObject * obj0 = 0 ;
25053 PyObject * obj1 = 0 ;
25054 PyObject * obj2 = 0 ;
25055 PyObject * obj3 = 0 ;
25056 PyObject * obj4 = 0 ;
25057 PyObject * obj5 = 0 ;
25058 PyObject * obj6 = 0 ;
25059 PyObject * obj7 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail;
25067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25068 if (SWIG_arg_fail(2)) SWIG_fail;
25069 if (obj2) {
25070 {
25071 arg3 = static_cast<int >(SWIG_As_int(obj2));
25072 if (SWIG_arg_fail(3)) SWIG_fail;
25073 }
25074 }
25075 if (obj3) {
25076 {
25077 arg4 = &temp4;
25078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25079 }
25080 }
25081 if (obj4) {
25082 {
25083 arg5 = &temp5;
25084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25085 }
25086 }
25087 if (obj5) {
25088 {
25089 arg6 = static_cast<long >(SWIG_As_long(obj5));
25090 if (SWIG_arg_fail(6)) SWIG_fail;
25091 }
25092 }
25093 if (obj6) {
25094 {
25095 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25096 if (SWIG_arg_fail(7)) SWIG_fail;
25097 if (arg7 == NULL) {
25098 SWIG_null_ref("wxValidator");
25099 }
25100 if (SWIG_arg_fail(7)) SWIG_fail;
25101 }
25102 }
25103 if (obj7) {
25104 {
25105 arg8 = wxString_in_helper(obj7);
25106 if (arg8 == NULL) SWIG_fail;
25107 temp8 = true;
25108 }
25109 }
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 {
25118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25119 }
25120 {
25121 if (temp8)
25122 delete arg8;
25123 }
25124 return resultobj;
25125 fail:
25126 {
25127 if (temp8)
25128 delete arg8;
25129 }
25130 return NULL;
25131 }
25132
25133
25134 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj = NULL;
25136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25137 PyObject *arg2 = (PyObject *) 0 ;
25138 PyObject *arg3 = (PyObject *) 0 ;
25139 PyObject * obj0 = 0 ;
25140 PyObject * obj1 = 0 ;
25141 PyObject * obj2 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self",(char *) "self",(char *) "_class", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25148 if (SWIG_arg_fail(1)) SWIG_fail;
25149 arg2 = obj1;
25150 arg3 = obj2;
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 (arg1)->_setCallbackInfo(arg2,arg3);
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 Py_INCREF(Py_None); resultobj = Py_None;
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj = NULL;
25167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25168 wxColour *arg2 = 0 ;
25169 bool result;
25170 wxColour temp2 ;
25171 PyObject * obj0 = 0 ;
25172 PyObject * obj1 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self",(char *) "col", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25179 if (SWIG_arg_fail(1)) SWIG_fail;
25180 {
25181 arg2 = &temp2;
25182 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25183 }
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 {
25192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25193 }
25194 return resultobj;
25195 fail:
25196 return NULL;
25197 }
25198
25199
25200 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj = NULL;
25202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25203 wxColour *arg2 = 0 ;
25204 bool result;
25205 wxColour temp2 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "col", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail;
25215 {
25216 arg2 = &temp2;
25217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25218 }
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 {
25227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25228 }
25229 return resultobj;
25230 fail:
25231 return NULL;
25232 }
25233
25234
25235 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj = NULL;
25237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25238 int arg2 ;
25239 wxListItem *result;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self",(char *) "col", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
25247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail;
25249 {
25250 arg2 = static_cast<int >(SWIG_As_int(obj1));
25251 if (SWIG_arg_fail(2)) SWIG_fail;
25252 }
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25256
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 {
25261 resultobj = wxPyMake_wxObject(result, (bool)0);
25262 }
25263 return resultobj;
25264 fail:
25265 return NULL;
25266 }
25267
25268
25269 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25270 PyObject *resultobj = NULL;
25271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25272 int arg2 ;
25273 wxListItem *arg3 = 0 ;
25274 bool result;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 PyObject * obj2 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "col",(char *) "item", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
25283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail;
25285 {
25286 arg2 = static_cast<int >(SWIG_As_int(obj1));
25287 if (SWIG_arg_fail(2)) SWIG_fail;
25288 }
25289 {
25290 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25291 if (SWIG_arg_fail(3)) SWIG_fail;
25292 if (arg3 == NULL) {
25293 SWIG_null_ref("wxListItem");
25294 }
25295 if (SWIG_arg_fail(3)) SWIG_fail;
25296 }
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 {
25305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25306 }
25307 return resultobj;
25308 fail:
25309 return NULL;
25310 }
25311
25312
25313 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj = NULL;
25315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25316 int arg2 ;
25317 int result;
25318 PyObject * obj0 = 0 ;
25319 PyObject * obj1 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "self",(char *) "col", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
25325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail;
25327 {
25328 arg2 = static_cast<int >(SWIG_As_int(obj1));
25329 if (SWIG_arg_fail(2)) SWIG_fail;
25330 }
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 {
25339 resultobj = SWIG_From_int(static_cast<int >(result));
25340 }
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj = NULL;
25349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25350 int arg2 ;
25351 int arg3 ;
25352 bool result;
25353 PyObject * obj0 = 0 ;
25354 PyObject * obj1 = 0 ;
25355 PyObject * obj2 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "col",(char *) "width", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail;
25363 {
25364 arg2 = static_cast<int >(SWIG_As_int(obj1));
25365 if (SWIG_arg_fail(2)) SWIG_fail;
25366 }
25367 {
25368 arg3 = static_cast<int >(SWIG_As_int(obj2));
25369 if (SWIG_arg_fail(3)) SWIG_fail;
25370 }
25371 {
25372 PyThreadState* __tstate = wxPyBeginAllowThreads();
25373 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25374
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 {
25379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25380 }
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj = NULL;
25389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25390 int result;
25391 PyObject * obj0 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
25397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail;
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 resultobj = SWIG_From_int(static_cast<int >(result));
25408 }
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj = NULL;
25417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25418 wxRect result;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
25425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail;
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25430
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 {
25435 wxRect * resultptr;
25436 resultptr = new wxRect(static_cast<wxRect & >(result));
25437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25438 }
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj = NULL;
25447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25448 long arg2 ;
25449 int arg3 = (int) 0 ;
25450 wxListItem *result;
25451 PyObject * obj0 = 0 ;
25452 PyObject * obj1 = 0 ;
25453 PyObject * obj2 = 0 ;
25454 char *kwnames[] = {
25455 (char *) "self",(char *) "itemId",(char *) "col", NULL
25456 };
25457
25458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail;
25461 {
25462 arg2 = static_cast<long >(SWIG_As_long(obj1));
25463 if (SWIG_arg_fail(2)) SWIG_fail;
25464 }
25465 if (obj2) {
25466 {
25467 arg3 = static_cast<int >(SWIG_As_int(obj2));
25468 if (SWIG_arg_fail(3)) SWIG_fail;
25469 }
25470 }
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25474
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 {
25479 resultobj = wxPyMake_wxObject(result, (bool)0);
25480 }
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj = NULL;
25489 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25490 wxListItem *arg2 = 0 ;
25491 bool result;
25492 PyObject * obj0 = 0 ;
25493 PyObject * obj1 = 0 ;
25494 char *kwnames[] = {
25495 (char *) "self",(char *) "info", NULL
25496 };
25497
25498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
25499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail;
25501 {
25502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25503 if (SWIG_arg_fail(2)) SWIG_fail;
25504 if (arg2 == NULL) {
25505 SWIG_null_ref("wxListItem");
25506 }
25507 if (SWIG_arg_fail(2)) SWIG_fail;
25508 }
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (bool)(arg1)->SetItem(*arg2);
25512
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj = NULL;
25527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25528 long arg2 ;
25529 int arg3 ;
25530 wxString *arg4 = 0 ;
25531 int arg5 = (int) -1 ;
25532 long result;
25533 bool temp4 = false ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 PyObject * obj2 = 0 ;
25537 PyObject * obj3 = 0 ;
25538 PyObject * obj4 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 arg2 = static_cast<long >(SWIG_As_long(obj1));
25548 if (SWIG_arg_fail(2)) SWIG_fail;
25549 }
25550 {
25551 arg3 = static_cast<int >(SWIG_As_int(obj2));
25552 if (SWIG_arg_fail(3)) SWIG_fail;
25553 }
25554 {
25555 arg4 = wxString_in_helper(obj3);
25556 if (arg4 == NULL) SWIG_fail;
25557 temp4 = true;
25558 }
25559 if (obj4) {
25560 {
25561 arg5 = static_cast<int >(SWIG_As_int(obj4));
25562 if (SWIG_arg_fail(5)) SWIG_fail;
25563 }
25564 }
25565 {
25566 PyThreadState* __tstate = wxPyBeginAllowThreads();
25567 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25568
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 {
25573 resultobj = SWIG_From_long(static_cast<long >(result));
25574 }
25575 {
25576 if (temp4)
25577 delete arg4;
25578 }
25579 return resultobj;
25580 fail:
25581 {
25582 if (temp4)
25583 delete arg4;
25584 }
25585 return NULL;
25586 }
25587
25588
25589 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25590 PyObject *resultobj = NULL;
25591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25592 long arg2 ;
25593 long arg3 ;
25594 int result;
25595 PyObject * obj0 = 0 ;
25596 PyObject * obj1 = 0 ;
25597 PyObject * obj2 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
25603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25604 if (SWIG_arg_fail(1)) SWIG_fail;
25605 {
25606 arg2 = static_cast<long >(SWIG_As_long(obj1));
25607 if (SWIG_arg_fail(2)) SWIG_fail;
25608 }
25609 {
25610 arg3 = static_cast<long >(SWIG_As_long(obj2));
25611 if (SWIG_arg_fail(3)) SWIG_fail;
25612 }
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 {
25621 resultobj = SWIG_From_int(static_cast<int >(result));
25622 }
25623 return resultobj;
25624 fail:
25625 return NULL;
25626 }
25627
25628
25629 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25630 PyObject *resultobj = NULL;
25631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25632 long arg2 ;
25633 long arg3 ;
25634 long arg4 ;
25635 bool result;
25636 PyObject * obj0 = 0 ;
25637 PyObject * obj1 = 0 ;
25638 PyObject * obj2 = 0 ;
25639 PyObject * obj3 = 0 ;
25640 char *kwnames[] = {
25641 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25642 };
25643
25644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail;
25647 {
25648 arg2 = static_cast<long >(SWIG_As_long(obj1));
25649 if (SWIG_arg_fail(2)) SWIG_fail;
25650 }
25651 {
25652 arg3 = static_cast<long >(SWIG_As_long(obj2));
25653 if (SWIG_arg_fail(3)) SWIG_fail;
25654 }
25655 {
25656 arg4 = static_cast<long >(SWIG_As_long(obj3));
25657 if (SWIG_arg_fail(4)) SWIG_fail;
25658 }
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 {
25667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25668 }
25669 return resultobj;
25670 fail:
25671 return NULL;
25672 }
25673
25674
25675 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj = NULL;
25677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25678 long arg2 ;
25679 int arg3 ;
25680 int arg4 = (int) -1 ;
25681 bool result;
25682 PyObject * obj0 = 0 ;
25683 PyObject * obj1 = 0 ;
25684 PyObject * obj2 = 0 ;
25685 PyObject * obj3 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25688 };
25689
25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25692 if (SWIG_arg_fail(1)) SWIG_fail;
25693 {
25694 arg2 = static_cast<long >(SWIG_As_long(obj1));
25695 if (SWIG_arg_fail(2)) SWIG_fail;
25696 }
25697 {
25698 arg3 = static_cast<int >(SWIG_As_int(obj2));
25699 if (SWIG_arg_fail(3)) SWIG_fail;
25700 }
25701 if (obj3) {
25702 {
25703 arg4 = static_cast<int >(SWIG_As_int(obj3));
25704 if (SWIG_arg_fail(4)) SWIG_fail;
25705 }
25706 }
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 {
25715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25716 }
25717 return resultobj;
25718 fail:
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj = NULL;
25725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25726 long arg2 ;
25727 wxString result;
25728 PyObject * obj0 = 0 ;
25729 PyObject * obj1 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self",(char *) "item", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail;
25737 {
25738 arg2 = static_cast<long >(SWIG_As_long(obj1));
25739 if (SWIG_arg_fail(2)) SWIG_fail;
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 #if wxUSE_UNICODE
25750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25751 #else
25752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25753 #endif
25754 }
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj = NULL;
25763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25764 long arg2 ;
25765 wxString *arg3 = 0 ;
25766 bool temp3 = false ;
25767 PyObject * obj0 = 0 ;
25768 PyObject * obj1 = 0 ;
25769 PyObject * obj2 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self",(char *) "item",(char *) "str", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25776 if (SWIG_arg_fail(1)) SWIG_fail;
25777 {
25778 arg2 = static_cast<long >(SWIG_As_long(obj1));
25779 if (SWIG_arg_fail(2)) SWIG_fail;
25780 }
25781 {
25782 arg3 = wxString_in_helper(obj2);
25783 if (arg3 == NULL) SWIG_fail;
25784 temp3 = true;
25785 }
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 Py_INCREF(Py_None); resultobj = Py_None;
25794 {
25795 if (temp3)
25796 delete arg3;
25797 }
25798 return resultobj;
25799 fail:
25800 {
25801 if (temp3)
25802 delete arg3;
25803 }
25804 return NULL;
25805 }
25806
25807
25808 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25809 PyObject *resultobj = NULL;
25810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25811 long arg2 ;
25812 long result;
25813 PyObject * obj0 = 0 ;
25814 PyObject * obj1 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self",(char *) "item", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
25822 {
25823 arg2 = static_cast<long >(SWIG_As_long(obj1));
25824 if (SWIG_arg_fail(2)) SWIG_fail;
25825 }
25826 {
25827 PyThreadState* __tstate = wxPyBeginAllowThreads();
25828 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25829
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 {
25834 resultobj = SWIG_From_long(static_cast<long >(result));
25835 }
25836 return resultobj;
25837 fail:
25838 return NULL;
25839 }
25840
25841
25842 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj = NULL;
25844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25845 long arg2 ;
25846 long arg3 ;
25847 bool result;
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 PyObject * obj2 = 0 ;
25851 char *kwnames[] = {
25852 (char *) "self",(char *) "item",(char *) "data", NULL
25853 };
25854
25855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail;
25858 {
25859 arg2 = static_cast<long >(SWIG_As_long(obj1));
25860 if (SWIG_arg_fail(2)) SWIG_fail;
25861 }
25862 {
25863 arg3 = static_cast<long >(SWIG_As_long(obj2));
25864 if (SWIG_arg_fail(3)) SWIG_fail;
25865 }
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (bool)(arg1)->SetItemData(arg2,arg3);
25869
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 {
25874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25875 }
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj = NULL;
25884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25885 long arg2 ;
25886 wxPoint result;
25887 PyObject * obj0 = 0 ;
25888 PyObject * obj1 = 0 ;
25889 char *kwnames[] = {
25890 (char *) "self",(char *) "item", NULL
25891 };
25892
25893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
25894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail;
25896 {
25897 arg2 = static_cast<long >(SWIG_As_long(obj1));
25898 if (SWIG_arg_fail(2)) SWIG_fail;
25899 }
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 {
25908 wxPoint * resultptr;
25909 resultptr = new wxPoint(static_cast<wxPoint & >(result));
25910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25911 }
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
25919 PyObject *resultobj = NULL;
25920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25921 long arg2 ;
25922 int arg3 = (int) wxLIST_RECT_BOUNDS ;
25923 wxRect result;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 PyObject * obj2 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "item",(char *) "code", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
25932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail;
25934 {
25935 arg2 = static_cast<long >(SWIG_As_long(obj1));
25936 if (SWIG_arg_fail(2)) SWIG_fail;
25937 }
25938 if (obj2) {
25939 {
25940 arg3 = static_cast<int >(SWIG_As_int(obj2));
25941 if (SWIG_arg_fail(3)) SWIG_fail;
25942 }
25943 }
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 {
25952 wxRect * resultptr;
25953 resultptr = new wxRect(static_cast<wxRect & >(result));
25954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25955 }
25956 return resultobj;
25957 fail:
25958 return NULL;
25959 }
25960
25961
25962 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
25963 PyObject *resultobj = NULL;
25964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25965 long arg2 ;
25966 wxPoint *arg3 = 0 ;
25967 bool result;
25968 wxPoint temp3 ;
25969 PyObject * obj0 = 0 ;
25970 PyObject * obj1 = 0 ;
25971 PyObject * obj2 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "item",(char *) "pos", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail;
25979 {
25980 arg2 = static_cast<long >(SWIG_As_long(obj1));
25981 if (SWIG_arg_fail(2)) SWIG_fail;
25982 }
25983 {
25984 arg3 = &temp3;
25985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25986 }
25987 {
25988 PyThreadState* __tstate = wxPyBeginAllowThreads();
25989 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
25990
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
25994 {
25995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25996 }
25997 return resultobj;
25998 fail:
25999 return NULL;
26000 }
26001
26002
26003 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26004 PyObject *resultobj = NULL;
26005 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26006 int result;
26007 PyObject * obj0 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
26013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail;
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 {
26023 resultobj = SWIG_From_int(static_cast<int >(result));
26024 }
26025 return resultobj;
26026 fail:
26027 return NULL;
26028 }
26029
26030
26031 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
26032 PyObject *resultobj = NULL;
26033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26034 int result;
26035 PyObject * obj0 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
26041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail;
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26046
26047 wxPyEndAllowThreads(__tstate);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
26050 {
26051 resultobj = SWIG_From_int(static_cast<int >(result));
26052 }
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
26060 PyObject *resultobj = NULL;
26061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26062 wxSize result;
26063 PyObject * obj0 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
26069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail;
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 {
26079 wxSize * resultptr;
26080 resultptr = new wxSize(static_cast<wxSize & >(result));
26081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26082 }
26083 return resultobj;
26084 fail:
26085 return NULL;
26086 }
26087
26088
26089 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
26090 PyObject *resultobj = NULL;
26091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26092 int arg2 ;
26093 bool arg3 = (bool) false ;
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 PyObject * obj2 = 0 ;
26097 char *kwnames[] = {
26098 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26099 };
26100
26101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
26102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail;
26104 {
26105 arg2 = static_cast<int >(SWIG_As_int(obj1));
26106 if (SWIG_arg_fail(2)) SWIG_fail;
26107 }
26108 if (obj2) {
26109 {
26110 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26111 if (SWIG_arg_fail(3)) SWIG_fail;
26112 }
26113 }
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 (arg1)->SetItemSpacing(arg2,arg3);
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 Py_INCREF(Py_None); resultobj = Py_None;
26122 return resultobj;
26123 fail:
26124 return NULL;
26125 }
26126
26127
26128 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj = NULL;
26130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26131 int result;
26132 PyObject * obj0 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
26138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail;
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 {
26148 resultobj = SWIG_From_int(static_cast<int >(result));
26149 }
26150 return resultobj;
26151 fail:
26152 return NULL;
26153 }
26154
26155
26156 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj = NULL;
26158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26159 wxColour result;
26160 PyObject * obj0 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
26166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail;
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 {
26176 wxColour * resultptr;
26177 resultptr = new wxColour(static_cast<wxColour & >(result));
26178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26179 }
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj = NULL;
26188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26189 wxColour *arg2 = 0 ;
26190 wxColour temp2 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "col", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
26200 {
26201 arg2 = &temp2;
26202 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26203 }
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 (arg1)->SetTextColour((wxColour const &)*arg2);
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 Py_INCREF(Py_None); resultobj = Py_None;
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj = NULL;
26220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26221 long result;
26222 PyObject * obj0 = 0 ;
26223 char *kwnames[] = {
26224 (char *) "self", NULL
26225 };
26226
26227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
26228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail;
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 {
26238 resultobj = SWIG_From_long(static_cast<long >(result));
26239 }
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj = NULL;
26248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26249 long arg2 ;
26250 bool arg3 = (bool) true ;
26251 PyObject * obj0 = 0 ;
26252 PyObject * obj1 = 0 ;
26253 PyObject * obj2 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self",(char *) "style",(char *) "add", NULL
26256 };
26257
26258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
26259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail;
26261 {
26262 arg2 = static_cast<long >(SWIG_As_long(obj1));
26263 if (SWIG_arg_fail(2)) SWIG_fail;
26264 }
26265 if (obj2) {
26266 {
26267 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26268 if (SWIG_arg_fail(3)) SWIG_fail;
26269 }
26270 }
26271 {
26272 PyThreadState* __tstate = wxPyBeginAllowThreads();
26273 (arg1)->SetSingleStyle(arg2,arg3);
26274
26275 wxPyEndAllowThreads(__tstate);
26276 if (PyErr_Occurred()) SWIG_fail;
26277 }
26278 Py_INCREF(Py_None); resultobj = Py_None;
26279 return resultobj;
26280 fail:
26281 return NULL;
26282 }
26283
26284
26285 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
26286 PyObject *resultobj = NULL;
26287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26288 long arg2 ;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self",(char *) "style", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
26296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail;
26298 {
26299 arg2 = static_cast<long >(SWIG_As_long(obj1));
26300 if (SWIG_arg_fail(2)) SWIG_fail;
26301 }
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 (arg1)->SetWindowStyleFlag(arg2);
26305
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 Py_INCREF(Py_None); resultobj = Py_None;
26310 return resultobj;
26311 fail:
26312 return NULL;
26313 }
26314
26315
26316 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj = NULL;
26318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26319 long arg2 ;
26320 int arg3 = (int) wxLIST_NEXT_ALL ;
26321 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26322 long result;
26323 PyObject * obj0 = 0 ;
26324 PyObject * obj1 = 0 ;
26325 PyObject * obj2 = 0 ;
26326 PyObject * obj3 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26333 if (SWIG_arg_fail(1)) SWIG_fail;
26334 {
26335 arg2 = static_cast<long >(SWIG_As_long(obj1));
26336 if (SWIG_arg_fail(2)) SWIG_fail;
26337 }
26338 if (obj2) {
26339 {
26340 arg3 = static_cast<int >(SWIG_As_int(obj2));
26341 if (SWIG_arg_fail(3)) SWIG_fail;
26342 }
26343 }
26344 if (obj3) {
26345 {
26346 arg4 = static_cast<int >(SWIG_As_int(obj3));
26347 if (SWIG_arg_fail(4)) SWIG_fail;
26348 }
26349 }
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 resultobj = SWIG_From_long(static_cast<long >(result));
26359 }
26360 return resultobj;
26361 fail:
26362 return NULL;
26363 }
26364
26365
26366 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj = NULL;
26368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26369 int arg2 ;
26370 wxImageList *result;
26371 PyObject * obj0 = 0 ;
26372 PyObject * obj1 = 0 ;
26373 char *kwnames[] = {
26374 (char *) "self",(char *) "which", NULL
26375 };
26376
26377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
26378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26379 if (SWIG_arg_fail(1)) SWIG_fail;
26380 {
26381 arg2 = static_cast<int >(SWIG_As_int(obj1));
26382 if (SWIG_arg_fail(2)) SWIG_fail;
26383 }
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 {
26392 resultobj = wxPyMake_wxObject(result, (bool)0);
26393 }
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26401 PyObject *resultobj = NULL;
26402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26403 wxImageList *arg2 = (wxImageList *) 0 ;
26404 int arg3 ;
26405 PyObject * obj0 = 0 ;
26406 PyObject * obj1 = 0 ;
26407 PyObject * obj2 = 0 ;
26408 char *kwnames[] = {
26409 (char *) "self",(char *) "imageList",(char *) "which", NULL
26410 };
26411
26412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail;
26415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26416 if (SWIG_arg_fail(2)) SWIG_fail;
26417 {
26418 arg3 = static_cast<int >(SWIG_As_int(obj2));
26419 if (SWIG_arg_fail(3)) SWIG_fail;
26420 }
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 (arg1)->SetImageList(arg2,arg3);
26424
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 Py_INCREF(Py_None); resultobj = Py_None;
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj = NULL;
26437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26438 wxImageList *arg2 = (wxImageList *) 0 ;
26439 int arg3 ;
26440 PyObject * obj0 = 0 ;
26441 PyObject * obj1 = 0 ;
26442 PyObject * obj2 = 0 ;
26443 char *kwnames[] = {
26444 (char *) "self",(char *) "imageList",(char *) "which", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26451 if (SWIG_arg_fail(2)) SWIG_fail;
26452 {
26453 arg3 = static_cast<int >(SWIG_As_int(obj2));
26454 if (SWIG_arg_fail(3)) SWIG_fail;
26455 }
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 (arg1)->AssignImageList(arg2,arg3);
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 Py_INCREF(Py_None); resultobj = Py_None;
26464 return resultobj;
26465 fail:
26466 return NULL;
26467 }
26468
26469
26470 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
26471 PyObject *resultobj = NULL;
26472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26473 bool result;
26474 PyObject * obj0 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
26480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26481 if (SWIG_arg_fail(1)) SWIG_fail;
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 {
26490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26491 }
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj = NULL;
26500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26501 bool result;
26502 PyObject * obj0 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
26508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail;
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 {
26518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26519 }
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
26527 PyObject *resultobj = NULL;
26528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26529 long arg2 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self",(char *) "item", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
26537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail;
26539 {
26540 arg2 = static_cast<long >(SWIG_As_long(obj1));
26541 if (SWIG_arg_fail(2)) SWIG_fail;
26542 }
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 (arg1)->RefreshItem(arg2);
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 Py_INCREF(Py_None); resultobj = Py_None;
26551 return resultobj;
26552 fail:
26553 return NULL;
26554 }
26555
26556
26557 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
26558 PyObject *resultobj = NULL;
26559 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26560 long arg2 ;
26561 long arg3 ;
26562 PyObject * obj0 = 0 ;
26563 PyObject * obj1 = 0 ;
26564 PyObject * obj2 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26567 };
26568
26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
26570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail;
26572 {
26573 arg2 = static_cast<long >(SWIG_As_long(obj1));
26574 if (SWIG_arg_fail(2)) SWIG_fail;
26575 }
26576 {
26577 arg3 = static_cast<long >(SWIG_As_long(obj2));
26578 if (SWIG_arg_fail(3)) SWIG_fail;
26579 }
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->RefreshItems(arg2,arg3);
26583
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 Py_INCREF(Py_None); resultobj = Py_None;
26588 return resultobj;
26589 fail:
26590 return NULL;
26591 }
26592
26593
26594 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
26595 PyObject *resultobj = NULL;
26596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26597 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26598 bool result;
26599 PyObject * obj0 = 0 ;
26600 PyObject * obj1 = 0 ;
26601 char *kwnames[] = {
26602 (char *) "self",(char *) "flag", NULL
26603 };
26604
26605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
26606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail;
26608 if (obj1) {
26609 {
26610 arg2 = static_cast<int >(SWIG_As_int(obj1));
26611 if (SWIG_arg_fail(2)) SWIG_fail;
26612 }
26613 }
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (bool)(arg1)->Arrange(arg2);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 {
26622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26623 }
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
26631 PyObject *resultobj = NULL;
26632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26633 long arg2 ;
26634 bool result;
26635 PyObject * obj0 = 0 ;
26636 PyObject * obj1 = 0 ;
26637 char *kwnames[] = {
26638 (char *) "self",(char *) "item", NULL
26639 };
26640
26641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
26642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail;
26644 {
26645 arg2 = static_cast<long >(SWIG_As_long(obj1));
26646 if (SWIG_arg_fail(2)) SWIG_fail;
26647 }
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 result = (bool)(arg1)->DeleteItem(arg2);
26651
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 {
26656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26657 }
26658 return resultobj;
26659 fail:
26660 return NULL;
26661 }
26662
26663
26664 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
26665 PyObject *resultobj = NULL;
26666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26667 bool result;
26668 PyObject * obj0 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(1)) SWIG_fail;
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 result = (bool)(arg1)->DeleteAllItems();
26679
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 {
26684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26685 }
26686 return resultobj;
26687 fail:
26688 return NULL;
26689 }
26690
26691
26692 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26693 PyObject *resultobj = NULL;
26694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26695 int arg2 ;
26696 bool result;
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 char *kwnames[] = {
26700 (char *) "self",(char *) "col", NULL
26701 };
26702
26703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
26704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail;
26706 {
26707 arg2 = static_cast<int >(SWIG_As_int(obj1));
26708 if (SWIG_arg_fail(2)) SWIG_fail;
26709 }
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 result = (bool)(arg1)->DeleteColumn(arg2);
26713
26714 wxPyEndAllowThreads(__tstate);
26715 if (PyErr_Occurred()) SWIG_fail;
26716 }
26717 {
26718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26719 }
26720 return resultobj;
26721 fail:
26722 return NULL;
26723 }
26724
26725
26726 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
26727 PyObject *resultobj = NULL;
26728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26729 bool result;
26730 PyObject * obj0 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
26736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail;
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 result = (bool)(arg1)->DeleteAllColumns();
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
26745 {
26746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26747 }
26748 return resultobj;
26749 fail:
26750 return NULL;
26751 }
26752
26753
26754 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj = NULL;
26756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26757 PyObject * obj0 = 0 ;
26758 char *kwnames[] = {
26759 (char *) "self", NULL
26760 };
26761
26762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
26763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail;
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 (arg1)->ClearAll();
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 Py_INCREF(Py_None); resultobj = Py_None;
26773 return resultobj;
26774 fail:
26775 return NULL;
26776 }
26777
26778
26779 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26780 PyObject *resultobj = NULL;
26781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26782 long arg2 ;
26783 PyObject * obj0 = 0 ;
26784 PyObject * obj1 = 0 ;
26785 char *kwnames[] = {
26786 (char *) "self",(char *) "item", NULL
26787 };
26788
26789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26791 if (SWIG_arg_fail(1)) SWIG_fail;
26792 {
26793 arg2 = static_cast<long >(SWIG_As_long(obj1));
26794 if (SWIG_arg_fail(2)) SWIG_fail;
26795 }
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 (arg1)->EditLabel(arg2);
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 Py_INCREF(Py_None); resultobj = Py_None;
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj = NULL;
26812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26813 long arg2 ;
26814 bool result;
26815 PyObject * obj0 = 0 ;
26816 PyObject * obj1 = 0 ;
26817 char *kwnames[] = {
26818 (char *) "self",(char *) "item", NULL
26819 };
26820
26821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26823 if (SWIG_arg_fail(1)) SWIG_fail;
26824 {
26825 arg2 = static_cast<long >(SWIG_As_long(obj1));
26826 if (SWIG_arg_fail(2)) SWIG_fail;
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (bool)(arg1)->EnsureVisible(arg2);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 {
26836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26837 }
26838 return resultobj;
26839 fail:
26840 return NULL;
26841 }
26842
26843
26844 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
26845 PyObject *resultobj = NULL;
26846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26847 long arg2 ;
26848 wxString *arg3 = 0 ;
26849 bool arg4 = (bool) false ;
26850 long result;
26851 bool temp3 = false ;
26852 PyObject * obj0 = 0 ;
26853 PyObject * obj1 = 0 ;
26854 PyObject * obj2 = 0 ;
26855 PyObject * obj3 = 0 ;
26856 char *kwnames[] = {
26857 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26858 };
26859
26860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail;
26863 {
26864 arg2 = static_cast<long >(SWIG_As_long(obj1));
26865 if (SWIG_arg_fail(2)) SWIG_fail;
26866 }
26867 {
26868 arg3 = wxString_in_helper(obj2);
26869 if (arg3 == NULL) SWIG_fail;
26870 temp3 = true;
26871 }
26872 if (obj3) {
26873 {
26874 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
26875 if (SWIG_arg_fail(4)) SWIG_fail;
26876 }
26877 }
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
26881
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = SWIG_From_long(static_cast<long >(result));
26887 }
26888 {
26889 if (temp3)
26890 delete arg3;
26891 }
26892 return resultobj;
26893 fail:
26894 {
26895 if (temp3)
26896 delete arg3;
26897 }
26898 return NULL;
26899 }
26900
26901
26902 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj = NULL;
26904 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26905 long arg2 ;
26906 long arg3 ;
26907 long result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 PyObject * obj2 = 0 ;
26911 char *kwnames[] = {
26912 (char *) "self",(char *) "start",(char *) "data", NULL
26913 };
26914
26915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail;
26918 {
26919 arg2 = static_cast<long >(SWIG_As_long(obj1));
26920 if (SWIG_arg_fail(2)) SWIG_fail;
26921 }
26922 {
26923 arg3 = static_cast<long >(SWIG_As_long(obj2));
26924 if (SWIG_arg_fail(3)) SWIG_fail;
26925 }
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
26928 result = (long)(arg1)->FindItem(arg2,arg3);
26929
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 {
26934 resultobj = SWIG_From_long(static_cast<long >(result));
26935 }
26936 return resultobj;
26937 fail:
26938 return NULL;
26939 }
26940
26941
26942 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
26943 PyObject *resultobj = NULL;
26944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26945 long arg2 ;
26946 wxPoint *arg3 = 0 ;
26947 int arg4 ;
26948 long result;
26949 wxPoint temp3 ;
26950 PyObject * obj0 = 0 ;
26951 PyObject * obj1 = 0 ;
26952 PyObject * obj2 = 0 ;
26953 PyObject * obj3 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
26956 };
26957
26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26960 if (SWIG_arg_fail(1)) SWIG_fail;
26961 {
26962 arg2 = static_cast<long >(SWIG_As_long(obj1));
26963 if (SWIG_arg_fail(2)) SWIG_fail;
26964 }
26965 {
26966 arg3 = &temp3;
26967 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26968 }
26969 {
26970 arg4 = static_cast<int >(SWIG_As_int(obj3));
26971 if (SWIG_arg_fail(4)) SWIG_fail;
26972 }
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 {
26981 resultobj = SWIG_From_long(static_cast<long >(result));
26982 }
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26990 PyObject *resultobj = NULL;
26991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26992 wxPoint *arg2 = 0 ;
26993 int *arg3 = 0 ;
26994 long result;
26995 wxPoint temp2 ;
26996 int temp3 ;
26997 int res3 = 0 ;
26998 PyObject * obj0 = 0 ;
26999 PyObject * obj1 = 0 ;
27000 char *kwnames[] = {
27001 (char *) "self",(char *) "point", NULL
27002 };
27003
27004 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27007 if (SWIG_arg_fail(1)) SWIG_fail;
27008 {
27009 arg2 = &temp2;
27010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27011 }
27012 {
27013 PyThreadState* __tstate = wxPyBeginAllowThreads();
27014 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27015
27016 wxPyEndAllowThreads(__tstate);
27017 if (PyErr_Occurred()) SWIG_fail;
27018 }
27019 {
27020 resultobj = SWIG_From_long(static_cast<long >(result));
27021 }
27022 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27023 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27024 return resultobj;
27025 fail:
27026 return NULL;
27027 }
27028
27029
27030 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27031 PyObject *resultobj = NULL;
27032 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27033 wxListItem *arg2 = 0 ;
27034 long result;
27035 PyObject * obj0 = 0 ;
27036 PyObject * obj1 = 0 ;
27037 char *kwnames[] = {
27038 (char *) "self",(char *) "info", NULL
27039 };
27040
27041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
27042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail;
27044 {
27045 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27046 if (SWIG_arg_fail(2)) SWIG_fail;
27047 if (arg2 == NULL) {
27048 SWIG_null_ref("wxListItem");
27049 }
27050 if (SWIG_arg_fail(2)) SWIG_fail;
27051 }
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = (long)(arg1)->InsertItem(*arg2);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 resultobj = SWIG_From_long(static_cast<long >(result));
27061 }
27062 return resultobj;
27063 fail:
27064 return NULL;
27065 }
27066
27067
27068 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj = NULL;
27070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27071 long arg2 ;
27072 wxString *arg3 = 0 ;
27073 int arg4 = (int) -1 ;
27074 long result;
27075 bool temp3 = false ;
27076 PyObject * obj0 = 0 ;
27077 PyObject * obj1 = 0 ;
27078 PyObject * obj2 = 0 ;
27079 PyObject * obj3 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail;
27087 {
27088 arg2 = static_cast<long >(SWIG_As_long(obj1));
27089 if (SWIG_arg_fail(2)) SWIG_fail;
27090 }
27091 {
27092 arg3 = wxString_in_helper(obj2);
27093 if (arg3 == NULL) SWIG_fail;
27094 temp3 = true;
27095 }
27096 if (obj3) {
27097 {
27098 arg4 = static_cast<int >(SWIG_As_int(obj3));
27099 if (SWIG_arg_fail(4)) SWIG_fail;
27100 }
27101 }
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 {
27110 resultobj = SWIG_From_long(static_cast<long >(result));
27111 }
27112 {
27113 if (temp3)
27114 delete arg3;
27115 }
27116 return resultobj;
27117 fail:
27118 {
27119 if (temp3)
27120 delete arg3;
27121 }
27122 return NULL;
27123 }
27124
27125
27126 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
27127 PyObject *resultobj = NULL;
27128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27129 long arg2 ;
27130 int arg3 ;
27131 long result;
27132 PyObject * obj0 = 0 ;
27133 PyObject * obj1 = 0 ;
27134 PyObject * obj2 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 {
27143 arg2 = static_cast<long >(SWIG_As_long(obj1));
27144 if (SWIG_arg_fail(2)) SWIG_fail;
27145 }
27146 {
27147 arg3 = static_cast<int >(SWIG_As_int(obj2));
27148 if (SWIG_arg_fail(3)) SWIG_fail;
27149 }
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 result = (long)(arg1)->InsertItem(arg2,arg3);
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 {
27158 resultobj = SWIG_From_long(static_cast<long >(result));
27159 }
27160 return resultobj;
27161 fail:
27162 return NULL;
27163 }
27164
27165
27166 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27167 PyObject *resultobj = NULL;
27168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27169 long arg2 ;
27170 wxString *arg3 = 0 ;
27171 int arg4 ;
27172 long result;
27173 bool temp3 = false ;
27174 PyObject * obj0 = 0 ;
27175 PyObject * obj1 = 0 ;
27176 PyObject * obj2 = 0 ;
27177 PyObject * obj3 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27184 if (SWIG_arg_fail(1)) SWIG_fail;
27185 {
27186 arg2 = static_cast<long >(SWIG_As_long(obj1));
27187 if (SWIG_arg_fail(2)) SWIG_fail;
27188 }
27189 {
27190 arg3 = wxString_in_helper(obj2);
27191 if (arg3 == NULL) SWIG_fail;
27192 temp3 = true;
27193 }
27194 {
27195 arg4 = static_cast<int >(SWIG_As_int(obj3));
27196 if (SWIG_arg_fail(4)) SWIG_fail;
27197 }
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27201
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 {
27206 resultobj = SWIG_From_long(static_cast<long >(result));
27207 }
27208 {
27209 if (temp3)
27210 delete arg3;
27211 }
27212 return resultobj;
27213 fail:
27214 {
27215 if (temp3)
27216 delete arg3;
27217 }
27218 return NULL;
27219 }
27220
27221
27222 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
27223 PyObject *resultobj = NULL;
27224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27225 long arg2 ;
27226 wxListItem *arg3 = 0 ;
27227 long result;
27228 PyObject * obj0 = 0 ;
27229 PyObject * obj1 = 0 ;
27230 PyObject * obj2 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self",(char *) "col",(char *) "info", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail;
27238 {
27239 arg2 = static_cast<long >(SWIG_As_long(obj1));
27240 if (SWIG_arg_fail(2)) SWIG_fail;
27241 }
27242 {
27243 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27244 if (SWIG_arg_fail(3)) SWIG_fail;
27245 if (arg3 == NULL) {
27246 SWIG_null_ref("wxListItem");
27247 }
27248 if (SWIG_arg_fail(3)) SWIG_fail;
27249 }
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27253
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 {
27258 resultobj = SWIG_From_long(static_cast<long >(result));
27259 }
27260 return resultobj;
27261 fail:
27262 return NULL;
27263 }
27264
27265
27266 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
27267 PyObject *resultobj = NULL;
27268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27269 long arg2 ;
27270 wxString *arg3 = 0 ;
27271 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27272 int arg5 = (int) -1 ;
27273 long result;
27274 bool temp3 = false ;
27275 PyObject * obj0 = 0 ;
27276 PyObject * obj1 = 0 ;
27277 PyObject * obj2 = 0 ;
27278 PyObject * obj3 = 0 ;
27279 PyObject * obj4 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail;
27287 {
27288 arg2 = static_cast<long >(SWIG_As_long(obj1));
27289 if (SWIG_arg_fail(2)) SWIG_fail;
27290 }
27291 {
27292 arg3 = wxString_in_helper(obj2);
27293 if (arg3 == NULL) SWIG_fail;
27294 temp3 = true;
27295 }
27296 if (obj3) {
27297 {
27298 arg4 = static_cast<int >(SWIG_As_int(obj3));
27299 if (SWIG_arg_fail(4)) SWIG_fail;
27300 }
27301 }
27302 if (obj4) {
27303 {
27304 arg5 = static_cast<int >(SWIG_As_int(obj4));
27305 if (SWIG_arg_fail(5)) SWIG_fail;
27306 }
27307 }
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27311
27312 wxPyEndAllowThreads(__tstate);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 {
27316 resultobj = SWIG_From_long(static_cast<long >(result));
27317 }
27318 {
27319 if (temp3)
27320 delete arg3;
27321 }
27322 return resultobj;
27323 fail:
27324 {
27325 if (temp3)
27326 delete arg3;
27327 }
27328 return NULL;
27329 }
27330
27331
27332 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
27333 PyObject *resultobj = NULL;
27334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27335 long arg2 ;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self",(char *) "count", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
27343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail;
27345 {
27346 arg2 = static_cast<long >(SWIG_As_long(obj1));
27347 if (SWIG_arg_fail(2)) SWIG_fail;
27348 }
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 (arg1)->SetItemCount(arg2);
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 Py_INCREF(Py_None); resultobj = Py_None;
27357 return resultobj;
27358 fail:
27359 return NULL;
27360 }
27361
27362
27363 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
27364 PyObject *resultobj = NULL;
27365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27366 int arg2 ;
27367 int arg3 ;
27368 bool result;
27369 PyObject * obj0 = 0 ;
27370 PyObject * obj1 = 0 ;
27371 PyObject * obj2 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self",(char *) "dx",(char *) "dy", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail;
27379 {
27380 arg2 = static_cast<int >(SWIG_As_int(obj1));
27381 if (SWIG_arg_fail(2)) SWIG_fail;
27382 }
27383 {
27384 arg3 = static_cast<int >(SWIG_As_int(obj2));
27385 if (SWIG_arg_fail(3)) SWIG_fail;
27386 }
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 result = (bool)(arg1)->ScrollList(arg2,arg3);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 {
27395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27396 }
27397 return resultobj;
27398 fail:
27399 return NULL;
27400 }
27401
27402
27403 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27404 PyObject *resultobj = NULL;
27405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27406 long arg2 ;
27407 wxColour *arg3 = 0 ;
27408 wxColour temp3 ;
27409 PyObject * obj0 = 0 ;
27410 PyObject * obj1 = 0 ;
27411 PyObject * obj2 = 0 ;
27412 char *kwnames[] = {
27413 (char *) "self",(char *) "item",(char *) "col", NULL
27414 };
27415
27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 {
27420 arg2 = static_cast<long >(SWIG_As_long(obj1));
27421 if (SWIG_arg_fail(2)) SWIG_fail;
27422 }
27423 {
27424 arg3 = &temp3;
27425 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27426 }
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27430
27431 wxPyEndAllowThreads(__tstate);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 Py_INCREF(Py_None); resultobj = Py_None;
27435 return resultobj;
27436 fail:
27437 return NULL;
27438 }
27439
27440
27441 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27442 PyObject *resultobj = NULL;
27443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27444 long arg2 ;
27445 wxColour result;
27446 PyObject * obj0 = 0 ;
27447 PyObject * obj1 = 0 ;
27448 char *kwnames[] = {
27449 (char *) "self",(char *) "item", NULL
27450 };
27451
27452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
27453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail;
27455 {
27456 arg2 = static_cast<long >(SWIG_As_long(obj1));
27457 if (SWIG_arg_fail(2)) SWIG_fail;
27458 }
27459 {
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27462
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 {
27467 wxColour * resultptr;
27468 resultptr = new wxColour(static_cast<wxColour & >(result));
27469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27470 }
27471 return resultobj;
27472 fail:
27473 return NULL;
27474 }
27475
27476
27477 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj = NULL;
27479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27480 long arg2 ;
27481 wxColour *arg3 = 0 ;
27482 wxColour temp3 ;
27483 PyObject * obj0 = 0 ;
27484 PyObject * obj1 = 0 ;
27485 PyObject * obj2 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self",(char *) "item",(char *) "col", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27492 if (SWIG_arg_fail(1)) SWIG_fail;
27493 {
27494 arg2 = static_cast<long >(SWIG_As_long(obj1));
27495 if (SWIG_arg_fail(2)) SWIG_fail;
27496 }
27497 {
27498 arg3 = &temp3;
27499 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27500 }
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27504
27505 wxPyEndAllowThreads(__tstate);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 Py_INCREF(Py_None); resultobj = Py_None;
27509 return resultobj;
27510 fail:
27511 return NULL;
27512 }
27513
27514
27515 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj = NULL;
27517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27518 long arg2 ;
27519 wxColour result;
27520 PyObject * obj0 = 0 ;
27521 PyObject * obj1 = 0 ;
27522 char *kwnames[] = {
27523 (char *) "self",(char *) "item", NULL
27524 };
27525
27526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
27527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail;
27529 {
27530 arg2 = static_cast<long >(SWIG_As_long(obj1));
27531 if (SWIG_arg_fail(2)) SWIG_fail;
27532 }
27533 {
27534 PyThreadState* __tstate = wxPyBeginAllowThreads();
27535 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27536
27537 wxPyEndAllowThreads(__tstate);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 }
27540 {
27541 wxColour * resultptr;
27542 resultptr = new wxColour(static_cast<wxColour & >(result));
27543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27544 }
27545 return resultobj;
27546 fail:
27547 return NULL;
27548 }
27549
27550
27551 static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj = NULL;
27553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27554 long arg2 ;
27555 wxFont *arg3 = 0 ;
27556 PyObject * obj0 = 0 ;
27557 PyObject * obj1 = 0 ;
27558 PyObject * obj2 = 0 ;
27559 char *kwnames[] = {
27560 (char *) "self",(char *) "item",(char *) "f", NULL
27561 };
27562
27563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27565 if (SWIG_arg_fail(1)) SWIG_fail;
27566 {
27567 arg2 = static_cast<long >(SWIG_As_long(obj1));
27568 if (SWIG_arg_fail(2)) SWIG_fail;
27569 }
27570 {
27571 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27572 if (SWIG_arg_fail(3)) SWIG_fail;
27573 if (arg3 == NULL) {
27574 SWIG_null_ref("wxFont");
27575 }
27576 if (SWIG_arg_fail(3)) SWIG_fail;
27577 }
27578 {
27579 PyThreadState* __tstate = wxPyBeginAllowThreads();
27580 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27581
27582 wxPyEndAllowThreads(__tstate);
27583 if (PyErr_Occurred()) SWIG_fail;
27584 }
27585 Py_INCREF(Py_None); resultobj = Py_None;
27586 return resultobj;
27587 fail:
27588 return NULL;
27589 }
27590
27591
27592 static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27593 PyObject *resultobj = NULL;
27594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27595 long arg2 ;
27596 wxFont result;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
27599 char *kwnames[] = {
27600 (char *) "self",(char *) "item", NULL
27601 };
27602
27603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail;
27606 {
27607 arg2 = static_cast<long >(SWIG_As_long(obj1));
27608 if (SWIG_arg_fail(2)) SWIG_fail;
27609 }
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27613
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 {
27618 wxFont * resultptr;
27619 resultptr = new wxFont(static_cast<wxFont & >(result));
27620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27621 }
27622 return resultobj;
27623 fail:
27624 return NULL;
27625 }
27626
27627
27628 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
27629 PyObject *resultobj = NULL;
27630 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27631 PyObject *arg2 = (PyObject *) 0 ;
27632 bool result;
27633 PyObject * obj0 = 0 ;
27634 PyObject * obj1 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self",(char *) "func", NULL
27637 };
27638
27639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
27640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27641 if (SWIG_arg_fail(1)) SWIG_fail;
27642 arg2 = obj1;
27643 {
27644 PyThreadState* __tstate = wxPyBeginAllowThreads();
27645 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27646
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 {
27651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27652 }
27653 return resultobj;
27654 fail:
27655 return NULL;
27656 }
27657
27658
27659 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27660 PyObject *resultobj = NULL;
27661 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27662 wxWindow *result;
27663 PyObject * obj0 = 0 ;
27664 char *kwnames[] = {
27665 (char *) "self", NULL
27666 };
27667
27668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
27669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27670 if (SWIG_arg_fail(1)) SWIG_fail;
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27674
27675 wxPyEndAllowThreads(__tstate);
27676 if (PyErr_Occurred()) SWIG_fail;
27677 }
27678 {
27679 resultobj = wxPyMake_wxObject(result, 0);
27680 }
27681 return resultobj;
27682 fail:
27683 return NULL;
27684 }
27685
27686
27687 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
27688 PyObject *resultobj = NULL;
27689 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
27690 wxVisualAttributes result;
27691 PyObject * obj0 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "variant", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27697 if (obj0) {
27698 {
27699 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
27700 if (SWIG_arg_fail(1)) SWIG_fail;
27701 }
27702 }
27703 {
27704 if (!wxPyCheckForApp()) SWIG_fail;
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
27707
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 {
27712 wxVisualAttributes * resultptr;
27713 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
27714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27715 }
27716 return resultobj;
27717 fail:
27718 return NULL;
27719 }
27720
27721
27722 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
27723 PyObject *obj;
27724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27725 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27726 Py_INCREF(obj);
27727 return Py_BuildValue((char *)"");
27728 }
27729 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
27730 PyObject *resultobj = NULL;
27731 wxWindow *arg1 = (wxWindow *) 0 ;
27732 int arg2 = (int) -1 ;
27733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27735 wxSize const &arg4_defvalue = wxDefaultSize ;
27736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27737 long arg5 = (long) wxLC_REPORT ;
27738 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27739 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27740 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27741 wxString *arg7 = (wxString *) &arg7_defvalue ;
27742 wxListView *result;
27743 wxPoint temp3 ;
27744 wxSize temp4 ;
27745 bool temp7 = false ;
27746 PyObject * obj0 = 0 ;
27747 PyObject * obj1 = 0 ;
27748 PyObject * obj2 = 0 ;
27749 PyObject * obj3 = 0 ;
27750 PyObject * obj4 = 0 ;
27751 PyObject * obj5 = 0 ;
27752 PyObject * obj6 = 0 ;
27753 char *kwnames[] = {
27754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27755 };
27756
27757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27759 if (SWIG_arg_fail(1)) SWIG_fail;
27760 if (obj1) {
27761 {
27762 arg2 = static_cast<int >(SWIG_As_int(obj1));
27763 if (SWIG_arg_fail(2)) SWIG_fail;
27764 }
27765 }
27766 if (obj2) {
27767 {
27768 arg3 = &temp3;
27769 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27770 }
27771 }
27772 if (obj3) {
27773 {
27774 arg4 = &temp4;
27775 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27776 }
27777 }
27778 if (obj4) {
27779 {
27780 arg5 = static_cast<long >(SWIG_As_long(obj4));
27781 if (SWIG_arg_fail(5)) SWIG_fail;
27782 }
27783 }
27784 if (obj5) {
27785 {
27786 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27787 if (SWIG_arg_fail(6)) SWIG_fail;
27788 if (arg6 == NULL) {
27789 SWIG_null_ref("wxValidator");
27790 }
27791 if (SWIG_arg_fail(6)) SWIG_fail;
27792 }
27793 }
27794 if (obj6) {
27795 {
27796 arg7 = wxString_in_helper(obj6);
27797 if (arg7 == NULL) SWIG_fail;
27798 temp7 = true;
27799 }
27800 }
27801 {
27802 if (!wxPyCheckForApp()) SWIG_fail;
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27805
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27810 {
27811 if (temp7)
27812 delete arg7;
27813 }
27814 return resultobj;
27815 fail:
27816 {
27817 if (temp7)
27818 delete arg7;
27819 }
27820 return NULL;
27821 }
27822
27823
27824 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
27825 PyObject *resultobj = NULL;
27826 wxListView *result;
27827 char *kwnames[] = {
27828 NULL
27829 };
27830
27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27832 {
27833 if (!wxPyCheckForApp()) SWIG_fail;
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (wxListView *)new wxListView();
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj = NULL;
27849 wxListView *arg1 = (wxListView *) 0 ;
27850 wxWindow *arg2 = (wxWindow *) 0 ;
27851 int arg3 = (int) -1 ;
27852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27854 wxSize const &arg5_defvalue = wxDefaultSize ;
27855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27856 long arg6 = (long) wxLC_REPORT ;
27857 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27858 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27859 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
27860 wxString *arg8 = (wxString *) &arg8_defvalue ;
27861 bool result;
27862 wxPoint temp4 ;
27863 wxSize temp5 ;
27864 bool temp8 = false ;
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867 PyObject * obj2 = 0 ;
27868 PyObject * obj3 = 0 ;
27869 PyObject * obj4 = 0 ;
27870 PyObject * obj5 = 0 ;
27871 PyObject * obj6 = 0 ;
27872 PyObject * obj7 = 0 ;
27873 char *kwnames[] = {
27874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27875 };
27876
27877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
27878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail;
27880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27881 if (SWIG_arg_fail(2)) SWIG_fail;
27882 if (obj2) {
27883 {
27884 arg3 = static_cast<int >(SWIG_As_int(obj2));
27885 if (SWIG_arg_fail(3)) SWIG_fail;
27886 }
27887 }
27888 if (obj3) {
27889 {
27890 arg4 = &temp4;
27891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27892 }
27893 }
27894 if (obj4) {
27895 {
27896 arg5 = &temp5;
27897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27898 }
27899 }
27900 if (obj5) {
27901 {
27902 arg6 = static_cast<long >(SWIG_As_long(obj5));
27903 if (SWIG_arg_fail(6)) SWIG_fail;
27904 }
27905 }
27906 if (obj6) {
27907 {
27908 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27909 if (SWIG_arg_fail(7)) SWIG_fail;
27910 if (arg7 == NULL) {
27911 SWIG_null_ref("wxValidator");
27912 }
27913 if (SWIG_arg_fail(7)) SWIG_fail;
27914 }
27915 }
27916 if (obj7) {
27917 {
27918 arg8 = wxString_in_helper(obj7);
27919 if (arg8 == NULL) SWIG_fail;
27920 temp8 = true;
27921 }
27922 }
27923 {
27924 PyThreadState* __tstate = wxPyBeginAllowThreads();
27925 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
27926
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 {
27931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27932 }
27933 {
27934 if (temp8)
27935 delete arg8;
27936 }
27937 return resultobj;
27938 fail:
27939 {
27940 if (temp8)
27941 delete arg8;
27942 }
27943 return NULL;
27944 }
27945
27946
27947 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
27948 PyObject *resultobj = NULL;
27949 wxListView *arg1 = (wxListView *) 0 ;
27950 long arg2 ;
27951 bool arg3 = (bool) true ;
27952 PyObject * obj0 = 0 ;
27953 PyObject * obj1 = 0 ;
27954 PyObject * obj2 = 0 ;
27955 char *kwnames[] = {
27956 (char *) "self",(char *) "n",(char *) "on", NULL
27957 };
27958
27959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
27960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27961 if (SWIG_arg_fail(1)) SWIG_fail;
27962 {
27963 arg2 = static_cast<long >(SWIG_As_long(obj1));
27964 if (SWIG_arg_fail(2)) SWIG_fail;
27965 }
27966 if (obj2) {
27967 {
27968 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
27969 if (SWIG_arg_fail(3)) SWIG_fail;
27970 }
27971 }
27972 {
27973 PyThreadState* __tstate = wxPyBeginAllowThreads();
27974 (arg1)->Select(arg2,arg3);
27975
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 Py_INCREF(Py_None); resultobj = Py_None;
27980 return resultobj;
27981 fail:
27982 return NULL;
27983 }
27984
27985
27986 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
27987 PyObject *resultobj = NULL;
27988 wxListView *arg1 = (wxListView *) 0 ;
27989 long arg2 ;
27990 PyObject * obj0 = 0 ;
27991 PyObject * obj1 = 0 ;
27992 char *kwnames[] = {
27993 (char *) "self",(char *) "index", NULL
27994 };
27995
27996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
27997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail;
27999 {
28000 arg2 = static_cast<long >(SWIG_As_long(obj1));
28001 if (SWIG_arg_fail(2)) SWIG_fail;
28002 }
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 (arg1)->Focus(arg2);
28006
28007 wxPyEndAllowThreads(__tstate);
28008 if (PyErr_Occurred()) SWIG_fail;
28009 }
28010 Py_INCREF(Py_None); resultobj = Py_None;
28011 return resultobj;
28012 fail:
28013 return NULL;
28014 }
28015
28016
28017 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
28018 PyObject *resultobj = NULL;
28019 wxListView *arg1 = (wxListView *) 0 ;
28020 long result;
28021 PyObject * obj0 = 0 ;
28022 char *kwnames[] = {
28023 (char *) "self", NULL
28024 };
28025
28026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
28027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail;
28029 {
28030 PyThreadState* __tstate = wxPyBeginAllowThreads();
28031 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28032
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037 resultobj = SWIG_From_long(static_cast<long >(result));
28038 }
28039 return resultobj;
28040 fail:
28041 return NULL;
28042 }
28043
28044
28045 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28046 PyObject *resultobj = NULL;
28047 wxListView *arg1 = (wxListView *) 0 ;
28048 long arg2 ;
28049 long result;
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "item", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
28057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail;
28059 {
28060 arg2 = static_cast<long >(SWIG_As_long(obj1));
28061 if (SWIG_arg_fail(2)) SWIG_fail;
28062 }
28063 {
28064 PyThreadState* __tstate = wxPyBeginAllowThreads();
28065 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28066
28067 wxPyEndAllowThreads(__tstate);
28068 if (PyErr_Occurred()) SWIG_fail;
28069 }
28070 {
28071 resultobj = SWIG_From_long(static_cast<long >(result));
28072 }
28073 return resultobj;
28074 fail:
28075 return NULL;
28076 }
28077
28078
28079 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28080 PyObject *resultobj = NULL;
28081 wxListView *arg1 = (wxListView *) 0 ;
28082 long result;
28083 PyObject * obj0 = 0 ;
28084 char *kwnames[] = {
28085 (char *) "self", NULL
28086 };
28087
28088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
28089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28090 if (SWIG_arg_fail(1)) SWIG_fail;
28091 {
28092 PyThreadState* __tstate = wxPyBeginAllowThreads();
28093 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28094
28095 wxPyEndAllowThreads(__tstate);
28096 if (PyErr_Occurred()) SWIG_fail;
28097 }
28098 {
28099 resultobj = SWIG_From_long(static_cast<long >(result));
28100 }
28101 return resultobj;
28102 fail:
28103 return NULL;
28104 }
28105
28106
28107 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28108 PyObject *resultobj = NULL;
28109 wxListView *arg1 = (wxListView *) 0 ;
28110 long arg2 ;
28111 bool result;
28112 PyObject * obj0 = 0 ;
28113 PyObject * obj1 = 0 ;
28114 char *kwnames[] = {
28115 (char *) "self",(char *) "index", NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
28119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail;
28121 {
28122 arg2 = static_cast<long >(SWIG_As_long(obj1));
28123 if (SWIG_arg_fail(2)) SWIG_fail;
28124 }
28125 {
28126 PyThreadState* __tstate = wxPyBeginAllowThreads();
28127 result = (bool)(arg1)->IsSelected(arg2);
28128
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 {
28133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28134 }
28135 return resultobj;
28136 fail:
28137 return NULL;
28138 }
28139
28140
28141 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28142 PyObject *resultobj = NULL;
28143 wxListView *arg1 = (wxListView *) 0 ;
28144 int arg2 ;
28145 int arg3 ;
28146 PyObject * obj0 = 0 ;
28147 PyObject * obj1 = 0 ;
28148 PyObject * obj2 = 0 ;
28149 char *kwnames[] = {
28150 (char *) "self",(char *) "col",(char *) "image", NULL
28151 };
28152
28153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail;
28156 {
28157 arg2 = static_cast<int >(SWIG_As_int(obj1));
28158 if (SWIG_arg_fail(2)) SWIG_fail;
28159 }
28160 {
28161 arg3 = static_cast<int >(SWIG_As_int(obj2));
28162 if (SWIG_arg_fail(3)) SWIG_fail;
28163 }
28164 {
28165 PyThreadState* __tstate = wxPyBeginAllowThreads();
28166 (arg1)->SetColumnImage(arg2,arg3);
28167
28168 wxPyEndAllowThreads(__tstate);
28169 if (PyErr_Occurred()) SWIG_fail;
28170 }
28171 Py_INCREF(Py_None); resultobj = Py_None;
28172 return resultobj;
28173 fail:
28174 return NULL;
28175 }
28176
28177
28178 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28179 PyObject *resultobj = NULL;
28180 wxListView *arg1 = (wxListView *) 0 ;
28181 int arg2 ;
28182 PyObject * obj0 = 0 ;
28183 PyObject * obj1 = 0 ;
28184 char *kwnames[] = {
28185 (char *) "self",(char *) "col", NULL
28186 };
28187
28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
28189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail;
28191 {
28192 arg2 = static_cast<int >(SWIG_As_int(obj1));
28193 if (SWIG_arg_fail(2)) SWIG_fail;
28194 }
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 (arg1)->ClearColumnImage(arg2);
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 Py_INCREF(Py_None); resultobj = Py_None;
28203 return resultobj;
28204 fail:
28205 return NULL;
28206 }
28207
28208
28209 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
28210 PyObject *obj;
28211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28212 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28213 Py_INCREF(obj);
28214 return Py_BuildValue((char *)"");
28215 }
28216 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
28217 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28218 return 1;
28219 }
28220
28221
28222 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
28223 PyObject *pyobj = NULL;
28224
28225 {
28226 #if wxUSE_UNICODE
28227 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28228 #else
28229 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28230 #endif
28231 }
28232 return pyobj;
28233 }
28234
28235
28236 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28237 PyObject *resultobj = NULL;
28238 wxTreeItemId *result;
28239 char *kwnames[] = {
28240 NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 result = (wxTreeItemId *)new wxTreeItemId();
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28252 return resultobj;
28253 fail:
28254 return NULL;
28255 }
28256
28257
28258 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj = NULL;
28260 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28261 PyObject * obj0 = 0 ;
28262 char *kwnames[] = {
28263 (char *) "self", NULL
28264 };
28265
28266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
28267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28268 if (SWIG_arg_fail(1)) SWIG_fail;
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 delete arg1;
28272
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 Py_INCREF(Py_None); resultobj = Py_None;
28277 return resultobj;
28278 fail:
28279 return NULL;
28280 }
28281
28282
28283 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
28284 PyObject *resultobj = NULL;
28285 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28286 bool result;
28287 PyObject * obj0 = 0 ;
28288 char *kwnames[] = {
28289 (char *) "self", NULL
28290 };
28291
28292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
28293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28294 if (SWIG_arg_fail(1)) SWIG_fail;
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 {
28303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28304 }
28305 return resultobj;
28306 fail:
28307 return NULL;
28308 }
28309
28310
28311 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
28312 PyObject *resultobj = NULL;
28313 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28314 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28315 bool result;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 char *kwnames[] = {
28319 (char *) "self",(char *) "other", NULL
28320 };
28321
28322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
28323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28324 if (SWIG_arg_fail(1)) SWIG_fail;
28325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28326 if (SWIG_arg_fail(2)) SWIG_fail;
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 {
28335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28336 }
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj = NULL;
28345 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28346 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28347 bool result;
28348 PyObject * obj0 = 0 ;
28349 PyObject * obj1 = 0 ;
28350 char *kwnames[] = {
28351 (char *) "self",(char *) "other", NULL
28352 };
28353
28354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
28355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28356 if (SWIG_arg_fail(1)) SWIG_fail;
28357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28358 if (SWIG_arg_fail(2)) SWIG_fail;
28359 {
28360 PyThreadState* __tstate = wxPyBeginAllowThreads();
28361 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28362
28363 wxPyEndAllowThreads(__tstate);
28364 if (PyErr_Occurred()) SWIG_fail;
28365 }
28366 {
28367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28368 }
28369 return resultobj;
28370 fail:
28371 return NULL;
28372 }
28373
28374
28375 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
28376 PyObject *resultobj = NULL;
28377 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28378 void *arg2 = (void *) 0 ;
28379 PyObject * obj0 = 0 ;
28380 PyObject * obj1 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self",(char *) "m_pItem", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
28386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28387 if (SWIG_arg_fail(1)) SWIG_fail;
28388 {
28389 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
28390 SWIG_arg_fail(2);SWIG_fail;
28391 }
28392 }
28393 if (arg1) (arg1)->m_pItem = arg2;
28394
28395 Py_INCREF(Py_None); resultobj = Py_None;
28396 return resultobj;
28397 fail:
28398 return NULL;
28399 }
28400
28401
28402 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
28403 PyObject *resultobj = NULL;
28404 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28405 void *result;
28406 PyObject * obj0 = 0 ;
28407 char *kwnames[] = {
28408 (char *) "self", NULL
28409 };
28410
28411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
28412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail;
28414 result = (void *) ((arg1)->m_pItem);
28415
28416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28417 return resultobj;
28418 fail:
28419 return NULL;
28420 }
28421
28422
28423 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
28424 PyObject *obj;
28425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28426 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28427 Py_INCREF(obj);
28428 return Py_BuildValue((char *)"");
28429 }
28430 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28431 PyObject *resultobj = NULL;
28432 PyObject *arg1 = (PyObject *) NULL ;
28433 wxPyTreeItemData *result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "obj", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28440 if (obj0) {
28441 arg1 = obj0;
28442 }
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28446
28447 wxPyEndAllowThreads(__tstate);
28448 if (PyErr_Occurred()) SWIG_fail;
28449 }
28450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28451 return resultobj;
28452 fail:
28453 return NULL;
28454 }
28455
28456
28457 static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28458 PyObject *resultobj = NULL;
28459 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28460 PyObject * obj0 = 0 ;
28461 char *kwnames[] = {
28462 (char *) "self", NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail;
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 delete arg1;
28471
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
28475 Py_INCREF(Py_None); resultobj = Py_None;
28476 return resultobj;
28477 fail:
28478 return NULL;
28479 }
28480
28481
28482 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
28483 PyObject *resultobj = NULL;
28484 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28485 PyObject *result;
28486 PyObject * obj0 = 0 ;
28487 char *kwnames[] = {
28488 (char *) "self", NULL
28489 };
28490
28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
28492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail;
28494 {
28495 PyThreadState* __tstate = wxPyBeginAllowThreads();
28496 result = (PyObject *)(arg1)->GetData();
28497
28498 wxPyEndAllowThreads(__tstate);
28499 if (PyErr_Occurred()) SWIG_fail;
28500 }
28501 resultobj = result;
28502 return resultobj;
28503 fail:
28504 return NULL;
28505 }
28506
28507
28508 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
28509 PyObject *resultobj = NULL;
28510 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28511 PyObject *arg2 = (PyObject *) 0 ;
28512 PyObject * obj0 = 0 ;
28513 PyObject * obj1 = 0 ;
28514 char *kwnames[] = {
28515 (char *) "self",(char *) "obj", NULL
28516 };
28517
28518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
28519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail;
28521 arg2 = obj1;
28522 {
28523 PyThreadState* __tstate = wxPyBeginAllowThreads();
28524 (arg1)->SetData(arg2);
28525
28526 wxPyEndAllowThreads(__tstate);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 Py_INCREF(Py_None); resultobj = Py_None;
28530 return resultobj;
28531 fail:
28532 return NULL;
28533 }
28534
28535
28536 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
28537 PyObject *resultobj = NULL;
28538 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28539 wxTreeItemId *result;
28540 PyObject * obj0 = 0 ;
28541 char *kwnames[] = {
28542 (char *) "self", NULL
28543 };
28544
28545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
28546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28547 if (SWIG_arg_fail(1)) SWIG_fail;
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 {
28551 wxTreeItemId const &_result_ref = (arg1)->GetId();
28552 result = (wxTreeItemId *) &_result_ref;
28553 }
28554
28555 wxPyEndAllowThreads(__tstate);
28556 if (PyErr_Occurred()) SWIG_fail;
28557 }
28558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28559 return resultobj;
28560 fail:
28561 return NULL;
28562 }
28563
28564
28565 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
28566 PyObject *resultobj = NULL;
28567 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28568 wxTreeItemId *arg2 = 0 ;
28569 PyObject * obj0 = 0 ;
28570 PyObject * obj1 = 0 ;
28571 char *kwnames[] = {
28572 (char *) "self",(char *) "id", NULL
28573 };
28574
28575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
28576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail;
28578 {
28579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28580 if (SWIG_arg_fail(2)) SWIG_fail;
28581 if (arg2 == NULL) {
28582 SWIG_null_ref("wxTreeItemId");
28583 }
28584 if (SWIG_arg_fail(2)) SWIG_fail;
28585 }
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 (arg1)->SetId((wxTreeItemId const &)*arg2);
28589
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 Py_INCREF(Py_None); resultobj = Py_None;
28594 return resultobj;
28595 fail:
28596 return NULL;
28597 }
28598
28599
28600 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28601 PyObject *resultobj = NULL;
28602 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28603 PyObject * obj0 = 0 ;
28604 char *kwnames[] = {
28605 (char *) "self", NULL
28606 };
28607
28608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
28609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail;
28611 {
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 wxPyTreeItemData_Destroy(arg1);
28614
28615 wxPyEndAllowThreads(__tstate);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 Py_INCREF(Py_None); resultobj = Py_None;
28619 return resultobj;
28620 fail:
28621 return NULL;
28622 }
28623
28624
28625 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
28626 PyObject *obj;
28627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28628 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28629 Py_INCREF(obj);
28630 return Py_BuildValue((char *)"");
28631 }
28632 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28633 PyObject *resultobj = NULL;
28634 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28635 int arg2 = (int) 0 ;
28636 wxTreeEvent *result;
28637 PyObject * obj0 = 0 ;
28638 PyObject * obj1 = 0 ;
28639 char *kwnames[] = {
28640 (char *) "commandType",(char *) "id", NULL
28641 };
28642
28643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28644 if (obj0) {
28645 {
28646 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
28647 if (SWIG_arg_fail(1)) SWIG_fail;
28648 }
28649 }
28650 if (obj1) {
28651 {
28652 arg2 = static_cast<int >(SWIG_As_int(obj1));
28653 if (SWIG_arg_fail(2)) SWIG_fail;
28654 }
28655 }
28656 {
28657 PyThreadState* __tstate = wxPyBeginAllowThreads();
28658 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28659
28660 wxPyEndAllowThreads(__tstate);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28664 return resultobj;
28665 fail:
28666 return NULL;
28667 }
28668
28669
28670 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj = NULL;
28672 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28673 wxTreeItemId result;
28674 PyObject * obj0 = 0 ;
28675 char *kwnames[] = {
28676 (char *) "self", NULL
28677 };
28678
28679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
28680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28681 if (SWIG_arg_fail(1)) SWIG_fail;
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = ((wxTreeEvent const *)arg1)->GetItem();
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 {
28690 wxTreeItemId * resultptr;
28691 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28693 }
28694 return resultobj;
28695 fail:
28696 return NULL;
28697 }
28698
28699
28700 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj = NULL;
28702 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28703 wxTreeItemId *arg2 = 0 ;
28704 PyObject * obj0 = 0 ;
28705 PyObject * obj1 = 0 ;
28706 char *kwnames[] = {
28707 (char *) "self",(char *) "item", NULL
28708 };
28709
28710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
28711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail;
28713 {
28714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28715 if (SWIG_arg_fail(2)) SWIG_fail;
28716 if (arg2 == NULL) {
28717 SWIG_null_ref("wxTreeItemId");
28718 }
28719 if (SWIG_arg_fail(2)) SWIG_fail;
28720 }
28721 {
28722 PyThreadState* __tstate = wxPyBeginAllowThreads();
28723 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28724
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 Py_INCREF(Py_None); resultobj = Py_None;
28729 return resultobj;
28730 fail:
28731 return NULL;
28732 }
28733
28734
28735 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28736 PyObject *resultobj = NULL;
28737 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28738 wxTreeItemId result;
28739 PyObject * obj0 = 0 ;
28740 char *kwnames[] = {
28741 (char *) "self", NULL
28742 };
28743
28744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
28745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28746 if (SWIG_arg_fail(1)) SWIG_fail;
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28750
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 {
28755 wxTreeItemId * resultptr;
28756 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28758 }
28759 return resultobj;
28760 fail:
28761 return NULL;
28762 }
28763
28764
28765 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28766 PyObject *resultobj = NULL;
28767 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28768 wxTreeItemId *arg2 = 0 ;
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
28771 char *kwnames[] = {
28772 (char *) "self",(char *) "item", NULL
28773 };
28774
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
28776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail;
28778 {
28779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28780 if (SWIG_arg_fail(2)) SWIG_fail;
28781 if (arg2 == NULL) {
28782 SWIG_null_ref("wxTreeItemId");
28783 }
28784 if (SWIG_arg_fail(2)) SWIG_fail;
28785 }
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 Py_INCREF(Py_None); resultobj = Py_None;
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28801 PyObject *resultobj = NULL;
28802 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28803 wxPoint result;
28804 PyObject * obj0 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
28810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = ((wxTreeEvent const *)arg1)->GetPoint();
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 {
28820 wxPoint * resultptr;
28821 resultptr = new wxPoint(static_cast<wxPoint & >(result));
28822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28823 }
28824 return resultobj;
28825 fail:
28826 return NULL;
28827 }
28828
28829
28830 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28831 PyObject *resultobj = NULL;
28832 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28833 wxPoint *arg2 = 0 ;
28834 wxPoint temp2 ;
28835 PyObject * obj0 = 0 ;
28836 PyObject * obj1 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self",(char *) "pt", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
28842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail;
28844 {
28845 arg2 = &temp2;
28846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28847 }
28848 {
28849 PyThreadState* __tstate = wxPyBeginAllowThreads();
28850 (arg1)->SetPoint((wxPoint const &)*arg2);
28851
28852 wxPyEndAllowThreads(__tstate);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
28855 Py_INCREF(Py_None); resultobj = Py_None;
28856 return resultobj;
28857 fail:
28858 return NULL;
28859 }
28860
28861
28862 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28863 PyObject *resultobj = NULL;
28864 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28865 wxKeyEvent *result;
28866 PyObject * obj0 = 0 ;
28867 char *kwnames[] = {
28868 (char *) "self", NULL
28869 };
28870
28871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
28872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28873 if (SWIG_arg_fail(1)) SWIG_fail;
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 {
28877 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
28878 result = (wxKeyEvent *) &_result_ref;
28879 }
28880
28881 wxPyEndAllowThreads(__tstate);
28882 if (PyErr_Occurred()) SWIG_fail;
28883 }
28884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
28885 return resultobj;
28886 fail:
28887 return NULL;
28888 }
28889
28890
28891 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
28892 PyObject *resultobj = NULL;
28893 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28894 int result;
28895 PyObject * obj0 = 0 ;
28896 char *kwnames[] = {
28897 (char *) "self", NULL
28898 };
28899
28900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
28901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28902 if (SWIG_arg_fail(1)) SWIG_fail;
28903 {
28904 PyThreadState* __tstate = wxPyBeginAllowThreads();
28905 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
28906
28907 wxPyEndAllowThreads(__tstate);
28908 if (PyErr_Occurred()) SWIG_fail;
28909 }
28910 {
28911 resultobj = SWIG_From_int(static_cast<int >(result));
28912 }
28913 return resultobj;
28914 fail:
28915 return NULL;
28916 }
28917
28918
28919 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28920 PyObject *resultobj = NULL;
28921 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28922 wxKeyEvent *arg2 = 0 ;
28923 PyObject * obj0 = 0 ;
28924 PyObject * obj1 = 0 ;
28925 char *kwnames[] = {
28926 (char *) "self",(char *) "evt", NULL
28927 };
28928
28929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
28930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28931 if (SWIG_arg_fail(1)) SWIG_fail;
28932 {
28933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
28934 if (SWIG_arg_fail(2)) SWIG_fail;
28935 if (arg2 == NULL) {
28936 SWIG_null_ref("wxKeyEvent");
28937 }
28938 if (SWIG_arg_fail(2)) SWIG_fail;
28939 }
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
28943
28944 wxPyEndAllowThreads(__tstate);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 }
28947 Py_INCREF(Py_None); resultobj = Py_None;
28948 return resultobj;
28949 fail:
28950 return NULL;
28951 }
28952
28953
28954 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28955 PyObject *resultobj = NULL;
28956 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28957 wxString *result;
28958 PyObject * obj0 = 0 ;
28959 char *kwnames[] = {
28960 (char *) "self", NULL
28961 };
28962
28963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
28964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail;
28966 {
28967 PyThreadState* __tstate = wxPyBeginAllowThreads();
28968 {
28969 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
28970 result = (wxString *) &_result_ref;
28971 }
28972
28973 wxPyEndAllowThreads(__tstate);
28974 if (PyErr_Occurred()) SWIG_fail;
28975 }
28976 {
28977 #if wxUSE_UNICODE
28978 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28979 #else
28980 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28981 #endif
28982 }
28983 return resultobj;
28984 fail:
28985 return NULL;
28986 }
28987
28988
28989 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
28990 PyObject *resultobj = NULL;
28991 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28992 wxString *arg2 = 0 ;
28993 bool temp2 = false ;
28994 PyObject * obj0 = 0 ;
28995 PyObject * obj1 = 0 ;
28996 char *kwnames[] = {
28997 (char *) "self",(char *) "label", NULL
28998 };
28999
29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
29001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29002 if (SWIG_arg_fail(1)) SWIG_fail;
29003 {
29004 arg2 = wxString_in_helper(obj1);
29005 if (arg2 == NULL) SWIG_fail;
29006 temp2 = true;
29007 }
29008 {
29009 PyThreadState* __tstate = wxPyBeginAllowThreads();
29010 (arg1)->SetLabel((wxString const &)*arg2);
29011
29012 wxPyEndAllowThreads(__tstate);
29013 if (PyErr_Occurred()) SWIG_fail;
29014 }
29015 Py_INCREF(Py_None); resultobj = Py_None;
29016 {
29017 if (temp2)
29018 delete arg2;
29019 }
29020 return resultobj;
29021 fail:
29022 {
29023 if (temp2)
29024 delete arg2;
29025 }
29026 return NULL;
29027 }
29028
29029
29030 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
29031 PyObject *resultobj = NULL;
29032 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29033 bool result;
29034 PyObject * obj0 = 0 ;
29035 char *kwnames[] = {
29036 (char *) "self", NULL
29037 };
29038
29039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
29040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail;
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29045
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 {
29050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29051 }
29052 return resultobj;
29053 fail:
29054 return NULL;
29055 }
29056
29057
29058 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
29059 PyObject *resultobj = NULL;
29060 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29061 bool arg2 ;
29062 PyObject * obj0 = 0 ;
29063 PyObject * obj1 = 0 ;
29064 char *kwnames[] = {
29065 (char *) "self",(char *) "editCancelled", NULL
29066 };
29067
29068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
29069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail;
29071 {
29072 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
29073 if (SWIG_arg_fail(2)) SWIG_fail;
29074 }
29075 {
29076 PyThreadState* __tstate = wxPyBeginAllowThreads();
29077 (arg1)->SetEditCanceled(arg2);
29078
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 Py_INCREF(Py_None); resultobj = Py_None;
29083 return resultobj;
29084 fail:
29085 return NULL;
29086 }
29087
29088
29089 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29090 PyObject *resultobj = NULL;
29091 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29092 wxString *arg2 = 0 ;
29093 bool temp2 = false ;
29094 PyObject * obj0 = 0 ;
29095 PyObject * obj1 = 0 ;
29096 char *kwnames[] = {
29097 (char *) "self",(char *) "toolTip", NULL
29098 };
29099
29100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
29101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail;
29103 {
29104 arg2 = wxString_in_helper(obj1);
29105 if (arg2 == NULL) SWIG_fail;
29106 temp2 = true;
29107 }
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 (arg1)->SetToolTip((wxString const &)*arg2);
29111
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 Py_INCREF(Py_None); resultobj = Py_None;
29116 {
29117 if (temp2)
29118 delete arg2;
29119 }
29120 return resultobj;
29121 fail:
29122 {
29123 if (temp2)
29124 delete arg2;
29125 }
29126 return NULL;
29127 }
29128
29129
29130 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29131 PyObject *resultobj = NULL;
29132 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29133 wxString result;
29134 PyObject * obj0 = 0 ;
29135 char *kwnames[] = {
29136 (char *) "self", NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29141 if (SWIG_arg_fail(1)) SWIG_fail;
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 result = (arg1)->GetToolTip();
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 {
29150 #if wxUSE_UNICODE
29151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29152 #else
29153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29154 #endif
29155 }
29156 return resultobj;
29157 fail:
29158 return NULL;
29159 }
29160
29161
29162 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
29163 PyObject *obj;
29164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29165 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29166 Py_INCREF(obj);
29167 return Py_BuildValue((char *)"");
29168 }
29169 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29170 PyObject *resultobj = NULL;
29171 wxWindow *arg1 = (wxWindow *) 0 ;
29172 int arg2 = (int) -1 ;
29173 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29174 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29175 wxSize const &arg4_defvalue = wxDefaultSize ;
29176 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29177 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29178 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29179 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29180 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29181 wxString *arg7 = (wxString *) &arg7_defvalue ;
29182 wxPyTreeCtrl *result;
29183 wxPoint temp3 ;
29184 wxSize temp4 ;
29185 bool temp7 = false ;
29186 PyObject * obj0 = 0 ;
29187 PyObject * obj1 = 0 ;
29188 PyObject * obj2 = 0 ;
29189 PyObject * obj3 = 0 ;
29190 PyObject * obj4 = 0 ;
29191 PyObject * obj5 = 0 ;
29192 PyObject * obj6 = 0 ;
29193 char *kwnames[] = {
29194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29195 };
29196
29197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29199 if (SWIG_arg_fail(1)) SWIG_fail;
29200 if (obj1) {
29201 {
29202 arg2 = static_cast<int >(SWIG_As_int(obj1));
29203 if (SWIG_arg_fail(2)) SWIG_fail;
29204 }
29205 }
29206 if (obj2) {
29207 {
29208 arg3 = &temp3;
29209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29210 }
29211 }
29212 if (obj3) {
29213 {
29214 arg4 = &temp4;
29215 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29216 }
29217 }
29218 if (obj4) {
29219 {
29220 arg5 = static_cast<long >(SWIG_As_long(obj4));
29221 if (SWIG_arg_fail(5)) SWIG_fail;
29222 }
29223 }
29224 if (obj5) {
29225 {
29226 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29227 if (SWIG_arg_fail(6)) SWIG_fail;
29228 if (arg6 == NULL) {
29229 SWIG_null_ref("wxValidator");
29230 }
29231 if (SWIG_arg_fail(6)) SWIG_fail;
29232 }
29233 }
29234 if (obj6) {
29235 {
29236 arg7 = wxString_in_helper(obj6);
29237 if (arg7 == NULL) SWIG_fail;
29238 temp7 = true;
29239 }
29240 }
29241 {
29242 if (!wxPyCheckForApp()) SWIG_fail;
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29245
29246 wxPyEndAllowThreads(__tstate);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29250 {
29251 if (temp7)
29252 delete arg7;
29253 }
29254 return resultobj;
29255 fail:
29256 {
29257 if (temp7)
29258 delete arg7;
29259 }
29260 return NULL;
29261 }
29262
29263
29264 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29265 PyObject *resultobj = NULL;
29266 wxPyTreeCtrl *result;
29267 char *kwnames[] = {
29268 NULL
29269 };
29270
29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29272 {
29273 if (!wxPyCheckForApp()) SWIG_fail;
29274 PyThreadState* __tstate = wxPyBeginAllowThreads();
29275 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29276
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29281 return resultobj;
29282 fail:
29283 return NULL;
29284 }
29285
29286
29287 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29288 PyObject *resultobj = NULL;
29289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29290 wxWindow *arg2 = (wxWindow *) 0 ;
29291 int arg3 = (int) -1 ;
29292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29294 wxSize const &arg5_defvalue = wxDefaultSize ;
29295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29296 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29297 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29298 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29299 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29300 wxString *arg8 = (wxString *) &arg8_defvalue ;
29301 bool result;
29302 wxPoint temp4 ;
29303 wxSize temp5 ;
29304 bool temp8 = false ;
29305 PyObject * obj0 = 0 ;
29306 PyObject * obj1 = 0 ;
29307 PyObject * obj2 = 0 ;
29308 PyObject * obj3 = 0 ;
29309 PyObject * obj4 = 0 ;
29310 PyObject * obj5 = 0 ;
29311 PyObject * obj6 = 0 ;
29312 PyObject * obj7 = 0 ;
29313 char *kwnames[] = {
29314 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29315 };
29316
29317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
29318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29319 if (SWIG_arg_fail(1)) SWIG_fail;
29320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29321 if (SWIG_arg_fail(2)) SWIG_fail;
29322 if (obj2) {
29323 {
29324 arg3 = static_cast<int >(SWIG_As_int(obj2));
29325 if (SWIG_arg_fail(3)) SWIG_fail;
29326 }
29327 }
29328 if (obj3) {
29329 {
29330 arg4 = &temp4;
29331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29332 }
29333 }
29334 if (obj4) {
29335 {
29336 arg5 = &temp5;
29337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29338 }
29339 }
29340 if (obj5) {
29341 {
29342 arg6 = static_cast<long >(SWIG_As_long(obj5));
29343 if (SWIG_arg_fail(6)) SWIG_fail;
29344 }
29345 }
29346 if (obj6) {
29347 {
29348 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29349 if (SWIG_arg_fail(7)) SWIG_fail;
29350 if (arg7 == NULL) {
29351 SWIG_null_ref("wxValidator");
29352 }
29353 if (SWIG_arg_fail(7)) SWIG_fail;
29354 }
29355 }
29356 if (obj7) {
29357 {
29358 arg8 = wxString_in_helper(obj7);
29359 if (arg8 == NULL) SWIG_fail;
29360 temp8 = true;
29361 }
29362 }
29363 {
29364 PyThreadState* __tstate = wxPyBeginAllowThreads();
29365 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29366
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 {
29371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29372 }
29373 {
29374 if (temp8)
29375 delete arg8;
29376 }
29377 return resultobj;
29378 fail:
29379 {
29380 if (temp8)
29381 delete arg8;
29382 }
29383 return NULL;
29384 }
29385
29386
29387 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29388 PyObject *resultobj = NULL;
29389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29390 PyObject *arg2 = (PyObject *) 0 ;
29391 PyObject *arg3 = (PyObject *) 0 ;
29392 PyObject * obj0 = 0 ;
29393 PyObject * obj1 = 0 ;
29394 PyObject * obj2 = 0 ;
29395 char *kwnames[] = {
29396 (char *) "self",(char *) "self",(char *) "_class", NULL
29397 };
29398
29399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29401 if (SWIG_arg_fail(1)) SWIG_fail;
29402 arg2 = obj1;
29403 arg3 = obj2;
29404 {
29405 PyThreadState* __tstate = wxPyBeginAllowThreads();
29406 (arg1)->_setCallbackInfo(arg2,arg3);
29407
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 Py_INCREF(Py_None); resultobj = Py_None;
29412 return resultobj;
29413 fail:
29414 return NULL;
29415 }
29416
29417
29418 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
29419 PyObject *resultobj = NULL;
29420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29421 size_t result;
29422 PyObject * obj0 = 0 ;
29423 char *kwnames[] = {
29424 (char *) "self", NULL
29425 };
29426
29427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
29428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29429 if (SWIG_arg_fail(1)) SWIG_fail;
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29433
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 {
29438 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
29439 }
29440 return resultobj;
29441 fail:
29442 return NULL;
29443 }
29444
29445
29446 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29447 PyObject *resultobj = NULL;
29448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29449 unsigned int result;
29450 PyObject * obj0 = 0 ;
29451 char *kwnames[] = {
29452 (char *) "self", NULL
29453 };
29454
29455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
29456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29457 if (SWIG_arg_fail(1)) SWIG_fail;
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29461
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 {
29466 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29467 }
29468 return resultobj;
29469 fail:
29470 return NULL;
29471 }
29472
29473
29474 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29475 PyObject *resultobj = NULL;
29476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29477 unsigned int arg2 ;
29478 PyObject * obj0 = 0 ;
29479 PyObject * obj1 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self",(char *) "indent", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
29485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail;
29487 {
29488 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29489 if (SWIG_arg_fail(2)) SWIG_fail;
29490 }
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 (arg1)->SetIndent(arg2);
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 Py_INCREF(Py_None); resultobj = Py_None;
29499 return resultobj;
29500 fail:
29501 return NULL;
29502 }
29503
29504
29505 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29506 PyObject *resultobj = NULL;
29507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29508 unsigned int result;
29509 PyObject * obj0 = 0 ;
29510 char *kwnames[] = {
29511 (char *) "self", NULL
29512 };
29513
29514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
29515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail;
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
29519 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29520
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
29524 {
29525 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29526 }
29527 return resultobj;
29528 fail:
29529 return NULL;
29530 }
29531
29532
29533 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29534 PyObject *resultobj = NULL;
29535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29536 unsigned int arg2 ;
29537 PyObject * obj0 = 0 ;
29538 PyObject * obj1 = 0 ;
29539 char *kwnames[] = {
29540 (char *) "self",(char *) "spacing", NULL
29541 };
29542
29543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
29544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29545 if (SWIG_arg_fail(1)) SWIG_fail;
29546 {
29547 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29548 if (SWIG_arg_fail(2)) SWIG_fail;
29549 }
29550 {
29551 PyThreadState* __tstate = wxPyBeginAllowThreads();
29552 (arg1)->SetSpacing(arg2);
29553
29554 wxPyEndAllowThreads(__tstate);
29555 if (PyErr_Occurred()) SWIG_fail;
29556 }
29557 Py_INCREF(Py_None); resultobj = Py_None;
29558 return resultobj;
29559 fail:
29560 return NULL;
29561 }
29562
29563
29564 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29565 PyObject *resultobj = NULL;
29566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29567 wxImageList *result;
29568 PyObject * obj0 = 0 ;
29569 char *kwnames[] = {
29570 (char *) "self", NULL
29571 };
29572
29573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
29574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail;
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29579
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 {
29584 resultobj = wxPyMake_wxObject(result, (bool)0);
29585 }
29586 return resultobj;
29587 fail:
29588 return NULL;
29589 }
29590
29591
29592 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29593 PyObject *resultobj = NULL;
29594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29595 wxImageList *result;
29596 PyObject * obj0 = 0 ;
29597 char *kwnames[] = {
29598 (char *) "self", NULL
29599 };
29600
29601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
29602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29603 if (SWIG_arg_fail(1)) SWIG_fail;
29604 {
29605 PyThreadState* __tstate = wxPyBeginAllowThreads();
29606 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29607
29608 wxPyEndAllowThreads(__tstate);
29609 if (PyErr_Occurred()) SWIG_fail;
29610 }
29611 {
29612 resultobj = wxPyMake_wxObject(result, (bool)0);
29613 }
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj = NULL;
29622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29623 wxImageList *arg2 = (wxImageList *) 0 ;
29624 PyObject * obj0 = 0 ;
29625 PyObject * obj1 = 0 ;
29626 char *kwnames[] = {
29627 (char *) "self",(char *) "imageList", NULL
29628 };
29629
29630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
29631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail;
29633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29634 if (SWIG_arg_fail(2)) SWIG_fail;
29635 {
29636 PyThreadState* __tstate = wxPyBeginAllowThreads();
29637 (arg1)->SetImageList(arg2);
29638
29639 wxPyEndAllowThreads(__tstate);
29640 if (PyErr_Occurred()) SWIG_fail;
29641 }
29642 Py_INCREF(Py_None); resultobj = Py_None;
29643 return resultobj;
29644 fail:
29645 return NULL;
29646 }
29647
29648
29649 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj = NULL;
29651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29652 wxImageList *arg2 = (wxImageList *) 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 char *kwnames[] = {
29656 (char *) "self",(char *) "imageList", NULL
29657 };
29658
29659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
29660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail;
29662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail;
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 (arg1)->SetStateImageList(arg2);
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 Py_INCREF(Py_None); resultobj = Py_None;
29672 return resultobj;
29673 fail:
29674 return NULL;
29675 }
29676
29677
29678 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29679 PyObject *resultobj = NULL;
29680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29681 wxImageList *arg2 = (wxImageList *) 0 ;
29682 PyObject * obj0 = 0 ;
29683 PyObject * obj1 = 0 ;
29684 char *kwnames[] = {
29685 (char *) "self",(char *) "imageList", NULL
29686 };
29687
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
29689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29690 if (SWIG_arg_fail(1)) SWIG_fail;
29691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29692 if (SWIG_arg_fail(2)) SWIG_fail;
29693 {
29694 PyThreadState* __tstate = wxPyBeginAllowThreads();
29695 (arg1)->AssignImageList(arg2);
29696
29697 wxPyEndAllowThreads(__tstate);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 Py_INCREF(Py_None); resultobj = Py_None;
29701 return resultobj;
29702 fail:
29703 return NULL;
29704 }
29705
29706
29707 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29708 PyObject *resultobj = NULL;
29709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29710 wxImageList *arg2 = (wxImageList *) 0 ;
29711 PyObject * obj0 = 0 ;
29712 PyObject * obj1 = 0 ;
29713 char *kwnames[] = {
29714 (char *) "self",(char *) "imageList", NULL
29715 };
29716
29717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
29718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail;
29720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29721 if (SWIG_arg_fail(2)) SWIG_fail;
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->AssignStateImageList(arg2);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 Py_INCREF(Py_None); resultobj = Py_None;
29730 return resultobj;
29731 fail:
29732 return NULL;
29733 }
29734
29735
29736 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
29737 PyObject *resultobj = NULL;
29738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29739 wxTreeItemId *arg2 = 0 ;
29740 wxString result;
29741 PyObject * obj0 = 0 ;
29742 PyObject * obj1 = 0 ;
29743 char *kwnames[] = {
29744 (char *) "self",(char *) "item", NULL
29745 };
29746
29747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
29748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29749 if (SWIG_arg_fail(1)) SWIG_fail;
29750 {
29751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29752 if (SWIG_arg_fail(2)) SWIG_fail;
29753 if (arg2 == NULL) {
29754 SWIG_null_ref("wxTreeItemId");
29755 }
29756 if (SWIG_arg_fail(2)) SWIG_fail;
29757 }
29758 {
29759 PyThreadState* __tstate = wxPyBeginAllowThreads();
29760 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29761
29762 wxPyEndAllowThreads(__tstate);
29763 if (PyErr_Occurred()) SWIG_fail;
29764 }
29765 {
29766 #if wxUSE_UNICODE
29767 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29768 #else
29769 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29770 #endif
29771 }
29772 return resultobj;
29773 fail:
29774 return NULL;
29775 }
29776
29777
29778 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
29779 PyObject *resultobj = NULL;
29780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29781 wxTreeItemId *arg2 = 0 ;
29782 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
29783 int result;
29784 PyObject * obj0 = 0 ;
29785 PyObject * obj1 = 0 ;
29786 PyObject * obj2 = 0 ;
29787 char *kwnames[] = {
29788 (char *) "self",(char *) "item",(char *) "which", NULL
29789 };
29790
29791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail;
29794 {
29795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29796 if (SWIG_arg_fail(2)) SWIG_fail;
29797 if (arg2 == NULL) {
29798 SWIG_null_ref("wxTreeItemId");
29799 }
29800 if (SWIG_arg_fail(2)) SWIG_fail;
29801 }
29802 if (obj2) {
29803 {
29804 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
29805 if (SWIG_arg_fail(3)) SWIG_fail;
29806 }
29807 }
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 {
29816 resultobj = SWIG_From_int(static_cast<int >(result));
29817 }
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
29825 PyObject *resultobj = NULL;
29826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29827 wxTreeItemId *arg2 = 0 ;
29828 wxPyTreeItemData *result;
29829 PyObject * obj0 = 0 ;
29830 PyObject * obj1 = 0 ;
29831 char *kwnames[] = {
29832 (char *) "self",(char *) "item", NULL
29833 };
29834
29835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
29836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29837 if (SWIG_arg_fail(1)) SWIG_fail;
29838 {
29839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29840 if (SWIG_arg_fail(2)) SWIG_fail;
29841 if (arg2 == NULL) {
29842 SWIG_null_ref("wxTreeItemId");
29843 }
29844 if (SWIG_arg_fail(2)) SWIG_fail;
29845 }
29846 {
29847 PyThreadState* __tstate = wxPyBeginAllowThreads();
29848 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
29849
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj = NULL;
29862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29863 wxTreeItemId *arg2 = 0 ;
29864 PyObject *result;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj1 = 0 ;
29867 char *kwnames[] = {
29868 (char *) "self",(char *) "item", NULL
29869 };
29870
29871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
29872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29873 if (SWIG_arg_fail(1)) SWIG_fail;
29874 {
29875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29876 if (SWIG_arg_fail(2)) SWIG_fail;
29877 if (arg2 == NULL) {
29878 SWIG_null_ref("wxTreeItemId");
29879 }
29880 if (SWIG_arg_fail(2)) SWIG_fail;
29881 }
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
29885
29886 wxPyEndAllowThreads(__tstate);
29887 if (PyErr_Occurred()) SWIG_fail;
29888 }
29889 resultobj = result;
29890 return resultobj;
29891 fail:
29892 return NULL;
29893 }
29894
29895
29896 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29897 PyObject *resultobj = NULL;
29898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29899 wxTreeItemId *arg2 = 0 ;
29900 wxColour result;
29901 PyObject * obj0 = 0 ;
29902 PyObject * obj1 = 0 ;
29903 char *kwnames[] = {
29904 (char *) "self",(char *) "item", NULL
29905 };
29906
29907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
29908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29909 if (SWIG_arg_fail(1)) SWIG_fail;
29910 {
29911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29912 if (SWIG_arg_fail(2)) SWIG_fail;
29913 if (arg2 == NULL) {
29914 SWIG_null_ref("wxTreeItemId");
29915 }
29916 if (SWIG_arg_fail(2)) SWIG_fail;
29917 }
29918 {
29919 PyThreadState* __tstate = wxPyBeginAllowThreads();
29920 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
29921
29922 wxPyEndAllowThreads(__tstate);
29923 if (PyErr_Occurred()) SWIG_fail;
29924 }
29925 {
29926 wxColour * resultptr;
29927 resultptr = new wxColour(static_cast<wxColour & >(result));
29928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29929 }
29930 return resultobj;
29931 fail:
29932 return NULL;
29933 }
29934
29935
29936 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29937 PyObject *resultobj = NULL;
29938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29939 wxTreeItemId *arg2 = 0 ;
29940 wxColour result;
29941 PyObject * obj0 = 0 ;
29942 PyObject * obj1 = 0 ;
29943 char *kwnames[] = {
29944 (char *) "self",(char *) "item", NULL
29945 };
29946
29947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
29948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail;
29950 {
29951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29952 if (SWIG_arg_fail(2)) SWIG_fail;
29953 if (arg2 == NULL) {
29954 SWIG_null_ref("wxTreeItemId");
29955 }
29956 if (SWIG_arg_fail(2)) SWIG_fail;
29957 }
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
29961
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 {
29966 wxColour * resultptr;
29967 resultptr = new wxColour(static_cast<wxColour & >(result));
29968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29969 }
29970 return resultobj;
29971 fail:
29972 return NULL;
29973 }
29974
29975
29976 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29977 PyObject *resultobj = NULL;
29978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29979 wxTreeItemId *arg2 = 0 ;
29980 wxFont result;
29981 PyObject * obj0 = 0 ;
29982 PyObject * obj1 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self",(char *) "item", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
29988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail;
29990 {
29991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29992 if (SWIG_arg_fail(2)) SWIG_fail;
29993 if (arg2 == NULL) {
29994 SWIG_null_ref("wxTreeItemId");
29995 }
29996 if (SWIG_arg_fail(2)) SWIG_fail;
29997 }
29998 {
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30001
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 {
30006 wxFont * resultptr;
30007 resultptr = new wxFont(static_cast<wxFont & >(result));
30008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30009 }
30010 return resultobj;
30011 fail:
30012 return NULL;
30013 }
30014
30015
30016 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
30017 PyObject *resultobj = NULL;
30018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30019 wxTreeItemId *arg2 = 0 ;
30020 wxString *arg3 = 0 ;
30021 bool temp3 = false ;
30022 PyObject * obj0 = 0 ;
30023 PyObject * obj1 = 0 ;
30024 PyObject * obj2 = 0 ;
30025 char *kwnames[] = {
30026 (char *) "self",(char *) "item",(char *) "text", NULL
30027 };
30028
30029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
30030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail;
30032 {
30033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30034 if (SWIG_arg_fail(2)) SWIG_fail;
30035 if (arg2 == NULL) {
30036 SWIG_null_ref("wxTreeItemId");
30037 }
30038 if (SWIG_arg_fail(2)) SWIG_fail;
30039 }
30040 {
30041 arg3 = wxString_in_helper(obj2);
30042 if (arg3 == NULL) SWIG_fail;
30043 temp3 = true;
30044 }
30045 {
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30048
30049 wxPyEndAllowThreads(__tstate);
30050 if (PyErr_Occurred()) SWIG_fail;
30051 }
30052 Py_INCREF(Py_None); resultobj = Py_None;
30053 {
30054 if (temp3)
30055 delete arg3;
30056 }
30057 return resultobj;
30058 fail:
30059 {
30060 if (temp3)
30061 delete arg3;
30062 }
30063 return NULL;
30064 }
30065
30066
30067 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
30068 PyObject *resultobj = NULL;
30069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30070 wxTreeItemId *arg2 = 0 ;
30071 int arg3 ;
30072 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 PyObject * obj2 = 0 ;
30076 PyObject * obj3 = 0 ;
30077 char *kwnames[] = {
30078 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30079 };
30080
30081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail;
30084 {
30085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30086 if (SWIG_arg_fail(2)) SWIG_fail;
30087 if (arg2 == NULL) {
30088 SWIG_null_ref("wxTreeItemId");
30089 }
30090 if (SWIG_arg_fail(2)) SWIG_fail;
30091 }
30092 {
30093 arg3 = static_cast<int >(SWIG_As_int(obj2));
30094 if (SWIG_arg_fail(3)) SWIG_fail;
30095 }
30096 if (obj3) {
30097 {
30098 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
30099 if (SWIG_arg_fail(4)) SWIG_fail;
30100 }
30101 }
30102 {
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
30105
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 Py_INCREF(Py_None); resultobj = Py_None;
30110 return resultobj;
30111 fail:
30112 return NULL;
30113 }
30114
30115
30116 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
30117 PyObject *resultobj = NULL;
30118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30119 wxTreeItemId *arg2 = 0 ;
30120 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30121 PyObject * obj0 = 0 ;
30122 PyObject * obj1 = 0 ;
30123 PyObject * obj2 = 0 ;
30124 char *kwnames[] = {
30125 (char *) "self",(char *) "item",(char *) "data", NULL
30126 };
30127
30128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail;
30131 {
30132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30133 if (SWIG_arg_fail(2)) SWIG_fail;
30134 if (arg2 == NULL) {
30135 SWIG_null_ref("wxTreeItemId");
30136 }
30137 if (SWIG_arg_fail(2)) SWIG_fail;
30138 }
30139 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30140 if (SWIG_arg_fail(3)) SWIG_fail;
30141 {
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
30143 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30144
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
30148 Py_INCREF(Py_None); resultobj = Py_None;
30149 return resultobj;
30150 fail:
30151 return NULL;
30152 }
30153
30154
30155 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj = NULL;
30157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30158 wxTreeItemId *arg2 = 0 ;
30159 PyObject *arg3 = (PyObject *) 0 ;
30160 PyObject * obj0 = 0 ;
30161 PyObject * obj1 = 0 ;
30162 PyObject * obj2 = 0 ;
30163 char *kwnames[] = {
30164 (char *) "self",(char *) "item",(char *) "obj", NULL
30165 };
30166
30167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30169 if (SWIG_arg_fail(1)) SWIG_fail;
30170 {
30171 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30172 if (SWIG_arg_fail(2)) SWIG_fail;
30173 if (arg2 == NULL) {
30174 SWIG_null_ref("wxTreeItemId");
30175 }
30176 if (SWIG_arg_fail(2)) SWIG_fail;
30177 }
30178 arg3 = obj2;
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30182
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 Py_INCREF(Py_None); resultobj = Py_None;
30187 return resultobj;
30188 fail:
30189 return NULL;
30190 }
30191
30192
30193 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30194 PyObject *resultobj = NULL;
30195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30196 wxTreeItemId *arg2 = 0 ;
30197 bool arg3 = (bool) true ;
30198 PyObject * obj0 = 0 ;
30199 PyObject * obj1 = 0 ;
30200 PyObject * obj2 = 0 ;
30201 char *kwnames[] = {
30202 (char *) "self",(char *) "item",(char *) "has", NULL
30203 };
30204
30205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
30206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail;
30208 {
30209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30210 if (SWIG_arg_fail(2)) SWIG_fail;
30211 if (arg2 == NULL) {
30212 SWIG_null_ref("wxTreeItemId");
30213 }
30214 if (SWIG_arg_fail(2)) SWIG_fail;
30215 }
30216 if (obj2) {
30217 {
30218 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30219 if (SWIG_arg_fail(3)) SWIG_fail;
30220 }
30221 }
30222 {
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30225
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
30229 Py_INCREF(Py_None); resultobj = Py_None;
30230 return resultobj;
30231 fail:
30232 return NULL;
30233 }
30234
30235
30236 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj = NULL;
30238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30239 wxTreeItemId *arg2 = 0 ;
30240 bool arg3 = (bool) true ;
30241 PyObject * obj0 = 0 ;
30242 PyObject * obj1 = 0 ;
30243 PyObject * obj2 = 0 ;
30244 char *kwnames[] = {
30245 (char *) "self",(char *) "item",(char *) "bold", NULL
30246 };
30247
30248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
30249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail;
30251 {
30252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30253 if (SWIG_arg_fail(2)) SWIG_fail;
30254 if (arg2 == NULL) {
30255 SWIG_null_ref("wxTreeItemId");
30256 }
30257 if (SWIG_arg_fail(2)) SWIG_fail;
30258 }
30259 if (obj2) {
30260 {
30261 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30262 if (SWIG_arg_fail(3)) SWIG_fail;
30263 }
30264 }
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30268
30269 wxPyEndAllowThreads(__tstate);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 Py_INCREF(Py_None); resultobj = Py_None;
30273 return resultobj;
30274 fail:
30275 return NULL;
30276 }
30277
30278
30279 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj = NULL;
30281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30282 wxTreeItemId *arg2 = 0 ;
30283 bool arg3 = (bool) true ;
30284 PyObject * obj0 = 0 ;
30285 PyObject * obj1 = 0 ;
30286 PyObject * obj2 = 0 ;
30287 char *kwnames[] = {
30288 (char *) "self",(char *) "item",(char *) "highlight", NULL
30289 };
30290
30291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
30292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail;
30294 {
30295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30296 if (SWIG_arg_fail(2)) SWIG_fail;
30297 if (arg2 == NULL) {
30298 SWIG_null_ref("wxTreeItemId");
30299 }
30300 if (SWIG_arg_fail(2)) SWIG_fail;
30301 }
30302 if (obj2) {
30303 {
30304 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30305 if (SWIG_arg_fail(3)) SWIG_fail;
30306 }
30307 }
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30311
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 Py_INCREF(Py_None); resultobj = Py_None;
30316 return resultobj;
30317 fail:
30318 return NULL;
30319 }
30320
30321
30322 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
30323 PyObject *resultobj = NULL;
30324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30325 wxTreeItemId *arg2 = 0 ;
30326 wxColour *arg3 = 0 ;
30327 wxColour temp3 ;
30328 PyObject * obj0 = 0 ;
30329 PyObject * obj1 = 0 ;
30330 PyObject * obj2 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self",(char *) "item",(char *) "col", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail;
30338 {
30339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30340 if (SWIG_arg_fail(2)) SWIG_fail;
30341 if (arg2 == NULL) {
30342 SWIG_null_ref("wxTreeItemId");
30343 }
30344 if (SWIG_arg_fail(2)) SWIG_fail;
30345 }
30346 {
30347 arg3 = &temp3;
30348 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30349 }
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30353
30354 wxPyEndAllowThreads(__tstate);
30355 if (PyErr_Occurred()) SWIG_fail;
30356 }
30357 Py_INCREF(Py_None); resultobj = Py_None;
30358 return resultobj;
30359 fail:
30360 return NULL;
30361 }
30362
30363
30364 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
30365 PyObject *resultobj = NULL;
30366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30367 wxTreeItemId *arg2 = 0 ;
30368 wxColour *arg3 = 0 ;
30369 wxColour temp3 ;
30370 PyObject * obj0 = 0 ;
30371 PyObject * obj1 = 0 ;
30372 PyObject * obj2 = 0 ;
30373 char *kwnames[] = {
30374 (char *) "self",(char *) "item",(char *) "col", NULL
30375 };
30376
30377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail;
30380 {
30381 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30382 if (SWIG_arg_fail(2)) SWIG_fail;
30383 if (arg2 == NULL) {
30384 SWIG_null_ref("wxTreeItemId");
30385 }
30386 if (SWIG_arg_fail(2)) SWIG_fail;
30387 }
30388 {
30389 arg3 = &temp3;
30390 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30391 }
30392 {
30393 PyThreadState* __tstate = wxPyBeginAllowThreads();
30394 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30395
30396 wxPyEndAllowThreads(__tstate);
30397 if (PyErr_Occurred()) SWIG_fail;
30398 }
30399 Py_INCREF(Py_None); resultobj = Py_None;
30400 return resultobj;
30401 fail:
30402 return NULL;
30403 }
30404
30405
30406 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
30407 PyObject *resultobj = NULL;
30408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30409 wxTreeItemId *arg2 = 0 ;
30410 wxFont *arg3 = 0 ;
30411 PyObject * obj0 = 0 ;
30412 PyObject * obj1 = 0 ;
30413 PyObject * obj2 = 0 ;
30414 char *kwnames[] = {
30415 (char *) "self",(char *) "item",(char *) "font", NULL
30416 };
30417
30418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
30419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail;
30421 {
30422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail;
30424 if (arg2 == NULL) {
30425 SWIG_null_ref("wxTreeItemId");
30426 }
30427 if (SWIG_arg_fail(2)) SWIG_fail;
30428 }
30429 {
30430 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30431 if (SWIG_arg_fail(3)) SWIG_fail;
30432 if (arg3 == NULL) {
30433 SWIG_null_ref("wxFont");
30434 }
30435 if (SWIG_arg_fail(3)) SWIG_fail;
30436 }
30437 {
30438 PyThreadState* __tstate = wxPyBeginAllowThreads();
30439 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30440
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 Py_INCREF(Py_None); resultobj = Py_None;
30445 return resultobj;
30446 fail:
30447 return NULL;
30448 }
30449
30450
30451 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30452 PyObject *resultobj = NULL;
30453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30454 wxTreeItemId *arg2 = 0 ;
30455 bool result;
30456 PyObject * obj0 = 0 ;
30457 PyObject * obj1 = 0 ;
30458 char *kwnames[] = {
30459 (char *) "self",(char *) "item", NULL
30460 };
30461
30462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
30463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30464 if (SWIG_arg_fail(1)) SWIG_fail;
30465 {
30466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30467 if (SWIG_arg_fail(2)) SWIG_fail;
30468 if (arg2 == NULL) {
30469 SWIG_null_ref("wxTreeItemId");
30470 }
30471 if (SWIG_arg_fail(2)) SWIG_fail;
30472 }
30473 {
30474 PyThreadState* __tstate = wxPyBeginAllowThreads();
30475 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30476
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
30480 {
30481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30482 }
30483 return resultobj;
30484 fail:
30485 return NULL;
30486 }
30487
30488
30489 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30490 PyObject *resultobj = NULL;
30491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30492 wxTreeItemId *arg2 = 0 ;
30493 bool result;
30494 PyObject * obj0 = 0 ;
30495 PyObject * obj1 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self",(char *) "item", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
30501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail;
30503 {
30504 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30505 if (SWIG_arg_fail(2)) SWIG_fail;
30506 if (arg2 == NULL) {
30507 SWIG_null_ref("wxTreeItemId");
30508 }
30509 if (SWIG_arg_fail(2)) SWIG_fail;
30510 }
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 {
30519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30520 }
30521 return resultobj;
30522 fail:
30523 return NULL;
30524 }
30525
30526
30527 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
30528 PyObject *resultobj = NULL;
30529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30530 wxTreeItemId *arg2 = 0 ;
30531 bool result;
30532 PyObject * obj0 = 0 ;
30533 PyObject * obj1 = 0 ;
30534 char *kwnames[] = {
30535 (char *) "self",(char *) "item", NULL
30536 };
30537
30538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
30539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30540 if (SWIG_arg_fail(1)) SWIG_fail;
30541 {
30542 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30543 if (SWIG_arg_fail(2)) SWIG_fail;
30544 if (arg2 == NULL) {
30545 SWIG_null_ref("wxTreeItemId");
30546 }
30547 if (SWIG_arg_fail(2)) SWIG_fail;
30548 }
30549 {
30550 PyThreadState* __tstate = wxPyBeginAllowThreads();
30551 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30552
30553 wxPyEndAllowThreads(__tstate);
30554 if (PyErr_Occurred()) SWIG_fail;
30555 }
30556 {
30557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30558 }
30559 return resultobj;
30560 fail:
30561 return NULL;
30562 }
30563
30564
30565 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
30566 PyObject *resultobj = NULL;
30567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30568 wxTreeItemId *arg2 = 0 ;
30569 bool result;
30570 PyObject * obj0 = 0 ;
30571 PyObject * obj1 = 0 ;
30572 char *kwnames[] = {
30573 (char *) "self",(char *) "item", NULL
30574 };
30575
30576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
30577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30578 if (SWIG_arg_fail(1)) SWIG_fail;
30579 {
30580 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30581 if (SWIG_arg_fail(2)) SWIG_fail;
30582 if (arg2 == NULL) {
30583 SWIG_null_ref("wxTreeItemId");
30584 }
30585 if (SWIG_arg_fail(2)) SWIG_fail;
30586 }
30587 {
30588 PyThreadState* __tstate = wxPyBeginAllowThreads();
30589 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30590
30591 wxPyEndAllowThreads(__tstate);
30592 if (PyErr_Occurred()) SWIG_fail;
30593 }
30594 {
30595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30596 }
30597 return resultobj;
30598 fail:
30599 return NULL;
30600 }
30601
30602
30603 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
30604 PyObject *resultobj = NULL;
30605 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30606 wxTreeItemId *arg2 = 0 ;
30607 bool result;
30608 PyObject * obj0 = 0 ;
30609 PyObject * obj1 = 0 ;
30610 char *kwnames[] = {
30611 (char *) "self",(char *) "item", NULL
30612 };
30613
30614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
30615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30616 if (SWIG_arg_fail(1)) SWIG_fail;
30617 {
30618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(2)) SWIG_fail;
30620 if (arg2 == NULL) {
30621 SWIG_null_ref("wxTreeItemId");
30622 }
30623 if (SWIG_arg_fail(2)) SWIG_fail;
30624 }
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30628
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 {
30633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30634 }
30635 return resultobj;
30636 fail:
30637 return NULL;
30638 }
30639
30640
30641 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj = NULL;
30643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30644 wxTreeItemId *arg2 = 0 ;
30645 bool arg3 = (bool) true ;
30646 size_t result;
30647 PyObject * obj0 = 0 ;
30648 PyObject * obj1 = 0 ;
30649 PyObject * obj2 = 0 ;
30650 char *kwnames[] = {
30651 (char *) "self",(char *) "item",(char *) "recursively", NULL
30652 };
30653
30654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
30655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30656 if (SWIG_arg_fail(1)) SWIG_fail;
30657 {
30658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30659 if (SWIG_arg_fail(2)) SWIG_fail;
30660 if (arg2 == NULL) {
30661 SWIG_null_ref("wxTreeItemId");
30662 }
30663 if (SWIG_arg_fail(2)) SWIG_fail;
30664 }
30665 if (obj2) {
30666 {
30667 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30668 if (SWIG_arg_fail(3)) SWIG_fail;
30669 }
30670 }
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 {
30679 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
30680 }
30681 return resultobj;
30682 fail:
30683 return NULL;
30684 }
30685
30686
30687 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
30688 PyObject *resultobj = NULL;
30689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30690 wxTreeItemId result;
30691 PyObject * obj0 = 0 ;
30692 char *kwnames[] = {
30693 (char *) "self", NULL
30694 };
30695
30696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
30697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail;
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30702
30703 wxPyEndAllowThreads(__tstate);
30704 if (PyErr_Occurred()) SWIG_fail;
30705 }
30706 {
30707 wxTreeItemId * resultptr;
30708 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30710 }
30711 return resultobj;
30712 fail:
30713 return NULL;
30714 }
30715
30716
30717 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30718 PyObject *resultobj = NULL;
30719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30720 wxTreeItemId result;
30721 PyObject * obj0 = 0 ;
30722 char *kwnames[] = {
30723 (char *) "self", NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
30727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail;
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30732
30733 wxPyEndAllowThreads(__tstate);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 }
30736 {
30737 wxTreeItemId * resultptr;
30738 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30740 }
30741 return resultobj;
30742 fail:
30743 return NULL;
30744 }
30745
30746
30747 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
30748 PyObject *resultobj = NULL;
30749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30750 PyObject *result;
30751 PyObject * obj0 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
30757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail;
30759 {
30760 PyThreadState* __tstate = wxPyBeginAllowThreads();
30761 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30762
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
30766 resultobj = result;
30767 return resultobj;
30768 fail:
30769 return NULL;
30770 }
30771
30772
30773 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
30774 PyObject *resultobj = NULL;
30775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30776 wxTreeItemId *arg2 = 0 ;
30777 wxTreeItemId result;
30778 PyObject * obj0 = 0 ;
30779 PyObject * obj1 = 0 ;
30780 char *kwnames[] = {
30781 (char *) "self",(char *) "item", NULL
30782 };
30783
30784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
30785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30786 if (SWIG_arg_fail(1)) SWIG_fail;
30787 {
30788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30789 if (SWIG_arg_fail(2)) SWIG_fail;
30790 if (arg2 == NULL) {
30791 SWIG_null_ref("wxTreeItemId");
30792 }
30793 if (SWIG_arg_fail(2)) SWIG_fail;
30794 }
30795 {
30796 PyThreadState* __tstate = wxPyBeginAllowThreads();
30797 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30798
30799 wxPyEndAllowThreads(__tstate);
30800 if (PyErr_Occurred()) SWIG_fail;
30801 }
30802 {
30803 wxTreeItemId * resultptr;
30804 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30806 }
30807 return resultobj;
30808 fail:
30809 return NULL;
30810 }
30811
30812
30813 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
30814 PyObject *resultobj = NULL;
30815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30816 wxTreeItemId *arg2 = 0 ;
30817 PyObject *result;
30818 PyObject * obj0 = 0 ;
30819 PyObject * obj1 = 0 ;
30820 char *kwnames[] = {
30821 (char *) "self",(char *) "item", NULL
30822 };
30823
30824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
30825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail;
30827 {
30828 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30829 if (SWIG_arg_fail(2)) SWIG_fail;
30830 if (arg2 == NULL) {
30831 SWIG_null_ref("wxTreeItemId");
30832 }
30833 if (SWIG_arg_fail(2)) SWIG_fail;
30834 }
30835 {
30836 PyThreadState* __tstate = wxPyBeginAllowThreads();
30837 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30838
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
30842 resultobj = result;
30843 return resultobj;
30844 fail:
30845 return NULL;
30846 }
30847
30848
30849 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj = NULL;
30851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30852 wxTreeItemId *arg2 = 0 ;
30853 void *arg3 = (void *) 0 ;
30854 PyObject *result;
30855 PyObject * obj0 = 0 ;
30856 PyObject * obj1 = 0 ;
30857 PyObject * obj2 = 0 ;
30858 char *kwnames[] = {
30859 (char *) "self",(char *) "item",(char *) "cookie", NULL
30860 };
30861
30862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
30863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30864 if (SWIG_arg_fail(1)) SWIG_fail;
30865 {
30866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30867 if (SWIG_arg_fail(2)) SWIG_fail;
30868 if (arg2 == NULL) {
30869 SWIG_null_ref("wxTreeItemId");
30870 }
30871 if (SWIG_arg_fail(2)) SWIG_fail;
30872 }
30873 {
30874 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
30875 SWIG_arg_fail(3);SWIG_fail;
30876 }
30877 }
30878 {
30879 PyThreadState* __tstate = wxPyBeginAllowThreads();
30880 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
30881
30882 wxPyEndAllowThreads(__tstate);
30883 if (PyErr_Occurred()) SWIG_fail;
30884 }
30885 resultobj = result;
30886 return resultobj;
30887 fail:
30888 return NULL;
30889 }
30890
30891
30892 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
30893 PyObject *resultobj = NULL;
30894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30895 wxTreeItemId *arg2 = 0 ;
30896 wxTreeItemId result;
30897 PyObject * obj0 = 0 ;
30898 PyObject * obj1 = 0 ;
30899 char *kwnames[] = {
30900 (char *) "self",(char *) "item", NULL
30901 };
30902
30903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
30904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30905 if (SWIG_arg_fail(1)) SWIG_fail;
30906 {
30907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30908 if (SWIG_arg_fail(2)) SWIG_fail;
30909 if (arg2 == NULL) {
30910 SWIG_null_ref("wxTreeItemId");
30911 }
30912 if (SWIG_arg_fail(2)) SWIG_fail;
30913 }
30914 {
30915 PyThreadState* __tstate = wxPyBeginAllowThreads();
30916 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
30917
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 {
30922 wxTreeItemId * resultptr;
30923 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30925 }
30926 return resultobj;
30927 fail:
30928 return NULL;
30929 }
30930
30931
30932 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
30933 PyObject *resultobj = NULL;
30934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30935 wxTreeItemId *arg2 = 0 ;
30936 wxTreeItemId result;
30937 PyObject * obj0 = 0 ;
30938 PyObject * obj1 = 0 ;
30939 char *kwnames[] = {
30940 (char *) "self",(char *) "item", NULL
30941 };
30942
30943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
30944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30945 if (SWIG_arg_fail(1)) SWIG_fail;
30946 {
30947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30948 if (SWIG_arg_fail(2)) SWIG_fail;
30949 if (arg2 == NULL) {
30950 SWIG_null_ref("wxTreeItemId");
30951 }
30952 if (SWIG_arg_fail(2)) SWIG_fail;
30953 }
30954 {
30955 PyThreadState* __tstate = wxPyBeginAllowThreads();
30956 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
30957
30958 wxPyEndAllowThreads(__tstate);
30959 if (PyErr_Occurred()) SWIG_fail;
30960 }
30961 {
30962 wxTreeItemId * resultptr;
30963 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30965 }
30966 return resultobj;
30967 fail:
30968 return NULL;
30969 }
30970
30971
30972 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
30973 PyObject *resultobj = NULL;
30974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30975 wxTreeItemId *arg2 = 0 ;
30976 wxTreeItemId result;
30977 PyObject * obj0 = 0 ;
30978 PyObject * obj1 = 0 ;
30979 char *kwnames[] = {
30980 (char *) "self",(char *) "item", NULL
30981 };
30982
30983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
30984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30985 if (SWIG_arg_fail(1)) SWIG_fail;
30986 {
30987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30988 if (SWIG_arg_fail(2)) SWIG_fail;
30989 if (arg2 == NULL) {
30990 SWIG_null_ref("wxTreeItemId");
30991 }
30992 if (SWIG_arg_fail(2)) SWIG_fail;
30993 }
30994 {
30995 PyThreadState* __tstate = wxPyBeginAllowThreads();
30996 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
30997
30998 wxPyEndAllowThreads(__tstate);
30999 if (PyErr_Occurred()) SWIG_fail;
31000 }
31001 {
31002 wxTreeItemId * resultptr;
31003 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31005 }
31006 return resultobj;
31007 fail:
31008 return NULL;
31009 }
31010
31011
31012 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
31013 PyObject *resultobj = NULL;
31014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31015 wxTreeItemId result;
31016 PyObject * obj0 = 0 ;
31017 char *kwnames[] = {
31018 (char *) "self", NULL
31019 };
31020
31021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
31022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31023 if (SWIG_arg_fail(1)) SWIG_fail;
31024 {
31025 PyThreadState* __tstate = wxPyBeginAllowThreads();
31026 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31027
31028 wxPyEndAllowThreads(__tstate);
31029 if (PyErr_Occurred()) SWIG_fail;
31030 }
31031 {
31032 wxTreeItemId * resultptr;
31033 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31035 }
31036 return resultobj;
31037 fail:
31038 return NULL;
31039 }
31040
31041
31042 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj = NULL;
31044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31045 wxTreeItemId *arg2 = 0 ;
31046 wxTreeItemId result;
31047 PyObject * obj0 = 0 ;
31048 PyObject * obj1 = 0 ;
31049 char *kwnames[] = {
31050 (char *) "self",(char *) "item", NULL
31051 };
31052
31053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
31054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail;
31056 {
31057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31058 if (SWIG_arg_fail(2)) SWIG_fail;
31059 if (arg2 == NULL) {
31060 SWIG_null_ref("wxTreeItemId");
31061 }
31062 if (SWIG_arg_fail(2)) SWIG_fail;
31063 }
31064 {
31065 PyThreadState* __tstate = wxPyBeginAllowThreads();
31066 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31067
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 {
31072 wxTreeItemId * resultptr;
31073 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31075 }
31076 return resultobj;
31077 fail:
31078 return NULL;
31079 }
31080
31081
31082 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31083 PyObject *resultobj = NULL;
31084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31085 wxTreeItemId *arg2 = 0 ;
31086 wxTreeItemId result;
31087 PyObject * obj0 = 0 ;
31088 PyObject * obj1 = 0 ;
31089 char *kwnames[] = {
31090 (char *) "self",(char *) "item", NULL
31091 };
31092
31093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
31094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31095 if (SWIG_arg_fail(1)) SWIG_fail;
31096 {
31097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31098 if (SWIG_arg_fail(2)) SWIG_fail;
31099 if (arg2 == NULL) {
31100 SWIG_null_ref("wxTreeItemId");
31101 }
31102 if (SWIG_arg_fail(2)) SWIG_fail;
31103 }
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 {
31112 wxTreeItemId * resultptr;
31113 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31115 }
31116 return resultobj;
31117 fail:
31118 return NULL;
31119 }
31120
31121
31122 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
31123 PyObject *resultobj = NULL;
31124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31125 wxString *arg2 = 0 ;
31126 int arg3 = (int) -1 ;
31127 int arg4 = (int) -1 ;
31128 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31129 wxTreeItemId result;
31130 bool temp2 = false ;
31131 PyObject * obj0 = 0 ;
31132 PyObject * obj1 = 0 ;
31133 PyObject * obj2 = 0 ;
31134 PyObject * obj3 = 0 ;
31135 PyObject * obj4 = 0 ;
31136 char *kwnames[] = {
31137 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31142 if (SWIG_arg_fail(1)) SWIG_fail;
31143 {
31144 arg2 = wxString_in_helper(obj1);
31145 if (arg2 == NULL) SWIG_fail;
31146 temp2 = true;
31147 }
31148 if (obj2) {
31149 {
31150 arg3 = static_cast<int >(SWIG_As_int(obj2));
31151 if (SWIG_arg_fail(3)) SWIG_fail;
31152 }
31153 }
31154 if (obj3) {
31155 {
31156 arg4 = static_cast<int >(SWIG_As_int(obj3));
31157 if (SWIG_arg_fail(4)) SWIG_fail;
31158 }
31159 }
31160 if (obj4) {
31161 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31162 if (SWIG_arg_fail(5)) SWIG_fail;
31163 }
31164 {
31165 PyThreadState* __tstate = wxPyBeginAllowThreads();
31166 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31167
31168 wxPyEndAllowThreads(__tstate);
31169 if (PyErr_Occurred()) SWIG_fail;
31170 }
31171 {
31172 wxTreeItemId * resultptr;
31173 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31175 }
31176 {
31177 if (temp2)
31178 delete arg2;
31179 }
31180 return resultobj;
31181 fail:
31182 {
31183 if (temp2)
31184 delete arg2;
31185 }
31186 return NULL;
31187 }
31188
31189
31190 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
31191 PyObject *resultobj = NULL;
31192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31193 wxTreeItemId *arg2 = 0 ;
31194 wxString *arg3 = 0 ;
31195 int arg4 = (int) -1 ;
31196 int arg5 = (int) -1 ;
31197 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31198 wxTreeItemId result;
31199 bool temp3 = false ;
31200 PyObject * obj0 = 0 ;
31201 PyObject * obj1 = 0 ;
31202 PyObject * obj2 = 0 ;
31203 PyObject * obj3 = 0 ;
31204 PyObject * obj4 = 0 ;
31205 PyObject * obj5 = 0 ;
31206 char *kwnames[] = {
31207 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31208 };
31209
31210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31212 if (SWIG_arg_fail(1)) SWIG_fail;
31213 {
31214 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31215 if (SWIG_arg_fail(2)) SWIG_fail;
31216 if (arg2 == NULL) {
31217 SWIG_null_ref("wxTreeItemId");
31218 }
31219 if (SWIG_arg_fail(2)) SWIG_fail;
31220 }
31221 {
31222 arg3 = wxString_in_helper(obj2);
31223 if (arg3 == NULL) SWIG_fail;
31224 temp3 = true;
31225 }
31226 if (obj3) {
31227 {
31228 arg4 = static_cast<int >(SWIG_As_int(obj3));
31229 if (SWIG_arg_fail(4)) SWIG_fail;
31230 }
31231 }
31232 if (obj4) {
31233 {
31234 arg5 = static_cast<int >(SWIG_As_int(obj4));
31235 if (SWIG_arg_fail(5)) SWIG_fail;
31236 }
31237 }
31238 if (obj5) {
31239 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31240 if (SWIG_arg_fail(6)) SWIG_fail;
31241 }
31242 {
31243 PyThreadState* __tstate = wxPyBeginAllowThreads();
31244 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31245
31246 wxPyEndAllowThreads(__tstate);
31247 if (PyErr_Occurred()) SWIG_fail;
31248 }
31249 {
31250 wxTreeItemId * resultptr;
31251 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31253 }
31254 {
31255 if (temp3)
31256 delete arg3;
31257 }
31258 return resultobj;
31259 fail:
31260 {
31261 if (temp3)
31262 delete arg3;
31263 }
31264 return NULL;
31265 }
31266
31267
31268 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
31269 PyObject *resultobj = NULL;
31270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31271 wxTreeItemId *arg2 = 0 ;
31272 wxTreeItemId *arg3 = 0 ;
31273 wxString *arg4 = 0 ;
31274 int arg5 = (int) -1 ;
31275 int arg6 = (int) -1 ;
31276 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31277 wxTreeItemId result;
31278 bool temp4 = false ;
31279 PyObject * obj0 = 0 ;
31280 PyObject * obj1 = 0 ;
31281 PyObject * obj2 = 0 ;
31282 PyObject * obj3 = 0 ;
31283 PyObject * obj4 = 0 ;
31284 PyObject * obj5 = 0 ;
31285 PyObject * obj6 = 0 ;
31286 char *kwnames[] = {
31287 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31288 };
31289
31290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31292 if (SWIG_arg_fail(1)) SWIG_fail;
31293 {
31294 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31295 if (SWIG_arg_fail(2)) SWIG_fail;
31296 if (arg2 == NULL) {
31297 SWIG_null_ref("wxTreeItemId");
31298 }
31299 if (SWIG_arg_fail(2)) SWIG_fail;
31300 }
31301 {
31302 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31303 if (SWIG_arg_fail(3)) SWIG_fail;
31304 if (arg3 == NULL) {
31305 SWIG_null_ref("wxTreeItemId");
31306 }
31307 if (SWIG_arg_fail(3)) SWIG_fail;
31308 }
31309 {
31310 arg4 = wxString_in_helper(obj3);
31311 if (arg4 == NULL) SWIG_fail;
31312 temp4 = true;
31313 }
31314 if (obj4) {
31315 {
31316 arg5 = static_cast<int >(SWIG_As_int(obj4));
31317 if (SWIG_arg_fail(5)) SWIG_fail;
31318 }
31319 }
31320 if (obj5) {
31321 {
31322 arg6 = static_cast<int >(SWIG_As_int(obj5));
31323 if (SWIG_arg_fail(6)) SWIG_fail;
31324 }
31325 }
31326 if (obj6) {
31327 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31328 if (SWIG_arg_fail(7)) SWIG_fail;
31329 }
31330 {
31331 PyThreadState* __tstate = wxPyBeginAllowThreads();
31332 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31333
31334 wxPyEndAllowThreads(__tstate);
31335 if (PyErr_Occurred()) SWIG_fail;
31336 }
31337 {
31338 wxTreeItemId * resultptr;
31339 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31341 }
31342 {
31343 if (temp4)
31344 delete arg4;
31345 }
31346 return resultobj;
31347 fail:
31348 {
31349 if (temp4)
31350 delete arg4;
31351 }
31352 return NULL;
31353 }
31354
31355
31356 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
31357 PyObject *resultobj = NULL;
31358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31359 wxTreeItemId *arg2 = 0 ;
31360 size_t arg3 ;
31361 wxString *arg4 = 0 ;
31362 int arg5 = (int) -1 ;
31363 int arg6 = (int) -1 ;
31364 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31365 wxTreeItemId result;
31366 bool temp4 = false ;
31367 PyObject * obj0 = 0 ;
31368 PyObject * obj1 = 0 ;
31369 PyObject * obj2 = 0 ;
31370 PyObject * obj3 = 0 ;
31371 PyObject * obj4 = 0 ;
31372 PyObject * obj5 = 0 ;
31373 PyObject * obj6 = 0 ;
31374 char *kwnames[] = {
31375 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31376 };
31377
31378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail;
31381 {
31382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31383 if (SWIG_arg_fail(2)) SWIG_fail;
31384 if (arg2 == NULL) {
31385 SWIG_null_ref("wxTreeItemId");
31386 }
31387 if (SWIG_arg_fail(2)) SWIG_fail;
31388 }
31389 {
31390 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
31391 if (SWIG_arg_fail(3)) SWIG_fail;
31392 }
31393 {
31394 arg4 = wxString_in_helper(obj3);
31395 if (arg4 == NULL) SWIG_fail;
31396 temp4 = true;
31397 }
31398 if (obj4) {
31399 {
31400 arg5 = static_cast<int >(SWIG_As_int(obj4));
31401 if (SWIG_arg_fail(5)) SWIG_fail;
31402 }
31403 }
31404 if (obj5) {
31405 {
31406 arg6 = static_cast<int >(SWIG_As_int(obj5));
31407 if (SWIG_arg_fail(6)) SWIG_fail;
31408 }
31409 }
31410 if (obj6) {
31411 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31412 if (SWIG_arg_fail(7)) SWIG_fail;
31413 }
31414 {
31415 PyThreadState* __tstate = wxPyBeginAllowThreads();
31416 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31417
31418 wxPyEndAllowThreads(__tstate);
31419 if (PyErr_Occurred()) SWIG_fail;
31420 }
31421 {
31422 wxTreeItemId * resultptr;
31423 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31425 }
31426 {
31427 if (temp4)
31428 delete arg4;
31429 }
31430 return resultobj;
31431 fail:
31432 {
31433 if (temp4)
31434 delete arg4;
31435 }
31436 return NULL;
31437 }
31438
31439
31440 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
31441 PyObject *resultobj = NULL;
31442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31443 wxTreeItemId *arg2 = 0 ;
31444 wxString *arg3 = 0 ;
31445 int arg4 = (int) -1 ;
31446 int arg5 = (int) -1 ;
31447 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31448 wxTreeItemId result;
31449 bool temp3 = false ;
31450 PyObject * obj0 = 0 ;
31451 PyObject * obj1 = 0 ;
31452 PyObject * obj2 = 0 ;
31453 PyObject * obj3 = 0 ;
31454 PyObject * obj4 = 0 ;
31455 PyObject * obj5 = 0 ;
31456 char *kwnames[] = {
31457 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31458 };
31459
31460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31462 if (SWIG_arg_fail(1)) SWIG_fail;
31463 {
31464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31465 if (SWIG_arg_fail(2)) SWIG_fail;
31466 if (arg2 == NULL) {
31467 SWIG_null_ref("wxTreeItemId");
31468 }
31469 if (SWIG_arg_fail(2)) SWIG_fail;
31470 }
31471 {
31472 arg3 = wxString_in_helper(obj2);
31473 if (arg3 == NULL) SWIG_fail;
31474 temp3 = true;
31475 }
31476 if (obj3) {
31477 {
31478 arg4 = static_cast<int >(SWIG_As_int(obj3));
31479 if (SWIG_arg_fail(4)) SWIG_fail;
31480 }
31481 }
31482 if (obj4) {
31483 {
31484 arg5 = static_cast<int >(SWIG_As_int(obj4));
31485 if (SWIG_arg_fail(5)) SWIG_fail;
31486 }
31487 }
31488 if (obj5) {
31489 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31490 if (SWIG_arg_fail(6)) SWIG_fail;
31491 }
31492 {
31493 PyThreadState* __tstate = wxPyBeginAllowThreads();
31494 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31495
31496 wxPyEndAllowThreads(__tstate);
31497 if (PyErr_Occurred()) SWIG_fail;
31498 }
31499 {
31500 wxTreeItemId * resultptr;
31501 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31503 }
31504 {
31505 if (temp3)
31506 delete arg3;
31507 }
31508 return resultobj;
31509 fail:
31510 {
31511 if (temp3)
31512 delete arg3;
31513 }
31514 return NULL;
31515 }
31516
31517
31518 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
31519 PyObject *resultobj = NULL;
31520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31521 wxTreeItemId *arg2 = 0 ;
31522 PyObject * obj0 = 0 ;
31523 PyObject * obj1 = 0 ;
31524 char *kwnames[] = {
31525 (char *) "self",(char *) "item", NULL
31526 };
31527
31528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
31529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31530 if (SWIG_arg_fail(1)) SWIG_fail;
31531 {
31532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31533 if (SWIG_arg_fail(2)) SWIG_fail;
31534 if (arg2 == NULL) {
31535 SWIG_null_ref("wxTreeItemId");
31536 }
31537 if (SWIG_arg_fail(2)) SWIG_fail;
31538 }
31539 {
31540 PyThreadState* __tstate = wxPyBeginAllowThreads();
31541 (arg1)->Delete((wxTreeItemId const &)*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_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj = NULL;
31555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31556 wxTreeItemId *arg2 = 0 ;
31557 PyObject * obj0 = 0 ;
31558 PyObject * obj1 = 0 ;
31559 char *kwnames[] = {
31560 (char *) "self",(char *) "item", NULL
31561 };
31562
31563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
31564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail;
31566 {
31567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31568 if (SWIG_arg_fail(2)) SWIG_fail;
31569 if (arg2 == NULL) {
31570 SWIG_null_ref("wxTreeItemId");
31571 }
31572 if (SWIG_arg_fail(2)) SWIG_fail;
31573 }
31574 {
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31577
31578 wxPyEndAllowThreads(__tstate);
31579 if (PyErr_Occurred()) SWIG_fail;
31580 }
31581 Py_INCREF(Py_None); resultobj = Py_None;
31582 return resultobj;
31583 fail:
31584 return NULL;
31585 }
31586
31587
31588 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
31589 PyObject *resultobj = NULL;
31590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31591 PyObject * obj0 = 0 ;
31592 char *kwnames[] = {
31593 (char *) "self", NULL
31594 };
31595
31596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
31597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31598 if (SWIG_arg_fail(1)) SWIG_fail;
31599 {
31600 PyThreadState* __tstate = wxPyBeginAllowThreads();
31601 (arg1)->DeleteAllItems();
31602
31603 wxPyEndAllowThreads(__tstate);
31604 if (PyErr_Occurred()) SWIG_fail;
31605 }
31606 Py_INCREF(Py_None); resultobj = Py_None;
31607 return resultobj;
31608 fail:
31609 return NULL;
31610 }
31611
31612
31613 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
31614 PyObject *resultobj = NULL;
31615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31616 wxTreeItemId *arg2 = 0 ;
31617 PyObject * obj0 = 0 ;
31618 PyObject * obj1 = 0 ;
31619 char *kwnames[] = {
31620 (char *) "self",(char *) "item", NULL
31621 };
31622
31623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
31624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31625 if (SWIG_arg_fail(1)) SWIG_fail;
31626 {
31627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31628 if (SWIG_arg_fail(2)) SWIG_fail;
31629 if (arg2 == NULL) {
31630 SWIG_null_ref("wxTreeItemId");
31631 }
31632 if (SWIG_arg_fail(2)) SWIG_fail;
31633 }
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 (arg1)->Expand((wxTreeItemId const &)*arg2);
31637
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 Py_INCREF(Py_None); resultobj = Py_None;
31642 return resultobj;
31643 fail:
31644 return NULL;
31645 }
31646
31647
31648 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
31649 PyObject *resultobj = NULL;
31650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31651 wxTreeItemId *arg2 = 0 ;
31652 PyObject * obj0 = 0 ;
31653 PyObject * obj1 = 0 ;
31654 char *kwnames[] = {
31655 (char *) "self",(char *) "item", NULL
31656 };
31657
31658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
31659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31660 if (SWIG_arg_fail(1)) SWIG_fail;
31661 {
31662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31663 if (SWIG_arg_fail(2)) SWIG_fail;
31664 if (arg2 == NULL) {
31665 SWIG_null_ref("wxTreeItemId");
31666 }
31667 if (SWIG_arg_fail(2)) SWIG_fail;
31668 }
31669 {
31670 PyThreadState* __tstate = wxPyBeginAllowThreads();
31671 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31672
31673 wxPyEndAllowThreads(__tstate);
31674 if (PyErr_Occurred()) SWIG_fail;
31675 }
31676 Py_INCREF(Py_None); resultobj = Py_None;
31677 return resultobj;
31678 fail:
31679 return NULL;
31680 }
31681
31682
31683 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
31684 PyObject *resultobj = NULL;
31685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31686 wxTreeItemId *arg2 = 0 ;
31687 PyObject * obj0 = 0 ;
31688 PyObject * obj1 = 0 ;
31689 char *kwnames[] = {
31690 (char *) "self",(char *) "item", NULL
31691 };
31692
31693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
31694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail;
31696 {
31697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31698 if (SWIG_arg_fail(2)) SWIG_fail;
31699 if (arg2 == NULL) {
31700 SWIG_null_ref("wxTreeItemId");
31701 }
31702 if (SWIG_arg_fail(2)) SWIG_fail;
31703 }
31704 {
31705 PyThreadState* __tstate = wxPyBeginAllowThreads();
31706 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31707
31708 wxPyEndAllowThreads(__tstate);
31709 if (PyErr_Occurred()) SWIG_fail;
31710 }
31711 Py_INCREF(Py_None); resultobj = Py_None;
31712 return resultobj;
31713 fail:
31714 return NULL;
31715 }
31716
31717
31718 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
31719 PyObject *resultobj = NULL;
31720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31721 wxTreeItemId *arg2 = 0 ;
31722 PyObject * obj0 = 0 ;
31723 PyObject * obj1 = 0 ;
31724 char *kwnames[] = {
31725 (char *) "self",(char *) "item", NULL
31726 };
31727
31728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
31729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail;
31731 {
31732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31733 if (SWIG_arg_fail(2)) SWIG_fail;
31734 if (arg2 == NULL) {
31735 SWIG_null_ref("wxTreeItemId");
31736 }
31737 if (SWIG_arg_fail(2)) SWIG_fail;
31738 }
31739 {
31740 PyThreadState* __tstate = wxPyBeginAllowThreads();
31741 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31742
31743 wxPyEndAllowThreads(__tstate);
31744 if (PyErr_Occurred()) SWIG_fail;
31745 }
31746 Py_INCREF(Py_None); resultobj = Py_None;
31747 return resultobj;
31748 fail:
31749 return NULL;
31750 }
31751
31752
31753 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
31754 PyObject *resultobj = NULL;
31755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31756 PyObject * obj0 = 0 ;
31757 char *kwnames[] = {
31758 (char *) "self", NULL
31759 };
31760
31761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
31762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31763 if (SWIG_arg_fail(1)) SWIG_fail;
31764 {
31765 PyThreadState* __tstate = wxPyBeginAllowThreads();
31766 (arg1)->Unselect();
31767
31768 wxPyEndAllowThreads(__tstate);
31769 if (PyErr_Occurred()) SWIG_fail;
31770 }
31771 Py_INCREF(Py_None); resultobj = Py_None;
31772 return resultobj;
31773 fail:
31774 return NULL;
31775 }
31776
31777
31778 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31779 PyObject *resultobj = NULL;
31780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31781 wxTreeItemId *arg2 = 0 ;
31782 PyObject * obj0 = 0 ;
31783 PyObject * obj1 = 0 ;
31784 char *kwnames[] = {
31785 (char *) "self",(char *) "item", NULL
31786 };
31787
31788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
31789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31790 if (SWIG_arg_fail(1)) SWIG_fail;
31791 {
31792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31793 if (SWIG_arg_fail(2)) SWIG_fail;
31794 if (arg2 == NULL) {
31795 SWIG_null_ref("wxTreeItemId");
31796 }
31797 if (SWIG_arg_fail(2)) SWIG_fail;
31798 }
31799 {
31800 PyThreadState* __tstate = wxPyBeginAllowThreads();
31801 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31802
31803 wxPyEndAllowThreads(__tstate);
31804 if (PyErr_Occurred()) SWIG_fail;
31805 }
31806 Py_INCREF(Py_None); resultobj = Py_None;
31807 return resultobj;
31808 fail:
31809 return NULL;
31810 }
31811
31812
31813 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
31814 PyObject *resultobj = NULL;
31815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31816 PyObject * obj0 = 0 ;
31817 char *kwnames[] = {
31818 (char *) "self", NULL
31819 };
31820
31821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
31822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail;
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 (arg1)->UnselectAll();
31827
31828 wxPyEndAllowThreads(__tstate);
31829 if (PyErr_Occurred()) SWIG_fail;
31830 }
31831 Py_INCREF(Py_None); resultobj = Py_None;
31832 return resultobj;
31833 fail:
31834 return NULL;
31835 }
31836
31837
31838 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31839 PyObject *resultobj = NULL;
31840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31841 wxTreeItemId *arg2 = 0 ;
31842 bool arg3 = (bool) true ;
31843 PyObject * obj0 = 0 ;
31844 PyObject * obj1 = 0 ;
31845 PyObject * obj2 = 0 ;
31846 char *kwnames[] = {
31847 (char *) "self",(char *) "item",(char *) "select", NULL
31848 };
31849
31850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
31851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31852 if (SWIG_arg_fail(1)) SWIG_fail;
31853 {
31854 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31855 if (SWIG_arg_fail(2)) SWIG_fail;
31856 if (arg2 == NULL) {
31857 SWIG_null_ref("wxTreeItemId");
31858 }
31859 if (SWIG_arg_fail(2)) SWIG_fail;
31860 }
31861 if (obj2) {
31862 {
31863 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
31864 if (SWIG_arg_fail(3)) SWIG_fail;
31865 }
31866 }
31867 {
31868 PyThreadState* __tstate = wxPyBeginAllowThreads();
31869 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
31870
31871 wxPyEndAllowThreads(__tstate);
31872 if (PyErr_Occurred()) SWIG_fail;
31873 }
31874 Py_INCREF(Py_None); resultobj = Py_None;
31875 return resultobj;
31876 fail:
31877 return NULL;
31878 }
31879
31880
31881 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
31882 PyObject *resultobj = NULL;
31883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31884 wxTreeItemId *arg2 = 0 ;
31885 PyObject * obj0 = 0 ;
31886 PyObject * obj1 = 0 ;
31887 char *kwnames[] = {
31888 (char *) "self",(char *) "item", NULL
31889 };
31890
31891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
31892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31893 if (SWIG_arg_fail(1)) SWIG_fail;
31894 {
31895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31896 if (SWIG_arg_fail(2)) SWIG_fail;
31897 if (arg2 == NULL) {
31898 SWIG_null_ref("wxTreeItemId");
31899 }
31900 if (SWIG_arg_fail(2)) SWIG_fail;
31901 }
31902 {
31903 PyThreadState* __tstate = wxPyBeginAllowThreads();
31904 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
31905
31906 wxPyEndAllowThreads(__tstate);
31907 if (PyErr_Occurred()) SWIG_fail;
31908 }
31909 Py_INCREF(Py_None); resultobj = Py_None;
31910 return resultobj;
31911 fail:
31912 return NULL;
31913 }
31914
31915
31916 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31917 PyObject *resultobj = NULL;
31918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31919 wxTreeItemId *arg2 = 0 ;
31920 PyObject * obj0 = 0 ;
31921 PyObject * obj1 = 0 ;
31922 char *kwnames[] = {
31923 (char *) "self",(char *) "item", NULL
31924 };
31925
31926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
31927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31928 if (SWIG_arg_fail(1)) SWIG_fail;
31929 {
31930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31931 if (SWIG_arg_fail(2)) SWIG_fail;
31932 if (arg2 == NULL) {
31933 SWIG_null_ref("wxTreeItemId");
31934 }
31935 if (SWIG_arg_fail(2)) SWIG_fail;
31936 }
31937 {
31938 PyThreadState* __tstate = wxPyBeginAllowThreads();
31939 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
31940
31941 wxPyEndAllowThreads(__tstate);
31942 if (PyErr_Occurred()) SWIG_fail;
31943 }
31944 Py_INCREF(Py_None); resultobj = Py_None;
31945 return resultobj;
31946 fail:
31947 return NULL;
31948 }
31949
31950
31951 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
31952 PyObject *resultobj = NULL;
31953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31954 wxTreeItemId *arg2 = 0 ;
31955 PyObject * obj0 = 0 ;
31956 PyObject * obj1 = 0 ;
31957 char *kwnames[] = {
31958 (char *) "self",(char *) "item", NULL
31959 };
31960
31961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
31962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail;
31964 {
31965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31966 if (SWIG_arg_fail(2)) SWIG_fail;
31967 if (arg2 == NULL) {
31968 SWIG_null_ref("wxTreeItemId");
31969 }
31970 if (SWIG_arg_fail(2)) SWIG_fail;
31971 }
31972 {
31973 PyThreadState* __tstate = wxPyBeginAllowThreads();
31974 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
31975
31976 wxPyEndAllowThreads(__tstate);
31977 if (PyErr_Occurred()) SWIG_fail;
31978 }
31979 Py_INCREF(Py_None); resultobj = Py_None;
31980 return resultobj;
31981 fail:
31982 return NULL;
31983 }
31984
31985
31986 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
31987 PyObject *resultobj = NULL;
31988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31989 wxTreeItemId *arg2 = 0 ;
31990 PyObject * obj0 = 0 ;
31991 PyObject * obj1 = 0 ;
31992 char *kwnames[] = {
31993 (char *) "self",(char *) "item", NULL
31994 };
31995
31996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
31997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31998 if (SWIG_arg_fail(1)) SWIG_fail;
31999 {
32000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32001 if (SWIG_arg_fail(2)) SWIG_fail;
32002 if (arg2 == NULL) {
32003 SWIG_null_ref("wxTreeItemId");
32004 }
32005 if (SWIG_arg_fail(2)) SWIG_fail;
32006 }
32007 {
32008 PyThreadState* __tstate = wxPyBeginAllowThreads();
32009 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32010
32011 wxPyEndAllowThreads(__tstate);
32012 if (PyErr_Occurred()) SWIG_fail;
32013 }
32014 Py_INCREF(Py_None); resultobj = Py_None;
32015 return resultobj;
32016 fail:
32017 return NULL;
32018 }
32019
32020
32021 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32022 PyObject *resultobj = NULL;
32023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32024 wxTextCtrl *result;
32025 PyObject * obj0 = 0 ;
32026 char *kwnames[] = {
32027 (char *) "self", NULL
32028 };
32029
32030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
32031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail;
32033 {
32034 PyThreadState* __tstate = wxPyBeginAllowThreads();
32035 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32036
32037 wxPyEndAllowThreads(__tstate);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 }
32040 {
32041 resultobj = wxPyMake_wxObject(result, 0);
32042 }
32043 return resultobj;
32044 fail:
32045 return NULL;
32046 }
32047
32048
32049 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32050 PyObject *resultobj = NULL;
32051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32052 wxTreeItemId *arg2 = 0 ;
32053 PyObject * obj0 = 0 ;
32054 PyObject * obj1 = 0 ;
32055 char *kwnames[] = {
32056 (char *) "self",(char *) "item", NULL
32057 };
32058
32059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
32060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32061 if (SWIG_arg_fail(1)) SWIG_fail;
32062 {
32063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32064 if (SWIG_arg_fail(2)) SWIG_fail;
32065 if (arg2 == NULL) {
32066 SWIG_null_ref("wxTreeItemId");
32067 }
32068 if (SWIG_arg_fail(2)) SWIG_fail;
32069 }
32070 {
32071 PyThreadState* __tstate = wxPyBeginAllowThreads();
32072 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32073
32074 wxPyEndAllowThreads(__tstate);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 Py_INCREF(Py_None); resultobj = Py_None;
32078 return resultobj;
32079 fail:
32080 return NULL;
32081 }
32082
32083
32084 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32085 PyObject *resultobj = NULL;
32086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32087 wxPoint *arg2 = 0 ;
32088 int *arg3 = 0 ;
32089 wxTreeItemId result;
32090 wxPoint temp2 ;
32091 int temp3 ;
32092 int res3 = 0 ;
32093 PyObject * obj0 = 0 ;
32094 PyObject * obj1 = 0 ;
32095 char *kwnames[] = {
32096 (char *) "self",(char *) "point", NULL
32097 };
32098
32099 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
32101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32102 if (SWIG_arg_fail(1)) SWIG_fail;
32103 {
32104 arg2 = &temp2;
32105 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32106 }
32107 {
32108 PyThreadState* __tstate = wxPyBeginAllowThreads();
32109 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32110
32111 wxPyEndAllowThreads(__tstate);
32112 if (PyErr_Occurred()) SWIG_fail;
32113 }
32114 {
32115 wxTreeItemId * resultptr;
32116 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32118 }
32119 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32120 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32121 return resultobj;
32122 fail:
32123 return NULL;
32124 }
32125
32126
32127 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32128 PyObject *resultobj = NULL;
32129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32130 wxTreeItemId *arg2 = 0 ;
32131 bool arg3 = (bool) false ;
32132 PyObject *result;
32133 PyObject * obj0 = 0 ;
32134 PyObject * obj1 = 0 ;
32135 PyObject * obj2 = 0 ;
32136 char *kwnames[] = {
32137 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32138 };
32139
32140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
32141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32142 if (SWIG_arg_fail(1)) SWIG_fail;
32143 {
32144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32145 if (SWIG_arg_fail(2)) SWIG_fail;
32146 if (arg2 == NULL) {
32147 SWIG_null_ref("wxTreeItemId");
32148 }
32149 if (SWIG_arg_fail(2)) SWIG_fail;
32150 }
32151 if (obj2) {
32152 {
32153 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
32154 if (SWIG_arg_fail(3)) SWIG_fail;
32155 }
32156 }
32157 {
32158 PyThreadState* __tstate = wxPyBeginAllowThreads();
32159 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32160
32161 wxPyEndAllowThreads(__tstate);
32162 if (PyErr_Occurred()) SWIG_fail;
32163 }
32164 resultobj = result;
32165 return resultobj;
32166 fail:
32167 return NULL;
32168 }
32169
32170
32171 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32172 PyObject *resultobj = NULL;
32173 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32174 wxVisualAttributes result;
32175 PyObject * obj0 = 0 ;
32176 char *kwnames[] = {
32177 (char *) "variant", NULL
32178 };
32179
32180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32181 if (obj0) {
32182 {
32183 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
32184 if (SWIG_arg_fail(1)) SWIG_fail;
32185 }
32186 }
32187 {
32188 if (!wxPyCheckForApp()) SWIG_fail;
32189 PyThreadState* __tstate = wxPyBeginAllowThreads();
32190 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
32191
32192 wxPyEndAllowThreads(__tstate);
32193 if (PyErr_Occurred()) SWIG_fail;
32194 }
32195 {
32196 wxVisualAttributes * resultptr;
32197 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
32198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32199 }
32200 return resultobj;
32201 fail:
32202 return NULL;
32203 }
32204
32205
32206 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
32207 PyObject *obj;
32208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32209 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32210 Py_INCREF(obj);
32211 return Py_BuildValue((char *)"");
32212 }
32213 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
32214 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32215 return 1;
32216 }
32217
32218
32219 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
32220 PyObject *pyobj = NULL;
32221
32222 {
32223 #if wxUSE_UNICODE
32224 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32225 #else
32226 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32227 #endif
32228 }
32229 return pyobj;
32230 }
32231
32232
32233 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32234 PyObject *resultobj = NULL;
32235 wxWindow *arg1 = (wxWindow *) 0 ;
32236 int arg2 = (int) (int)-1 ;
32237 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32238 wxString *arg3 = (wxString *) &arg3_defvalue ;
32239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32241 wxSize const &arg5_defvalue = wxDefaultSize ;
32242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32243 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32244 wxString const &arg7_defvalue = wxPyEmptyString ;
32245 wxString *arg7 = (wxString *) &arg7_defvalue ;
32246 int arg8 = (int) 0 ;
32247 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32248 wxString *arg9 = (wxString *) &arg9_defvalue ;
32249 wxGenericDirCtrl *result;
32250 bool temp3 = false ;
32251 wxPoint temp4 ;
32252 wxSize temp5 ;
32253 bool temp7 = false ;
32254 bool temp9 = false ;
32255 PyObject * obj0 = 0 ;
32256 PyObject * obj1 = 0 ;
32257 PyObject * obj2 = 0 ;
32258 PyObject * obj3 = 0 ;
32259 PyObject * obj4 = 0 ;
32260 PyObject * obj5 = 0 ;
32261 PyObject * obj6 = 0 ;
32262 PyObject * obj7 = 0 ;
32263 PyObject * obj8 = 0 ;
32264 char *kwnames[] = {
32265 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32266 };
32267
32268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
32269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail;
32271 if (obj1) {
32272 {
32273 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32274 if (SWIG_arg_fail(2)) SWIG_fail;
32275 }
32276 }
32277 if (obj2) {
32278 {
32279 arg3 = wxString_in_helper(obj2);
32280 if (arg3 == NULL) SWIG_fail;
32281 temp3 = true;
32282 }
32283 }
32284 if (obj3) {
32285 {
32286 arg4 = &temp4;
32287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32288 }
32289 }
32290 if (obj4) {
32291 {
32292 arg5 = &temp5;
32293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32294 }
32295 }
32296 if (obj5) {
32297 {
32298 arg6 = static_cast<long >(SWIG_As_long(obj5));
32299 if (SWIG_arg_fail(6)) SWIG_fail;
32300 }
32301 }
32302 if (obj6) {
32303 {
32304 arg7 = wxString_in_helper(obj6);
32305 if (arg7 == NULL) SWIG_fail;
32306 temp7 = true;
32307 }
32308 }
32309 if (obj7) {
32310 {
32311 arg8 = static_cast<int >(SWIG_As_int(obj7));
32312 if (SWIG_arg_fail(8)) SWIG_fail;
32313 }
32314 }
32315 if (obj8) {
32316 {
32317 arg9 = wxString_in_helper(obj8);
32318 if (arg9 == NULL) SWIG_fail;
32319 temp9 = true;
32320 }
32321 }
32322 {
32323 if (!wxPyCheckForApp()) SWIG_fail;
32324 PyThreadState* __tstate = wxPyBeginAllowThreads();
32325 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32326
32327 wxPyEndAllowThreads(__tstate);
32328 if (PyErr_Occurred()) SWIG_fail;
32329 }
32330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32331 {
32332 if (temp3)
32333 delete arg3;
32334 }
32335 {
32336 if (temp7)
32337 delete arg7;
32338 }
32339 {
32340 if (temp9)
32341 delete arg9;
32342 }
32343 return resultobj;
32344 fail:
32345 {
32346 if (temp3)
32347 delete arg3;
32348 }
32349 {
32350 if (temp7)
32351 delete arg7;
32352 }
32353 {
32354 if (temp9)
32355 delete arg9;
32356 }
32357 return NULL;
32358 }
32359
32360
32361 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32362 PyObject *resultobj = NULL;
32363 wxGenericDirCtrl *result;
32364 char *kwnames[] = {
32365 NULL
32366 };
32367
32368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32369 {
32370 if (!wxPyCheckForApp()) SWIG_fail;
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32373
32374 wxPyEndAllowThreads(__tstate);
32375 if (PyErr_Occurred()) SWIG_fail;
32376 }
32377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32378 return resultobj;
32379 fail:
32380 return NULL;
32381 }
32382
32383
32384 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32385 PyObject *resultobj = NULL;
32386 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32387 wxWindow *arg2 = (wxWindow *) 0 ;
32388 int arg3 = (int) (int)-1 ;
32389 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32390 wxString *arg4 = (wxString *) &arg4_defvalue ;
32391 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32392 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32393 wxSize const &arg6_defvalue = wxDefaultSize ;
32394 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32395 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32396 wxString const &arg8_defvalue = wxPyEmptyString ;
32397 wxString *arg8 = (wxString *) &arg8_defvalue ;
32398 int arg9 = (int) 0 ;
32399 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32400 wxString *arg10 = (wxString *) &arg10_defvalue ;
32401 bool result;
32402 bool temp4 = false ;
32403 wxPoint temp5 ;
32404 wxSize temp6 ;
32405 bool temp8 = false ;
32406 bool temp10 = false ;
32407 PyObject * obj0 = 0 ;
32408 PyObject * obj1 = 0 ;
32409 PyObject * obj2 = 0 ;
32410 PyObject * obj3 = 0 ;
32411 PyObject * obj4 = 0 ;
32412 PyObject * obj5 = 0 ;
32413 PyObject * obj6 = 0 ;
32414 PyObject * obj7 = 0 ;
32415 PyObject * obj8 = 0 ;
32416 PyObject * obj9 = 0 ;
32417 char *kwnames[] = {
32418 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32419 };
32420
32421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
32422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail;
32424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32425 if (SWIG_arg_fail(2)) SWIG_fail;
32426 if (obj2) {
32427 {
32428 arg3 = static_cast<int const >(SWIG_As_int(obj2));
32429 if (SWIG_arg_fail(3)) SWIG_fail;
32430 }
32431 }
32432 if (obj3) {
32433 {
32434 arg4 = wxString_in_helper(obj3);
32435 if (arg4 == NULL) SWIG_fail;
32436 temp4 = true;
32437 }
32438 }
32439 if (obj4) {
32440 {
32441 arg5 = &temp5;
32442 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32443 }
32444 }
32445 if (obj5) {
32446 {
32447 arg6 = &temp6;
32448 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32449 }
32450 }
32451 if (obj6) {
32452 {
32453 arg7 = static_cast<long >(SWIG_As_long(obj6));
32454 if (SWIG_arg_fail(7)) SWIG_fail;
32455 }
32456 }
32457 if (obj7) {
32458 {
32459 arg8 = wxString_in_helper(obj7);
32460 if (arg8 == NULL) SWIG_fail;
32461 temp8 = true;
32462 }
32463 }
32464 if (obj8) {
32465 {
32466 arg9 = static_cast<int >(SWIG_As_int(obj8));
32467 if (SWIG_arg_fail(9)) SWIG_fail;
32468 }
32469 }
32470 if (obj9) {
32471 {
32472 arg10 = wxString_in_helper(obj9);
32473 if (arg10 == NULL) SWIG_fail;
32474 temp10 = true;
32475 }
32476 }
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32480
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
32484 {
32485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32486 }
32487 {
32488 if (temp4)
32489 delete arg4;
32490 }
32491 {
32492 if (temp8)
32493 delete arg8;
32494 }
32495 {
32496 if (temp10)
32497 delete arg10;
32498 }
32499 return resultobj;
32500 fail:
32501 {
32502 if (temp4)
32503 delete arg4;
32504 }
32505 {
32506 if (temp8)
32507 delete arg8;
32508 }
32509 {
32510 if (temp10)
32511 delete arg10;
32512 }
32513 return NULL;
32514 }
32515
32516
32517 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
32518 PyObject *resultobj = NULL;
32519 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32520 wxString *arg2 = 0 ;
32521 bool result;
32522 bool temp2 = false ;
32523 PyObject * obj0 = 0 ;
32524 PyObject * obj1 = 0 ;
32525 char *kwnames[] = {
32526 (char *) "self",(char *) "path", NULL
32527 };
32528
32529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
32530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32531 if (SWIG_arg_fail(1)) SWIG_fail;
32532 {
32533 arg2 = wxString_in_helper(obj1);
32534 if (arg2 == NULL) SWIG_fail;
32535 temp2 = true;
32536 }
32537 {
32538 PyThreadState* __tstate = wxPyBeginAllowThreads();
32539 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32540
32541 wxPyEndAllowThreads(__tstate);
32542 if (PyErr_Occurred()) SWIG_fail;
32543 }
32544 {
32545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32546 }
32547 {
32548 if (temp2)
32549 delete arg2;
32550 }
32551 return resultobj;
32552 fail:
32553 {
32554 if (temp2)
32555 delete arg2;
32556 }
32557 return NULL;
32558 }
32559
32560
32561 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj = NULL;
32563 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32564 wxString result;
32565 PyObject * obj0 = 0 ;
32566 char *kwnames[] = {
32567 (char *) "self", NULL
32568 };
32569
32570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
32571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32572 if (SWIG_arg_fail(1)) SWIG_fail;
32573 {
32574 PyThreadState* __tstate = wxPyBeginAllowThreads();
32575 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32576
32577 wxPyEndAllowThreads(__tstate);
32578 if (PyErr_Occurred()) SWIG_fail;
32579 }
32580 {
32581 #if wxUSE_UNICODE
32582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32583 #else
32584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32585 #endif
32586 }
32587 return resultobj;
32588 fail:
32589 return NULL;
32590 }
32591
32592
32593 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32594 PyObject *resultobj = NULL;
32595 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32596 wxString *arg2 = 0 ;
32597 bool temp2 = false ;
32598 PyObject * obj0 = 0 ;
32599 PyObject * obj1 = 0 ;
32600 char *kwnames[] = {
32601 (char *) "self",(char *) "path", NULL
32602 };
32603
32604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
32605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32606 if (SWIG_arg_fail(1)) SWIG_fail;
32607 {
32608 arg2 = wxString_in_helper(obj1);
32609 if (arg2 == NULL) SWIG_fail;
32610 temp2 = true;
32611 }
32612 {
32613 PyThreadState* __tstate = wxPyBeginAllowThreads();
32614 (arg1)->SetDefaultPath((wxString const &)*arg2);
32615
32616 wxPyEndAllowThreads(__tstate);
32617 if (PyErr_Occurred()) SWIG_fail;
32618 }
32619 Py_INCREF(Py_None); resultobj = Py_None;
32620 {
32621 if (temp2)
32622 delete arg2;
32623 }
32624 return resultobj;
32625 fail:
32626 {
32627 if (temp2)
32628 delete arg2;
32629 }
32630 return NULL;
32631 }
32632
32633
32634 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32635 PyObject *resultobj = NULL;
32636 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32637 wxString result;
32638 PyObject * obj0 = 0 ;
32639 char *kwnames[] = {
32640 (char *) "self", NULL
32641 };
32642
32643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
32644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail;
32646 {
32647 PyThreadState* __tstate = wxPyBeginAllowThreads();
32648 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32649
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 {
32654 #if wxUSE_UNICODE
32655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32656 #else
32657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32658 #endif
32659 }
32660 return resultobj;
32661 fail:
32662 return NULL;
32663 }
32664
32665
32666 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
32667 PyObject *resultobj = NULL;
32668 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32669 wxString result;
32670 PyObject * obj0 = 0 ;
32671 char *kwnames[] = {
32672 (char *) "self", NULL
32673 };
32674
32675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
32676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32677 if (SWIG_arg_fail(1)) SWIG_fail;
32678 {
32679 PyThreadState* __tstate = wxPyBeginAllowThreads();
32680 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32681
32682 wxPyEndAllowThreads(__tstate);
32683 if (PyErr_Occurred()) SWIG_fail;
32684 }
32685 {
32686 #if wxUSE_UNICODE
32687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32688 #else
32689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32690 #endif
32691 }
32692 return resultobj;
32693 fail:
32694 return NULL;
32695 }
32696
32697
32698 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32699 PyObject *resultobj = NULL;
32700 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32701 wxString *arg2 = 0 ;
32702 bool temp2 = false ;
32703 PyObject * obj0 = 0 ;
32704 PyObject * obj1 = 0 ;
32705 char *kwnames[] = {
32706 (char *) "self",(char *) "path", NULL
32707 };
32708
32709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
32710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail;
32712 {
32713 arg2 = wxString_in_helper(obj1);
32714 if (arg2 == NULL) SWIG_fail;
32715 temp2 = true;
32716 }
32717 {
32718 PyThreadState* __tstate = wxPyBeginAllowThreads();
32719 (arg1)->SetPath((wxString const &)*arg2);
32720
32721 wxPyEndAllowThreads(__tstate);
32722 if (PyErr_Occurred()) SWIG_fail;
32723 }
32724 Py_INCREF(Py_None); resultobj = Py_None;
32725 {
32726 if (temp2)
32727 delete arg2;
32728 }
32729 return resultobj;
32730 fail:
32731 {
32732 if (temp2)
32733 delete arg2;
32734 }
32735 return NULL;
32736 }
32737
32738
32739 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32740 PyObject *resultobj = NULL;
32741 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32742 bool arg2 ;
32743 PyObject * obj0 = 0 ;
32744 PyObject * obj1 = 0 ;
32745 char *kwnames[] = {
32746 (char *) "self",(char *) "show", NULL
32747 };
32748
32749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
32750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail;
32752 {
32753 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
32754 if (SWIG_arg_fail(2)) SWIG_fail;
32755 }
32756 {
32757 PyThreadState* __tstate = wxPyBeginAllowThreads();
32758 (arg1)->ShowHidden(arg2);
32759
32760 wxPyEndAllowThreads(__tstate);
32761 if (PyErr_Occurred()) SWIG_fail;
32762 }
32763 Py_INCREF(Py_None); resultobj = Py_None;
32764 return resultobj;
32765 fail:
32766 return NULL;
32767 }
32768
32769
32770 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32771 PyObject *resultobj = NULL;
32772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32773 bool result;
32774 PyObject * obj0 = 0 ;
32775 char *kwnames[] = {
32776 (char *) "self", NULL
32777 };
32778
32779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
32780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32781 if (SWIG_arg_fail(1)) SWIG_fail;
32782 {
32783 PyThreadState* __tstate = wxPyBeginAllowThreads();
32784 result = (bool)(arg1)->GetShowHidden();
32785
32786 wxPyEndAllowThreads(__tstate);
32787 if (PyErr_Occurred()) SWIG_fail;
32788 }
32789 {
32790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32791 }
32792 return resultobj;
32793 fail:
32794 return NULL;
32795 }
32796
32797
32798 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32799 PyObject *resultobj = NULL;
32800 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32801 wxString result;
32802 PyObject * obj0 = 0 ;
32803 char *kwnames[] = {
32804 (char *) "self", NULL
32805 };
32806
32807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
32808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail;
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
32813
32814 wxPyEndAllowThreads(__tstate);
32815 if (PyErr_Occurred()) SWIG_fail;
32816 }
32817 {
32818 #if wxUSE_UNICODE
32819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32820 #else
32821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32822 #endif
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827 }
32828
32829
32830 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32831 PyObject *resultobj = NULL;
32832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32833 wxString *arg2 = 0 ;
32834 bool temp2 = false ;
32835 PyObject * obj0 = 0 ;
32836 PyObject * obj1 = 0 ;
32837 char *kwnames[] = {
32838 (char *) "self",(char *) "filter", NULL
32839 };
32840
32841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
32842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail;
32844 {
32845 arg2 = wxString_in_helper(obj1);
32846 if (arg2 == NULL) SWIG_fail;
32847 temp2 = true;
32848 }
32849 {
32850 PyThreadState* __tstate = wxPyBeginAllowThreads();
32851 (arg1)->SetFilter((wxString const &)*arg2);
32852
32853 wxPyEndAllowThreads(__tstate);
32854 if (PyErr_Occurred()) SWIG_fail;
32855 }
32856 Py_INCREF(Py_None); resultobj = Py_None;
32857 {
32858 if (temp2)
32859 delete arg2;
32860 }
32861 return resultobj;
32862 fail:
32863 {
32864 if (temp2)
32865 delete arg2;
32866 }
32867 return NULL;
32868 }
32869
32870
32871 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32872 PyObject *resultobj = NULL;
32873 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32874 int result;
32875 PyObject * obj0 = 0 ;
32876 char *kwnames[] = {
32877 (char *) "self", NULL
32878 };
32879
32880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
32881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32882 if (SWIG_arg_fail(1)) SWIG_fail;
32883 {
32884 PyThreadState* __tstate = wxPyBeginAllowThreads();
32885 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
32886
32887 wxPyEndAllowThreads(__tstate);
32888 if (PyErr_Occurred()) SWIG_fail;
32889 }
32890 {
32891 resultobj = SWIG_From_int(static_cast<int >(result));
32892 }
32893 return resultobj;
32894 fail:
32895 return NULL;
32896 }
32897
32898
32899 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32900 PyObject *resultobj = NULL;
32901 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32902 int arg2 ;
32903 PyObject * obj0 = 0 ;
32904 PyObject * obj1 = 0 ;
32905 char *kwnames[] = {
32906 (char *) "self",(char *) "n", NULL
32907 };
32908
32909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
32910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail;
32912 {
32913 arg2 = static_cast<int >(SWIG_As_int(obj1));
32914 if (SWIG_arg_fail(2)) SWIG_fail;
32915 }
32916 {
32917 PyThreadState* __tstate = wxPyBeginAllowThreads();
32918 (arg1)->SetFilterIndex(arg2);
32919
32920 wxPyEndAllowThreads(__tstate);
32921 if (PyErr_Occurred()) SWIG_fail;
32922 }
32923 Py_INCREF(Py_None); resultobj = Py_None;
32924 return resultobj;
32925 fail:
32926 return NULL;
32927 }
32928
32929
32930 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
32931 PyObject *resultobj = NULL;
32932 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32933 wxTreeItemId result;
32934 PyObject * obj0 = 0 ;
32935 char *kwnames[] = {
32936 (char *) "self", NULL
32937 };
32938
32939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
32940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail;
32942 {
32943 PyThreadState* __tstate = wxPyBeginAllowThreads();
32944 result = (arg1)->GetRootId();
32945
32946 wxPyEndAllowThreads(__tstate);
32947 if (PyErr_Occurred()) SWIG_fail;
32948 }
32949 {
32950 wxTreeItemId * resultptr;
32951 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32953 }
32954 return resultobj;
32955 fail:
32956 return NULL;
32957 }
32958
32959
32960 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32961 PyObject *resultobj = NULL;
32962 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32963 wxPyTreeCtrl *result;
32964 PyObject * obj0 = 0 ;
32965 char *kwnames[] = {
32966 (char *) "self", NULL
32967 };
32968
32969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
32970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32971 if (SWIG_arg_fail(1)) SWIG_fail;
32972 {
32973 PyThreadState* __tstate = wxPyBeginAllowThreads();
32974 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
32975
32976 wxPyEndAllowThreads(__tstate);
32977 if (PyErr_Occurred()) SWIG_fail;
32978 }
32979 {
32980 resultobj = wxPyMake_wxObject(result, 0);
32981 }
32982 return resultobj;
32983 fail:
32984 return NULL;
32985 }
32986
32987
32988 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32989 PyObject *resultobj = NULL;
32990 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32991 wxDirFilterListCtrl *result;
32992 PyObject * obj0 = 0 ;
32993 char *kwnames[] = {
32994 (char *) "self", NULL
32995 };
32996
32997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
32998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32999 if (SWIG_arg_fail(1)) SWIG_fail;
33000 {
33001 PyThreadState* __tstate = wxPyBeginAllowThreads();
33002 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33003
33004 wxPyEndAllowThreads(__tstate);
33005 if (PyErr_Occurred()) SWIG_fail;
33006 }
33007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33008 return resultobj;
33009 fail:
33010 return NULL;
33011 }
33012
33013
33014 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
33015 PyObject *resultobj = NULL;
33016 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33017 wxTreeItemId arg2 ;
33018 wxString *arg3 = 0 ;
33019 bool *arg4 = 0 ;
33020 wxTreeItemId result;
33021 bool temp3 = false ;
33022 bool temp4 ;
33023 int res4 = 0 ;
33024 PyObject * obj0 = 0 ;
33025 PyObject * obj1 = 0 ;
33026 PyObject * obj2 = 0 ;
33027 char *kwnames[] = {
33028 (char *) "self",(char *) "parentId",(char *) "path", NULL
33029 };
33030
33031 arg4 = &temp4; res4 = SWIG_NEWOBJ;
33032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
33033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33034 if (SWIG_arg_fail(1)) SWIG_fail;
33035 {
33036 wxTreeItemId * argp;
33037 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33038 if (SWIG_arg_fail(2)) SWIG_fail;
33039 if (argp == NULL) {
33040 SWIG_null_ref("wxTreeItemId");
33041 }
33042 if (SWIG_arg_fail(2)) SWIG_fail;
33043 arg2 = *argp;
33044 }
33045 {
33046 arg3 = wxString_in_helper(obj2);
33047 if (arg3 == NULL) SWIG_fail;
33048 temp3 = true;
33049 }
33050 {
33051 PyThreadState* __tstate = wxPyBeginAllowThreads();
33052 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33053
33054 wxPyEndAllowThreads(__tstate);
33055 if (PyErr_Occurred()) SWIG_fail;
33056 }
33057 {
33058 wxTreeItemId * resultptr;
33059 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
33060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33061 }
33062 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33063 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
33064 {
33065 if (temp3)
33066 delete arg3;
33067 }
33068 return resultobj;
33069 fail:
33070 {
33071 if (temp3)
33072 delete arg3;
33073 }
33074 return NULL;
33075 }
33076
33077
33078 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
33079 PyObject *resultobj = NULL;
33080 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33081 PyObject * obj0 = 0 ;
33082 char *kwnames[] = {
33083 (char *) "self", NULL
33084 };
33085
33086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
33087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33088 if (SWIG_arg_fail(1)) SWIG_fail;
33089 {
33090 PyThreadState* __tstate = wxPyBeginAllowThreads();
33091 (arg1)->DoResize();
33092
33093 wxPyEndAllowThreads(__tstate);
33094 if (PyErr_Occurred()) SWIG_fail;
33095 }
33096 Py_INCREF(Py_None); resultobj = Py_None;
33097 return resultobj;
33098 fail:
33099 return NULL;
33100 }
33101
33102
33103 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
33104 PyObject *resultobj = NULL;
33105 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33106 PyObject * obj0 = 0 ;
33107 char *kwnames[] = {
33108 (char *) "self", NULL
33109 };
33110
33111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
33112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33113 if (SWIG_arg_fail(1)) SWIG_fail;
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 (arg1)->ReCreateTree();
33117
33118 wxPyEndAllowThreads(__tstate);
33119 if (PyErr_Occurred()) SWIG_fail;
33120 }
33121 Py_INCREF(Py_None); resultobj = Py_None;
33122 return resultobj;
33123 fail:
33124 return NULL;
33125 }
33126
33127
33128 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
33129 PyObject *obj;
33130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33131 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33132 Py_INCREF(obj);
33133 return Py_BuildValue((char *)"");
33134 }
33135 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33136 PyObject *resultobj = NULL;
33137 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33138 int arg2 = (int) (int)-1 ;
33139 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33140 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33141 wxSize const &arg4_defvalue = wxDefaultSize ;
33142 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33143 long arg5 = (long) 0 ;
33144 wxDirFilterListCtrl *result;
33145 wxPoint temp3 ;
33146 wxSize temp4 ;
33147 PyObject * obj0 = 0 ;
33148 PyObject * obj1 = 0 ;
33149 PyObject * obj2 = 0 ;
33150 PyObject * obj3 = 0 ;
33151 PyObject * obj4 = 0 ;
33152 char *kwnames[] = {
33153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33154 };
33155
33156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33158 if (SWIG_arg_fail(1)) SWIG_fail;
33159 if (obj1) {
33160 {
33161 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33162 if (SWIG_arg_fail(2)) SWIG_fail;
33163 }
33164 }
33165 if (obj2) {
33166 {
33167 arg3 = &temp3;
33168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33169 }
33170 }
33171 if (obj3) {
33172 {
33173 arg4 = &temp4;
33174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33175 }
33176 }
33177 if (obj4) {
33178 {
33179 arg5 = static_cast<long >(SWIG_As_long(obj4));
33180 if (SWIG_arg_fail(5)) SWIG_fail;
33181 }
33182 }
33183 {
33184 if (!wxPyCheckForApp()) SWIG_fail;
33185 PyThreadState* __tstate = wxPyBeginAllowThreads();
33186 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33187
33188 wxPyEndAllowThreads(__tstate);
33189 if (PyErr_Occurred()) SWIG_fail;
33190 }
33191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33192 return resultobj;
33193 fail:
33194 return NULL;
33195 }
33196
33197
33198 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33199 PyObject *resultobj = NULL;
33200 wxDirFilterListCtrl *result;
33201 char *kwnames[] = {
33202 NULL
33203 };
33204
33205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33206 {
33207 if (!wxPyCheckForApp()) SWIG_fail;
33208 PyThreadState* __tstate = wxPyBeginAllowThreads();
33209 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33210
33211 wxPyEndAllowThreads(__tstate);
33212 if (PyErr_Occurred()) SWIG_fail;
33213 }
33214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33215 return resultobj;
33216 fail:
33217 return NULL;
33218 }
33219
33220
33221 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
33222 PyObject *resultobj = NULL;
33223 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33224 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33225 int arg3 = (int) (int)-1 ;
33226 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33227 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33228 wxSize const &arg5_defvalue = wxDefaultSize ;
33229 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33230 long arg6 = (long) 0 ;
33231 bool result;
33232 wxPoint temp4 ;
33233 wxSize temp5 ;
33234 PyObject * obj0 = 0 ;
33235 PyObject * obj1 = 0 ;
33236 PyObject * obj2 = 0 ;
33237 PyObject * obj3 = 0 ;
33238 PyObject * obj4 = 0 ;
33239 PyObject * obj5 = 0 ;
33240 char *kwnames[] = {
33241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33242 };
33243
33244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33246 if (SWIG_arg_fail(1)) SWIG_fail;
33247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33248 if (SWIG_arg_fail(2)) SWIG_fail;
33249 if (obj2) {
33250 {
33251 arg3 = static_cast<int const >(SWIG_As_int(obj2));
33252 if (SWIG_arg_fail(3)) SWIG_fail;
33253 }
33254 }
33255 if (obj3) {
33256 {
33257 arg4 = &temp4;
33258 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33259 }
33260 }
33261 if (obj4) {
33262 {
33263 arg5 = &temp5;
33264 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33265 }
33266 }
33267 if (obj5) {
33268 {
33269 arg6 = static_cast<long >(SWIG_As_long(obj5));
33270 if (SWIG_arg_fail(6)) SWIG_fail;
33271 }
33272 }
33273 {
33274 PyThreadState* __tstate = wxPyBeginAllowThreads();
33275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33276
33277 wxPyEndAllowThreads(__tstate);
33278 if (PyErr_Occurred()) SWIG_fail;
33279 }
33280 {
33281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33282 }
33283 return resultobj;
33284 fail:
33285 return NULL;
33286 }
33287
33288
33289 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
33290 PyObject *resultobj = NULL;
33291 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33292 wxString *arg2 = 0 ;
33293 int arg3 ;
33294 bool temp2 = false ;
33295 PyObject * obj0 = 0 ;
33296 PyObject * obj1 = 0 ;
33297 PyObject * obj2 = 0 ;
33298 char *kwnames[] = {
33299 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33300 };
33301
33302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
33303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33304 if (SWIG_arg_fail(1)) SWIG_fail;
33305 {
33306 arg2 = wxString_in_helper(obj1);
33307 if (arg2 == NULL) SWIG_fail;
33308 temp2 = true;
33309 }
33310 {
33311 arg3 = static_cast<int >(SWIG_As_int(obj2));
33312 if (SWIG_arg_fail(3)) SWIG_fail;
33313 }
33314 {
33315 PyThreadState* __tstate = wxPyBeginAllowThreads();
33316 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33317
33318 wxPyEndAllowThreads(__tstate);
33319 if (PyErr_Occurred()) SWIG_fail;
33320 }
33321 Py_INCREF(Py_None); resultobj = Py_None;
33322 {
33323 if (temp2)
33324 delete arg2;
33325 }
33326 return resultobj;
33327 fail:
33328 {
33329 if (temp2)
33330 delete arg2;
33331 }
33332 return NULL;
33333 }
33334
33335
33336 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
33337 PyObject *obj;
33338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33339 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33340 Py_INCREF(obj);
33341 return Py_BuildValue((char *)"");
33342 }
33343 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33344 PyObject *resultobj = NULL;
33345 wxWindow *arg1 = (wxWindow *) 0 ;
33346 int arg2 = (int) (int)-1 ;
33347 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33348 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33349 wxSize const &arg4_defvalue = wxDefaultSize ;
33350 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33351 long arg5 = (long) 0 ;
33352 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33353 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33354 wxString const &arg7_defvalue = wxPyControlNameStr ;
33355 wxString *arg7 = (wxString *) &arg7_defvalue ;
33356 wxPyControl *result;
33357 wxPoint temp3 ;
33358 wxSize temp4 ;
33359 bool temp7 = false ;
33360 PyObject * obj0 = 0 ;
33361 PyObject * obj1 = 0 ;
33362 PyObject * obj2 = 0 ;
33363 PyObject * obj3 = 0 ;
33364 PyObject * obj4 = 0 ;
33365 PyObject * obj5 = 0 ;
33366 PyObject * obj6 = 0 ;
33367 char *kwnames[] = {
33368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33369 };
33370
33371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
33372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33373 if (SWIG_arg_fail(1)) SWIG_fail;
33374 if (obj1) {
33375 {
33376 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33377 if (SWIG_arg_fail(2)) SWIG_fail;
33378 }
33379 }
33380 if (obj2) {
33381 {
33382 arg3 = &temp3;
33383 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33384 }
33385 }
33386 if (obj3) {
33387 {
33388 arg4 = &temp4;
33389 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33390 }
33391 }
33392 if (obj4) {
33393 {
33394 arg5 = static_cast<long >(SWIG_As_long(obj4));
33395 if (SWIG_arg_fail(5)) SWIG_fail;
33396 }
33397 }
33398 if (obj5) {
33399 {
33400 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33401 if (SWIG_arg_fail(6)) SWIG_fail;
33402 if (arg6 == NULL) {
33403 SWIG_null_ref("wxValidator");
33404 }
33405 if (SWIG_arg_fail(6)) SWIG_fail;
33406 }
33407 }
33408 if (obj6) {
33409 {
33410 arg7 = wxString_in_helper(obj6);
33411 if (arg7 == NULL) SWIG_fail;
33412 temp7 = true;
33413 }
33414 }
33415 {
33416 if (!wxPyCheckForApp()) SWIG_fail;
33417 PyThreadState* __tstate = wxPyBeginAllowThreads();
33418 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33419
33420 wxPyEndAllowThreads(__tstate);
33421 if (PyErr_Occurred()) SWIG_fail;
33422 }
33423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33424 {
33425 if (temp7)
33426 delete arg7;
33427 }
33428 return resultobj;
33429 fail:
33430 {
33431 if (temp7)
33432 delete arg7;
33433 }
33434 return NULL;
33435 }
33436
33437
33438 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33439 PyObject *resultobj = NULL;
33440 wxPyControl *result;
33441 char *kwnames[] = {
33442 NULL
33443 };
33444
33445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33446 {
33447 if (!wxPyCheckForApp()) SWIG_fail;
33448 PyThreadState* __tstate = wxPyBeginAllowThreads();
33449 result = (wxPyControl *)new wxPyControl();
33450
33451 wxPyEndAllowThreads(__tstate);
33452 if (PyErr_Occurred()) SWIG_fail;
33453 }
33454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33455 return resultobj;
33456 fail:
33457 return NULL;
33458 }
33459
33460
33461 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
33462 PyObject *resultobj = NULL;
33463 wxPyControl *arg1 = (wxPyControl *) 0 ;
33464 PyObject *arg2 = (PyObject *) 0 ;
33465 PyObject *arg3 = (PyObject *) 0 ;
33466 PyObject * obj0 = 0 ;
33467 PyObject * obj1 = 0 ;
33468 PyObject * obj2 = 0 ;
33469 char *kwnames[] = {
33470 (char *) "self",(char *) "self",(char *) "_class", NULL
33471 };
33472
33473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
33474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33475 if (SWIG_arg_fail(1)) SWIG_fail;
33476 arg2 = obj1;
33477 arg3 = obj2;
33478 {
33479 PyThreadState* __tstate = wxPyBeginAllowThreads();
33480 (arg1)->_setCallbackInfo(arg2,arg3);
33481
33482 wxPyEndAllowThreads(__tstate);
33483 if (PyErr_Occurred()) SWIG_fail;
33484 }
33485 Py_INCREF(Py_None); resultobj = Py_None;
33486 return resultobj;
33487 fail:
33488 return NULL;
33489 }
33490
33491
33492 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
33493 PyObject *resultobj = NULL;
33494 wxPyControl *arg1 = (wxPyControl *) 0 ;
33495 wxSize *arg2 = 0 ;
33496 wxSize temp2 ;
33497 PyObject * obj0 = 0 ;
33498 PyObject * obj1 = 0 ;
33499 char *kwnames[] = {
33500 (char *) "self",(char *) "size", NULL
33501 };
33502
33503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
33504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail;
33506 {
33507 arg2 = &temp2;
33508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33509 }
33510 {
33511 PyThreadState* __tstate = wxPyBeginAllowThreads();
33512 (arg1)->SetBestSize((wxSize const &)*arg2);
33513
33514 wxPyEndAllowThreads(__tstate);
33515 if (PyErr_Occurred()) SWIG_fail;
33516 }
33517 Py_INCREF(Py_None); resultobj = Py_None;
33518 return resultobj;
33519 fail:
33520 return NULL;
33521 }
33522
33523
33524 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
33525 PyObject *resultobj = NULL;
33526 wxPyControl *arg1 = (wxPyControl *) 0 ;
33527 wxDC *arg2 = (wxDC *) 0 ;
33528 bool result;
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 char *kwnames[] = {
33532 (char *) "self",(char *) "dc", NULL
33533 };
33534
33535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33537 if (SWIG_arg_fail(1)) SWIG_fail;
33538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33539 if (SWIG_arg_fail(2)) SWIG_fail;
33540 {
33541 PyThreadState* __tstate = wxPyBeginAllowThreads();
33542 result = (bool)(arg1)->DoEraseBackground(arg2);
33543
33544 wxPyEndAllowThreads(__tstate);
33545 if (PyErr_Occurred()) SWIG_fail;
33546 }
33547 {
33548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33549 }
33550 return resultobj;
33551 fail:
33552 return NULL;
33553 }
33554
33555
33556 static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33557 PyObject *resultobj = NULL;
33558 wxPyControl *arg1 = (wxPyControl *) 0 ;
33559 int arg2 ;
33560 int arg3 ;
33561 int arg4 ;
33562 int arg5 ;
33563 PyObject * obj0 = 0 ;
33564 PyObject * obj1 = 0 ;
33565 PyObject * obj2 = 0 ;
33566 PyObject * obj3 = 0 ;
33567 PyObject * obj4 = 0 ;
33568 char *kwnames[] = {
33569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33570 };
33571
33572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail;
33575 {
33576 arg2 = static_cast<int >(SWIG_As_int(obj1));
33577 if (SWIG_arg_fail(2)) SWIG_fail;
33578 }
33579 {
33580 arg3 = static_cast<int >(SWIG_As_int(obj2));
33581 if (SWIG_arg_fail(3)) SWIG_fail;
33582 }
33583 {
33584 arg4 = static_cast<int >(SWIG_As_int(obj3));
33585 if (SWIG_arg_fail(4)) SWIG_fail;
33586 }
33587 {
33588 arg5 = static_cast<int >(SWIG_As_int(obj4));
33589 if (SWIG_arg_fail(5)) SWIG_fail;
33590 }
33591 {
33592 PyThreadState* __tstate = wxPyBeginAllowThreads();
33593 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
33594
33595 wxPyEndAllowThreads(__tstate);
33596 if (PyErr_Occurred()) SWIG_fail;
33597 }
33598 Py_INCREF(Py_None); resultobj = Py_None;
33599 return resultobj;
33600 fail:
33601 return NULL;
33602 }
33603
33604
33605 static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
33606 PyObject *resultobj = NULL;
33607 wxPyControl *arg1 = (wxPyControl *) 0 ;
33608 int arg2 ;
33609 int arg3 ;
33610 int arg4 ;
33611 int arg5 ;
33612 int arg6 = (int) wxSIZE_AUTO ;
33613 PyObject * obj0 = 0 ;
33614 PyObject * obj1 = 0 ;
33615 PyObject * obj2 = 0 ;
33616 PyObject * obj3 = 0 ;
33617 PyObject * obj4 = 0 ;
33618 PyObject * obj5 = 0 ;
33619 char *kwnames[] = {
33620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33621 };
33622
33623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33625 if (SWIG_arg_fail(1)) SWIG_fail;
33626 {
33627 arg2 = static_cast<int >(SWIG_As_int(obj1));
33628 if (SWIG_arg_fail(2)) SWIG_fail;
33629 }
33630 {
33631 arg3 = static_cast<int >(SWIG_As_int(obj2));
33632 if (SWIG_arg_fail(3)) SWIG_fail;
33633 }
33634 {
33635 arg4 = static_cast<int >(SWIG_As_int(obj3));
33636 if (SWIG_arg_fail(4)) SWIG_fail;
33637 }
33638 {
33639 arg5 = static_cast<int >(SWIG_As_int(obj4));
33640 if (SWIG_arg_fail(5)) SWIG_fail;
33641 }
33642 if (obj5) {
33643 {
33644 arg6 = static_cast<int >(SWIG_As_int(obj5));
33645 if (SWIG_arg_fail(6)) SWIG_fail;
33646 }
33647 }
33648 {
33649 PyThreadState* __tstate = wxPyBeginAllowThreads();
33650 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
33651
33652 wxPyEndAllowThreads(__tstate);
33653 if (PyErr_Occurred()) SWIG_fail;
33654 }
33655 Py_INCREF(Py_None); resultobj = Py_None;
33656 return resultobj;
33657 fail:
33658 return NULL;
33659 }
33660
33661
33662 static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
33663 PyObject *resultobj = NULL;
33664 wxPyControl *arg1 = (wxPyControl *) 0 ;
33665 int arg2 ;
33666 int arg3 ;
33667 PyObject * obj0 = 0 ;
33668 PyObject * obj1 = 0 ;
33669 PyObject * obj2 = 0 ;
33670 char *kwnames[] = {
33671 (char *) "self",(char *) "width",(char *) "height", NULL
33672 };
33673
33674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33676 if (SWIG_arg_fail(1)) SWIG_fail;
33677 {
33678 arg2 = static_cast<int >(SWIG_As_int(obj1));
33679 if (SWIG_arg_fail(2)) SWIG_fail;
33680 }
33681 {
33682 arg3 = static_cast<int >(SWIG_As_int(obj2));
33683 if (SWIG_arg_fail(3)) SWIG_fail;
33684 }
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 (arg1)->DoSetClientSize(arg2,arg3);
33688
33689 wxPyEndAllowThreads(__tstate);
33690 if (PyErr_Occurred()) SWIG_fail;
33691 }
33692 Py_INCREF(Py_None); resultobj = Py_None;
33693 return resultobj;
33694 fail:
33695 return NULL;
33696 }
33697
33698
33699 static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
33700 PyObject *resultobj = NULL;
33701 wxPyControl *arg1 = (wxPyControl *) 0 ;
33702 int arg2 ;
33703 int arg3 ;
33704 PyObject * obj0 = 0 ;
33705 PyObject * obj1 = 0 ;
33706 PyObject * obj2 = 0 ;
33707 char *kwnames[] = {
33708 (char *) "self",(char *) "x",(char *) "y", NULL
33709 };
33710
33711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33713 if (SWIG_arg_fail(1)) SWIG_fail;
33714 {
33715 arg2 = static_cast<int >(SWIG_As_int(obj1));
33716 if (SWIG_arg_fail(2)) SWIG_fail;
33717 }
33718 {
33719 arg3 = static_cast<int >(SWIG_As_int(obj2));
33720 if (SWIG_arg_fail(3)) SWIG_fail;
33721 }
33722 {
33723 PyThreadState* __tstate = wxPyBeginAllowThreads();
33724 (arg1)->DoSetVirtualSize(arg2,arg3);
33725
33726 wxPyEndAllowThreads(__tstate);
33727 if (PyErr_Occurred()) SWIG_fail;
33728 }
33729 Py_INCREF(Py_None); resultobj = Py_None;
33730 return resultobj;
33731 fail:
33732 return NULL;
33733 }
33734
33735
33736 static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
33737 PyObject *resultobj = NULL;
33738 wxPyControl *arg1 = (wxPyControl *) 0 ;
33739 int *arg2 = (int *) 0 ;
33740 int *arg3 = (int *) 0 ;
33741 int temp2 ;
33742 int res2 = 0 ;
33743 int temp3 ;
33744 int res3 = 0 ;
33745 PyObject * obj0 = 0 ;
33746 char *kwnames[] = {
33747 (char *) "self", NULL
33748 };
33749
33750 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33751 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
33753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail;
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
33758
33759 wxPyEndAllowThreads(__tstate);
33760 if (PyErr_Occurred()) SWIG_fail;
33761 }
33762 Py_INCREF(Py_None); resultobj = Py_None;
33763 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33764 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33765 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33766 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33767 return resultobj;
33768 fail:
33769 return NULL;
33770 }
33771
33772
33773 static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
33774 PyObject *resultobj = NULL;
33775 wxPyControl *arg1 = (wxPyControl *) 0 ;
33776 int *arg2 = (int *) 0 ;
33777 int *arg3 = (int *) 0 ;
33778 int temp2 ;
33779 int res2 = 0 ;
33780 int temp3 ;
33781 int res3 = 0 ;
33782 PyObject * obj0 = 0 ;
33783 char *kwnames[] = {
33784 (char *) "self", NULL
33785 };
33786
33787 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33788 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
33790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33791 if (SWIG_arg_fail(1)) SWIG_fail;
33792 {
33793 PyThreadState* __tstate = wxPyBeginAllowThreads();
33794 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
33795
33796 wxPyEndAllowThreads(__tstate);
33797 if (PyErr_Occurred()) SWIG_fail;
33798 }
33799 Py_INCREF(Py_None); resultobj = Py_None;
33800 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33801 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33802 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33803 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33804 return resultobj;
33805 fail:
33806 return NULL;
33807 }
33808
33809
33810 static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33811 PyObject *resultobj = NULL;
33812 wxPyControl *arg1 = (wxPyControl *) 0 ;
33813 int *arg2 = (int *) 0 ;
33814 int *arg3 = (int *) 0 ;
33815 int temp2 ;
33816 int res2 = 0 ;
33817 int temp3 ;
33818 int res3 = 0 ;
33819 PyObject * obj0 = 0 ;
33820 char *kwnames[] = {
33821 (char *) "self", NULL
33822 };
33823
33824 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33825 arg3 = &temp3; res3 = SWIG_NEWOBJ;
33826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
33827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33828 if (SWIG_arg_fail(1)) SWIG_fail;
33829 {
33830 PyThreadState* __tstate = wxPyBeginAllowThreads();
33831 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
33832
33833 wxPyEndAllowThreads(__tstate);
33834 if (PyErr_Occurred()) SWIG_fail;
33835 }
33836 Py_INCREF(Py_None); resultobj = Py_None;
33837 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33838 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33839 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33840 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
33841 return resultobj;
33842 fail:
33843 return NULL;
33844 }
33845
33846
33847 static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
33848 PyObject *resultobj = NULL;
33849 wxPyControl *arg1 = (wxPyControl *) 0 ;
33850 wxSize result;
33851 PyObject * obj0 = 0 ;
33852 char *kwnames[] = {
33853 (char *) "self", NULL
33854 };
33855
33856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
33857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33858 if (SWIG_arg_fail(1)) SWIG_fail;
33859 {
33860 PyThreadState* __tstate = wxPyBeginAllowThreads();
33861 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
33862
33863 wxPyEndAllowThreads(__tstate);
33864 if (PyErr_Occurred()) SWIG_fail;
33865 }
33866 {
33867 wxSize * resultptr;
33868 resultptr = new wxSize(static_cast<wxSize & >(result));
33869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33870 }
33871 return resultobj;
33872 fail:
33873 return NULL;
33874 }
33875
33876
33877 static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
33878 PyObject *resultobj = NULL;
33879 wxPyControl *arg1 = (wxPyControl *) 0 ;
33880 wxSize result;
33881 PyObject * obj0 = 0 ;
33882 char *kwnames[] = {
33883 (char *) "self", NULL
33884 };
33885
33886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
33887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33888 if (SWIG_arg_fail(1)) SWIG_fail;
33889 {
33890 PyThreadState* __tstate = wxPyBeginAllowThreads();
33891 result = ((wxPyControl const *)arg1)->DoGetBestSize();
33892
33893 wxPyEndAllowThreads(__tstate);
33894 if (PyErr_Occurred()) SWIG_fail;
33895 }
33896 {
33897 wxSize * resultptr;
33898 resultptr = new wxSize(static_cast<wxSize & >(result));
33899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33900 }
33901 return resultobj;
33902 fail:
33903 return NULL;
33904 }
33905
33906
33907 static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
33908 PyObject *resultobj = NULL;
33909 wxPyControl *arg1 = (wxPyControl *) 0 ;
33910 PyObject * obj0 = 0 ;
33911 char *kwnames[] = {
33912 (char *) "self", NULL
33913 };
33914
33915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
33916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail;
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 (arg1)->InitDialog();
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 Py_INCREF(Py_None); resultobj = Py_None;
33926 return resultobj;
33927 fail:
33928 return NULL;
33929 }
33930
33931
33932 static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33933 PyObject *resultobj = NULL;
33934 wxPyControl *arg1 = (wxPyControl *) 0 ;
33935 bool result;
33936 PyObject * obj0 = 0 ;
33937 char *kwnames[] = {
33938 (char *) "self", NULL
33939 };
33940
33941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
33942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33943 if (SWIG_arg_fail(1)) SWIG_fail;
33944 {
33945 PyThreadState* __tstate = wxPyBeginAllowThreads();
33946 result = (bool)(arg1)->TransferDataToWindow();
33947
33948 wxPyEndAllowThreads(__tstate);
33949 if (PyErr_Occurred()) SWIG_fail;
33950 }
33951 {
33952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33953 }
33954 return resultobj;
33955 fail:
33956 return NULL;
33957 }
33958
33959
33960 static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33961 PyObject *resultobj = NULL;
33962 wxPyControl *arg1 = (wxPyControl *) 0 ;
33963 bool result;
33964 PyObject * obj0 = 0 ;
33965 char *kwnames[] = {
33966 (char *) "self", NULL
33967 };
33968
33969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
33970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33971 if (SWIG_arg_fail(1)) SWIG_fail;
33972 {
33973 PyThreadState* __tstate = wxPyBeginAllowThreads();
33974 result = (bool)(arg1)->TransferDataFromWindow();
33975
33976 wxPyEndAllowThreads(__tstate);
33977 if (PyErr_Occurred()) SWIG_fail;
33978 }
33979 {
33980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33981 }
33982 return resultobj;
33983 fail:
33984 return NULL;
33985 }
33986
33987
33988 static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
33989 PyObject *resultobj = NULL;
33990 wxPyControl *arg1 = (wxPyControl *) 0 ;
33991 bool result;
33992 PyObject * obj0 = 0 ;
33993 char *kwnames[] = {
33994 (char *) "self", NULL
33995 };
33996
33997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
33998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33999 if (SWIG_arg_fail(1)) SWIG_fail;
34000 {
34001 PyThreadState* __tstate = wxPyBeginAllowThreads();
34002 result = (bool)(arg1)->Validate();
34003
34004 wxPyEndAllowThreads(__tstate);
34005 if (PyErr_Occurred()) SWIG_fail;
34006 }
34007 {
34008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34009 }
34010 return resultobj;
34011 fail:
34012 return NULL;
34013 }
34014
34015
34016 static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
34017 PyObject *resultobj = NULL;
34018 wxPyControl *arg1 = (wxPyControl *) 0 ;
34019 bool result;
34020 PyObject * obj0 = 0 ;
34021 char *kwnames[] = {
34022 (char *) "self", NULL
34023 };
34024
34025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
34026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34027 if (SWIG_arg_fail(1)) SWIG_fail;
34028 {
34029 PyThreadState* __tstate = wxPyBeginAllowThreads();
34030 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
34031
34032 wxPyEndAllowThreads(__tstate);
34033 if (PyErr_Occurred()) SWIG_fail;
34034 }
34035 {
34036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34037 }
34038 return resultobj;
34039 fail:
34040 return NULL;
34041 }
34042
34043
34044 static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
34045 PyObject *resultobj = NULL;
34046 wxPyControl *arg1 = (wxPyControl *) 0 ;
34047 bool result;
34048 PyObject * obj0 = 0 ;
34049 char *kwnames[] = {
34050 (char *) "self", NULL
34051 };
34052
34053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
34054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34055 if (SWIG_arg_fail(1)) SWIG_fail;
34056 {
34057 PyThreadState* __tstate = wxPyBeginAllowThreads();
34058 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
34059
34060 wxPyEndAllowThreads(__tstate);
34061 if (PyErr_Occurred()) SWIG_fail;
34062 }
34063 {
34064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34065 }
34066 return resultobj;
34067 fail:
34068 return NULL;
34069 }
34070
34071
34072 static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
34073 PyObject *resultobj = NULL;
34074 wxPyControl *arg1 = (wxPyControl *) 0 ;
34075 wxSize result;
34076 PyObject * obj0 = 0 ;
34077 char *kwnames[] = {
34078 (char *) "self", NULL
34079 };
34080
34081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
34082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34083 if (SWIG_arg_fail(1)) SWIG_fail;
34084 {
34085 PyThreadState* __tstate = wxPyBeginAllowThreads();
34086 result = ((wxPyControl const *)arg1)->GetMaxSize();
34087
34088 wxPyEndAllowThreads(__tstate);
34089 if (PyErr_Occurred()) SWIG_fail;
34090 }
34091 {
34092 wxSize * resultptr;
34093 resultptr = new wxSize(static_cast<wxSize & >(result));
34094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34095 }
34096 return resultobj;
34097 fail:
34098 return NULL;
34099 }
34100
34101
34102 static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
34103 PyObject *resultobj = NULL;
34104 wxPyControl *arg1 = (wxPyControl *) 0 ;
34105 wxWindow *arg2 = (wxWindow *) 0 ;
34106 PyObject * obj0 = 0 ;
34107 PyObject * obj1 = 0 ;
34108 char *kwnames[] = {
34109 (char *) "self",(char *) "child", NULL
34110 };
34111
34112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
34113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34114 if (SWIG_arg_fail(1)) SWIG_fail;
34115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34116 if (SWIG_arg_fail(2)) SWIG_fail;
34117 {
34118 PyThreadState* __tstate = wxPyBeginAllowThreads();
34119 (arg1)->AddChild(arg2);
34120
34121 wxPyEndAllowThreads(__tstate);
34122 if (PyErr_Occurred()) SWIG_fail;
34123 }
34124 Py_INCREF(Py_None); resultobj = Py_None;
34125 return resultobj;
34126 fail:
34127 return NULL;
34128 }
34129
34130
34131 static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
34132 PyObject *resultobj = NULL;
34133 wxPyControl *arg1 = (wxPyControl *) 0 ;
34134 wxWindow *arg2 = (wxWindow *) 0 ;
34135 PyObject * obj0 = 0 ;
34136 PyObject * obj1 = 0 ;
34137 char *kwnames[] = {
34138 (char *) "self",(char *) "child", NULL
34139 };
34140
34141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
34142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34143 if (SWIG_arg_fail(1)) SWIG_fail;
34144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34145 if (SWIG_arg_fail(2)) SWIG_fail;
34146 {
34147 PyThreadState* __tstate = wxPyBeginAllowThreads();
34148 (arg1)->RemoveChild(arg2);
34149
34150 wxPyEndAllowThreads(__tstate);
34151 if (PyErr_Occurred()) SWIG_fail;
34152 }
34153 Py_INCREF(Py_None); resultobj = Py_None;
34154 return resultobj;
34155 fail:
34156 return NULL;
34157 }
34158
34159
34160 static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
34161 PyObject *resultobj = NULL;
34162 wxPyControl *arg1 = (wxPyControl *) 0 ;
34163 bool result;
34164 PyObject * obj0 = 0 ;
34165 char *kwnames[] = {
34166 (char *) "self", NULL
34167 };
34168
34169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
34170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail;
34172 {
34173 PyThreadState* __tstate = wxPyBeginAllowThreads();
34174 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
34175
34176 wxPyEndAllowThreads(__tstate);
34177 if (PyErr_Occurred()) SWIG_fail;
34178 }
34179 {
34180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34181 }
34182 return resultobj;
34183 fail:
34184 return NULL;
34185 }
34186
34187
34188 static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
34189 PyObject *resultobj = NULL;
34190 wxPyControl *arg1 = (wxPyControl *) 0 ;
34191 wxVisualAttributes result;
34192 PyObject * obj0 = 0 ;
34193 char *kwnames[] = {
34194 (char *) "self", NULL
34195 };
34196
34197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
34198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail;
34200 {
34201 PyThreadState* __tstate = wxPyBeginAllowThreads();
34202 result = (arg1)->GetDefaultAttributes();
34203
34204 wxPyEndAllowThreads(__tstate);
34205 if (PyErr_Occurred()) SWIG_fail;
34206 }
34207 {
34208 wxVisualAttributes * resultptr;
34209 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
34210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34211 }
34212 return resultobj;
34213 fail:
34214 return NULL;
34215 }
34216
34217
34218 static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
34219 PyObject *resultobj = NULL;
34220 wxPyControl *arg1 = (wxPyControl *) 0 ;
34221 PyObject * obj0 = 0 ;
34222 char *kwnames[] = {
34223 (char *) "self", NULL
34224 };
34225
34226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
34227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34228 if (SWIG_arg_fail(1)) SWIG_fail;
34229 {
34230 PyThreadState* __tstate = wxPyBeginAllowThreads();
34231 (arg1)->OnInternalIdle();
34232
34233 wxPyEndAllowThreads(__tstate);
34234 if (PyErr_Occurred()) SWIG_fail;
34235 }
34236 Py_INCREF(Py_None); resultobj = Py_None;
34237 return resultobj;
34238 fail:
34239 return NULL;
34240 }
34241
34242
34243 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
34244 PyObject *obj;
34245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34246 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34247 Py_INCREF(obj);
34248 return Py_BuildValue((char *)"");
34249 }
34250 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
34251 PyObject *resultobj = NULL;
34252 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34253 int arg2 = (int) 0 ;
34254 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34255 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34256 wxHelpEvent *result;
34257 wxPoint temp3 ;
34258 PyObject * obj0 = 0 ;
34259 PyObject * obj1 = 0 ;
34260 PyObject * obj2 = 0 ;
34261 char *kwnames[] = {
34262 (char *) "type",(char *) "winid",(char *) "pt", NULL
34263 };
34264
34265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34266 if (obj0) {
34267 {
34268 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
34269 if (SWIG_arg_fail(1)) SWIG_fail;
34270 }
34271 }
34272 if (obj1) {
34273 {
34274 arg2 = static_cast<int >(SWIG_As_int(obj1));
34275 if (SWIG_arg_fail(2)) SWIG_fail;
34276 }
34277 }
34278 if (obj2) {
34279 {
34280 arg3 = &temp3;
34281 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34282 }
34283 }
34284 {
34285 PyThreadState* __tstate = wxPyBeginAllowThreads();
34286 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34287
34288 wxPyEndAllowThreads(__tstate);
34289 if (PyErr_Occurred()) SWIG_fail;
34290 }
34291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34292 return resultobj;
34293 fail:
34294 return NULL;
34295 }
34296
34297
34298 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34299 PyObject *resultobj = NULL;
34300 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34301 wxPoint result;
34302 PyObject * obj0 = 0 ;
34303 char *kwnames[] = {
34304 (char *) "self", NULL
34305 };
34306
34307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
34308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34309 if (SWIG_arg_fail(1)) SWIG_fail;
34310 {
34311 PyThreadState* __tstate = wxPyBeginAllowThreads();
34312 result = ((wxHelpEvent const *)arg1)->GetPosition();
34313
34314 wxPyEndAllowThreads(__tstate);
34315 if (PyErr_Occurred()) SWIG_fail;
34316 }
34317 {
34318 wxPoint * resultptr;
34319 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
34320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34321 }
34322 return resultobj;
34323 fail:
34324 return NULL;
34325 }
34326
34327
34328 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34329 PyObject *resultobj = NULL;
34330 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34331 wxPoint *arg2 = 0 ;
34332 wxPoint temp2 ;
34333 PyObject * obj0 = 0 ;
34334 PyObject * obj1 = 0 ;
34335 char *kwnames[] = {
34336 (char *) "self",(char *) "pos", NULL
34337 };
34338
34339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
34340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail;
34342 {
34343 arg2 = &temp2;
34344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34345 }
34346 {
34347 PyThreadState* __tstate = wxPyBeginAllowThreads();
34348 (arg1)->SetPosition((wxPoint const &)*arg2);
34349
34350 wxPyEndAllowThreads(__tstate);
34351 if (PyErr_Occurred()) SWIG_fail;
34352 }
34353 Py_INCREF(Py_None); resultobj = Py_None;
34354 return resultobj;
34355 fail:
34356 return NULL;
34357 }
34358
34359
34360 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34361 PyObject *resultobj = NULL;
34362 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34363 wxString *result;
34364 PyObject * obj0 = 0 ;
34365 char *kwnames[] = {
34366 (char *) "self", NULL
34367 };
34368
34369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
34370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34371 if (SWIG_arg_fail(1)) SWIG_fail;
34372 {
34373 PyThreadState* __tstate = wxPyBeginAllowThreads();
34374 {
34375 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34376 result = (wxString *) &_result_ref;
34377 }
34378
34379 wxPyEndAllowThreads(__tstate);
34380 if (PyErr_Occurred()) SWIG_fail;
34381 }
34382 {
34383 #if wxUSE_UNICODE
34384 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34385 #else
34386 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34387 #endif
34388 }
34389 return resultobj;
34390 fail:
34391 return NULL;
34392 }
34393
34394
34395 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34396 PyObject *resultobj = NULL;
34397 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34398 wxString *arg2 = 0 ;
34399 bool temp2 = false ;
34400 PyObject * obj0 = 0 ;
34401 PyObject * obj1 = 0 ;
34402 char *kwnames[] = {
34403 (char *) "self",(char *) "link", NULL
34404 };
34405
34406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
34407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34408 if (SWIG_arg_fail(1)) SWIG_fail;
34409 {
34410 arg2 = wxString_in_helper(obj1);
34411 if (arg2 == NULL) SWIG_fail;
34412 temp2 = true;
34413 }
34414 {
34415 PyThreadState* __tstate = wxPyBeginAllowThreads();
34416 (arg1)->SetLink((wxString const &)*arg2);
34417
34418 wxPyEndAllowThreads(__tstate);
34419 if (PyErr_Occurred()) SWIG_fail;
34420 }
34421 Py_INCREF(Py_None); resultobj = Py_None;
34422 {
34423 if (temp2)
34424 delete arg2;
34425 }
34426 return resultobj;
34427 fail:
34428 {
34429 if (temp2)
34430 delete arg2;
34431 }
34432 return NULL;
34433 }
34434
34435
34436 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34437 PyObject *resultobj = NULL;
34438 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34439 wxString *result;
34440 PyObject * obj0 = 0 ;
34441 char *kwnames[] = {
34442 (char *) "self", NULL
34443 };
34444
34445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
34446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34447 if (SWIG_arg_fail(1)) SWIG_fail;
34448 {
34449 PyThreadState* __tstate = wxPyBeginAllowThreads();
34450 {
34451 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34452 result = (wxString *) &_result_ref;
34453 }
34454
34455 wxPyEndAllowThreads(__tstate);
34456 if (PyErr_Occurred()) SWIG_fail;
34457 }
34458 {
34459 #if wxUSE_UNICODE
34460 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34461 #else
34462 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34463 #endif
34464 }
34465 return resultobj;
34466 fail:
34467 return NULL;
34468 }
34469
34470
34471 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34472 PyObject *resultobj = NULL;
34473 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34474 wxString *arg2 = 0 ;
34475 bool temp2 = false ;
34476 PyObject * obj0 = 0 ;
34477 PyObject * obj1 = 0 ;
34478 char *kwnames[] = {
34479 (char *) "self",(char *) "target", NULL
34480 };
34481
34482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
34483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34484 if (SWIG_arg_fail(1)) SWIG_fail;
34485 {
34486 arg2 = wxString_in_helper(obj1);
34487 if (arg2 == NULL) SWIG_fail;
34488 temp2 = true;
34489 }
34490 {
34491 PyThreadState* __tstate = wxPyBeginAllowThreads();
34492 (arg1)->SetTarget((wxString const &)*arg2);
34493
34494 wxPyEndAllowThreads(__tstate);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 }
34497 Py_INCREF(Py_None); resultobj = Py_None;
34498 {
34499 if (temp2)
34500 delete arg2;
34501 }
34502 return resultobj;
34503 fail:
34504 {
34505 if (temp2)
34506 delete arg2;
34507 }
34508 return NULL;
34509 }
34510
34511
34512 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
34513 PyObject *obj;
34514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34515 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34516 Py_INCREF(obj);
34517 return Py_BuildValue((char *)"");
34518 }
34519 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34520 PyObject *resultobj = NULL;
34521 wxWindow *arg1 = (wxWindow *) NULL ;
34522 bool arg2 = (bool) true ;
34523 wxContextHelp *result;
34524 PyObject * obj0 = 0 ;
34525 PyObject * obj1 = 0 ;
34526 char *kwnames[] = {
34527 (char *) "window",(char *) "doNow", NULL
34528 };
34529
34530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34531 if (obj0) {
34532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34533 if (SWIG_arg_fail(1)) SWIG_fail;
34534 }
34535 if (obj1) {
34536 {
34537 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
34538 if (SWIG_arg_fail(2)) SWIG_fail;
34539 }
34540 }
34541 {
34542 if (!wxPyCheckForApp()) SWIG_fail;
34543 PyThreadState* __tstate = wxPyBeginAllowThreads();
34544 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34545
34546 wxPyEndAllowThreads(__tstate);
34547 if (PyErr_Occurred()) SWIG_fail;
34548 }
34549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34550 return resultobj;
34551 fail:
34552 return NULL;
34553 }
34554
34555
34556 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34557 PyObject *resultobj = NULL;
34558 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34559 PyObject * obj0 = 0 ;
34560 char *kwnames[] = {
34561 (char *) "self", NULL
34562 };
34563
34564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
34565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34566 if (SWIG_arg_fail(1)) SWIG_fail;
34567 {
34568 PyThreadState* __tstate = wxPyBeginAllowThreads();
34569 delete arg1;
34570
34571 wxPyEndAllowThreads(__tstate);
34572 if (PyErr_Occurred()) SWIG_fail;
34573 }
34574 Py_INCREF(Py_None); resultobj = Py_None;
34575 return resultobj;
34576 fail:
34577 return NULL;
34578 }
34579
34580
34581 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34582 PyObject *resultobj = NULL;
34583 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34584 wxWindow *arg2 = (wxWindow *) NULL ;
34585 bool result;
34586 PyObject * obj0 = 0 ;
34587 PyObject * obj1 = 0 ;
34588 char *kwnames[] = {
34589 (char *) "self",(char *) "window", NULL
34590 };
34591
34592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
34593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34594 if (SWIG_arg_fail(1)) SWIG_fail;
34595 if (obj1) {
34596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34597 if (SWIG_arg_fail(2)) SWIG_fail;
34598 }
34599 {
34600 PyThreadState* __tstate = wxPyBeginAllowThreads();
34601 result = (bool)(arg1)->BeginContextHelp(arg2);
34602
34603 wxPyEndAllowThreads(__tstate);
34604 if (PyErr_Occurred()) SWIG_fail;
34605 }
34606 {
34607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34608 }
34609 return resultobj;
34610 fail:
34611 return NULL;
34612 }
34613
34614
34615 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34616 PyObject *resultobj = NULL;
34617 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34618 bool result;
34619 PyObject * obj0 = 0 ;
34620 char *kwnames[] = {
34621 (char *) "self", NULL
34622 };
34623
34624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
34625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail;
34627 {
34628 PyThreadState* __tstate = wxPyBeginAllowThreads();
34629 result = (bool)(arg1)->EndContextHelp();
34630
34631 wxPyEndAllowThreads(__tstate);
34632 if (PyErr_Occurred()) SWIG_fail;
34633 }
34634 {
34635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34636 }
34637 return resultobj;
34638 fail:
34639 return NULL;
34640 }
34641
34642
34643 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
34644 PyObject *obj;
34645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34646 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34647 Py_INCREF(obj);
34648 return Py_BuildValue((char *)"");
34649 }
34650 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
34651 PyObject *resultobj = NULL;
34652 wxWindow *arg1 = (wxWindow *) 0 ;
34653 int arg2 = (int) wxID_CONTEXT_HELP ;
34654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34656 wxSize const &arg4_defvalue = wxDefaultSize ;
34657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34658 long arg5 = (long) wxBU_AUTODRAW ;
34659 wxContextHelpButton *result;
34660 wxPoint temp3 ;
34661 wxSize temp4 ;
34662 PyObject * obj0 = 0 ;
34663 PyObject * obj1 = 0 ;
34664 PyObject * obj2 = 0 ;
34665 PyObject * obj3 = 0 ;
34666 PyObject * obj4 = 0 ;
34667 char *kwnames[] = {
34668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34669 };
34670
34671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34673 if (SWIG_arg_fail(1)) SWIG_fail;
34674 if (obj1) {
34675 {
34676 arg2 = static_cast<int >(SWIG_As_int(obj1));
34677 if (SWIG_arg_fail(2)) SWIG_fail;
34678 }
34679 }
34680 if (obj2) {
34681 {
34682 arg3 = &temp3;
34683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34684 }
34685 }
34686 if (obj3) {
34687 {
34688 arg4 = &temp4;
34689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34690 }
34691 }
34692 if (obj4) {
34693 {
34694 arg5 = static_cast<long >(SWIG_As_long(obj4));
34695 if (SWIG_arg_fail(5)) SWIG_fail;
34696 }
34697 }
34698 {
34699 if (!wxPyCheckForApp()) SWIG_fail;
34700 PyThreadState* __tstate = wxPyBeginAllowThreads();
34701 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34702
34703 wxPyEndAllowThreads(__tstate);
34704 if (PyErr_Occurred()) SWIG_fail;
34705 }
34706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
34707 return resultobj;
34708 fail:
34709 return NULL;
34710 }
34711
34712
34713 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
34714 PyObject *obj;
34715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34716 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34717 Py_INCREF(obj);
34718 return Py_BuildValue((char *)"");
34719 }
34720 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
34721 PyObject *resultobj = NULL;
34722 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34723 wxHelpProvider *result;
34724 PyObject * obj0 = 0 ;
34725 char *kwnames[] = {
34726 (char *) "helpProvider", NULL
34727 };
34728
34729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
34730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
34731 if (SWIG_arg_fail(1)) SWIG_fail;
34732 {
34733 PyThreadState* __tstate = wxPyBeginAllowThreads();
34734 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
34735
34736 wxPyEndAllowThreads(__tstate);
34737 if (PyErr_Occurred()) SWIG_fail;
34738 }
34739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
34740 return resultobj;
34741 fail:
34742 return NULL;
34743 }
34744
34745
34746 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
34747 PyObject *resultobj = NULL;
34748 wxHelpProvider *result;
34749 char *kwnames[] = {
34750 NULL
34751 };
34752
34753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
34754 {
34755 PyThreadState* __tstate = wxPyBeginAllowThreads();
34756 result = (wxHelpProvider *)wxHelpProvider::Get();
34757
34758 wxPyEndAllowThreads(__tstate);
34759 if (PyErr_Occurred()) SWIG_fail;
34760 }
34761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
34762 return resultobj;
34763 fail:
34764 return NULL;
34765 }
34766
34767
34768 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34769 PyObject *resultobj = NULL;
34770 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34771 wxWindow *arg2 = (wxWindow *) 0 ;
34772 wxString result;
34773 PyObject * obj0 = 0 ;
34774 PyObject * obj1 = 0 ;
34775 char *kwnames[] = {
34776 (char *) "self",(char *) "window", NULL
34777 };
34778
34779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
34780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34781 if (SWIG_arg_fail(1)) SWIG_fail;
34782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34783 if (SWIG_arg_fail(2)) SWIG_fail;
34784 {
34785 PyThreadState* __tstate = wxPyBeginAllowThreads();
34786 result = (arg1)->GetHelp((wxWindow const *)arg2);
34787
34788 wxPyEndAllowThreads(__tstate);
34789 if (PyErr_Occurred()) SWIG_fail;
34790 }
34791 {
34792 #if wxUSE_UNICODE
34793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34794 #else
34795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34796 #endif
34797 }
34798 return resultobj;
34799 fail:
34800 return NULL;
34801 }
34802
34803
34804 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34805 PyObject *resultobj = NULL;
34806 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34807 wxWindow *arg2 = (wxWindow *) 0 ;
34808 bool result;
34809 PyObject * obj0 = 0 ;
34810 PyObject * obj1 = 0 ;
34811 char *kwnames[] = {
34812 (char *) "self",(char *) "window", NULL
34813 };
34814
34815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
34816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34817 if (SWIG_arg_fail(1)) SWIG_fail;
34818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34819 if (SWIG_arg_fail(2)) SWIG_fail;
34820 {
34821 PyThreadState* __tstate = wxPyBeginAllowThreads();
34822 result = (bool)(arg1)->ShowHelp(arg2);
34823
34824 wxPyEndAllowThreads(__tstate);
34825 if (PyErr_Occurred()) SWIG_fail;
34826 }
34827 {
34828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34829 }
34830 return resultobj;
34831 fail:
34832 return NULL;
34833 }
34834
34835
34836 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34837 PyObject *resultobj = NULL;
34838 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34839 wxWindow *arg2 = (wxWindow *) 0 ;
34840 wxString *arg3 = 0 ;
34841 bool temp3 = false ;
34842 PyObject * obj0 = 0 ;
34843 PyObject * obj1 = 0 ;
34844 PyObject * obj2 = 0 ;
34845 char *kwnames[] = {
34846 (char *) "self",(char *) "window",(char *) "text", NULL
34847 };
34848
34849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
34850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34851 if (SWIG_arg_fail(1)) SWIG_fail;
34852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34853 if (SWIG_arg_fail(2)) SWIG_fail;
34854 {
34855 arg3 = wxString_in_helper(obj2);
34856 if (arg3 == NULL) SWIG_fail;
34857 temp3 = true;
34858 }
34859 {
34860 PyThreadState* __tstate = wxPyBeginAllowThreads();
34861 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34862
34863 wxPyEndAllowThreads(__tstate);
34864 if (PyErr_Occurred()) SWIG_fail;
34865 }
34866 Py_INCREF(Py_None); resultobj = Py_None;
34867 {
34868 if (temp3)
34869 delete arg3;
34870 }
34871 return resultobj;
34872 fail:
34873 {
34874 if (temp3)
34875 delete arg3;
34876 }
34877 return NULL;
34878 }
34879
34880
34881 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
34882 PyObject *resultobj = NULL;
34883 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34884 int arg2 ;
34885 wxString *arg3 = 0 ;
34886 bool temp3 = false ;
34887 PyObject * obj0 = 0 ;
34888 PyObject * obj1 = 0 ;
34889 PyObject * obj2 = 0 ;
34890 char *kwnames[] = {
34891 (char *) "self",(char *) "id",(char *) "text", NULL
34892 };
34893
34894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
34895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34896 if (SWIG_arg_fail(1)) SWIG_fail;
34897 {
34898 arg2 = static_cast<int >(SWIG_As_int(obj1));
34899 if (SWIG_arg_fail(2)) SWIG_fail;
34900 }
34901 {
34902 arg3 = wxString_in_helper(obj2);
34903 if (arg3 == NULL) SWIG_fail;
34904 temp3 = true;
34905 }
34906 {
34907 PyThreadState* __tstate = wxPyBeginAllowThreads();
34908 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34909
34910 wxPyEndAllowThreads(__tstate);
34911 if (PyErr_Occurred()) SWIG_fail;
34912 }
34913 Py_INCREF(Py_None); resultobj = Py_None;
34914 {
34915 if (temp3)
34916 delete arg3;
34917 }
34918 return resultobj;
34919 fail:
34920 {
34921 if (temp3)
34922 delete arg3;
34923 }
34924 return NULL;
34925 }
34926
34927
34928 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34929 PyObject *resultobj = NULL;
34930 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34931 wxWindow *arg2 = (wxWindow *) 0 ;
34932 PyObject * obj0 = 0 ;
34933 PyObject * obj1 = 0 ;
34934 char *kwnames[] = {
34935 (char *) "self",(char *) "window", NULL
34936 };
34937
34938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
34939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34940 if (SWIG_arg_fail(1)) SWIG_fail;
34941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34942 if (SWIG_arg_fail(2)) SWIG_fail;
34943 {
34944 PyThreadState* __tstate = wxPyBeginAllowThreads();
34945 (arg1)->RemoveHelp(arg2);
34946
34947 wxPyEndAllowThreads(__tstate);
34948 if (PyErr_Occurred()) SWIG_fail;
34949 }
34950 Py_INCREF(Py_None); resultobj = Py_None;
34951 return resultobj;
34952 fail:
34953 return NULL;
34954 }
34955
34956
34957 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
34958 PyObject *resultobj = NULL;
34959 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34960 PyObject * obj0 = 0 ;
34961 char *kwnames[] = {
34962 (char *) "self", NULL
34963 };
34964
34965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
34966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34967 if (SWIG_arg_fail(1)) SWIG_fail;
34968 {
34969 PyThreadState* __tstate = wxPyBeginAllowThreads();
34970 wxHelpProvider_Destroy(arg1);
34971
34972 wxPyEndAllowThreads(__tstate);
34973 if (PyErr_Occurred()) SWIG_fail;
34974 }
34975 Py_INCREF(Py_None); resultobj = Py_None;
34976 return resultobj;
34977 fail:
34978 return NULL;
34979 }
34980
34981
34982 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
34983 PyObject *obj;
34984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34985 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
34986 Py_INCREF(obj);
34987 return Py_BuildValue((char *)"");
34988 }
34989 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
34990 PyObject *resultobj = NULL;
34991 wxSimpleHelpProvider *result;
34992 char *kwnames[] = {
34993 NULL
34994 };
34995
34996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
34997 {
34998 PyThreadState* __tstate = wxPyBeginAllowThreads();
34999 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35000
35001 wxPyEndAllowThreads(__tstate);
35002 if (PyErr_Occurred()) SWIG_fail;
35003 }
35004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35005 return resultobj;
35006 fail:
35007 return NULL;
35008 }
35009
35010
35011 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
35012 PyObject *obj;
35013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35014 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35015 Py_INCREF(obj);
35016 return Py_BuildValue((char *)"");
35017 }
35018 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35019 PyObject *resultobj = NULL;
35020 wxBitmap *arg1 = 0 ;
35021 wxCursor const &arg2_defvalue = wxNullCursor ;
35022 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35023 wxGenericDragImage *result;
35024 PyObject * obj0 = 0 ;
35025 PyObject * obj1 = 0 ;
35026 char *kwnames[] = {
35027 (char *) "image",(char *) "cursor", NULL
35028 };
35029
35030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
35031 {
35032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35033 if (SWIG_arg_fail(1)) SWIG_fail;
35034 if (arg1 == NULL) {
35035 SWIG_null_ref("wxBitmap");
35036 }
35037 if (SWIG_arg_fail(1)) SWIG_fail;
35038 }
35039 if (obj1) {
35040 {
35041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35042 if (SWIG_arg_fail(2)) SWIG_fail;
35043 if (arg2 == NULL) {
35044 SWIG_null_ref("wxCursor");
35045 }
35046 if (SWIG_arg_fail(2)) SWIG_fail;
35047 }
35048 }
35049 {
35050 if (!wxPyCheckForApp()) SWIG_fail;
35051 PyThreadState* __tstate = wxPyBeginAllowThreads();
35052 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35053
35054 wxPyEndAllowThreads(__tstate);
35055 if (PyErr_Occurred()) SWIG_fail;
35056 }
35057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35058 return resultobj;
35059 fail:
35060 return NULL;
35061 }
35062
35063
35064 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
35065 PyObject *resultobj = NULL;
35066 wxIcon *arg1 = 0 ;
35067 wxCursor const &arg2_defvalue = wxNullCursor ;
35068 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35069 wxGenericDragImage *result;
35070 PyObject * obj0 = 0 ;
35071 PyObject * obj1 = 0 ;
35072 char *kwnames[] = {
35073 (char *) "image",(char *) "cursor", NULL
35074 };
35075
35076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
35077 {
35078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35079 if (SWIG_arg_fail(1)) SWIG_fail;
35080 if (arg1 == NULL) {
35081 SWIG_null_ref("wxIcon");
35082 }
35083 if (SWIG_arg_fail(1)) SWIG_fail;
35084 }
35085 if (obj1) {
35086 {
35087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35088 if (SWIG_arg_fail(2)) SWIG_fail;
35089 if (arg2 == NULL) {
35090 SWIG_null_ref("wxCursor");
35091 }
35092 if (SWIG_arg_fail(2)) SWIG_fail;
35093 }
35094 }
35095 {
35096 if (!wxPyCheckForApp()) SWIG_fail;
35097 PyThreadState* __tstate = wxPyBeginAllowThreads();
35098 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35099
35100 wxPyEndAllowThreads(__tstate);
35101 if (PyErr_Occurred()) SWIG_fail;
35102 }
35103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35104 return resultobj;
35105 fail:
35106 return NULL;
35107 }
35108
35109
35110 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
35111 PyObject *resultobj = NULL;
35112 wxString *arg1 = 0 ;
35113 wxCursor const &arg2_defvalue = wxNullCursor ;
35114 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35115 wxGenericDragImage *result;
35116 bool temp1 = false ;
35117 PyObject * obj0 = 0 ;
35118 PyObject * obj1 = 0 ;
35119 char *kwnames[] = {
35120 (char *) "str",(char *) "cursor", NULL
35121 };
35122
35123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35124 {
35125 arg1 = wxString_in_helper(obj0);
35126 if (arg1 == NULL) SWIG_fail;
35127 temp1 = true;
35128 }
35129 if (obj1) {
35130 {
35131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35132 if (SWIG_arg_fail(2)) SWIG_fail;
35133 if (arg2 == NULL) {
35134 SWIG_null_ref("wxCursor");
35135 }
35136 if (SWIG_arg_fail(2)) SWIG_fail;
35137 }
35138 }
35139 {
35140 if (!wxPyCheckForApp()) SWIG_fail;
35141 PyThreadState* __tstate = wxPyBeginAllowThreads();
35142 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35143
35144 wxPyEndAllowThreads(__tstate);
35145 if (PyErr_Occurred()) SWIG_fail;
35146 }
35147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35148 {
35149 if (temp1)
35150 delete arg1;
35151 }
35152 return resultobj;
35153 fail:
35154 {
35155 if (temp1)
35156 delete arg1;
35157 }
35158 return NULL;
35159 }
35160
35161
35162 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
35163 PyObject *resultobj = NULL;
35164 wxPyTreeCtrl *arg1 = 0 ;
35165 wxTreeItemId *arg2 = 0 ;
35166 wxGenericDragImage *result;
35167 PyObject * obj0 = 0 ;
35168 PyObject * obj1 = 0 ;
35169 char *kwnames[] = {
35170 (char *) "treeCtrl",(char *) "id", NULL
35171 };
35172
35173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
35174 {
35175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35176 if (SWIG_arg_fail(1)) SWIG_fail;
35177 if (arg1 == NULL) {
35178 SWIG_null_ref("wxPyTreeCtrl");
35179 }
35180 if (SWIG_arg_fail(1)) SWIG_fail;
35181 }
35182 {
35183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35184 if (SWIG_arg_fail(2)) SWIG_fail;
35185 if (arg2 == NULL) {
35186 SWIG_null_ref("wxTreeItemId");
35187 }
35188 if (SWIG_arg_fail(2)) SWIG_fail;
35189 }
35190 {
35191 if (!wxPyCheckForApp()) SWIG_fail;
35192 PyThreadState* __tstate = wxPyBeginAllowThreads();
35193 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35194
35195 wxPyEndAllowThreads(__tstate);
35196 if (PyErr_Occurred()) SWIG_fail;
35197 }
35198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35199 return resultobj;
35200 fail:
35201 return NULL;
35202 }
35203
35204
35205 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
35206 PyObject *resultobj = NULL;
35207 wxPyListCtrl *arg1 = 0 ;
35208 long arg2 ;
35209 wxGenericDragImage *result;
35210 PyObject * obj0 = 0 ;
35211 PyObject * obj1 = 0 ;
35212 char *kwnames[] = {
35213 (char *) "listCtrl",(char *) "id", NULL
35214 };
35215
35216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
35217 {
35218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35219 if (SWIG_arg_fail(1)) SWIG_fail;
35220 if (arg1 == NULL) {
35221 SWIG_null_ref("wxPyListCtrl");
35222 }
35223 if (SWIG_arg_fail(1)) SWIG_fail;
35224 }
35225 {
35226 arg2 = static_cast<long >(SWIG_As_long(obj1));
35227 if (SWIG_arg_fail(2)) SWIG_fail;
35228 }
35229 {
35230 if (!wxPyCheckForApp()) SWIG_fail;
35231 PyThreadState* __tstate = wxPyBeginAllowThreads();
35232 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35233
35234 wxPyEndAllowThreads(__tstate);
35235 if (PyErr_Occurred()) SWIG_fail;
35236 }
35237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35238 return resultobj;
35239 fail:
35240 return NULL;
35241 }
35242
35243
35244 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35245 PyObject *resultobj = NULL;
35246 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35247 PyObject * obj0 = 0 ;
35248 char *kwnames[] = {
35249 (char *) "self", NULL
35250 };
35251
35252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
35253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35254 if (SWIG_arg_fail(1)) SWIG_fail;
35255 {
35256 PyThreadState* __tstate = wxPyBeginAllowThreads();
35257 delete arg1;
35258
35259 wxPyEndAllowThreads(__tstate);
35260 if (PyErr_Occurred()) SWIG_fail;
35261 }
35262 Py_INCREF(Py_None); resultobj = Py_None;
35263 return resultobj;
35264 fail:
35265 return NULL;
35266 }
35267
35268
35269 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
35270 PyObject *resultobj = NULL;
35271 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35272 wxBitmap *arg2 = (wxBitmap *) 0 ;
35273 PyObject * obj0 = 0 ;
35274 PyObject * obj1 = 0 ;
35275 char *kwnames[] = {
35276 (char *) "self",(char *) "bitmap", NULL
35277 };
35278
35279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
35280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35281 if (SWIG_arg_fail(1)) SWIG_fail;
35282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35283 if (SWIG_arg_fail(2)) SWIG_fail;
35284 {
35285 PyThreadState* __tstate = wxPyBeginAllowThreads();
35286 (arg1)->SetBackingBitmap(arg2);
35287
35288 wxPyEndAllowThreads(__tstate);
35289 if (PyErr_Occurred()) SWIG_fail;
35290 }
35291 Py_INCREF(Py_None); resultobj = Py_None;
35292 return resultobj;
35293 fail:
35294 return NULL;
35295 }
35296
35297
35298 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35299 PyObject *resultobj = NULL;
35300 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35301 wxPoint *arg2 = 0 ;
35302 wxWindow *arg3 = (wxWindow *) 0 ;
35303 bool arg4 = (bool) false ;
35304 wxRect *arg5 = (wxRect *) NULL ;
35305 bool result;
35306 wxPoint temp2 ;
35307 PyObject * obj0 = 0 ;
35308 PyObject * obj1 = 0 ;
35309 PyObject * obj2 = 0 ;
35310 PyObject * obj3 = 0 ;
35311 PyObject * obj4 = 0 ;
35312 char *kwnames[] = {
35313 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35314 };
35315
35316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35318 if (SWIG_arg_fail(1)) SWIG_fail;
35319 {
35320 arg2 = &temp2;
35321 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35322 }
35323 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35324 if (SWIG_arg_fail(3)) SWIG_fail;
35325 if (obj3) {
35326 {
35327 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35328 if (SWIG_arg_fail(4)) SWIG_fail;
35329 }
35330 }
35331 if (obj4) {
35332 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35333 if (SWIG_arg_fail(5)) SWIG_fail;
35334 }
35335 {
35336 PyThreadState* __tstate = wxPyBeginAllowThreads();
35337 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35338
35339 wxPyEndAllowThreads(__tstate);
35340 if (PyErr_Occurred()) SWIG_fail;
35341 }
35342 {
35343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35344 }
35345 return resultobj;
35346 fail:
35347 return NULL;
35348 }
35349
35350
35351 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
35352 PyObject *resultobj = NULL;
35353 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35354 wxPoint *arg2 = 0 ;
35355 wxWindow *arg3 = (wxWindow *) 0 ;
35356 wxWindow *arg4 = (wxWindow *) 0 ;
35357 bool result;
35358 wxPoint temp2 ;
35359 PyObject * obj0 = 0 ;
35360 PyObject * obj1 = 0 ;
35361 PyObject * obj2 = 0 ;
35362 PyObject * obj3 = 0 ;
35363 char *kwnames[] = {
35364 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35365 };
35366
35367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35369 if (SWIG_arg_fail(1)) SWIG_fail;
35370 {
35371 arg2 = &temp2;
35372 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35373 }
35374 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35375 if (SWIG_arg_fail(3)) SWIG_fail;
35376 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35377 if (SWIG_arg_fail(4)) SWIG_fail;
35378 {
35379 PyThreadState* __tstate = wxPyBeginAllowThreads();
35380 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35381
35382 wxPyEndAllowThreads(__tstate);
35383 if (PyErr_Occurred()) SWIG_fail;
35384 }
35385 {
35386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35387 }
35388 return resultobj;
35389 fail:
35390 return NULL;
35391 }
35392
35393
35394 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35395 PyObject *resultobj = NULL;
35396 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35397 bool result;
35398 PyObject * obj0 = 0 ;
35399 char *kwnames[] = {
35400 (char *) "self", NULL
35401 };
35402
35403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
35404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35405 if (SWIG_arg_fail(1)) SWIG_fail;
35406 {
35407 PyThreadState* __tstate = wxPyBeginAllowThreads();
35408 result = (bool)(arg1)->EndDrag();
35409
35410 wxPyEndAllowThreads(__tstate);
35411 if (PyErr_Occurred()) SWIG_fail;
35412 }
35413 {
35414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35415 }
35416 return resultobj;
35417 fail:
35418 return NULL;
35419 }
35420
35421
35422 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
35423 PyObject *resultobj = NULL;
35424 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35425 wxPoint *arg2 = 0 ;
35426 bool result;
35427 wxPoint temp2 ;
35428 PyObject * obj0 = 0 ;
35429 PyObject * obj1 = 0 ;
35430 char *kwnames[] = {
35431 (char *) "self",(char *) "pt", NULL
35432 };
35433
35434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
35435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35436 if (SWIG_arg_fail(1)) SWIG_fail;
35437 {
35438 arg2 = &temp2;
35439 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35440 }
35441 {
35442 PyThreadState* __tstate = wxPyBeginAllowThreads();
35443 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35444
35445 wxPyEndAllowThreads(__tstate);
35446 if (PyErr_Occurred()) SWIG_fail;
35447 }
35448 {
35449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35450 }
35451 return resultobj;
35452 fail:
35453 return NULL;
35454 }
35455
35456
35457 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
35458 PyObject *resultobj = NULL;
35459 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35460 bool result;
35461 PyObject * obj0 = 0 ;
35462 char *kwnames[] = {
35463 (char *) "self", NULL
35464 };
35465
35466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
35467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35468 if (SWIG_arg_fail(1)) SWIG_fail;
35469 {
35470 PyThreadState* __tstate = wxPyBeginAllowThreads();
35471 result = (bool)(arg1)->Show();
35472
35473 wxPyEndAllowThreads(__tstate);
35474 if (PyErr_Occurred()) SWIG_fail;
35475 }
35476 {
35477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35478 }
35479 return resultobj;
35480 fail:
35481 return NULL;
35482 }
35483
35484
35485 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
35486 PyObject *resultobj = NULL;
35487 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35488 bool result;
35489 PyObject * obj0 = 0 ;
35490 char *kwnames[] = {
35491 (char *) "self", NULL
35492 };
35493
35494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
35495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35496 if (SWIG_arg_fail(1)) SWIG_fail;
35497 {
35498 PyThreadState* __tstate = wxPyBeginAllowThreads();
35499 result = (bool)(arg1)->Hide();
35500
35501 wxPyEndAllowThreads(__tstate);
35502 if (PyErr_Occurred()) SWIG_fail;
35503 }
35504 {
35505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35506 }
35507 return resultobj;
35508 fail:
35509 return NULL;
35510 }
35511
35512
35513 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
35514 PyObject *resultobj = NULL;
35515 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35516 wxPoint *arg2 = 0 ;
35517 wxRect result;
35518 wxPoint temp2 ;
35519 PyObject * obj0 = 0 ;
35520 PyObject * obj1 = 0 ;
35521 char *kwnames[] = {
35522 (char *) "self",(char *) "pos", NULL
35523 };
35524
35525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
35526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35527 if (SWIG_arg_fail(1)) SWIG_fail;
35528 {
35529 arg2 = &temp2;
35530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35531 }
35532 {
35533 PyThreadState* __tstate = wxPyBeginAllowThreads();
35534 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35535
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 {
35540 wxRect * resultptr;
35541 resultptr = new wxRect(static_cast<wxRect & >(result));
35542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35543 }
35544 return resultobj;
35545 fail:
35546 return NULL;
35547 }
35548
35549
35550 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35551 PyObject *resultobj = NULL;
35552 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35553 wxDC *arg2 = 0 ;
35554 wxPoint *arg3 = 0 ;
35555 bool result;
35556 wxPoint temp3 ;
35557 PyObject * obj0 = 0 ;
35558 PyObject * obj1 = 0 ;
35559 PyObject * obj2 = 0 ;
35560 char *kwnames[] = {
35561 (char *) "self",(char *) "dc",(char *) "pos", NULL
35562 };
35563
35564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
35565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35566 if (SWIG_arg_fail(1)) SWIG_fail;
35567 {
35568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35569 if (SWIG_arg_fail(2)) SWIG_fail;
35570 if (arg2 == NULL) {
35571 SWIG_null_ref("wxDC");
35572 }
35573 if (SWIG_arg_fail(2)) SWIG_fail;
35574 }
35575 {
35576 arg3 = &temp3;
35577 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35578 }
35579 {
35580 PyThreadState* __tstate = wxPyBeginAllowThreads();
35581 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35582
35583 wxPyEndAllowThreads(__tstate);
35584 if (PyErr_Occurred()) SWIG_fail;
35585 }
35586 {
35587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35588 }
35589 return resultobj;
35590 fail:
35591 return NULL;
35592 }
35593
35594
35595 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
35596 PyObject *resultobj = NULL;
35597 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35598 wxDC *arg2 = 0 ;
35599 wxMemoryDC *arg3 = 0 ;
35600 wxRect *arg4 = 0 ;
35601 wxRect *arg5 = 0 ;
35602 bool result;
35603 wxRect temp4 ;
35604 wxRect temp5 ;
35605 PyObject * obj0 = 0 ;
35606 PyObject * obj1 = 0 ;
35607 PyObject * obj2 = 0 ;
35608 PyObject * obj3 = 0 ;
35609 PyObject * obj4 = 0 ;
35610 char *kwnames[] = {
35611 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35612 };
35613
35614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35616 if (SWIG_arg_fail(1)) SWIG_fail;
35617 {
35618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35619 if (SWIG_arg_fail(2)) SWIG_fail;
35620 if (arg2 == NULL) {
35621 SWIG_null_ref("wxDC");
35622 }
35623 if (SWIG_arg_fail(2)) SWIG_fail;
35624 }
35625 {
35626 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35627 if (SWIG_arg_fail(3)) SWIG_fail;
35628 if (arg3 == NULL) {
35629 SWIG_null_ref("wxMemoryDC");
35630 }
35631 if (SWIG_arg_fail(3)) SWIG_fail;
35632 }
35633 {
35634 arg4 = &temp4;
35635 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35636 }
35637 {
35638 arg5 = &temp5;
35639 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35640 }
35641 {
35642 PyThreadState* __tstate = wxPyBeginAllowThreads();
35643 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35644
35645 wxPyEndAllowThreads(__tstate);
35646 if (PyErr_Occurred()) SWIG_fail;
35647 }
35648 {
35649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35650 }
35651 return resultobj;
35652 fail:
35653 return NULL;
35654 }
35655
35656
35657 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35658 PyObject *resultobj = NULL;
35659 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35660 wxPoint *arg2 = 0 ;
35661 wxPoint *arg3 = 0 ;
35662 bool arg4 ;
35663 bool arg5 ;
35664 bool result;
35665 wxPoint temp2 ;
35666 wxPoint temp3 ;
35667 PyObject * obj0 = 0 ;
35668 PyObject * obj1 = 0 ;
35669 PyObject * obj2 = 0 ;
35670 PyObject * obj3 = 0 ;
35671 PyObject * obj4 = 0 ;
35672 char *kwnames[] = {
35673 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35674 };
35675
35676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35678 if (SWIG_arg_fail(1)) SWIG_fail;
35679 {
35680 arg2 = &temp2;
35681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35682 }
35683 {
35684 arg3 = &temp3;
35685 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35686 }
35687 {
35688 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35689 if (SWIG_arg_fail(4)) SWIG_fail;
35690 }
35691 {
35692 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
35693 if (SWIG_arg_fail(5)) SWIG_fail;
35694 }
35695 {
35696 PyThreadState* __tstate = wxPyBeginAllowThreads();
35697 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35698
35699 wxPyEndAllowThreads(__tstate);
35700 if (PyErr_Occurred()) SWIG_fail;
35701 }
35702 {
35703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35704 }
35705 return resultobj;
35706 fail:
35707 return NULL;
35708 }
35709
35710
35711 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
35712 PyObject *obj;
35713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35714 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35715 Py_INCREF(obj);
35716 return Py_BuildValue((char *)"");
35717 }
35718 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35719 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35720 return 1;
35721 }
35722
35723
35724 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
35725 PyObject *pyobj = NULL;
35726
35727 {
35728 #if wxUSE_UNICODE
35729 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35730 #else
35731 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35732 #endif
35733 }
35734 return pyobj;
35735 }
35736
35737
35738 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
35739 PyObject *resultobj = NULL;
35740 wxWindow *arg1 = (wxWindow *) 0 ;
35741 int arg2 = (int) -1 ;
35742 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
35743 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
35744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
35745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
35746 wxSize const &arg5_defvalue = wxDefaultSize ;
35747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
35748 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35749 wxValidator const &arg7_defvalue = wxDefaultValidator ;
35750 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
35751 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
35752 wxString *arg8 = (wxString *) &arg8_defvalue ;
35753 wxDatePickerCtrl *result;
35754 wxPoint temp4 ;
35755 wxSize temp5 ;
35756 bool temp8 = false ;
35757 PyObject * obj0 = 0 ;
35758 PyObject * obj1 = 0 ;
35759 PyObject * obj2 = 0 ;
35760 PyObject * obj3 = 0 ;
35761 PyObject * obj4 = 0 ;
35762 PyObject * obj5 = 0 ;
35763 PyObject * obj6 = 0 ;
35764 PyObject * obj7 = 0 ;
35765 char *kwnames[] = {
35766 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35767 };
35768
35769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
35770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35771 if (SWIG_arg_fail(1)) SWIG_fail;
35772 if (obj1) {
35773 {
35774 arg2 = static_cast<int >(SWIG_As_int(obj1));
35775 if (SWIG_arg_fail(2)) SWIG_fail;
35776 }
35777 }
35778 if (obj2) {
35779 {
35780 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35781 if (SWIG_arg_fail(3)) SWIG_fail;
35782 if (arg3 == NULL) {
35783 SWIG_null_ref("wxDateTime");
35784 }
35785 if (SWIG_arg_fail(3)) SWIG_fail;
35786 }
35787 }
35788 if (obj3) {
35789 {
35790 arg4 = &temp4;
35791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
35792 }
35793 }
35794 if (obj4) {
35795 {
35796 arg5 = &temp5;
35797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
35798 }
35799 }
35800 if (obj5) {
35801 {
35802 arg6 = static_cast<long >(SWIG_As_long(obj5));
35803 if (SWIG_arg_fail(6)) SWIG_fail;
35804 }
35805 }
35806 if (obj6) {
35807 {
35808 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35809 if (SWIG_arg_fail(7)) SWIG_fail;
35810 if (arg7 == NULL) {
35811 SWIG_null_ref("wxValidator");
35812 }
35813 if (SWIG_arg_fail(7)) SWIG_fail;
35814 }
35815 }
35816 if (obj7) {
35817 {
35818 arg8 = wxString_in_helper(obj7);
35819 if (arg8 == NULL) SWIG_fail;
35820 temp8 = true;
35821 }
35822 }
35823 {
35824 if (!wxPyCheckForApp()) SWIG_fail;
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
35827
35828 wxPyEndAllowThreads(__tstate);
35829 if (PyErr_Occurred()) SWIG_fail;
35830 }
35831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35832 {
35833 if (temp8)
35834 delete arg8;
35835 }
35836 return resultobj;
35837 fail:
35838 {
35839 if (temp8)
35840 delete arg8;
35841 }
35842 return NULL;
35843 }
35844
35845
35846 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
35847 PyObject *resultobj = NULL;
35848 wxDatePickerCtrl *result;
35849 char *kwnames[] = {
35850 NULL
35851 };
35852
35853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
35854 {
35855 if (!wxPyCheckForApp()) SWIG_fail;
35856 PyThreadState* __tstate = wxPyBeginAllowThreads();
35857 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
35858
35859 wxPyEndAllowThreads(__tstate);
35860 if (PyErr_Occurred()) SWIG_fail;
35861 }
35862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35863 return resultobj;
35864 fail:
35865 return NULL;
35866 }
35867
35868
35869 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
35870 PyObject *resultobj = NULL;
35871 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35872 wxWindow *arg2 = (wxWindow *) 0 ;
35873 int arg3 = (int) -1 ;
35874 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
35875 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
35876 wxPoint const &arg5_defvalue = wxDefaultPosition ;
35877 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
35878 wxSize const &arg6_defvalue = wxDefaultSize ;
35879 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
35880 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35881 wxValidator const &arg8_defvalue = wxDefaultValidator ;
35882 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
35883 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
35884 wxString *arg9 = (wxString *) &arg9_defvalue ;
35885 bool result;
35886 wxPoint temp5 ;
35887 wxSize temp6 ;
35888 bool temp9 = false ;
35889 PyObject * obj0 = 0 ;
35890 PyObject * obj1 = 0 ;
35891 PyObject * obj2 = 0 ;
35892 PyObject * obj3 = 0 ;
35893 PyObject * obj4 = 0 ;
35894 PyObject * obj5 = 0 ;
35895 PyObject * obj6 = 0 ;
35896 PyObject * obj7 = 0 ;
35897 PyObject * obj8 = 0 ;
35898 char *kwnames[] = {
35899 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35900 };
35901
35902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
35903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35904 if (SWIG_arg_fail(1)) SWIG_fail;
35905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35906 if (SWIG_arg_fail(2)) SWIG_fail;
35907 if (obj2) {
35908 {
35909 arg3 = static_cast<int >(SWIG_As_int(obj2));
35910 if (SWIG_arg_fail(3)) SWIG_fail;
35911 }
35912 }
35913 if (obj3) {
35914 {
35915 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35916 if (SWIG_arg_fail(4)) SWIG_fail;
35917 if (arg4 == NULL) {
35918 SWIG_null_ref("wxDateTime");
35919 }
35920 if (SWIG_arg_fail(4)) SWIG_fail;
35921 }
35922 }
35923 if (obj4) {
35924 {
35925 arg5 = &temp5;
35926 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
35927 }
35928 }
35929 if (obj5) {
35930 {
35931 arg6 = &temp6;
35932 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
35933 }
35934 }
35935 if (obj6) {
35936 {
35937 arg7 = static_cast<long >(SWIG_As_long(obj6));
35938 if (SWIG_arg_fail(7)) SWIG_fail;
35939 }
35940 }
35941 if (obj7) {
35942 {
35943 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35944 if (SWIG_arg_fail(8)) SWIG_fail;
35945 if (arg8 == NULL) {
35946 SWIG_null_ref("wxValidator");
35947 }
35948 if (SWIG_arg_fail(8)) SWIG_fail;
35949 }
35950 }
35951 if (obj8) {
35952 {
35953 arg9 = wxString_in_helper(obj8);
35954 if (arg9 == NULL) SWIG_fail;
35955 temp9 = true;
35956 }
35957 }
35958 {
35959 PyThreadState* __tstate = wxPyBeginAllowThreads();
35960 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
35961
35962 wxPyEndAllowThreads(__tstate);
35963 if (PyErr_Occurred()) SWIG_fail;
35964 }
35965 {
35966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35967 }
35968 {
35969 if (temp9)
35970 delete arg9;
35971 }
35972 return resultobj;
35973 fail:
35974 {
35975 if (temp9)
35976 delete arg9;
35977 }
35978 return NULL;
35979 }
35980
35981
35982 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
35983 PyObject *resultobj = NULL;
35984 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35985 wxDateTime *arg2 = 0 ;
35986 PyObject * obj0 = 0 ;
35987 PyObject * obj1 = 0 ;
35988 char *kwnames[] = {
35989 (char *) "self",(char *) "dt", NULL
35990 };
35991
35992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
35993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35994 if (SWIG_arg_fail(1)) SWIG_fail;
35995 {
35996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35997 if (SWIG_arg_fail(2)) SWIG_fail;
35998 if (arg2 == NULL) {
35999 SWIG_null_ref("wxDateTime");
36000 }
36001 if (SWIG_arg_fail(2)) SWIG_fail;
36002 }
36003 {
36004 PyThreadState* __tstate = wxPyBeginAllowThreads();
36005 (arg1)->SetValue((wxDateTime const &)*arg2);
36006
36007 wxPyEndAllowThreads(__tstate);
36008 if (PyErr_Occurred()) SWIG_fail;
36009 }
36010 Py_INCREF(Py_None); resultobj = Py_None;
36011 return resultobj;
36012 fail:
36013 return NULL;
36014 }
36015
36016
36017 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
36018 PyObject *resultobj = NULL;
36019 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36020 wxDateTime result;
36021 PyObject * obj0 = 0 ;
36022 char *kwnames[] = {
36023 (char *) "self", NULL
36024 };
36025
36026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36028 if (SWIG_arg_fail(1)) SWIG_fail;
36029 {
36030 PyThreadState* __tstate = wxPyBeginAllowThreads();
36031 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36032
36033 wxPyEndAllowThreads(__tstate);
36034 if (PyErr_Occurred()) SWIG_fail;
36035 }
36036 {
36037 wxDateTime * resultptr;
36038 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36040 }
36041 return resultobj;
36042 fail:
36043 return NULL;
36044 }
36045
36046
36047 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
36048 PyObject *resultobj = NULL;
36049 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36050 wxDateTime *arg2 = 0 ;
36051 wxDateTime *arg3 = 0 ;
36052 PyObject * obj0 = 0 ;
36053 PyObject * obj1 = 0 ;
36054 PyObject * obj2 = 0 ;
36055 char *kwnames[] = {
36056 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36057 };
36058
36059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36061 if (SWIG_arg_fail(1)) SWIG_fail;
36062 {
36063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36064 if (SWIG_arg_fail(2)) SWIG_fail;
36065 if (arg2 == NULL) {
36066 SWIG_null_ref("wxDateTime");
36067 }
36068 if (SWIG_arg_fail(2)) SWIG_fail;
36069 }
36070 {
36071 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36072 if (SWIG_arg_fail(3)) SWIG_fail;
36073 if (arg3 == NULL) {
36074 SWIG_null_ref("wxDateTime");
36075 }
36076 if (SWIG_arg_fail(3)) SWIG_fail;
36077 }
36078 {
36079 PyThreadState* __tstate = wxPyBeginAllowThreads();
36080 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36081
36082 wxPyEndAllowThreads(__tstate);
36083 if (PyErr_Occurred()) SWIG_fail;
36084 }
36085 Py_INCREF(Py_None); resultobj = Py_None;
36086 return resultobj;
36087 fail:
36088 return NULL;
36089 }
36090
36091
36092 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36093 PyObject *resultobj = NULL;
36094 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36095 wxDateTime result;
36096 PyObject * obj0 = 0 ;
36097 char *kwnames[] = {
36098 (char *) "self", NULL
36099 };
36100
36101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36103 if (SWIG_arg_fail(1)) SWIG_fail;
36104 {
36105 PyThreadState* __tstate = wxPyBeginAllowThreads();
36106 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36107
36108 wxPyEndAllowThreads(__tstate);
36109 if (PyErr_Occurred()) SWIG_fail;
36110 }
36111 {
36112 wxDateTime * resultptr;
36113 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36115 }
36116 return resultobj;
36117 fail:
36118 return NULL;
36119 }
36120
36121
36122 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36123 PyObject *resultobj = NULL;
36124 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36125 wxDateTime result;
36126 PyObject * obj0 = 0 ;
36127 char *kwnames[] = {
36128 (char *) "self", NULL
36129 };
36130
36131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36133 if (SWIG_arg_fail(1)) SWIG_fail;
36134 {
36135 PyThreadState* __tstate = wxPyBeginAllowThreads();
36136 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36137
36138 wxPyEndAllowThreads(__tstate);
36139 if (PyErr_Occurred()) SWIG_fail;
36140 }
36141 {
36142 wxDateTime * resultptr;
36143 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36145 }
36146 return resultobj;
36147 fail:
36148 return NULL;
36149 }
36150
36151
36152 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36153 PyObject *obj;
36154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36155 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36156 Py_INCREF(obj);
36157 return Py_BuildValue((char *)"");
36158 }
36159 static PyMethodDef SwigMethods[] = {
36160 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36161 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36162 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36163 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36164 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36165 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36166 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36167 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36168 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36169 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36170 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36171 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36172 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36173 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36174 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36175 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36176 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36177 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36178 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36179 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36180 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36181 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36182 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36183 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36184 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36185 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36186 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36187 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36188 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36189 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36190 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36191 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36192 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36193 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36194 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36195 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36196 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36197 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36198 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36199 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36200 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36201 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36202 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36203 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36204 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36205 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36206 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36207 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36208 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36209 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36210 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36211 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36212 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36213 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36214 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36215 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36216 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36217 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36218 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36219 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36220 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36221 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36222 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36223 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36224 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36225 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36226 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36227 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36228 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36229 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36230 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36231 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36232 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36233 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36234 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36235 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36236 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36237 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36238 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36239 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36240 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36241 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36242 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36243 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36244 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36245 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36246 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36247 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36248 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36249 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36250 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36251 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36252 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36253 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36254 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36255 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36256 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36257 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36258 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36259 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36260 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
36261 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36262 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36263 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36264 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36265 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36266 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36267 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36268 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36269 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36270 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36271 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36272 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36273 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36274 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36275 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36276 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36277 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36278 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36279 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36280 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36281 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36282 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36283 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36284 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36285 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36286 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36287 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36288 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36289 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36290 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36291 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36292 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36293 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36294 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36295 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36296 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36297 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36298 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36299 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36300 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36301 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36302 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36303 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36304 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36305 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36306 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36307 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36308 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36309 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36310 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36311 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36312 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36313 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36314 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36315 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36316 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36317 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36318 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36319 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36320 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36321 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36322 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36323 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36324 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36325 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36326 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36327 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36328 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36329 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36330 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36331 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36332 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36333 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36334 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36335 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36336 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36337 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36338 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36339 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36340 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36341 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36342 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36343 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36344 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36345 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36346 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36347 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36348 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36349 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36350 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36351 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36352 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36353 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36354 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36355 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36356 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36357 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36358 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36359 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36360 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36361 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36362 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36363 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36364 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36365 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36366 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36367 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36368 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36369 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36370 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36371 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36372 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36373 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36374 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36375 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36376 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36377 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36378 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36379 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36380 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36381 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36382 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36383 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36384 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36385 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36386 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36387 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36388 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36389 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36390 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36391 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36392 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36393 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36394 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36395 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36396 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36397 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36398 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36399 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36400 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36401 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36402 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36403 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36404 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36405 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36406 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36407 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36408 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36409 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36410 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36411 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36412 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36413 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36414 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36415 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36416 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36417 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36418 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36419 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36420 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36421 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36422 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36423 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36424 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36425 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36426 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36427 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36428 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36429 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36430 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36431 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36432 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36433 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36434 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36435 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36436 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36437 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36438 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36444 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36453 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36455 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36459 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36460 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36469 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36471 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36472 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36474 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36475 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36477 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36485 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36486 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36492 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36493 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36494 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36497 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36501 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36509 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36521 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36523 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36525 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36527 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36528 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36530 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36535 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36538 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36540 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36541 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36542 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36545 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36547 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36549 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36553 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
36555 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36567 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36569 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36571 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36572 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36577 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
36579 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36581 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36589 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36596 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36601 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36604 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36609 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36612 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36622 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36654 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36660 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36674 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36675 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36687 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
36726 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36741 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
36753 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36808 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36819 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
36826 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
36838 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
36846 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
36854 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
36871 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
36890 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
36935 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
36947 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
36969 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
36974 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37001 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37007 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37009 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37014 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37016 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37025 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37027 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
37045 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
37054 { NULL, NULL, 0, NULL }
37055 };
37056
37057
37058 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37059
37060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37062 }
37063 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37064 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37065 }
37066 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37067 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37068 }
37069 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37070 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37071 }
37072 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37073 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37074 }
37075 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37076 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37077 }
37078 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37079 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37080 }
37081 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37082 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37083 }
37084 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37085 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37086 }
37087 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37088 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37089 }
37090 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37092 }
37093 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37094 return (void *)((wxEvent *) ((wxPyEvent *) x));
37095 }
37096 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37098 }
37099 static void *_p_wxListEventTo_p_wxEvent(void *x) {
37100 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37101 }
37102 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
37103 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37104 }
37105 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
37106 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37107 }
37108 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
37109 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37110 }
37111 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37112 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37113 }
37114 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37115 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37116 }
37117 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37119 }
37120 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37121 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37122 }
37123 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37125 }
37126 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37127 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37128 }
37129 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37130 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37131 }
37132 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37133 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37134 }
37135 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37136 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37137 }
37138 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37139 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37140 }
37141 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37142 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37143 }
37144 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37146 }
37147 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37148 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37149 }
37150 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37151 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37152 }
37153 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37155 }
37156 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37157 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37158 }
37159 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37160 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37161 }
37162 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37163 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37164 }
37165 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37166 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37167 }
37168 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37169 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37170 }
37171 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37172 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37173 }
37174 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37175 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37176 }
37177 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37178 return (void *)((wxEvent *) ((wxShowEvent *) x));
37179 }
37180 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37181 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37182 }
37183 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37185 }
37186 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37188 }
37189 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37190 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37191 }
37192 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37193 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37194 }
37195 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37196 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37197 }
37198 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37199 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37200 }
37201 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37202 return (void *)((wxItemContainer *) ((wxComboBox *) x));
37203 }
37204 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37205 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37206 }
37207 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37208 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37209 }
37210 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37211 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37212 }
37213 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37214 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37215 }
37216 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37217 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37218 }
37219 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37220 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37221 }
37222 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37223 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
37224 }
37225 static void *_p_wxToolBarTo_p_wxControl(void *x) {
37226 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37227 }
37228 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37229 return (void *)((wxControl *) ((wxToggleButton *) x));
37230 }
37231 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37232 return (void *)((wxControl *) ((wxRadioButton *) x));
37233 }
37234 static void *_p_wxToolbookTo_p_wxControl(void *x) {
37235 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
37236 }
37237 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37238 return (void *)((wxControl *) ((wxToolBarBase *) x));
37239 }
37240 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37241 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37242 }
37243 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37244 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37245 }
37246 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37247 return (void *)((wxControl *) ((wxComboBox *) x));
37248 }
37249 static void *_p_wxPyControlTo_p_wxControl(void *x) {
37250 return (void *)((wxControl *) ((wxPyControl *) x));
37251 }
37252 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37253 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
37254 }
37255 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37256 return (void *)((wxControl *) ((wxScrollBar *) x));
37257 }
37258 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37259 return (void *)((wxControl *) ((wxControlWithItems *) x));
37260 }
37261 static void *_p_wxGaugeTo_p_wxControl(void *x) {
37262 return (void *)((wxControl *) ((wxGauge *) x));
37263 }
37264 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37265 return (void *)((wxControl *) ((wxStaticLine *) x));
37266 }
37267 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
37268 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
37269 }
37270 static void *_p_wxListbookTo_p_wxControl(void *x) {
37271 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
37272 }
37273 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37274 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
37275 }
37276 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37277 return (void *)((wxControl *) ((wxCheckBox *) x));
37278 }
37279 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37280 return (void *)((wxControl *) ((wxRadioBox *) x));
37281 }
37282 static void *_p_wxChoiceTo_p_wxControl(void *x) {
37283 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37284 }
37285 static void *_p_wxListBoxTo_p_wxControl(void *x) {
37286 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37287 }
37288 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37289 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37290 }
37291 static void *_p_wxListViewTo_p_wxControl(void *x) {
37292 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37293 }
37294 static void *_p_wxNotebookTo_p_wxControl(void *x) {
37295 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
37296 }
37297 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37298 return (void *)((wxControl *) ((wxStaticBitmap *) x));
37299 }
37300 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37301 return (void *)((wxControl *) ((wxSpinCtrl *) x));
37302 }
37303 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37304 return (void *)((wxControl *) ((wxStaticText *) x));
37305 }
37306 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37307 return (void *)((wxControl *) ((wxStaticBox *) x));
37308 }
37309 static void *_p_wxSliderTo_p_wxControl(void *x) {
37310 return (void *)((wxControl *) ((wxSlider *) x));
37311 }
37312 static void *_p_wxTreebookTo_p_wxControl(void *x) {
37313 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
37314 }
37315 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37316 return (void *)((wxControl *) ((wxSpinButton *) x));
37317 }
37318 static void *_p_wxButtonTo_p_wxControl(void *x) {
37319 return (void *)((wxControl *) ((wxButton *) x));
37320 }
37321 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37322 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37323 }
37324 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37325 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37326 }
37327 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37328 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37329 }
37330 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37331 return (void *)((wxControl *) ((wxTextCtrl *) x));
37332 }
37333 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37334 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37335 }
37336 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37337 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37338 }
37339 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37340 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37341 }
37342 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37343 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37344 }
37345 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37346 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37347 }
37348 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37349 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37350 }
37351 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
37352 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37353 }
37354 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
37355 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37356 }
37357 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
37358 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37359 }
37360 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37361 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37362 }
37363 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37364 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37365 }
37366 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37367 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37368 }
37369 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37370 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
37371 }
37372 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37373 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37374 }
37375 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37376 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37377 }
37378 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37379 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
37380 }
37381 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37382 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37383 }
37384 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37386 }
37387 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37388 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37389 }
37390 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37391 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37392 }
37393 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37395 }
37396 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37397 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37398 }
37399 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37401 }
37402 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37404 }
37405 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37407 }
37408 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37409 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37410 }
37411 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37412 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37413 }
37414 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
37416 }
37417 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37419 }
37420 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37422 }
37423 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37425 }
37426 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37428 }
37429 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37430 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37431 }
37432 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37434 }
37435 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37436 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37437 }
37438 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37439 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37440 }
37441 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37443 }
37444 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37446 }
37447 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
37448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37449 }
37450 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
37451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37452 }
37453 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37455 }
37456 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37458 }
37459 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37461 }
37462 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37464 }
37465 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37467 }
37468 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37470 }
37471 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
37472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37473 }
37474 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37476 }
37477 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37479 }
37480 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37482 }
37483 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37485 }
37486 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37488 }
37489 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37491 }
37492 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37494 }
37495 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37497 }
37498 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37500 }
37501 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37503 }
37504 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37506 }
37507 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37509 }
37510 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37512 }
37513 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37514 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37515 }
37516 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37517 return (void *)((wxButton *) ((wxBitmapButton *) x));
37518 }
37519 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37520 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37521 }
37522 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37523 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37524 }
37525 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37526 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37527 }
37528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37529 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37530 }
37531 static void *_p_wxToolbookTo_p_wxObject(void *x) {
37532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37533 }
37534 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37535 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37536 }
37537 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37538 return (void *)((wxObject *) ((wxSizerItem *) x));
37539 }
37540 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37542 }
37543 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37544 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37545 }
37546 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37548 }
37549 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37550 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37551 }
37552 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37553 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37554 }
37555 static void *_p_wxSizerTo_p_wxObject(void *x) {
37556 return (void *)((wxObject *) ((wxSizer *) x));
37557 }
37558 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37559 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37560 }
37561 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37563 }
37564 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37566 }
37567 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37569 }
37570 static void *_p_wxEventTo_p_wxObject(void *x) {
37571 return (void *)((wxObject *) ((wxEvent *) x));
37572 }
37573 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37574 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37575 }
37576 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37577 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37578 }
37579 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37580 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37581 }
37582 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37584 }
37585 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37587 }
37588 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37590 }
37591 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37592 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37593 }
37594 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37595 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37596 }
37597 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37598 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37599 }
37600 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37601 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37602 }
37603 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37604 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37605 }
37606 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37607 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37608 }
37609 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37611 }
37612 static void *_p_wxControlTo_p_wxObject(void *x) {
37613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37614 }
37615 static void *_p_wxPyControlTo_p_wxObject(void *x) {
37616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37617 }
37618 static void *_p_wxGaugeTo_p_wxObject(void *x) {
37619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37620 }
37621 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37623 }
37624 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37626 }
37627 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37629 }
37630 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37631 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37632 }
37633 static void *_p_wxChoiceTo_p_wxObject(void *x) {
37634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37635 }
37636 static void *_p_wxFSFileTo_p_wxObject(void *x) {
37637 return (void *)((wxObject *) ((wxFSFile *) x));
37638 }
37639 static void *_p_wxPySizerTo_p_wxObject(void *x) {
37640 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37641 }
37642 static void *_p_wxTreebookTo_p_wxObject(void *x) {
37643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37644 }
37645 static void *_p_wxListViewTo_p_wxObject(void *x) {
37646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37647 }
37648 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37650 }
37651 static void *_p_wxNotebookTo_p_wxObject(void *x) {
37652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37653 }
37654 static void *_p_wxPyEventTo_p_wxObject(void *x) {
37655 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37656 }
37657 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37659 }
37660 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
37661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37662 }
37663 static void *_p_wxListbookTo_p_wxObject(void *x) {
37664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37665 }
37666 static void *_p_wxShowEventTo_p_wxObject(void *x) {
37667 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37668 }
37669 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37671 }
37672 static void *_p_wxSliderTo_p_wxObject(void *x) {
37673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37674 }
37675 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37676 return (void *)((wxObject *) ((wxMenuItem *) x));
37677 }
37678 static void *_p_wxDateEventTo_p_wxObject(void *x) {
37679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37680 }
37681 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37682 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37683 }
37684 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37686 }
37687 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37688 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37689 }
37690 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37691 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37692 }
37693 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37694 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37695 }
37696 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37697 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37698 }
37699 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37700 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37701 }
37702 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37703 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37704 }
37705 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37707 }
37708 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37709 return (void *)((wxObject *) ((wxContextHelp *) x));
37710 }
37711 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
37712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37713 }
37714 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37715 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37716 }
37717 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37718 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37719 }
37720 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37721 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37722 }
37723 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37724 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37725 }
37726 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37727 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37728 }
37729 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37730 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37731 }
37732 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37733 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37734 }
37735 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37736 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37737 }
37738 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37739 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37740 }
37741 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
37742 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
37743 }
37744 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37745 return (void *)((wxObject *) ((wxImageHandler *) x));
37746 }
37747 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37748 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37749 }
37750 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37751 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37752 }
37753 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37754 return (void *)((wxObject *) ((wxEvtHandler *) x));
37755 }
37756 static void *_p_wxListEventTo_p_wxObject(void *x) {
37757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37758 }
37759 static void *_p_wxListBoxTo_p_wxObject(void *x) {
37760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37761 }
37762 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
37763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37764 }
37765 static void *_p_wxButtonTo_p_wxObject(void *x) {
37766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
37767 }
37768 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
37769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37770 }
37771 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
37772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
37773 }
37774 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
37775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37776 }
37777 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
37778 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
37779 }
37780 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37781 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37782 }
37783 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
37784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
37785 }
37786 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
37787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
37788 }
37789 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
37790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
37791 }
37792 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
37793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
37794 }
37795 static void *_p_wxListItemTo_p_wxObject(void *x) {
37796 return (void *)((wxObject *) ((wxListItem *) x));
37797 }
37798 static void *_p_wxImageTo_p_wxObject(void *x) {
37799 return (void *)((wxObject *) ((wxImage *) x));
37800 }
37801 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37802 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37803 }
37804 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
37805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37806 }
37807 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
37808 return (void *)((wxObject *) ((wxGenericDragImage *) x));
37809 }
37810 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
37811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37812 }
37813 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
37814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37815 }
37816 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
37817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37818 }
37819 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
37820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37821 }
37822 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
37823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37824 }
37825 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
37826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37827 }
37828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37830 }
37831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37832 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37833 }
37834 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37835 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37836 }
37837 static void *_p_wxWindowTo_p_wxObject(void *x) {
37838 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37839 }
37840 static void *_p_wxMenuTo_p_wxObject(void *x) {
37841 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37842 }
37843 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37845 }
37846 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37847 return (void *)((wxObject *) ((wxFileSystem *) x));
37848 }
37849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
37850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
37851 }
37852 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
37853 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
37854 }
37855 static void *_p_wxPyAppTo_p_wxObject(void *x) {
37856 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37857 }
37858 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
37859 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
37860 }
37861 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
37862 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
37863 }
37864 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
37865 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
37866 }
37867 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
37868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37869 }
37870 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
37871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37872 }
37873 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37875 }
37876 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37877 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37878 }
37879 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
37880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
37881 }
37882 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37883 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37884 }
37885 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37886 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37887 }
37888 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37890 }
37891 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
37892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37893 }
37894 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
37895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37896 }
37897 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
37898 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
37899 }
37900 static void *_p_wxToolBarTo_p_wxObject(void *x) {
37901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37902 }
37903 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
37904 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
37905 }
37906 static void *_p_wxValidatorTo_p_wxObject(void *x) {
37907 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
37908 }
37909 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37910 return (void *)((wxWindow *) ((wxMenuBar *) x));
37911 }
37912 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
37913 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
37914 }
37915 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
37916 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37917 }
37918 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
37919 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
37920 }
37921 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
37922 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
37923 }
37924 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
37925 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37926 }
37927 static void *_p_wxControlTo_p_wxWindow(void *x) {
37928 return (void *)((wxWindow *) ((wxControl *) x));
37929 }
37930 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
37931 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
37932 }
37933 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
37934 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
37935 }
37936 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
37937 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
37938 }
37939 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
37940 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37941 }
37942 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
37943 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
37944 }
37945 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
37946 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
37947 }
37948 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
37949 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
37950 }
37951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37952 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37953 }
37954 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
37955 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
37956 }
37957 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
37958 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
37959 }
37960 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
37961 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37962 }
37963 static void *_p_wxListbookTo_p_wxWindow(void *x) {
37964 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37965 }
37966 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
37967 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
37968 }
37969 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
37970 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
37971 }
37972 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
37973 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
37974 }
37975 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
37976 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37977 }
37978 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
37979 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37980 }
37981 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
37982 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37983 }
37984 static void *_p_wxListViewTo_p_wxWindow(void *x) {
37985 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37986 }
37987 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
37988 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37989 }
37990 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
37991 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
37992 }
37993 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
37994 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
37995 }
37996 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
37997 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
37998 }
37999 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38000 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38001 }
38002 static void *_p_wxSliderTo_p_wxWindow(void *x) {
38003 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38004 }
38005 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38006 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38007 }
38008 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38009 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38010 }
38011 static void *_p_wxButtonTo_p_wxWindow(void *x) {
38012 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38013 }
38014 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38015 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38016 }
38017 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38018 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38019 }
38020 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38021 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38022 }
38023 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38024 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38025 }
38026 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38027 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38028 }
38029 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38030 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38031 }
38032 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38033 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38034 }
38035 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38036 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38037 }
38038 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38039 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38040 }
38041 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38042 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38043 }
38044 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38045 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38046 }
38047 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38048 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38049 }
38050 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38051 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38052 }
38053 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38054 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38055 }
38056 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38057 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38058 }
38059 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
38060 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38061 }
38062 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
38063 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38064 }
38065 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38066 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38067 }
38068 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38069 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38070 }
38071 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38072 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38073 }
38074 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38075 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38076 }
38077 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38078 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38079 }
38080 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38081 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38082 }
38083 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38084 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38085 }
38086 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38087 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38088 }
38089 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38090 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38091 }
38092 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38093 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38094 }
38095 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38096 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38097 }
38098 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38099 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38100 }
38101 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38102 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38103 }
38104 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38105 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38106 }
38107 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38108 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38109 }
38110 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38111 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38112 }
38113 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38114 return (void *)((wxValidator *) ((wxPyValidator *) x));
38115 }
38116 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38117 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38118 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38119 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38120 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38121 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38122 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38123 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38124 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38125 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38126 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38127 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38128 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38129 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38130 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38131 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38132 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38133 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38134 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38135 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38136 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38137 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38138 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38139 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38140 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38141 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38142 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38143 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38144 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38145 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38146 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38147 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38148 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38149 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38150 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38151 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38152 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38153 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38154 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38155 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38156 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38157 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38158 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38159 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38160 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38161 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38162 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38163 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38164 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38165 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38166 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38167 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38168 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38169 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38170 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38171 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38172 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38173 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38174 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38175 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38176 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38177 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38178 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38179 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38180 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38181 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38182 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38183 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38184 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38185 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38186 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38187 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38188 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38189 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38190 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38191 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38192 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38193 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38194 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38195 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38196 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38197 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38198 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38199 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38200 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38201 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38202 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38203 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38204 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38205 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38206 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38207 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38208 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38209 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38210 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38211 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38212 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38213 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38214 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38215 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38216 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38217 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38218 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38219 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38220 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38221 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38222 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38223 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
38224 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38225 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38226 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38227 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38228 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38229 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38230 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38231 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38232 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38233 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38234 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
38235 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38236 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
38237 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38238 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38239 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38240 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38241 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38242 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38243 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38244 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38245 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38246 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38247 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38248 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38249 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38250 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38251 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38252 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38253 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38254 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38255 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38256 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38257 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38258 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38259 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38260 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38261 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38262 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38263 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38264 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38265 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38266 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38267 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38268 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38269 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38270 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38271 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38272 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38273 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38274 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38275 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38276 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38277 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38278 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38279 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38280 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38281 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38282
38283 static swig_type_info *swig_type_initial[] = {
38284 &_swigt__p_bool,
38285 &_swigt__p_char,
38286 &_swigt__p_form_ops_t,
38287 &_swigt__p_int,
38288 &_swigt__p_long,
38289 &_swigt__p_unsigned_char,
38290 &_swigt__p_unsigned_int,
38291 &_swigt__p_unsigned_long,
38292 &_swigt__p_void,
38293 &_swigt__p_wxANIHandler,
38294 &_swigt__p_wxAcceleratorTable,
38295 &_swigt__p_wxActivateEvent,
38296 &_swigt__p_wxArrayInt,
38297 &_swigt__p_wxArrayString,
38298 &_swigt__p_wxBMPHandler,
38299 &_swigt__p_wxBitmap,
38300 &_swigt__p_wxBitmapButton,
38301 &_swigt__p_wxBookCtrlBase,
38302 &_swigt__p_wxBookCtrlBaseEvent,
38303 &_swigt__p_wxBoxSizer,
38304 &_swigt__p_wxButton,
38305 &_swigt__p_wxCURHandler,
38306 &_swigt__p_wxCheckBox,
38307 &_swigt__p_wxCheckListBox,
38308 &_swigt__p_wxChildFocusEvent,
38309 &_swigt__p_wxChoice,
38310 &_swigt__p_wxChoicebook,
38311 &_swigt__p_wxChoicebookEvent,
38312 &_swigt__p_wxCloseEvent,
38313 &_swigt__p_wxColour,
38314 &_swigt__p_wxComboBox,
38315 &_swigt__p_wxCommandEvent,
38316 &_swigt__p_wxContextHelp,
38317 &_swigt__p_wxContextHelpButton,
38318 &_swigt__p_wxContextMenuEvent,
38319 &_swigt__p_wxControl,
38320 &_swigt__p_wxControlWithItems,
38321 &_swigt__p_wxCursor,
38322 &_swigt__p_wxDC,
38323 &_swigt__p_wxDateEvent,
38324 &_swigt__p_wxDatePickerCtrl,
38325 &_swigt__p_wxDateTime,
38326 &_swigt__p_wxDirFilterListCtrl,
38327 &_swigt__p_wxDisplayChangedEvent,
38328 &_swigt__p_wxDropFilesEvent,
38329 &_swigt__p_wxDuplexMode,
38330 &_swigt__p_wxEraseEvent,
38331 &_swigt__p_wxEvent,
38332 &_swigt__p_wxEvtHandler,
38333 &_swigt__p_wxFSFile,
38334 &_swigt__p_wxFileSystem,
38335 &_swigt__p_wxFlexGridSizer,
38336 &_swigt__p_wxFocusEvent,
38337 &_swigt__p_wxFont,
38338 &_swigt__p_wxGBSizerItem,
38339 &_swigt__p_wxGIFHandler,
38340 &_swigt__p_wxGauge,
38341 &_swigt__p_wxGenericDirCtrl,
38342 &_swigt__p_wxGenericDragImage,
38343 &_swigt__p_wxGridBagSizer,
38344 &_swigt__p_wxGridSizer,
38345 &_swigt__p_wxHelpEvent,
38346 &_swigt__p_wxHelpProvider,
38347 &_swigt__p_wxICOHandler,
38348 &_swigt__p_wxIcon,
38349 &_swigt__p_wxIconizeEvent,
38350 &_swigt__p_wxIdleEvent,
38351 &_swigt__p_wxImage,
38352 &_swigt__p_wxImageHandler,
38353 &_swigt__p_wxImageList,
38354 &_swigt__p_wxIndividualLayoutConstraint,
38355 &_swigt__p_wxInitDialogEvent,
38356 &_swigt__p_wxItemContainer,
38357 &_swigt__p_wxJPEGHandler,
38358 &_swigt__p_wxKeyEvent,
38359 &_swigt__p_wxLayoutConstraints,
38360 &_swigt__p_wxListBox,
38361 &_swigt__p_wxListEvent,
38362 &_swigt__p_wxListItem,
38363 &_swigt__p_wxListItemAttr,
38364 &_swigt__p_wxListView,
38365 &_swigt__p_wxListbook,
38366 &_swigt__p_wxListbookEvent,
38367 &_swigt__p_wxMaximizeEvent,
38368 &_swigt__p_wxMemoryDC,
38369 &_swigt__p_wxMenu,
38370 &_swigt__p_wxMenuBar,
38371 &_swigt__p_wxMenuEvent,
38372 &_swigt__p_wxMenuItem,
38373 &_swigt__p_wxMouseCaptureChangedEvent,
38374 &_swigt__p_wxMouseEvent,
38375 &_swigt__p_wxMoveEvent,
38376 &_swigt__p_wxNavigationKeyEvent,
38377 &_swigt__p_wxNcPaintEvent,
38378 &_swigt__p_wxNotebook,
38379 &_swigt__p_wxNotebookEvent,
38380 &_swigt__p_wxNotifyEvent,
38381 &_swigt__p_wxObject,
38382 &_swigt__p_wxPCXHandler,
38383 &_swigt__p_wxPNGHandler,
38384 &_swigt__p_wxPNMHandler,
38385 &_swigt__p_wxPaintEvent,
38386 &_swigt__p_wxPaletteChangedEvent,
38387 &_swigt__p_wxPaperSize,
38388 &_swigt__p_wxPoint,
38389 &_swigt__p_wxPyApp,
38390 &_swigt__p_wxPyCommandEvent,
38391 &_swigt__p_wxPyControl,
38392 &_swigt__p_wxPyEvent,
38393 &_swigt__p_wxPyImageHandler,
38394 &_swigt__p_wxPyListCtrl,
38395 &_swigt__p_wxPySizer,
38396 &_swigt__p_wxPyTreeCtrl,
38397 &_swigt__p_wxPyTreeItemData,
38398 &_swigt__p_wxPyValidator,
38399 &_swigt__p_wxQueryNewPaletteEvent,
38400 &_swigt__p_wxRadioBox,
38401 &_swigt__p_wxRadioButton,
38402 &_swigt__p_wxRect,
38403 &_swigt__p_wxScrollBar,
38404 &_swigt__p_wxScrollEvent,
38405 &_swigt__p_wxScrollWinEvent,
38406 &_swigt__p_wxSetCursorEvent,
38407 &_swigt__p_wxShowEvent,
38408 &_swigt__p_wxSimpleHelpProvider,
38409 &_swigt__p_wxSize,
38410 &_swigt__p_wxSizeEvent,
38411 &_swigt__p_wxSizer,
38412 &_swigt__p_wxSizerItem,
38413 &_swigt__p_wxSlider,
38414 &_swigt__p_wxSpinButton,
38415 &_swigt__p_wxSpinCtrl,
38416 &_swigt__p_wxSpinEvent,
38417 &_swigt__p_wxStaticBitmap,
38418 &_swigt__p_wxStaticBox,
38419 &_swigt__p_wxStaticBoxSizer,
38420 &_swigt__p_wxStaticLine,
38421 &_swigt__p_wxStaticText,
38422 &_swigt__p_wxStdDialogButtonSizer,
38423 &_swigt__p_wxString,
38424 &_swigt__p_wxSysColourChangedEvent,
38425 &_swigt__p_wxTIFFHandler,
38426 &_swigt__p_wxTextAttr,
38427 &_swigt__p_wxTextCtrl,
38428 &_swigt__p_wxTextUrlEvent,
38429 &_swigt__p_wxToggleButton,
38430 &_swigt__p_wxToolBar,
38431 &_swigt__p_wxToolBarBase,
38432 &_swigt__p_wxToolBarToolBase,
38433 &_swigt__p_wxToolbook,
38434 &_swigt__p_wxToolbookEvent,
38435 &_swigt__p_wxTreeCtrl,
38436 &_swigt__p_wxTreeEvent,
38437 &_swigt__p_wxTreeItemId,
38438 &_swigt__p_wxTreebook,
38439 &_swigt__p_wxTreebookEvent,
38440 &_swigt__p_wxUpdateUIEvent,
38441 &_swigt__p_wxValidator,
38442 &_swigt__p_wxVisualAttributes,
38443 &_swigt__p_wxWindow,
38444 &_swigt__p_wxWindowCreateEvent,
38445 &_swigt__p_wxWindowDestroyEvent,
38446 &_swigt__p_wxXPMHandler,
38447 &_swigt__ptrdiff_t,
38448 &_swigt__std__ptrdiff_t,
38449 &_swigt__unsigned_int,
38450 };
38451
38452 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38453 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38454 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38455 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38456 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38457 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38458 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38459 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38460 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38461 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38462 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38463 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38464 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}};
38465 static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
38466 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
38467 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}};
38468 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38469 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38470 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}};
38471 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38472 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38473 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38474 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38475 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38476 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38477 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38478 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38479 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38480 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38481 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38482 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
38483 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
38484 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38485 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
38486 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
38487 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}};
38488 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38489 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38490 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38491 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38492 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38493 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38494 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38495 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38496 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38497 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38498 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38499 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38500 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38501 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38502 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38503 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38504 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38505 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38506 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38507 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38508 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38509 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38510 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38511 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38512 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38513 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38514 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38515 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38516 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38517 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
38518 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
38519 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38520 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38521 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38522 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
38523 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
38524 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38525 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38526 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38527 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38528 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38529 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}};
38530 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38531 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38532 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}};
38533 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38534 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}};
38535 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38536 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38537 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38538 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38539 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38540 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38541 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38542 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38543 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38544 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38545 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
38546 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38547 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38548 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38549 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38550 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38551 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38552 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38553 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38554 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38555 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38556 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38557 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38558 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
38559 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38560 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38561 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38562 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38563 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38564 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38565 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38566 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38567 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38568 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38569 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
38570 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38571 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
38572 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38573 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38574 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38575 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
38576 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
38577 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38578 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38579 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38580 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}};
38581 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38582 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38583 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38584 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38585 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38586 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38587 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38588 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38589 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38590 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38591 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38592 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38593 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38594 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38595 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38596 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38597 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38598 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38599 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38600 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38601 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38602 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38603 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}};
38604 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
38605 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38606 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38607 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38608 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38609 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
38610 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38611 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38612 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}};
38613 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
38614 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
38615 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38616 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38617 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38618
38619 static swig_cast_info *swig_cast_initial[] = {
38620 _swigc__p_bool,
38621 _swigc__p_char,
38622 _swigc__p_form_ops_t,
38623 _swigc__p_int,
38624 _swigc__p_long,
38625 _swigc__p_unsigned_char,
38626 _swigc__p_unsigned_int,
38627 _swigc__p_unsigned_long,
38628 _swigc__p_void,
38629 _swigc__p_wxANIHandler,
38630 _swigc__p_wxAcceleratorTable,
38631 _swigc__p_wxActivateEvent,
38632 _swigc__p_wxArrayInt,
38633 _swigc__p_wxArrayString,
38634 _swigc__p_wxBMPHandler,
38635 _swigc__p_wxBitmap,
38636 _swigc__p_wxBitmapButton,
38637 _swigc__p_wxBookCtrlBase,
38638 _swigc__p_wxBookCtrlBaseEvent,
38639 _swigc__p_wxBoxSizer,
38640 _swigc__p_wxButton,
38641 _swigc__p_wxCURHandler,
38642 _swigc__p_wxCheckBox,
38643 _swigc__p_wxCheckListBox,
38644 _swigc__p_wxChildFocusEvent,
38645 _swigc__p_wxChoice,
38646 _swigc__p_wxChoicebook,
38647 _swigc__p_wxChoicebookEvent,
38648 _swigc__p_wxCloseEvent,
38649 _swigc__p_wxColour,
38650 _swigc__p_wxComboBox,
38651 _swigc__p_wxCommandEvent,
38652 _swigc__p_wxContextHelp,
38653 _swigc__p_wxContextHelpButton,
38654 _swigc__p_wxContextMenuEvent,
38655 _swigc__p_wxControl,
38656 _swigc__p_wxControlWithItems,
38657 _swigc__p_wxCursor,
38658 _swigc__p_wxDC,
38659 _swigc__p_wxDateEvent,
38660 _swigc__p_wxDatePickerCtrl,
38661 _swigc__p_wxDateTime,
38662 _swigc__p_wxDirFilterListCtrl,
38663 _swigc__p_wxDisplayChangedEvent,
38664 _swigc__p_wxDropFilesEvent,
38665 _swigc__p_wxDuplexMode,
38666 _swigc__p_wxEraseEvent,
38667 _swigc__p_wxEvent,
38668 _swigc__p_wxEvtHandler,
38669 _swigc__p_wxFSFile,
38670 _swigc__p_wxFileSystem,
38671 _swigc__p_wxFlexGridSizer,
38672 _swigc__p_wxFocusEvent,
38673 _swigc__p_wxFont,
38674 _swigc__p_wxGBSizerItem,
38675 _swigc__p_wxGIFHandler,
38676 _swigc__p_wxGauge,
38677 _swigc__p_wxGenericDirCtrl,
38678 _swigc__p_wxGenericDragImage,
38679 _swigc__p_wxGridBagSizer,
38680 _swigc__p_wxGridSizer,
38681 _swigc__p_wxHelpEvent,
38682 _swigc__p_wxHelpProvider,
38683 _swigc__p_wxICOHandler,
38684 _swigc__p_wxIcon,
38685 _swigc__p_wxIconizeEvent,
38686 _swigc__p_wxIdleEvent,
38687 _swigc__p_wxImage,
38688 _swigc__p_wxImageHandler,
38689 _swigc__p_wxImageList,
38690 _swigc__p_wxIndividualLayoutConstraint,
38691 _swigc__p_wxInitDialogEvent,
38692 _swigc__p_wxItemContainer,
38693 _swigc__p_wxJPEGHandler,
38694 _swigc__p_wxKeyEvent,
38695 _swigc__p_wxLayoutConstraints,
38696 _swigc__p_wxListBox,
38697 _swigc__p_wxListEvent,
38698 _swigc__p_wxListItem,
38699 _swigc__p_wxListItemAttr,
38700 _swigc__p_wxListView,
38701 _swigc__p_wxListbook,
38702 _swigc__p_wxListbookEvent,
38703 _swigc__p_wxMaximizeEvent,
38704 _swigc__p_wxMemoryDC,
38705 _swigc__p_wxMenu,
38706 _swigc__p_wxMenuBar,
38707 _swigc__p_wxMenuEvent,
38708 _swigc__p_wxMenuItem,
38709 _swigc__p_wxMouseCaptureChangedEvent,
38710 _swigc__p_wxMouseEvent,
38711 _swigc__p_wxMoveEvent,
38712 _swigc__p_wxNavigationKeyEvent,
38713 _swigc__p_wxNcPaintEvent,
38714 _swigc__p_wxNotebook,
38715 _swigc__p_wxNotebookEvent,
38716 _swigc__p_wxNotifyEvent,
38717 _swigc__p_wxObject,
38718 _swigc__p_wxPCXHandler,
38719 _swigc__p_wxPNGHandler,
38720 _swigc__p_wxPNMHandler,
38721 _swigc__p_wxPaintEvent,
38722 _swigc__p_wxPaletteChangedEvent,
38723 _swigc__p_wxPaperSize,
38724 _swigc__p_wxPoint,
38725 _swigc__p_wxPyApp,
38726 _swigc__p_wxPyCommandEvent,
38727 _swigc__p_wxPyControl,
38728 _swigc__p_wxPyEvent,
38729 _swigc__p_wxPyImageHandler,
38730 _swigc__p_wxPyListCtrl,
38731 _swigc__p_wxPySizer,
38732 _swigc__p_wxPyTreeCtrl,
38733 _swigc__p_wxPyTreeItemData,
38734 _swigc__p_wxPyValidator,
38735 _swigc__p_wxQueryNewPaletteEvent,
38736 _swigc__p_wxRadioBox,
38737 _swigc__p_wxRadioButton,
38738 _swigc__p_wxRect,
38739 _swigc__p_wxScrollBar,
38740 _swigc__p_wxScrollEvent,
38741 _swigc__p_wxScrollWinEvent,
38742 _swigc__p_wxSetCursorEvent,
38743 _swigc__p_wxShowEvent,
38744 _swigc__p_wxSimpleHelpProvider,
38745 _swigc__p_wxSize,
38746 _swigc__p_wxSizeEvent,
38747 _swigc__p_wxSizer,
38748 _swigc__p_wxSizerItem,
38749 _swigc__p_wxSlider,
38750 _swigc__p_wxSpinButton,
38751 _swigc__p_wxSpinCtrl,
38752 _swigc__p_wxSpinEvent,
38753 _swigc__p_wxStaticBitmap,
38754 _swigc__p_wxStaticBox,
38755 _swigc__p_wxStaticBoxSizer,
38756 _swigc__p_wxStaticLine,
38757 _swigc__p_wxStaticText,
38758 _swigc__p_wxStdDialogButtonSizer,
38759 _swigc__p_wxString,
38760 _swigc__p_wxSysColourChangedEvent,
38761 _swigc__p_wxTIFFHandler,
38762 _swigc__p_wxTextAttr,
38763 _swigc__p_wxTextCtrl,
38764 _swigc__p_wxTextUrlEvent,
38765 _swigc__p_wxToggleButton,
38766 _swigc__p_wxToolBar,
38767 _swigc__p_wxToolBarBase,
38768 _swigc__p_wxToolBarToolBase,
38769 _swigc__p_wxToolbook,
38770 _swigc__p_wxToolbookEvent,
38771 _swigc__p_wxTreeCtrl,
38772 _swigc__p_wxTreeEvent,
38773 _swigc__p_wxTreeItemId,
38774 _swigc__p_wxTreebook,
38775 _swigc__p_wxTreebookEvent,
38776 _swigc__p_wxUpdateUIEvent,
38777 _swigc__p_wxValidator,
38778 _swigc__p_wxVisualAttributes,
38779 _swigc__p_wxWindow,
38780 _swigc__p_wxWindowCreateEvent,
38781 _swigc__p_wxWindowDestroyEvent,
38782 _swigc__p_wxXPMHandler,
38783 _swigc__ptrdiff_t,
38784 _swigc__std__ptrdiff_t,
38785 _swigc__unsigned_int,
38786 };
38787
38788
38789 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38790
38791 static swig_const_info swig_const_table[] = {
38792 {0, 0, 0, 0.0, 0, 0}};
38793
38794 #ifdef __cplusplus
38795 }
38796 #endif
38797 /*************************************************************************
38798 * Type initialization:
38799 * This problem is tough by the requirement that no dynamic
38800 * memory is used. Also, since swig_type_info structures store pointers to
38801 * swig_cast_info structures and swig_cast_info structures store pointers back
38802 * to swig_type_info structures, we need some lookup code at initialization.
38803 * The idea is that swig generates all the structures that are needed.
38804 * The runtime then collects these partially filled structures.
38805 * The SWIG_InitializeModule function takes these initial arrays out of
38806 * swig_module, and does all the lookup, filling in the swig_module.types
38807 * array with the correct data and linking the correct swig_cast_info
38808 * structures together.
38809
38810 * The generated swig_type_info structures are assigned staticly to an initial
38811 * array. We just loop though that array, and handle each type individually.
38812 * First we lookup if this type has been already loaded, and if so, use the
38813 * loaded structure instead of the generated one. Then we have to fill in the
38814 * cast linked list. The cast data is initially stored in something like a
38815 * two-dimensional array. Each row corresponds to a type (there are the same
38816 * number of rows as there are in the swig_type_initial array). Each entry in
38817 * a column is one of the swig_cast_info structures for that type.
38818 * The cast_initial array is actually an array of arrays, because each row has
38819 * a variable number of columns. So to actually build the cast linked list,
38820 * we find the array of casts associated with the type, and loop through it
38821 * adding the casts to the list. The one last trick we need to do is making
38822 * sure the type pointer in the swig_cast_info struct is correct.
38823
38824 * First off, we lookup the cast->type name to see if it is already loaded.
38825 * There are three cases to handle:
38826 * 1) If the cast->type has already been loaded AND the type we are adding
38827 * casting info to has not been loaded (it is in this module), THEN we
38828 * replace the cast->type pointer with the type pointer that has already
38829 * been loaded.
38830 * 2) If BOTH types (the one we are adding casting info to, and the
38831 * cast->type) are loaded, THEN the cast info has already been loaded by
38832 * the previous module so we just ignore it.
38833 * 3) Finally, if cast->type has not already been loaded, then we add that
38834 * swig_cast_info to the linked list (because the cast->type) pointer will
38835 * be correct.
38836 **/
38837
38838 #ifdef __cplusplus
38839 extern "C" {
38840 #if 0
38841 } /* c-mode */
38842 #endif
38843 #endif
38844
38845 #if 0
38846 #define SWIGRUNTIME_DEBUG
38847 #endif
38848
38849 SWIGRUNTIME void
38850 SWIG_InitializeModule(void *clientdata) {
38851 size_t i;
38852 swig_module_info *module_head;
38853 static int init_run = 0;
38854
38855 clientdata = clientdata;
38856
38857 if (init_run) return;
38858 init_run = 1;
38859
38860 /* Initialize the swig_module */
38861 swig_module.type_initial = swig_type_initial;
38862 swig_module.cast_initial = swig_cast_initial;
38863
38864 /* Try and load any already created modules */
38865 module_head = SWIG_GetModule(clientdata);
38866 if (module_head) {
38867 swig_module.next = module_head->next;
38868 module_head->next = &swig_module;
38869 } else {
38870 /* This is the first module loaded */
38871 swig_module.next = &swig_module;
38872 SWIG_SetModule(clientdata, &swig_module);
38873 }
38874
38875 /* Now work on filling in swig_module.types */
38876 #ifdef SWIGRUNTIME_DEBUG
38877 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
38878 #endif
38879 for (i = 0; i < swig_module.size; ++i) {
38880 swig_type_info *type = 0;
38881 swig_type_info *ret;
38882 swig_cast_info *cast;
38883
38884 #ifdef SWIGRUNTIME_DEBUG
38885 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
38886 #endif
38887
38888 /* if there is another module already loaded */
38889 if (swig_module.next != &swig_module) {
38890 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
38891 }
38892 if (type) {
38893 /* Overwrite clientdata field */
38894 #ifdef SWIGRUNTIME_DEBUG
38895 printf("SWIG_InitializeModule: found type %s\n", type->name);
38896 #endif
38897 if (swig_module.type_initial[i]->clientdata) {
38898 type->clientdata = swig_module.type_initial[i]->clientdata;
38899 #ifdef SWIGRUNTIME_DEBUG
38900 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
38901 #endif
38902 }
38903 } else {
38904 type = swig_module.type_initial[i];
38905 }
38906
38907 /* Insert casting types */
38908 cast = swig_module.cast_initial[i];
38909 while (cast->type) {
38910 /* Don't need to add information already in the list */
38911 ret = 0;
38912 #ifdef SWIGRUNTIME_DEBUG
38913 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
38914 #endif
38915 if (swig_module.next != &swig_module) {
38916 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
38917 #ifdef SWIGRUNTIME_DEBUG
38918 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
38919 #endif
38920 }
38921 if (ret) {
38922 if (type == swig_module.type_initial[i]) {
38923 #ifdef SWIGRUNTIME_DEBUG
38924 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
38925 #endif
38926 cast->type = ret;
38927 ret = 0;
38928 } else {
38929 /* Check for casting already in the list */
38930 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
38931 #ifdef SWIGRUNTIME_DEBUG
38932 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
38933 #endif
38934 if (!ocast) ret = 0;
38935 }
38936 }
38937
38938 if (!ret) {
38939 #ifdef SWIGRUNTIME_DEBUG
38940 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
38941 #endif
38942 if (type->cast) {
38943 type->cast->prev = cast;
38944 cast->next = type->cast;
38945 }
38946 type->cast = cast;
38947 }
38948 cast++;
38949 }
38950 /* Set entry in modules->types array equal to the type */
38951 swig_module.types[i] = type;
38952 }
38953 swig_module.types[i] = 0;
38954
38955 #ifdef SWIGRUNTIME_DEBUG
38956 printf("**** SWIG_InitializeModule: Cast List ******\n");
38957 for (i = 0; i < swig_module.size; ++i) {
38958 int j = 0;
38959 swig_cast_info *cast = swig_module.cast_initial[i];
38960 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
38961 while (cast->type) {
38962 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
38963 cast++;
38964 ++j;
38965 }
38966 printf("---- Total casts: %d\n",j);
38967 }
38968 printf("**** SWIG_InitializeModule: Cast List ******\n");
38969 #endif
38970 }
38971
38972 /* This function will propagate the clientdata field of type to
38973 * any new swig_type_info structures that have been added into the list
38974 * of equivalent types. It is like calling
38975 * SWIG_TypeClientData(type, clientdata) a second time.
38976 */
38977 SWIGRUNTIME void
38978 SWIG_PropagateClientData(void) {
38979 size_t i;
38980 swig_cast_info *equiv;
38981 static int init_run = 0;
38982
38983 if (init_run) return;
38984 init_run = 1;
38985
38986 for (i = 0; i < swig_module.size; i++) {
38987 if (swig_module.types[i]->clientdata) {
38988 equiv = swig_module.types[i]->cast;
38989 while (equiv) {
38990 if (!equiv->converter) {
38991 if (equiv->type && !equiv->type->clientdata)
38992 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
38993 }
38994 equiv = equiv->next;
38995 }
38996 }
38997 }
38998 }
38999
39000 #ifdef __cplusplus
39001 #if 0
39002 {
39003 /* c-mode */
39004 #endif
39005 }
39006 #endif
39007
39008
39009
39010 #ifdef __cplusplus
39011 extern "C" {
39012 #endif
39013
39014 /* Python-specific SWIG API */
39015 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39016 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39017 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39018
39019 /* -----------------------------------------------------------------------------
39020 * global variable support code.
39021 * ----------------------------------------------------------------------------- */
39022
39023 typedef struct swig_globalvar {
39024 char *name; /* Name of global variable */
39025 PyObject *(*get_attr)(void); /* Return the current value */
39026 int (*set_attr)(PyObject *); /* Set the value */
39027 struct swig_globalvar *next;
39028 } swig_globalvar;
39029
39030 typedef struct swig_varlinkobject {
39031 PyObject_HEAD
39032 swig_globalvar *vars;
39033 } swig_varlinkobject;
39034
39035 SWIGINTERN PyObject *
39036 swig_varlink_repr(swig_varlinkobject *v) {
39037 v = v;
39038 return PyString_FromString("<Swig global variables>");
39039 }
39040
39041 SWIGINTERN int
39042 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39043 swig_globalvar *var;
39044 flags = flags;
39045 fprintf(fp,"Swig global variables { ");
39046 for (var = v->vars; var; var=var->next) {
39047 fprintf(fp,"%s", var->name);
39048 if (var->next) fprintf(fp,", ");
39049 }
39050 fprintf(fp," }\n");
39051 return 0;
39052 }
39053
39054 SWIGINTERN PyObject *
39055 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39056 swig_globalvar *var = v->vars;
39057 while (var) {
39058 if (strcmp(var->name,n) == 0) {
39059 return (*var->get_attr)();
39060 }
39061 var = var->next;
39062 }
39063 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39064 return NULL;
39065 }
39066
39067 SWIGINTERN int
39068 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39069 swig_globalvar *var = v->vars;
39070 while (var) {
39071 if (strcmp(var->name,n) == 0) {
39072 return (*var->set_attr)(p);
39073 }
39074 var = var->next;
39075 }
39076 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39077 return 1;
39078 }
39079
39080 SWIGINTERN PyTypeObject*
39081 swig_varlink_type(void) {
39082 static char varlink__doc__[] = "Swig var link object";
39083 static PyTypeObject varlink_type
39084 #if !defined(__cplusplus)
39085 ;
39086 static int type_init = 0;
39087 if (!type_init) {
39088 PyTypeObject tmp
39089 #endif
39090 = {
39091 PyObject_HEAD_INIT(&PyType_Type)
39092 0, /* Number of items in variable part (ob_size) */
39093 (char *)"swigvarlink", /* Type name (tp_name) */
39094 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39095 0, /* Itemsize (tp_itemsize) */
39096 0, /* Deallocator (tp_dealloc) */
39097 (printfunc) swig_varlink_print, /* Print (tp_print) */
39098 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39099 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39100 0, /* tp_compare */
39101 (reprfunc) swig_varlink_repr, /* tp_repr */
39102 0, /* tp_as_number */
39103 0, /* tp_as_sequence */
39104 0, /* tp_as_mapping */
39105 0, /* tp_hash */
39106 0, /* tp_call */
39107 0, /* tp_str */
39108 0, /* tp_getattro */
39109 0, /* tp_setattro */
39110 0, /* tp_as_buffer */
39111 0, /* tp_flags */
39112 varlink__doc__, /* tp_doc */
39113 #if PY_VERSION_HEX >= 0x02000000
39114 0, /* tp_traverse */
39115 0, /* tp_clear */
39116 #endif
39117 #if PY_VERSION_HEX >= 0x02010000
39118 0, /* tp_richcompare */
39119 0, /* tp_weaklistoffset */
39120 #endif
39121 #if PY_VERSION_HEX >= 0x02020000
39122 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39123 #endif
39124 #if PY_VERSION_HEX >= 0x02030000
39125 0, /* tp_del */
39126 #endif
39127 #ifdef COUNT_ALLOCS
39128 0,0,0,0 /* tp_alloc -> tp_next */
39129 #endif
39130 };
39131 #if !defined(__cplusplus)
39132 varlink_type = tmp;
39133 type_init = 1;
39134 }
39135 #endif
39136 return &varlink_type;
39137 }
39138
39139 /* Create a variable linking object for use later */
39140 SWIGINTERN PyObject *
39141 SWIG_Python_newvarlink(void) {
39142 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39143 if (result) {
39144 result->vars = 0;
39145 }
39146 return ((PyObject*) result);
39147 }
39148
39149 SWIGINTERN void
39150 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
39151 swig_varlinkobject *v = (swig_varlinkobject *) p;
39152 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39153 if (gv) {
39154 size_t size = strlen(name)+1;
39155 gv->name = (char *)malloc(size);
39156 if (gv->name) {
39157 strncpy(gv->name,name,size);
39158 gv->get_attr = get_attr;
39159 gv->set_attr = set_attr;
39160 gv->next = v->vars;
39161 }
39162 }
39163 v->vars = gv;
39164 }
39165
39166 /* -----------------------------------------------------------------------------
39167 * constants/methods manipulation
39168 * ----------------------------------------------------------------------------- */
39169
39170 /* Install Constants */
39171 SWIGINTERN void
39172 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39173 PyObject *obj = 0;
39174 size_t i;
39175 for (i = 0; constants[i].type; ++i) {
39176 switch(constants[i].type) {
39177 case SWIG_PY_INT:
39178 obj = PyInt_FromLong(constants[i].lvalue);
39179 break;
39180 case SWIG_PY_FLOAT:
39181 obj = PyFloat_FromDouble(constants[i].dvalue);
39182 break;
39183 case SWIG_PY_STRING:
39184 if (constants[i].pvalue) {
39185 obj = PyString_FromString((char *) constants[i].pvalue);
39186 } else {
39187 Py_INCREF(Py_None);
39188 obj = Py_None;
39189 }
39190 break;
39191 case SWIG_PY_POINTER:
39192 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39193 break;
39194 case SWIG_PY_BINARY:
39195 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39196 break;
39197 default:
39198 obj = 0;
39199 break;
39200 }
39201 if (obj) {
39202 PyDict_SetItemString(d,constants[i].name,obj);
39203 Py_DECREF(obj);
39204 }
39205 }
39206 }
39207
39208 /* -----------------------------------------------------------------------------*/
39209 /* Fix SwigMethods to carry the callback ptrs when needed */
39210 /* -----------------------------------------------------------------------------*/
39211
39212 SWIGINTERN void
39213 SWIG_Python_FixMethods(PyMethodDef *methods,
39214 swig_const_info *const_table,
39215 swig_type_info **types,
39216 swig_type_info **types_initial) {
39217 size_t i;
39218 for (i = 0; methods[i].ml_name; ++i) {
39219 char *c = methods[i].ml_doc;
39220 if (c && (c = strstr(c, "swig_ptr: "))) {
39221 int j;
39222 swig_const_info *ci = 0;
39223 char *name = c + 10;
39224 for (j = 0; const_table[j].type; ++j) {
39225 if (strncmp(const_table[j].name, name,
39226 strlen(const_table[j].name)) == 0) {
39227 ci = &(const_table[j]);
39228 break;
39229 }
39230 }
39231 if (ci) {
39232 size_t shift = (ci->ptype) - types;
39233 swig_type_info *ty = types_initial[shift];
39234 size_t ldoc = (c - methods[i].ml_doc);
39235 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39236 char *ndoc = (char*)malloc(ldoc + lptr + 10);
39237 if (ndoc) {
39238 char *buff = ndoc;
39239 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39240 if (ptr) {
39241 strncpy(buff, methods[i].ml_doc, ldoc);
39242 buff += ldoc;
39243 strncpy(buff, "swig_ptr: ", 10);
39244 buff += 10;
39245 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39246 methods[i].ml_doc = ndoc;
39247 }
39248 }
39249 }
39250 }
39251 }
39252 }
39253
39254 /* -----------------------------------------------------------------------------*
39255 * Initialize type list
39256 * -----------------------------------------------------------------------------*/
39257
39258 #ifdef __cplusplus
39259 }
39260 #endif
39261
39262 /* -----------------------------------------------------------------------------*
39263 * Partial Init method
39264 * -----------------------------------------------------------------------------*/
39265
39266 #ifdef __cplusplus
39267 extern "C"
39268 #endif
39269 SWIGEXPORT void SWIG_init(void) {
39270 static PyObject *SWIG_globals = 0;
39271 PyObject *m, *d;
39272 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
39273
39274 /* Fix SwigMethods to carry the callback ptrs when needed */
39275 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
39276
39277 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39278 d = PyModule_GetDict(m);
39279
39280 SWIG_InitializeModule(0);
39281 SWIG_InstallConstants(d,swig_const_table);
39282
39283 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39284 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
39285 {
39286 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
39287 }
39288 {
39289 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
39290 }
39291 {
39292 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
39293 }
39294 {
39295 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
39296 }
39297 {
39298 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
39299 }
39300 {
39301 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
39302 }
39303 {
39304 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
39305 }
39306 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
39307 {
39308 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
39309 }
39310 {
39311 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
39312 }
39313 {
39314 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
39315 }
39316 {
39317 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
39318 }
39319 {
39320 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
39321 }
39322 {
39323 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
39324 }
39325 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39326 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39327 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
39328 {
39329 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
39330 }
39331 {
39332 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
39333 }
39334 {
39335 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
39336 }
39337 {
39338 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
39339 }
39340 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39341 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39342 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39343 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39344 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
39345 {
39346 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
39347 }
39348 {
39349 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
39350 }
39351 {
39352 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
39353 }
39354 {
39355 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
39356 }
39357 {
39358 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
39359 }
39360 {
39361 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
39362 }
39363 {
39364 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
39365 }
39366 {
39367 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
39368 }
39369 {
39370 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
39371 }
39372 {
39373 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
39374 }
39375 {
39376 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
39377 }
39378 {
39379 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
39380 }
39381 {
39382 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
39383 }
39384 {
39385 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
39386 }
39387 {
39388 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
39389 }
39390 {
39391 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
39392 }
39393 {
39394 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
39395 }
39396 {
39397 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
39398 }
39399 {
39400 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
39401 }
39402 {
39403 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
39404 }
39405 {
39406 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
39407 }
39408 {
39409 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
39410 }
39411 {
39412 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
39413 }
39414 {
39415 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
39416 }
39417 {
39418 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
39419 }
39420 {
39421 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
39422 }
39423 {
39424 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
39425 }
39426 {
39427 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
39428 }
39429 {
39430 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
39431 }
39432 {
39433 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
39434 }
39435 {
39436 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
39437 }
39438 {
39439 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
39440 }
39441 {
39442 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
39443 }
39444 {
39445 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
39446 }
39447 {
39448 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
39449 }
39450 {
39451 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
39452 }
39453 {
39454 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
39455 }
39456 {
39457 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
39458 }
39459 {
39460 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
39461 }
39462 {
39463 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
39464 }
39465 {
39466 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
39467 }
39468 {
39469 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
39470 }
39471 {
39472 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
39473 }
39474 {
39475 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
39476 }
39477 {
39478 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
39479 }
39480 {
39481 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
39482 }
39483 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39484 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39485 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39486 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39487 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39488 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39489 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
39490 {
39491 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
39492 }
39493 {
39494 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
39495 }
39496 {
39497 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
39498 }
39499 {
39500 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
39501 }
39502 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39503 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39504 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39505 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
39506 {
39507 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
39508 }
39509 {
39510 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
39511 }
39512 {
39513 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
39514 }
39515 {
39516 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
39517 }
39518 {
39519 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
39520 }
39521 {
39522 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
39523 }
39524 {
39525 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
39526 }
39527 {
39528 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
39529 }
39530 {
39531 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
39532 }
39533 {
39534 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
39535 }
39536 {
39537 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
39538 }
39539 {
39540 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
39541 }
39542 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39543 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
39544 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
39545 {
39546 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39547 }
39548 {
39549 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39550 }
39551 {
39552 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39553 }
39554 {
39555 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39556 }
39557 {
39558 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39559 }
39560 {
39561 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39562 }
39563 {
39564 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
39565 }
39566 {
39567 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
39568 }
39569 {
39570 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
39571 }
39572 {
39573 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
39574 }
39575 {
39576 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
39577 }
39578 {
39579 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
39580 }
39581 {
39582 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
39583 }
39584 {
39585 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
39586 }
39587 {
39588 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
39589 }
39590 {
39591 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
39592 }
39593 {
39594 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
39595 }
39596 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39597 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
39598 {
39599 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
39600 }
39601 {
39602 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
39603 }
39604 {
39605 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
39606 }
39607 {
39608 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
39609 }
39610 {
39611 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
39612 }
39613 {
39614 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
39615 }
39616 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39617 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
39618 {
39619 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
39620 }
39621 {
39622 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
39623 }
39624 {
39625 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
39626 }
39627 {
39628 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
39629 }
39630 {
39631 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
39632 }
39633 {
39634 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
39635 }
39636 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39637 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
39638 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39639 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39640 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39641 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39642 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39643 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
39644 {
39645 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
39646 }
39647 {
39648 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
39649 }
39650 {
39651 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
39652 }
39653 {
39654 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
39655 }
39656 {
39657 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
39658 }
39659 {
39660 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
39661 }
39662 {
39663 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
39664 }
39665 {
39666 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
39667 }
39668 {
39669 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
39670 }
39671 {
39672 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
39673 }
39674 {
39675 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
39676 }
39677 {
39678 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
39679 }
39680 {
39681 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
39682 }
39683 {
39684 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
39685 }
39686 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
39687 {
39688 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
39689 }
39690 {
39691 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
39692 }
39693 {
39694 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
39695 }
39696 {
39697 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
39698 }
39699 {
39700 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
39701 }
39702 {
39703 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
39704 }
39705 {
39706 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
39707 }
39708 {
39709 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
39710 }
39711 {
39712 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
39713 }
39714 {
39715 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
39716 }
39717 {
39718 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
39719 }
39720 {
39721 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
39722 }
39723 {
39724 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
39725 }
39726 {
39727 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
39728 }
39729 {
39730 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
39731 }
39732 {
39733 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
39734 }
39735 {
39736 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
39737 }
39738 {
39739 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
39740 }
39741 {
39742 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
39743 }
39744 {
39745 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
39746 }
39747 {
39748 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
39749 }
39750 {
39751 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
39752 }
39753 {
39754 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
39755 }
39756 {
39757 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
39758 }
39759 {
39760 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
39761 }
39762 {
39763 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
39764 }
39765 {
39766 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
39767 }
39768 {
39769 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
39770 }
39771 {
39772 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
39773 }
39774 {
39775 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
39776 }
39777 {
39778 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
39779 }
39780 {
39781 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
39782 }
39783 {
39784 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
39785 }
39786 {
39787 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
39788 }
39789 {
39790 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
39791 }
39792 {
39793 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
39794 }
39795 {
39796 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
39797 }
39798 {
39799 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
39800 }
39801 {
39802 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
39803 }
39804 {
39805 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
39806 }
39807 {
39808 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
39809 }
39810 {
39811 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
39812 }
39813 {
39814 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
39815 }
39816 {
39817 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
39818 }
39819 {
39820 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
39821 }
39822 {
39823 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
39824 }
39825 {
39826 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
39827 }
39828 {
39829 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
39830 }
39831 {
39832 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
39833 }
39834 {
39835 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
39836 }
39837 {
39838 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
39839 }
39840 {
39841 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
39842 }
39843 {
39844 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
39845 }
39846 {
39847 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
39848 }
39849 {
39850 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
39851 }
39852 {
39853 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
39854 }
39855 {
39856 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
39857 }
39858 {
39859 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
39860 }
39861 {
39862 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
39863 }
39864 {
39865 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
39866 }
39867 {
39868 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
39869 }
39870 {
39871 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
39872 }
39873 {
39874 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
39875 }
39876 {
39877 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
39878 }
39879 {
39880 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
39881 }
39882 {
39883 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
39884 }
39885 {
39886 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
39887 }
39888 {
39889 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
39890 }
39891 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
39892 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
39893 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
39894 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
39895 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
39896 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
39897 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
39898 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
39899 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
39900 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
39901 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
39902 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
39903 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
39904 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
39905 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
39906 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
39907 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
39908 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
39909 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
39910 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
39911
39912 // Map renamed classes back to their common name for OOR
39913 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
39914
39915 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
39916 {
39917 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
39918 }
39919 {
39920 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
39921 }
39922 {
39923 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
39924 }
39925 {
39926 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
39927 }
39928 {
39929 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
39930 }
39931 {
39932 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
39933 }
39934 {
39935 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
39936 }
39937 {
39938 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
39939 }
39940 {
39941 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
39942 }
39943 {
39944 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
39945 }
39946 {
39947 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
39948 }
39949 {
39950 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
39951 }
39952 {
39953 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
39954 }
39955 {
39956 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
39957 }
39958 {
39959 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
39960 }
39961 {
39962 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
39963 }
39964 {
39965 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
39966 }
39967 {
39968 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
39969 }
39970 {
39971 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
39972 }
39973 {
39974 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
39975 }
39976 {
39977 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
39978 }
39979 {
39980 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
39981 }
39982 {
39983 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
39984 }
39985 {
39986 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
39987 }
39988 {
39989 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
39990 }
39991 {
39992 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
39993 }
39994 {
39995 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
39996 }
39997 {
39998 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
39999 }
40000 {
40001 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
40002 }
40003 {
40004 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
40005 }
40006 {
40007 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
40008 }
40009 {
40010 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
40011 }
40012 {
40013 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
40014 }
40015 {
40016 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
40017 }
40018 {
40019 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
40020 }
40021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40034 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40035 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40036 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40037 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40038 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40039 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40040 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
40041 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
40042
40043 // Map renamed classes back to their common name for OOR
40044 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40045 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40046
40047 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
40048 {
40049 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
40050 }
40051 {
40052 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
40053 }
40054 {
40055 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
40056 }
40057 {
40058 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
40059 }
40060 {
40061 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
40062 }
40063 {
40064 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
40065 }
40066 {
40067 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
40068 }
40069 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40070 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40071
40072 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40073
40074 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40075 {
40076 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
40077 }
40078 {
40079 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
40080 }
40081 {
40082 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
40083 }
40084 {
40085 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
40086 }
40087 {
40088 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
40089 }
40090 }
40091